[
https://issues.apache.org/jira/browse/PHOENIX-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621975#comment-14621975
]
James Taylor commented on PHOENIX-2063:
---------------------------------------
Thanks, [~ram_krish]. The errors that occur are often difficult to trace back
to this. In this case, the follow build failure was caused due to this:
https://builds.apache.org/job/Phoenix-master/823/console
> 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: 4.5.0, 4.4.1
>
> Attachments: PHOENIX-2063-addendum.patch, 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)