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/12/04 03:12:00 UTC

[jira] [Updated] (SPARK-21289) Text based formats do not support custom end-of-line delimiters

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

Hyukjin Kwon updated SPARK-21289:
---------------------------------
    Priority: Major  (was: Minor)

> Text based formats do not support custom end-of-line delimiters
> ---------------------------------------------------------------
>
>                 Key: SPARK-21289
>                 URL: https://issues.apache.org/jira/browse/SPARK-21289
>             Project: Spark
>          Issue Type: Umbrella
>          Components: SQL
>    Affects Versions: 2.1.1, 2.3.0
>            Reporter: Yevgen Galchenko
>            Priority: Major
>
> Spark csv and text readers always use default CR, LF or CRLF line terminators without an option to configure a custom delimiter.
> Option "textinputformat.record.delimiter" is not being used to set delimiter in HadoopFileLinesReader and can only be set for Hadoop RDD when textFile() is used to read file.
> Possible solution would be to change HadoopFileLinesReader and create LineRecordReader with delimiters specified in configuration. LineRecordReader already supports passing recordDelimiter in its constructor.



--
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