-
- Downloads
[SPARK-11878][SQL] Eliminate distribute by in case group by is present with...
[SPARK-11878][SQL] Eliminate distribute by in case group by is present with exactly the same grouping expressi 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 Author: Yash Datta <Yash.Datta@guavus.com> Closes #9858 from saucam/eliminatedistribute.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/Exchange.scala 6 additions, 0 deletions.../main/scala/org/apache/spark/sql/execution/Exchange.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/PlannerSuite.scala 39 additions, 0 deletions...t/scala/org/apache/spark/sql/execution/PlannerSuite.scala
Please register or sign in to comment