uros-db commented on code in PR #48521:
URL: https://github.com/apache/spark/pull/48521#discussion_r1804883392
##########
common/unsafe/src/main/java/org/apache/spark/sql/catalyst/util/CollationFactory.java:
##########
@@ -1193,6 +1193,10 @@ public static String[] getICULocaleNames() {
return Collation.CollationSpecICU.ICULocaleNames;
}
+ public static UTF8String applyTrimmingPolicy(UTF8String input, int
collationId) {
+ return Collation.CollationSpec.applyTrimmingPolicy(input, collationId);
+ }
Review Comment:
perhaps we should reconsider redirecting a 1-line method call
no hard opinion, but doesn't seem useful at first glance
--
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]