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