[ https://issues.apache.org/jira/browse/SPARK-31518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-31518: ---------------------------------- Affects Version/s: (was: 2.4.5) 3.1.0 > Expose filterByRange in JavaPairRDD > ----------------------------------- > > Key: SPARK-31518 > URL: https://issues.apache.org/jira/browse/SPARK-31518 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 3.1.0 > Reporter: Antonin Delpeuch > Assignee: Antonin Delpeuch > Priority: Major > Labels: patch > Fix For: 3.1.0 > > > The `filterByRange` method makes it possible to efficiently filter a sorted > RDD using bounds on its keys. It prunes out partitions instead of scanning > them if a RangePartitioner is available in the RDD. > This method is part of the Scala API, defined in OrderedRDDFunctions, but is > not exposed in the Java API as far as I can tell. All other methods defined > in OrderedRDDFunctions are exposed in JavaPairRDD, therefore it seems natural > to expose `filterByRange` there too. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org