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/11/16 03:00:00 UTC
[jira] [Resolved] (SPARK-26040) CSV Row delimiters not consistent
between platforms
[ https://issues.apache.org/jira/browse/SPARK-26040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-26040.
----------------------------------
Resolution: Duplicate
> CSV Row delimiters not consistent between platforms
> ---------------------------------------------------
>
> Key: SPARK-26040
> URL: https://issues.apache.org/jira/browse/SPARK-26040
> Project: Spark
> Issue Type: Bug
> Components: Java API
> Affects Versions: 2.3.0
> Reporter: Heath Abelson
> Priority: Major
>
> Running a spark job on *nix platforms, only unix style row delimiters (\n) are recognized. When running the job on windows, only windows style delimiters are recognized (\r\n).
> The result is that, when trying to read a csv generated my MS excel, on spark running on Linux, extra characters are included in field names and field values that are last on the line.
> Ideally, the CSV parser would be able to handle the 2 different flavors of line endings regardless of what platform the job is being run on.
--
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