KurtYoung commented on a change in pull request #11700: [FLINK-16366] [table]
Introduce executeSql method in TableEnvironment and support many statements
URL: https://github.com/apache/flink/pull/11700#discussion_r407845053
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java
##########
@@ -130,7 +139,12 @@
"Unsupported SQL query! sqlUpdate() only accepts a
single SQL statement of type " +
"INSERT, CREATE TABLE, DROP TABLE, ALTER TABLE, USE
CATALOG, USE [CATALOG.]DATABASE, " +
"CREATE DATABASE, DROP DATABASE, ALTER DATABASE, CREATE
FUNCTION, " +
- "DROP FUNCTION, ALTER FUNCTION";
+ "DROP FUNCTION, ALTER FUNCTION, CREATE CATALOG.";
+ private static final String UNSUPPORTED_QUERY_IN_EXECUTE_SQL_MSG =
Review comment:
no `SELECT` query?
----------------------------------------------------------------
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