[SPARK-911] allow efficient queries for a range if RDD is partitioned wi...

...th RangePartitioner