[
https://issues.apache.org/jira/browse/PHOENIX-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937126#comment-13937126
]
Hudson commented on PHOENIX-128:
--------------------------------
SUCCESS: Integrated in Apache Phoenix - Branch:3.0 #36 (See
[https://builds.apache.org/job/Phoenix-3.0/36/])
Phoenix-128 - Support coercion and descending sort order for ARRAY (ramkrishna:
rev 8ec795308929863cbffb14e33deb7478ee9b2824)
* phoenix-core/src/main/java/org/apache/phoenix/schema/PArrayDataType.java
* phoenix-core/src/main/antlr3/PhoenixSQL.g
* phoenix-core/src/main/java/org/apache/phoenix/parse/CastParseNode.java
*
phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayIndexFunction.java
* phoenix-core/src/main/java/org/apache/phoenix/parse/ParseNodeFactory.java
* phoenix-core/src/main/java/org/apache/phoenix/expression/CoerceExpression.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCompiler.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArrayIT.java
> Support coercion and descending sort order for ARRAY
> ----------------------------------------------------
>
> Key: PHOENIX-128
> URL: https://issues.apache.org/jira/browse/PHOENIX-128
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: ramkrishna.s.vasudevan
> Fix For: 3.0.0, 4.0.0
>
> Attachments: Phoenix-128_1.patch, Phoenix-128_2.patch,
> Phoenix-128_3.patch, Phoenix-128_4.patch, Phoenix-128_5.patch
>
>
> Now that our ARRAY types may be used in the primary key, we need to support
> descending sort order (i.e. inverting the bits). There are also holes in the
> support for coerce, as it's legitimate to coerce an array of BIGINT to an
> array of INTEGER for example.
> This can all be handled pretty easily in the PArrayDataType.coerceBytes()
> method.
--
This message was sent by Atlassian JIRA
(v6.2#6252)