Github user HyukjinKwon commented on the pull request:
https://github.com/apache/spark/pull/13372#issuecomment-222314823
I think at least we need to handle the other options as well with a clearer
message rather than `java.lang.NullPointerException was thrown.`. I see some of
options are being validated. For example, `samplingRatio` in JSON data source
throws a clear message when the value is a negative numeric type. I think
maybe this can be done in another PR anyway.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]