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

Count distinct throws error when used in conjunction with grouping set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0, 1.2.0, 1.1.0, 2.0.0, 2.1.0
    • Fix Version/s: None
    • Component/s: Operators
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              ashutoshc Ashutosh Chauhan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: