nirav patel created SPARK-19942:
-----------------------------------
Summary: DataFrameWriter - CSV options "ignoreLeadingWhiteSpace"
and "ignoreTrailingWhiteSpace" Not working
Key: SPARK-19942
URL: https://issues.apache.org/jira/browse/SPARK-19942
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 2.0.1
Reporter: nirav patel
Hi, I found that by default CSV writer trims white spaces around field values.
I tried to disable that by setting following options to true but its not
working.
"ignoreLeadingWhiteSpace" and "ignoreTrailingWhiteSpace"
Since names of the options are not very clear I also tried setting them to
false but it still trimming.
I also found following jira which might be related to this.
https://github.com/databricks/spark-csv/issues/304
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]