且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

其作用火花所使用的按键两结合RDDS

更新时间:2023-11-15 20:23:52

我想联盟两个RDDS和一个reduceByKey合并值。

I would union the two RDDs and to a reduceByKey to merge the values.

(rdd1 union rdd2).reduceByKey(_ ++ _)