fsk119 commented on a change in pull request #15980:
URL: https://github.com/apache/flink/pull/15980#discussion_r637663348



##########
File path: 
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/SqlClientTest.java
##########
@@ -176,12 +176,14 @@ public void testVerboseErrorMessage() throws Exception {
     public void testInitFile() throws Exception {
         List<String> statements =
                 Arrays.asList(
-                        "CREATE TABLE source ("
+                        "-- Define Table \n"
+                                + "CREATE TABLE source ("
                                 + "id INT,"
                                 + "val STRING"
                                 + ") WITH ("
                                 + "  'connector' = 'values'"
-                                + ");\n",
+                                + "); "
+                                + "-- Define Table \n",
                         "SET key = value;\n");

Review comment:
       Could you also add some comments after the `SET`? Because it fails to 
parse the statement when comment is around SQL Client commands.




-- 
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:
us...@infra.apache.org


Reply via email to