From 61078366b672696244b8cd1922dd52d823b75249 Mon Sep 17 00:00:00 2001 From: Uros Bojanic <157381213+uros-db@users.noreply.github.com> Date: Tue, 11 Jun 2024 10:38:36 -0700 Subject: [PATCH] [SPARK-48576][SQL][FOLLOWUP] Rename UTF8_BINARY_LCASE to UTF8_LCASE ### What changes were proposed in this pull request? Renaming `UTF8_BINARY_LCASE` collation to `UTF8_LCASE` in leftover tests. ### Why are the changes needed? Due to a merge conflict, one additional test was using the old collation name. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46939 from uros-db/renaming-fix. Authored-by: Uros Bojanic <157381213+uros-db@users.noreply.github.com> Signed-off-by: Wenchen Fan --- .../org/apache/spark/sql/CollationStringExpressionsSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/core/src/test/scala/org/apache/spark/sql/CollationStringExpressionsSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/CollationStringExpressionsSuite.scala index 556588ecf8d53..a5e5b08cd9ff8 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/CollationStringExpressionsSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/CollationStringExpressionsSuite.scala @@ -652,7 +652,7 @@ class CollationStringExpressionsSuite ) val testCases = Seq( LevenshteinTestCase("kitten", "sitTing", "UTF8_BINARY", None, result = 4), - LevenshteinTestCase("kitten", "sitTing", "UTF8_BINARY_LCASE", None, result = 4), + LevenshteinTestCase("kitten", "sitTing", "UTF8_LCASE", None, result = 4), LevenshteinTestCase("kitten", "sitTing", "UNICODE", Some(3), result = -1), LevenshteinTestCase("kitten", "sitTing", "UNICODE_CI", Some(3), result = -1) )