You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/19 01:12:05 UTC
[jira] [Assigned] (SPARK-16052) Add CollapseRepartitionBy optimizer
[ https://issues.apache.org/jira/browse/SPARK-16052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-16052:
------------------------------------
Assignee: Apache Spark
> Add CollapseRepartitionBy optimizer
> -----------------------------------
>
> Key: SPARK-16052
> URL: https://issues.apache.org/jira/browse/SPARK-16052
> Project: Spark
> Issue Type: Improvement
> Components: Optimizer
> Reporter: Dongjoon Hyun
> Assignee: Apache Spark
>
> This issue adds a new optimizer, `CollapseRepartitionBy`.
> **Before**
> {code}
> scala> spark.range(10).repartition(1, $"id").repartition(1, $"id").explain
> == Physical Plan ==
> Exchange hashpartitioning(id#0L, 1)
> +- Exchange hashpartitioning(id#0L, 1)
> +- *Range (0, 10, splits=8)
> {code}
> **After**
> {code}
> scala> spark.range(10).repartition(1, $"id").repartition(1, $"id").explain
> == Physical Plan ==
> Exchange hashpartitioning(id#0L, 1)
> +- *Range (0, 10, splits=8)
> {code}
--
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