You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2017/01/20 22:21:26 UTC
[jira] [Created] (HIVE-15685) count(distinct) generates different
result than expected
Pengcheng Xiong created HIVE-15685:
--------------------------------------
Summary: 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
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
--------+-------
240000 | 1823
(1 row)
{noformat}
Actual output
{noformat}
240000 1824
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)