uros-db commented on code in PR #45643:
URL: https://github.com/apache/spark/pull/45643#discussion_r1534797256
##########
sql/core/src/test/scala/org/apache/spark/sql/CollationStringExpressionsSuite.scala:
##########
@@ -70,6 +70,97 @@ class CollationStringExpressionsSuite extends QueryTest with
SharedSparkSession
})
}
+ case class SubstringIndexTestFail[R](s1: String, s2: String, c1: String, c2:
String)
+
+ test("Support SubstringIndex with Collation") {
+ // Supported collations
+ val checks = Seq(
+ CollationTestCase("The quick brown fox jumps over the dog.", "fox",
"UTF8_BINARY", 17),
Review Comment:
Or more precisely: "The quick brown fox jumps over the lazy dog." :)
--
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]