phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2063) Row value constructor doesn't work when used in COUNT DISTINCT
Date Thu, 09 Jul 2015 06:00:09 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619957#comment-14619957
] 

Hudson commented on PHOENIX-2063:
---------------------------------

FAILURE: Integrated in Phoenix-master #822 (See [https://builds.apache.org/job/Phoenix-master/822/])
PHOENIX-2063 Row value constructor doesn't work when used in COUNT (ramkrishna: rev fa2d79a0162497761dd4568e3f8f343063b6afaa)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java
* phoenix-core/src/main/java/org/apache/phoenix/expression/aggregator/ServerAggregators.java


> Row value constructor doesn't work when used in COUNT DISTINCT
> --------------------------------------------------------------
>
>                 Key: PHOENIX-2063
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2063
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Dumindu Buddhika
>             Fix For: 5.0.0, 4.4.0, 4.5.0
>
>         Attachments: PHOENIX-2063-v1.patch, PHOENIX-2063-v2.patch
>
>
> As a workaround for PHOENIX-2062, I tried the following query:
> {code}
> SELECT COUNT(DISTINCT (a.col1, b.col2)) ...
> {code}
> However, this always returns 1 as the COUNT DISTINCT which is wrong.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message