coalesce
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Reduce the number of partitions in an RDD
Syntax
result =
coalesce(obj,numPartitions,doShuffle)
Description
reduces
the number of partitions in an RDD to a number specified by result =
coalesce(obj,numPartitions,doShuffle)numPartitions.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b
See Also
reduceByKey | map | glom | collect | parallelize