You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Thomas D'Silva (JIRA)" <ji...@apache.org> on 2018/03/02 22:38:00 UTC
[jira] [Commented] (PHOENIX-4418) UPPER() and LOWER() functions
should be locale-aware
[ https://issues.apache.org/jira/browse/PHOENIX-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384262#comment-16384262 ]
Thomas D'Silva commented on PHOENIX-4418:
-----------------------------------------
[~shehzaadn], can you also update our documentation for UPPER and LOWER [http://phoenix.apache.org/language/functions.html|http://phoenix.apache.org/language/functions.html#upper]
(see http://phoenix.apache.org/building_website.html)
> UPPER() and LOWER() functions should be locale-aware
> ----------------------------------------------------
>
> Key: PHOENIX-4418
> URL: https://issues.apache.org/jira/browse/PHOENIX-4418
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 4.13.0
> Reporter: Shehzaad Nakhoda
> Assignee: Shehzaad Nakhoda
> Priority: Major
> Fix For: 4.14.0
>
> Attachments: PHOENIX-4418_v1.patch
>
>
> Correct conversion of a string to upper or lower case depends on Locale.
> Java's upper case and lower case conversion routines allow passing in a locale.
> It should be possible to pass in a locale to UPPER() and LOWER() in Phoenix so that locale-specific case conversion can be supported in Phoenix.
> See java.lang.String#toUpperCase()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)