Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6553

In server, several CREATE and DROP commands are incorrect if schema does not exist

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: