KurtYoung commented on a change in pull request #8844:
[FLINK-12951][table-planner] Add logic to bridge DDL to table source(…
URL: https://github.com/apache/flink/pull/8844#discussion_r299792915
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java
##########
@@ -287,6 +287,46 @@
@Deprecated
String[] getCompletionHints(String statement, int position);
+ /**
+ * Evaluates mixed-in sql statements including DDLs and DMLs.
+ * Note: Always use this interface to execute a sql query if no {@link
Table}
+ * result are expected, else use {@link #sqlQuery(String)}.
Review comment:
I think the original purpose about this API also include the responsibility
of `sqlQuery(String)`
----------------------------------------------------------------
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