github-advanced-security[bot] commented on code in PR #18235:
URL: https://github.com/apache/druid/pull/18235#discussion_r2200435965


##########
embedded-tests/src/test/java/org/apache/druid/testing/embedded/msq/EmbeddedMSQRealtimeQueryTest.java:
##########
@@ -324,6 +393,294 @@
     );
   }
 
+  @Test
+  @Timeout(60)
+  public void test_selectSortMergeJoin_dart()
+  {
+    final long selectedCount = Long.parseLong(
+        msqApis.runDartSql(
+            "SET sqlJoinAlgorithm = 'sortMerge';\n"
+            + "SELECT COUNT(*) FROM \"%s\"\n"
+            + "WHERE countryName IN (\n"
+            + "  SELECT countryName\n"
+            + "  FROM \"%s\"\n"
+            + "  WHERE countryName IS NOT NULL\n"
+            + "  GROUP BY 1\n"
+            + "  ORDER BY COUNT(*) DESC\n"
+            + "  LIMIT 1\n"
+            + ")",
+            dataSource,
+            dataSource
+        )
+    );

Review Comment:
   ## Missing catch of NumberFormatException
   
   Potential uncaught 'java.lang.NumberFormatException'.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/9405)



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