Description
Considerations:
1) Schema is always present and is never dropped
2) If CacheConfiguration.sqlSchema is not specified explicitly, cache should reside in default schema.
3) There should be a flag on cache configuration to allow fallback to previous behavior, when cache existed in separate schema equal to it's name.
4) CREATE TABLE can only create objects in default schema. Throw exception otherwise. That is, this is OK:
CREATE TABLE "default_schema".MyTable ...
And this is not:
CREATE TABLE "non_default_schema".MyTable ...
Default schema name should be public. This is well-known name of default schema, and moreover it already exists in H2.
Attachments
Issue Links
- blocks
-
IGNITE-5317 Remove strict dependency on concrete cache from SQL execute methods
- Resolved
- is blocked by
-
IGNITE-5319 Fix schema handling in deprecated "thin" driver.
- Closed
- Is contained by
-
IGNITE-5054 Support SQL schema sharing between different caches
- Resolved
- links to