[
https://issues.apache.org/jira/browse/SPARK-6466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375657#comment-14375657
]
Apache Spark commented on SPARK-6466:
-------------------------------------
User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/5134
> Remove unnecessary attributes when resolving GroupingSets
> ---------------------------------------------------------
>
> Key: SPARK-6466
> URL: https://issues.apache.org/jira/browse/SPARK-6466
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Liang-Chi Hsieh
> Priority: Minor
>
> When resolving GroupingSets, we currently list all outputs of GroupingSets's
> child plan. However, the columns that are not in groupBy expressions and not
> used by aggregation expressions are unnecessary and can be removed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]