Github user mmolimar commented on a diff in the pull request:
https://github.com/apache/spark/pull/22234#discussion_r212850822
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVOptions.scala
---
@@ -117,6 +117,9 @@ class CSVOptions(
val nullValue = parameters.getOrElse("nullValue", "")
+ val emptyValueInRead = parameters.getOrElse("emptyValue", "")
--- End diff --
I though that as well. Just for the shake of providing backwards
compatibility as we already have in `ignoreLeadingWhiteSpaceInRead` and
`ignoreLeadingWhiteSpaceFlagInWrite` I implemented that in that way.
What do you say?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]