更新时间: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(_ ++ _)
其作用火花所使用的按键两结合RDDS