phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5217) Incorrect result for COUNT DISTINCT limit
Date Fri, 19 Apr 2019 08:07:00 GMT

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

Hudson commented on PHOENIX-5217:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-4.x-HBase-1.3 #382 (See [https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/382/])
PHOENIX-5217 Incorrect result for COUNT DISTINCT limit (chenglei: rev 7c22130e5abd3d9700cbac40861e19e4138ed52e)
* (edit) phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
* (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/DistinctCountIT.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
* (edit) phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java


> Incorrect result for COUNT DISTINCT limit 
> ------------------------------------------
>
>                 Key: PHOENIX-5217
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5217
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.1
>         Environment: 4.14.1: incorrect
> 4.6: correct.
>  
>            Reporter: Chen Feng
>            Assignee: chenglei
>            Priority: Critical
>             Fix For: 4.15.0, 5.1.0, 4.14.2
>
>         Attachments: PHOENIX-5217-4.14-HBase-1.4.patch, PHOENIX-5217_v1-4.x-HBase-1.4.patch,
PHOENIX-5217_v2-master.patch
>
>
> For table t1(pk1, col1, CONSTRAINT(pk1))
> upsert into "t1" values (1, 1);
>  upsert into "t1" values (2, 2);
> sql A: select count("pk1") from "t1" limit 1, return 2 [correct]
> sql B: select count(disctinct("pk1")) from "t1" limit 1, return 1 [incorrect]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message