You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/11/25 00:54:11 UTC
[jira] [Resolved] (SPARK-11914) [SQL] Support coalesce and
repartition in Dataset APIs
[ https://issues.apache.org/jira/browse/SPARK-11914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-11914.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
> [SQL] Support coalesce and repartition in Dataset APIs
> ------------------------------------------------------
>
> Key: SPARK-11914
> URL: https://issues.apache.org/jira/browse/SPARK-11914
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.6.0
> Reporter: Xiao Li
> Assignee: Xiao Li
> Fix For: 1.6.0
>
>
> repartition: Returns a new [[Dataset]] that has exactly `numPartitions` partitions.
> coalesce: Returns a new [[Dataset]] that has exactly `numPartitions` partitions. Similar to coalesce defined on an [[RDD]], this operation results in a narrow dependency, e.g. if you go from 1000 partitions to 100 partitions, there will not be a shuffle, instead each of the 100 new partitions will claim 10 of the current partitions.
--
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