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

Krisztian Kasa reassigned HIVE-23911:
-------------------------------------


> CBO fails when query has distinct in function and having clause
> ---------------------------------------------------------------
>
>                 Key: HIVE-23911
>                 URL: https://issues.apache.org/jira/browse/HIVE-23911
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>
> {code}
> create table t (col0 int, col1 int);
> select col0, count(distinct col1) from t
> group by col0
> having count(distinct col1) > 1;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to