Davies Liu created SPARK-12738: ---------------------------------- Summary: GROUPING__ID is wrong Key: SPARK-12738 URL: https://issues.apache.org/jira/browse/SPARK-12738 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 1.6.0, 1.5.2, 1.4.1, 1.3.1 Reporter: Davies Liu Priority: Critical
For group set, GROUPING__ID should be 1 if the column is aggregated, or 0. The current implementation is the different, 0 for aggregated, 1 for not-aggregated. The implementation in Hive is also wrong, it does not match that in the docs: https://cwiki.apache.org/confluence/display/Hive/Enhanced+Aggregation,+Cube,+Grouping+and+Rollup -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org