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

ServerDdlExecutor cannot execute DROP commands with qualified object names

    XMLWordPrintableJSON

Details

    Description

      Consider the query DROP TABLE s.t. The ServerDdlExecutor will attempt to resolve the default schema path, and the would try to invoke SqlIdentifier.getSimple on the s.t identifier. When assertions are enabled this would lead to an AssertionError. When assertions are disabled this would lead to an incorrectly resolved table name: s instead of t.

      All DROP commands are affected.

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m