[jira] [Created] (FLINK-15026) Support database DDLs in SQL CLI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15026) Support database DDLs in SQL CLI

Shang Yuanchun (Jira)
Danny Chen created FLINK-15026:
----------------------------------

             Summary: Support database DDLs in SQL CLI
                 Key: FLINK-15026
                 URL: https://issues.apache.org/jira/browse/FLINK-15026
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / Client
    Affects Versions: 1.9.1
            Reporter: Danny Chen
             Fix For: 1.10.0


Support DDL as following:

{code:sql}
CREATE DATABASE [ IF NOT EXISTS ] [ catalogName.] dataBaseName [ COMMENT database_comment ] [WITH ( name=value [, name=value]*)]

DROP DATABASE [ IF EXISTS ] [ catalogName.] dataBaseName [ (RESTRICT|CASCADE)]

ALTER DATABASE [ catalogName.] dataBaseName SET ( name=value [, name=value]*)

USE [ catalogName.] dataBaseName
{code}




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