[ https://issues.apache.org/jira/browse/SPARK-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294465#comment-14294465 ]
Apache Spark commented on SPARK-5441: ------------------------------------- User 'mnazario' has created a pull request for this issue: https://github.com/apache/spark/pull/4236 > SerDeUtil Pair RDD to python conversion doesn't accept empty RDDs > ----------------------------------------------------------------- > > Key: SPARK-5441 > URL: https://issues.apache.org/jira/browse/SPARK-5441 > Project: Spark > Issue Type: Bug > Components: PySpark > Affects Versions: 1.1.1, 1.2.0 > Reporter: Michael Nazario > > SerDeUtil.pairRDDToPython and SerDeUtil.pythonToPairRDD rely on rdd.first() > which throws an exception if the RDD is empty. We should be able to handle > the empty RDD case because this doesn't prevent a valid RDD from being > created. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org