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 2018/09/11 12:52:00 UTC

[jira] [Resolved] (SPARK-25241) Configurable empty values when reading/writing CSV files

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

Hyukjin Kwon resolved SPARK-25241.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0
                   3.0.0

Issue resolved by pull request 22389
[https://github.com/apache/spark/pull/22389]

> Configurable empty values when reading/writing CSV files
> --------------------------------------------------------
>
>                 Key: SPARK-25241
>                 URL: https://issues.apache.org/jira/browse/SPARK-25241
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.1, 2.4.0
>            Reporter: Mario Molina
>            Assignee: Mario Molina
>            Priority: Minor
>             Fix For: 3.0.0, 2.4.0
>
>
> There is anĀ option in the CSV parser to set values when we have empty values in the CSV files or in our dataframes.
> Currently, this option cannot be configured and always sets a default value (empty string for reading and `""` for writing).
> I think it'd be interesting to enable this option in the CSV reader/writer to allow customizing these empty values.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org