uros-db commented on code in PR #45436:
URL: https://github.com/apache/spark/pull/45436#discussion_r1518058827


##########
sql/core/src/test/scala/org/apache/spark/sql/CollationSuite.scala:
##########
@@ -438,6 +438,39 @@ class CollationSuite extends DatasourceV2SQLBase with 
AdaptiveSparkPlanHelper {
     }
   }
 
+  test("test concurrently running aggregates") {
+    // generating ICU sort keys is not thread-safe by default so this should 
fail
+    // if we don't handle the concurrency properly on Collator level
+
+    for (_ <- 1 to 100) {

Review Comment:
   just wondering: have you tried 1000, 10000, etc. or is 100 proven to be 
sufficient?



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