Github user HyukjinKwon commented on the pull request:
https://github.com/apache/spark/pull/13041#issuecomment-218602160
@andrewor14 they are related because the first row is already parsed by
Univocity parser in which `nullValue` is set,
[here](https://github.com/apache/spark/blob/ac12b35d31ef1d1663511bf6ae826a9cc0278f20/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVParser.scala#L48).
Both PRs are handling `nullValue` to treat `""` and empty string and it seems
currently `nullValue` with Univocity parser is working differently with what
Spark expected in CSV datasource library. This is what I meant confusing.
---
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]