Related to Spark - Joining 2 PairRDD elements
When doing a regular join in pig, the last table in the join is not brought into memory but streamed through instead, s
It does not make a difference, in spark the RDD will only be brought into memory if it is cached. So in spark to achieve the same effect you can cache the smaller RDD. Another thing you can do in spark which I'm not sure that pig does, is if all RDD's being joined have the same partitioner no shuffle needs to be done.