Krisztian Kasa created HIVE-23911:
-------------------------------------
Summary: 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
{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)
