yunqingmoswu commented on code in PR #6974:
URL: https://github.com/apache/inlong/pull/6974#discussion_r1052812165


##########
inlong-sort/sort-core/src/main/java/org/apache/inlong/sort/parser/impl/NativeFlinkSqlParser.java:
##########
@@ -82,7 +82,7 @@ public ParseResult parse() {
         Preconditions.checkNotNull(tableEnv, "tableEnv is null");
         List<String> createTableSqls = new ArrayList<>();
         List<String> insertSqls = new ArrayList<>();
-        String[] statementSet = statements.split(";");
+        String[] statementSet = statements.split(";(\\r?\\n|\\r)");

Review Comment:
   Maybe it is better for ';(\\r?\\n|\\r|\\n)'?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to