apache/incubator-spark — pull request #186 by tbfenet (2013-11-19 06:39:18+00:00)
Title: PartitionPruningRDD is using index from parent

I was getting a ArrayIndexOutOfBoundsException exception after doing union on pruned RDD. The index it was using on the partition was the index in the original RDD not the new pruned RDD.