uros-db commented on code in PR #46761:
URL: https://github.com/apache/spark/pull/46761#discussion_r1670948417
##########
common/unsafe/src/main/java/org/apache/spark/sql/catalyst/util/CollationFactory.java:
##########
@@ -818,7 +818,7 @@ public static UTF8String getCollationKey(UTF8String input,
int collationId) {
if (collation.supportsBinaryEquality) {
return input;
} else if (collation.supportsLowercaseEquality) {
- return input.toLowerCase();
+ return CollationAwareUTF8String.toLowerCase(input);
Review Comment:
yes, we will need to fix `getCollationKey` in a separate PR (most likely
this one: https://github.com/apache/spark/pull/47132), so I'll undo these
changes for now
--
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]