-
- Downloads
[SPARK-2061] Made splits deprecated in JavaRDDLike
The jira for the issue can be found at: https://issues.apache.org/jira/browse/SPARK-2061 Most of spark has used over to consistently using `partitions` instead of `splits`. We should do likewise and add a `partitions` method to JavaRDDLike and have `splits` just call that. We should also go through all cases where other API's (e.g. Python) call `splits` and we should change those to use the newer API. Author: Anant <anant.asty@gmail.com> Closes #1062 from anantasty/SPARK-2061 and squashes the following commits: b83ce6b [Anant] Fixed syntax issue 21f9210 [Anant] Fixed version number in deprecation string 9315b76 [Anant] made related changes to use partitions in python api 8c62dd1 [Anant] Made splits deprecated in JavaRDDLike
Showing
- core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala 4 additions, 1 deletion...rc/main/scala/org/apache/spark/api/java/JavaRDDLike.scala
- core/src/test/java/org/apache/spark/JavaAPISuite.java 1 addition, 1 deletioncore/src/test/java/org/apache/spark/JavaAPISuite.java
- python/pyspark/context.py 1 addition, 1 deletionpython/pyspark/context.py
- python/pyspark/rdd.py 2 additions, 2 deletionspython/pyspark/rdd.py
Loading
Please register or sign in to comment