Xiao Li created SPARK-11914: ------------------------------- Summary: [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
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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org