stevomitric commented on code in PR #48804:
URL: https://github.com/apache/spark/pull/48804#discussion_r1837848262
##########
common/unsafe/src/main/java/org/apache/spark/sql/catalyst/util/CollationFactory.java:
##########
@@ -509,6 +509,10 @@ private CollationSpecUTF8(
private static int collationNameToId(String originalName, String
collationName)
throws SparkException {
+ // Have a check for UTF8_BINARY collation to early-out and not
introduce any regression.
+ if (UTF8_BINARY_COLLATION.collationName.equals(collationName)) {
Review Comment:
FWI, according to the current (misleading) benchmarks, this approach yields
~40% slower results.
--
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]