GitHub user koertkuipers opened a pull request:
https://github.com/apache/spark/pull/22312
[SPARK-17916][SQL] Fix new behavior when quote is set and fix old behavior
when quote is unset
## What changes were proposed in this pull request?
1) Set nullValue to quoted empty string respecting quote value
2) Fall back to old behavior of unquoted null if quote is not set
## How was this patch tested?
Two new tests that will fail without these fixes
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tresata-opensource/spark
feat-csv-null-unquoted
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22312.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22312
----
commit ad3a11d5c6ead4133195e81f59852db669de5b56
Author: Koert Kuipers <koert@...>
Date: 2018-09-01T18:59:35Z
fix new behavior when quote is changed and fix old behavior when quote is
unset
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]