-
- Downloads
[SPARK-5441][pyspark] Make SerDeUtil PairRDD to Python conversions more robust
SerDeUtil.pairRDDToPython and SerDeUtil.pythonToPairRDD now both support empty RDDs by checking the result of take(1) instead of calling first which throws an exception. Author: Michael Nazario <mnazario@palantir.com> Closes #4236 from mnazario/feature/empty-first and squashes the following commits: a531c0c [Michael Nazario] Added regression tests for SPARK-5441 e3b2fb6 [Michael Nazario] Added acceptance of the empty case
Showing
- core/src/main/scala/org/apache/spark/api/python/SerDeUtil.scala 9 additions, 4 deletions...rc/main/scala/org/apache/spark/api/python/SerDeUtil.scala
- core/src/test/scala/org/apache/spark/api/python/SerDeUtilSuite.scala 38 additions, 0 deletions...st/scala/org/apache/spark/api/python/SerDeUtilSuite.scala
Loading
Please register or sign in to comment