浅析sortByKey算子

1、简介     spark中用于排序的算子主要有两个,sortByKey与sortBy,其中sortBy是引用sortByKey来实现的。下面主要对sortByKey算子进行分析,该方法的实现代码以下:python def sortByKey(ascending: Boolean = true, numPartitions: Int = self.partitions.length) : RDD
相关文章
相关标签/搜索