spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-11878) Eliminate distribute by in case group by is present with exactly the same grouping expressions
Date Fri, 20 Nov 2015 07:47:10 GMT

    [ https://issues.apache.org/jira/browse/SPARK-11878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15015383#comment-15015383
] 

Apache Spark commented on SPARK-11878:
--------------------------------------

User 'saucam' has created a pull request for this issue:
https://github.com/apache/spark/pull/9858

> Eliminate distribute by in case group by is present with exactly the same grouping expressions
> ----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-11878
>                 URL: https://issues.apache.org/jira/browse/SPARK-11878
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Yash Datta
>            Priority: Minor
>
> For queries like :
> select <> from table group by a distribute by a
> we can eliminate distribute by ; since group by will anyways do a hash partitioning
> Also applicable when user uses Dataframe API but the number of partitions in RepartitionByExpression
is not specified (None)



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


Mime
View raw message