uros-db commented on code in PR #45643: URL: https://github.com/apache/spark/pull/45643#discussion_r1565770706
########## common/unsafe/src/test/java/org/apache/spark/unsafe/types/CollationSupportSuite.java: ########## @@ -249,6 +249,86 @@ public void testEndsWith() throws SparkException { assertEndsWith("äbćδe", "ÄBcΔÉ", "UNICODE_CI", false); } + private void assertStringInstr(String string, String substring, String collationName, Review Comment: this is important: Vladimir noticed that we've been using assertEquals incorrectly in `CollationSupportSuite.java` please fix this according to his PR changes: https://github.com/apache/spark/pull/46058 since all of the asserts pass here, we wouldn't notice this, but the correct order is: first **expected** value, and then **received** value -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org