[
https://issues.apache.org/jira/browse/SPARK-11914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-11914:
------------------------------------
Assignee: Apache Spark
> [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: Apache Spark
>
> 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: [email protected]
For additional commands, e-mail: [email protected]