PHILO-HE commented on code in PR #10735:
URL: 
https://github.com/apache/incubator-gluten/pull/10735#discussion_r2366665880


##########
gluten-flink/ut/src/test/java/org/apache/gluten/table/runtime/stream/custom/NexmarkTest.java:
##########
@@ -123,17 +123,20 @@ private void executeQuery(StreamTableEnvironment tEnv, 
String queryFileName)
     String[] sqlStatements = queryContent.split(";");
     assertThat(sqlStatements.length).isGreaterThanOrEqualTo(2);
 
-    String createResultTable = sqlStatements[0].trim();
-    if (!createResultTable.isEmpty()) {
-      TableResult createResult = tEnv.executeSql(createResultTable);
-      assertFalse(createResult.getJobClient().isPresent());
+    for (int i = 0; i < sqlStatements.length - 2; i++) {

Review Comment:
   Could you explain why we need a loop here?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to