2016-11-25 70 views

回答

2

陣共有單元號是一個大小交集的:

rdd.map { case (x, y) => x.toSet.intersect(y.toSet).size }