You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2016/01/09 21:40:39 UTC
[jira] [Created] (SPARK-12738) GROUPING__ID is wrong
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org