[
https://issues.apache.org/jira/browse/PHOENIX-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613694#comment-14613694
]
Hudson commented on PHOENIX-2064:
---------------------------------
FAILURE: Integrated in Phoenix-master #810 (See
[https://builds.apache.org/job/Phoenix-master/810/])
PHOENIX-2064 ARRAY constructor doesn't work when used in COUNT DISTINCT
(ramkrishna: rev 1c10fda17975bc3c2a13542b0041fe6bd7fee50c)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArrayIT.java
*
phoenix-core/src/main/java/org/apache/phoenix/expression/ArrayConstructorExpression.java
> ARRAY constructor doesn't work when used in COUNT DISTINCT
> ----------------------------------------------------------
>
> Key: PHOENIX-2064
> URL: https://issues.apache.org/jira/browse/PHOENIX-2064
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: Dumindu Buddhika
> Fix For: 4.4.0, 4.5.0
>
> Attachments: PHOENIX-2064-v2.patch, PHOENIX-2064-v3.patch,
> PHOENIX-2064-v4.patch, PHOENIX-2064.patch
>
>
> As a workaround for PHOENIX-2062, I tried the following query:
> {code}
> SELECT COUNT(DISTINCT ARRAY[a.col1, b.col2]) ...
> {code}
> However, this always returns the full number of rows which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)