Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.0.1
-
None
-
None
Description
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
Attachments
Issue Links
- duplicates
-
SPARK-18579 spark-csv strips whitespace (pyspark)
- Resolved