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:48:39 UTC

[jira] [Updated] (SPARK-12738) GROUPING__ID is wrong

     [ https://issues.apache.org/jira/browse/SPARK-12738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davies Liu updated SPARK-12738:
-------------------------------
    Description: 
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

  was:
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


> 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
>            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
> https://issues.apache.org/jira/browse/HIVE-12833



--
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