摘要: aggregateByKey 函数原型:aggregateByKey(zeroValue, seqFunc, combFunc, numPartitions=None) 参数与aggregate相同 根据key进行合并 上例稍加改动可以完成一个wordcounts 参数与aggregate相同 根据 阅读全文
posted @ 2017-07-26 16:16 亢奋的小马哥 阅读(3348) 评论(0) 推荐(0) 编辑