[
https://issues.apache.org/jira/browse/HIVE-22653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010606#comment-17010606
]
David Lavati commented on HIVE-22653:
-------------------------------------
TestGenericUDFInitCap#testInitCap was failing indeed.
commons-lang3.WordUtils became deprecated and got moved to commons-text
instead. However a regression was introduced there as mentioned in TEXT-175.
As a workaround I've introduced all the whitespace chars as delimiters - which
matches the original implementation through Character.isWhitespace (except for
also enabling non-breaking spaces, see
[https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#isWhitespace-char-])
> Remove commons-lang leftovers
> -----------------------------
>
> Key: HIVE-22653
> URL: https://issues.apache.org/jira/browse/HIVE-22653
> Project: Hive
> Issue Type: Bug
> Reporter: David Lavati
> Assignee: David Lavati
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-22653.01.patch, HIVE-22653.01.patch,
> HIVE-22653.02.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> HIVE-7145 removed commons-lang - in favor of commons-lang3 - as a direct
> dependency, however a high number of files still refer to commons-lang, which
> is transitively brought in either way.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)