You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Shehzaad Nakhoda (JIRA)" <ji...@apache.org> on 2018/01/31 10:26: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=16346556#comment-16346556 ] 

Shehzaad Nakhoda commented on PHOENIX-4418:
-------------------------------------------

[~jamestaylor] a patch for your perusal.

> 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)