repartition和coalesce优化使用

def  coalesce( self , numPartitions, shuffle = False ):      """      Return a new RDD that is reduced into `numPartitions` partitions.        >>> sc.parallelize([1, 2, 3, 4, 5], 3).glom().collect()  
相关文章
相关标签/搜索