-
- Downloads
[SPARK-4795][Core] Redesign the "primitive type => Writable" implicit APIs to...
[SPARK-4795][Core] Redesign the "primitive type => Writable" implicit APIs to make them be activated automatically Try to redesign the "primitive type => Writable" implicit APIs to make them be activated automatically and without breaking binary compatibility. However, this PR will breaking the source compatibility if people use `xxxToXxxWritable` occasionally. See the unit test in `graphx`. Author: zsxwing <zsxwing@gmail.com> Closes #3642 from zsxwing/SPARK-4795 and squashes the following commits: 914b2d6 [zsxwing] Add implicit back to the Writables methods 0b9017f [zsxwing] Add some docs a0e8509 [zsxwing] Merge branch 'master' into SPARK-4795 39343de [zsxwing] Fix the unit test 64853af [zsxwing] Reorganize the rest 'implicit' methods in SparkContext
Showing
- core/src/main/scala/org/apache/spark/SparkContext.scala 67 additions, 3 deletionscore/src/main/scala/org/apache/spark/SparkContext.scala
- core/src/main/scala/org/apache/spark/api/python/WriteInputFormatTestDataGenerator.scala 0 additions, 1 deletion.../spark/api/python/WriteInputFormatTestDataGenerator.scala
- core/src/main/scala/org/apache/spark/package.scala 1 addition, 2 deletionscore/src/main/scala/org/apache/spark/package.scala
- core/src/main/scala/org/apache/spark/rdd/RDD.scala 12 additions, 10 deletionscore/src/main/scala/org/apache/spark/rdd/RDD.scala
- core/src/main/scala/org/apache/spark/rdd/SequenceFileRDDFunctions.scala 37 additions, 12 deletions...scala/org/apache/spark/rdd/SequenceFileRDDFunctions.scala
- core/src/test/scala/org/apache/spark/FileSuite.scala 0 additions, 1 deletioncore/src/test/scala/org/apache/spark/FileSuite.scala
- core/src/test/scala/org/apache/sparktest/ImplicitSuite.scala 11 additions, 3 deletionscore/src/test/scala/org/apache/sparktest/ImplicitSuite.scala
- graphx/src/test/scala/org/apache/spark/graphx/lib/ShortestPathsSuite.scala 1 addition, 1 deletion...cala/org/apache/spark/graphx/lib/ShortestPathsSuite.scala
Loading
Please register or sign in to comment