[ https://issues.apache.org/jira/browse/SPARK-12738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu resolved SPARK-12738. -------------------------------- Resolution: Fixed Assignee: Davies Liu Fix Version/s: 2.0.0 https://github.com/apache/spark/pull/10677 > 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.3.1, 1.4.1, 1.5.2, 1.6.0 > Reporter: Davies Liu > Assignee: Davies Liu > Priority: Critical > Fix For: 2.0.0 > > > 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 > https://issues.apache.org/jira/browse/HIVE-12833 -- 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