zjuwangg commented on a change in pull request #10272: [FLINK-14878]Support
`use catalog` through sqlUpdate() method in TableEnvironment
URL: https://github.com/apache/flink/pull/10272#discussion_r348876778
##########
File path:
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/ddl/SqlUseCatalog.java
##########
@@ -35,7 +35,7 @@
*/
public class SqlUseCatalog extends SqlCall {
- public static final SqlSpecialOperator OPERATOR = new
SqlSpecialOperator("USE CATALOG", SqlKind.OTHER);
+ public static final SqlSpecialOperator OPERATOR = new
SqlSpecialOperator("USE CATALOG", SqlKind.OTHER_DDL);
Review comment:
After think twice, I revert the SqlKind and modify the planner validate
condition.
----------------------------------------------------------------
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