Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In server, several CREATE and DROP commands are incorrect if schema does not exist.
CALCITE-4535 started this work, but missed some edge cases. In CALCITE-6552 I made the schema method return a nullable CalciteSchema (null if the schema of the object to be created or dropped does not exist) and saw several places that were not correctly handling a null value. I added a TODO in ServerDdlExecutor.java, and a fix for this case would remove those TODOs.
Attachments
Issue Links
- is related to
-
CALCITE-4535 ServerDdlExecutor cannot execute DROP commands with qualified object names
- Closed
- relates to
-
CALCITE-6552 Enable CheckerFramework in 'server' module
- Closed