You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "nirav patel (JIRA)" <ji...@apache.org> on 2017/03/14 00:41:41 UTC
[jira] [Created] (SPARK-19942) DataFrameWriter - CSV options
"ignoreLeadingWhiteSpace" and "ignoreTrailingWhiteSpace" Not working
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org