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

James Taylor commented on PHOENIX-2063:
---------------------------------------

The root class of our custom filters, BooleanExpressionFilter, calls 
expression.reset() from the reset() method which HBase should call after each 
row is processed while filtering. Is that not the case here? Each expression 
should call reset() on all of it's children - it's possible that a particular 
child expression may not be doing that?

> 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
>         Attachments: PHOENIX-2063-v1.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)

Reply via email to