lirui-apache commented on a change in pull request #10296: 
[FLINK-14691][table]Add use/create/drop/alter database operation and support it 
in flink/blink planner
URL: https://github.com/apache/flink/pull/10296#discussion_r350155153
 
 

 ##########
 File path: 
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/ddl/SqlDropDatabase.java
 ##########
 @@ -37,7 +37,7 @@
  */
 public class SqlDropDatabase extends SqlDrop implements ExtendedSqlNode {
        private static final SqlOperator OPERATOR =
-               new SqlSpecialOperator("DROP DATABASE", SqlKind.OTHER);
+               new SqlSpecialOperator("DROP DATABASE", SqlKind.OTHER_DDL);
 
        private SqlIdentifier databaseName;
        private boolean ifExists;
 
 Review comment:
   Make these fields final since we're removing the setters?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to