Yash Datta created SPARK-11878:
----------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]