openinx commented on a change in pull request #9981: [FLINK-13195][sql-client]
Add create table support for SqlClient
URL: https://github.com/apache/flink/pull/9981#discussion_r344626330
##########
File path:
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/cli/SqlCommandParser.java
##########
@@ -123,6 +123,10 @@ private SqlCommandParser() {
"(INSERT\\s+INTO.*)",
SINGLE_OPERAND),
+ CREATE_TABLE(
+ "(CREATE\\s+TABLE\\s+.*)",
Review comment:
The create table with syntax should also works fine. because we only use
this prefix to identify its whether a create table command or not, if sure we
still need to pass it to the parser & planner to get it's detailed execution.
----------------------------------------------------------------
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