AnsweredAssumed Answered

spark Broadcasting RDD in cartesian method .(How can we implement cross join in Spark other than Cartesian method  )

Question asked by madhureddy915 on Aug 12, 2015
Latest reply on Aug 13, 2015 by madhureddy915
Can any one suggest me how can we use broadcast RDD in Cartesian method in Spark ?
I knew that we can use broadcast the RDD and then value can be used for iterative purpose .Like
***val broadcastVar = sc.broadcast(smallRDD.collect())
broadcastVar.value.foreach({ br =>
})***

But I wants use this Small RDD brodcasted one in Cartesian ...Simply.. how can we implement cross join with combine or join methods except cartesian method ?
Thanks

Outcomes