[
https://issues.apache.org/jira/browse/HIVE-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zac Zhou updated HIVE-18270:
Description:
When I run the following query:
explain
SELECT foo.id, count(distinct foo.line_id) as factor f
[
https://issues.apache.org/jira/browse/HIVE-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zac Zhou updated HIVE-18270:
Attachment: HIVE-18270.1.patch
> count(distinct) using join and group by produce incorrect output when
> hi
[
https://issues.apache.org/jira/browse/HIVE-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zac Zhou updated HIVE-18270:
Target Version/s: 2.1.1
Status: Patch Available (was: Open)
> count(distinct) using join and
[
https://issues.apache.org/jira/browse/HIVE-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zac Zhou updated HIVE-18270:
Attachment: HIVE-18270.2.patch
Add a test case. This patch is for branch 2.*, not for the master branch.
>
[
https://issues.apache.org/jira/browse/HIVE-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zac Zhou updated HIVE-18270:
Attachment: HIVE-18270.3.patch
As hive 3.0 has refactored the code, and the ReducesinkDeduplicationUtils cla