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

Incorrect semantics of REPLACE and IF NOT EXISTS keywords in CREATE TABLE/SCHEMA commands

    XMLWordPrintableJSON

Details

    Description

      Presently, the ServerDdlExecutor incorrectly process some keywords:

      1. CREATE SCHEMA IF NOT EXISTS overwrites the existing schema
      2. CREATE OR REPLACE TABLE doesn't replace the table if the table exists

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 4h
                  4h