vladanvasi-db commented on code in PR #48521:
URL: https://github.com/apache/spark/pull/48521#discussion_r1812405684
##########
common/unsafe/src/main/java/org/apache/spark/sql/catalyst/util/CollationFactory.java:
##########
@@ -1191,6 +1204,17 @@ public static String[] getICULocaleNames() {
return Collation.CollationSpecICU.ICULocaleNames;
}
+ public static UTF8String applyTrimmingPolicy(UTF8String input, int
collationId) {
+ return Collation.CollationSpec.applyTrimmingPolicy(input, collationId);
+ }
Review Comment:
Can we add a short comment for this since it is a public method?
--
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]