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 2019/08/21 01:33:00 UTC

[jira] [Resolved] (SPARK-28779) CSV writer doesn't handle older Mac line endings

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

Hyukjin Kwon resolved SPARK-28779.
----------------------------------
    Resolution: Not A Problem

> CSV writer doesn't handle older Mac line endings
> ------------------------------------------------
>
>                 Key: SPARK-28779
>                 URL: https://issues.apache.org/jira/browse/SPARK-28779
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0, 2.4.0
>            Reporter: nicolas paris
>            Priority: Minor
>
> The spark csv writer does not consider "\r"  as a newline in string type columns. As a result, the resulting csv are not quoted, and they get corrupted.
> All \n, \r\n and \r should be considered as newline to allow robust csv serialization.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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