uros-db commented on code in PR #45856: URL: https://github.com/apache/spark/pull/45856#discussion_r1552920335
########## common/unsafe/src/main/java/org/apache/spark/unsafe/types/UTF8String.java: ########## @@ -1078,7 +1078,22 @@ public UTF8String[] split(UTF8String pattern, int limit) { } return result; } - return split(pattern.toString(), limit); + return split(pattern.toString(), limit, regexFlags); + } + + public UTF8String[] split(UTF8String pattern, int limit) { + return split(pattern, limit, 0); // Pattern without regex flags + } + + public UTF8String[] splitCollationAware(UTF8String pattern, int limit, int collationId) { Review Comment: let's go with: `collationAwareSplit` in order to unify naming -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org