You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2020/07/23 13:12:00 UTC
[jira] [Created] (HIVE-23911) CBO fails when query has distinct in
function and having clause
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)