Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15045

Count distinct throws error when used in conjunction with grouping set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0, 1.1.0, 1.2.0, 2.0.0, 2.1.0
    • None
    • Operators
    • None

    Description

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashutoshc Ashutosh Chauhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: