Github user kanzhang commented on the pull request:
https://github.com/apache/spark/pull/1338#issuecomment-50668773
> I think we should remove the batchSerialized arguments from PythonRDD's
saveAs* methods and add a batchSerialized field to PythonRDD's constructor,
since it's an attribute of the RDD itself rather than an option.
Problem with that is currently PythonRDD objects are only created by
PipelinedRDD, whereas in other cases (e.g., ```PythonRDD.readRDDFromFile``` and
```SchemaRDD.javaToPython```), ```_jrdd``` (or ```JavaRDD[Array[Byte]]```) are
created directly without PythonRDD objects. I feel the change to use PythonRDD
everywhere is too big for this patch. Maybe a followup JIRA?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---