Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/4176#issuecomment-71170456
The argument I can see against it is simply that you want to fail fast on
bad input, not sort of continue. If all of the file is like this you'll just
log a zillion warnings instead of just stopping. How about changing the warning
to throw a standard exception like `IllegalArgumentException` using `require`?
---
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]