phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-4237) Allow sorting on (Java) collation keys for non-English locales
Date Fri, 03 Nov 2017 18:52:00 GMT


Hudson commented on PHOENIX-4237:

SUCCESS: Integrated in Jenkins build Phoenix-master #1865 (See [])
PHOENIX-4237 Allow sorting on (Java) collation keys for non-English (jtaylor: rev ee4355791acf3f31568fcd8c43367947d25a1386)
* (add) phoenix-core/src/it/java/org/apache/phoenix/end2end/
* (edit) phoenix-core/src/main/java/org/apache/phoenix/expression/
* (add) phoenix-core/src/test/java/org/apache/phoenix/expression/function/
* (edit) phoenix-core/src/main/java/org/apache/phoenix/jdbc/
* (add) phoenix-core/src/main/java/org/apache/phoenix/util/
* (edit) LICENSE
* (edit) phoenix-server/pom.xml
* (add) phoenix-core/src/main/java/org/apache/phoenix/expression/function/
* (edit) phoenix-core/pom.xml

> Allow sorting on (Java) collation keys for non-English locales
> --------------------------------------------------------------
>                 Key: PHOENIX-4237
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Shehzaad Nakhoda
>            Assignee: Shehzaad Nakhoda
>            Priority: Major
>             Fix For: 4.13.0
>         Attachments: PHOENIX-4237_v1.patch, PHOENIX-4237_v2.patch, PHOENIX-4237_v3.patch
> Strings stored via Phoenix can be composed from a subset of the entire set of Unicode
characters. The natural sort order for strings for different languages often differs from
the order dictated by the binary representation of the characters of these strings. Java provides
the idea of a Collator which given an input string and a (language) locale can generate a
Collation Key which can then be used to compare strings in that natural order.
> Salesforce has recently open-sourced grammaticus. IBM has open-sourced ICU4J some time
ago. These technologies can be combined to provide a robust new Phoenix function that can
be used in an ORDER BY clause to sort strings according to the user's locale.

This message was sent by Atlassian JIRA

View raw message