[ https://issues.apache.org/jira/browse/FLINK-14691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt Young closed FLINK-14691. ------------------------------ Fix Version/s: 1.10.0 Assignee: Terry Wang Resolution: Fixed master: 02a8c41d83e3ff500f4cd2f474d8efe063222a71 > Support database related DDLs (don't need return values) through sqlUpdate() > method in TableEnvironment > -------------------------------------------------------------------------------------------------------- > > Key: FLINK-14691 > URL: https://issues.apache.org/jira/browse/FLINK-14691 > Project: Flink > Issue Type: Sub-task > Components: Table SQL / API > Reporter: Terry Wang > Assignee: Terry Wang > Priority: Major > Labels: pull-request-available > Fix For: 1.10.0 > > Time Spent: 20m > Remaining Estimate: 0h > > According to FLIP-69, we should support such following DDLs related to the > database in the TableEnvironment through `sqlUpdate()` method. > 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 -- This message was sent by Atlassian Jira (v8.3.4#803005)