You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/10/24 20:16:59 UTC

[jira] [Created] (HIVE-15045) Count distinct throws error when used in conjunction with grouping set

Ashutosh Chauhan created HIVE-15045:
---------------------------------------

             Summary: Count distinct throws error when used in conjunction with grouping set
                 Key: HIVE-15045
                 URL: https://issues.apache.org/jira/browse/HIVE-15045
             Project: Hive
          Issue Type: Bug
          Components: Operators
    Affects Versions: 2.1.0, 2.0.0, 1.1.0, 1.2.0, 1.0.0
            Reporter: Ashutosh Chauhan


{code}
SELECT key, value, count(distinct value) FROM src GROUP BY key, value with cube;
FAILED: SemanticException [Error 10210]: Grouping sets aggregations (with rollups or cubes) are not allowed if aggregation function parameters overlap with the aggregation functions columns
{code}



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