You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Ozerov (Jira)" <ji...@apache.org> on 2021/03/11 17:53:00 UTC

[jira] [Created] (CALCITE-4533) Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA commands

Vladimir Ozerov created CALCITE-4533:
----------------------------------------

             Summary: Fix handling of REPLACE and IF NOT EXISTS keywords for CREATE TABLE/SCHEMA commands
                 Key: CALCITE-4533
                 URL: https://issues.apache.org/jira/browse/CALCITE-4533
             Project: Calcite
          Issue Type: Improvement
          Components: server
    Affects Versions: 1.26.0
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov


Presently, the {{ServerDdlExecutor}} incorrectly process some keywords:
# {{CREATE SCHEMA IF NOT EXISTS}} overwrites the existing schema
# {{CREATE OR REPLACE TABLE}} doesn't replace the table if the table exists

The goal of this ticket is to unify the handling of {{IF NOT EXISTS}} and {{REPLACE}} keywords for these two commands.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)