Github user mateiz commented on the pull request:
https://github.com/apache/spark/pull/554#issuecomment-41484107
But that means that the NPEs are only happening with your custom RDD,
right? They won't happen for regular Spark users.
I think we should pass None here. One way to do it is to select a negative
length (e.g. -3) to represent null, and pass that to Python. We already use
other negative lengths for other special flags.
---
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.
---