[jira] [Updated] (HIVE-15685) count(distinct) generates different result than expected
[ https://issues.apache.org/jira/browse/HIVE-15685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pengcheng Xiong updated HIVE-15685: --- Resolution: Fixed Status: Resolved (was: Patch Available) > count(distinct) generates different result than expected > > > Key: HIVE-15685 > URL: https://issues.apache.org/jira/browse/HIVE-15685 > Project: Hive > Issue Type: Bug >Affects Versions: 2.2.0 >Reporter: Pengcheng Xiong >Assignee: Pengcheng Xiong > Fix For: 2.2.0 > > Attachments: HIVE-15685.01.patch > > > Following query with count(distinct) generates different result than expected > on hive master: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > {noformat} > Expected output generated using postgres: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > count | count > +--- > 24 | 1823 > (1 row) > {noformat} > Actual output > {noformat} > 241824 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-15685) count(distinct) generates different result than expected
[ https://issues.apache.org/jira/browse/HIVE-15685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pengcheng Xiong updated HIVE-15685: --- Fix Version/s: 2.2.0 > count(distinct) generates different result than expected > > > Key: HIVE-15685 > URL: https://issues.apache.org/jira/browse/HIVE-15685 > Project: Hive > Issue Type: Bug >Affects Versions: 2.2.0 >Reporter: Pengcheng Xiong >Assignee: Pengcheng Xiong > Fix For: 2.2.0 > > Attachments: HIVE-15685.01.patch > > > Following query with count(distinct) generates different result than expected > on hive master: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > {noformat} > Expected output generated using postgres: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > count | count > +--- > 24 | 1823 > (1 row) > {noformat} > Actual output > {noformat} > 241824 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-15685) count(distinct) generates different result than expected
[ https://issues.apache.org/jira/browse/HIVE-15685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pengcheng Xiong updated HIVE-15685: --- Affects Version/s: 2.2.0 > count(distinct) generates different result than expected > > > Key: HIVE-15685 > URL: https://issues.apache.org/jira/browse/HIVE-15685 > Project: Hive > Issue Type: Bug >Affects Versions: 2.2.0 >Reporter: Pengcheng Xiong >Assignee: Pengcheng Xiong > Fix For: 2.2.0 > > Attachments: HIVE-15685.01.patch > > > Following query with count(distinct) generates different result than expected > on hive master: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > {noformat} > Expected output generated using postgres: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > count | count > +--- > 24 | 1823 > (1 row) > {noformat} > Actual output > {noformat} > 241824 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-15685) count(distinct) generates different result than expected
[ https://issues.apache.org/jira/browse/HIVE-15685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pengcheng Xiong updated HIVE-15685: --- Attachment: HIVE-15685.01.patch > count(distinct) generates different result than expected > > > Key: HIVE-15685 > URL: https://issues.apache.org/jira/browse/HIVE-15685 > Project: Hive > Issue Type: Bug >Reporter: Pengcheng Xiong >Assignee: Pengcheng Xiong > Attachments: HIVE-15685.01.patch > > > Following query with count(distinct) generates different result than expected > on hive master: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > {noformat} > Expected output generated using postgres: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > count | count > +--- > 24 | 1823 > (1 row) > {noformat} > Actual output > {noformat} > 241824 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-15685) count(distinct) generates different result than expected
[ https://issues.apache.org/jira/browse/HIVE-15685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pengcheng Xiong updated HIVE-15685: --- Status: Patch Available (was: Open) > count(distinct) generates different result than expected > > > Key: HIVE-15685 > URL: https://issues.apache.org/jira/browse/HIVE-15685 > Project: Hive > Issue Type: Bug >Reporter: Pengcheng Xiong >Assignee: Pengcheng Xiong > Attachments: HIVE-15685.01.patch > > > Following query with count(distinct) generates different result than expected > on hive master: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > {noformat} > Expected output generated using postgres: > {noformat} > select count(distinct ss_ticket_number), count(distinct ss_sold_date_sk) from > store_sales; > count | count > +--- > 24 | 1823 > (1 row) > {noformat} > Actual output > {noformat} > 241824 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)