flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bowen Li (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (FLINK-14687) Add database related ddl support to SQL Parser
Date Thu, 14 Nov 2019 21:32:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-14687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bowen Li reassigned FLINK-14687:
--------------------------------

    Assignee: Terry Wang

> Add database related ddl support to SQL Parser
> ----------------------------------------------
>
>                 Key: FLINK-14687
>                 URL: https://issues.apache.org/jira/browse/FLINK-14687
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API, Table SQL / Client
>            Reporter: Terry Wang
>            Assignee: Terry Wang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> According to FLIP-69, we should introduce such following DDLs related to the database
in the sql parser.
> 1. createDatabaseStatement:
> CREATE  DATABASE [ IF NOT EXISTS ] [ catalogName.] dataBaseName
> [ COMMENT database_comment ]
> [WITH ( name=value [, name=value]*)]
> 2. dropDatabaseStatement:
> DROP  DATABASE [ IF EXISTS ] [ catalogName.] dataBaseName
> [ (RESTRICT|CASCADE)]
> 3. alterDatabaseStatement:
> ALTER  DATABASE  [ catalogName.] dataBaseName SET
> ( name=value [, name=value]*)
> 4. useDatabaseStatement:
> USE [ catalogName.] dataBaseName 
> 5. showDatabasesStatement:
> SHOW DATABASES
> 6. descDatabaseStatement:
> DESCRIBE  DATABASE [ EXTENDED] [ catalogName.] dataBasesName 



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

Mime
View raw message