[
https://issues.apache.org/jira/browse/PHOENIX-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822308#comment-16822308
]
Hudson commented on PHOENIX-5217:
---------------------------------
FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #2518 (See
[https://builds.apache.org/job/PreCommit-PHOENIX-Build/2518/])
Revert "PHOENIX-5217 Incorrect result for COUNT DISTINCT limit" (chenglei: rev
e453a89092c1ba8ff376d77b115afaac75d7492f)
* (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/util/TestUtil.java
* (edit)
phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
PHOENIX-5217 Incorrect result for COUNT DISTINCT limit (chenglei: rev
f80c5b1c74a1e6903e3417a9a19c1a53d74552e0)
* (edit)
phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
* (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
> 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)