coalesce
类: matlab.compiler.mlspark.RDD
命名空间: matlab.compiler.mlspark
减少 RDD 中的分区数
语法
result = coalesce(obj,numPartitions,doShuffle)
说明
将 RDD 中的分区数减少为 result
= coalesce(obj
,numPartitions
,doShuffle
)numPartitions
指定的数目。
输入参数
输出参量
示例
版本历史记录
在 R2016b 中推出
另请参阅
reduceByKey
| map
| glom
| collect
| parallelize