You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/03/14 00:56:41 UTC

[jira] [Resolved] (SPARK-19942) DataFrameWriter - CSV options "ignoreLeadingWhiteSpace" and "ignoreTrailingWhiteSpace" Not working

     [ https://issues.apache.org/jira/browse/SPARK-19942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-19942.
----------------------------------
    Resolution: Duplicate

> 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