Merge pull request #218 from JoshRosen/spark-970-pyspark-unicode-error Fix UnicodeEncodeError in PySpark saveAsTextFile() (SPARK-970)
This fixes [SPARK-970](https://spark-project.atlassian.net/browse/SPARK-970), an issue where PySpark's saveAsTextFile() could throw UnicodeEncodeError when called on an RDD of Unicode strings. Please merge this into master and branch-0.8. Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/8a3475ae Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/8a3475ae Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/8a3475ae Branch: refs/heads/master Commit: 8a3475aed66617772f4e98e9f774b109756eb391 Parents: 58d9bbc 3787f51 Author: Reynold Xin <[email protected]> Authored: Tue Dec 3 14:21:40 2013 -0800 Committer: Reynold Xin <[email protected]> Committed: Tue Dec 3 14:21:40 2013 -0800 ---------------------------------------------------------------------- python/pyspark/rdd.py | 5 ++++- python/pyspark/tests.py | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) ----------------------------------------------------------------------
