[ 
https://issues.apache.org/jira/browse/HIVE-13768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aihua Xu resolved HIVE-13768.
-----------------------------
    Resolution: Not A Problem
      Assignee:     (was: Aihua Xu)

Seems I misunderstood the problem. It assumes that table is sorted by group by 
key. So it works as expected.

> Distinct functions don't work properly after hive.map.groupby.sorted is 
> default to true
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-13768
>                 URL: https://issues.apache.org/jira/browse/HIVE-13768
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>
> HIVE-12325 changes hive.map.groupby.sorted default value to true. The 
> following {{select count(distinct) from t1;}} will return incorrect result 
> now. In the older version, if you set hive.map.groupby.sorted to true, seems 
> it will also return incorrect result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to