You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/03/24 00:02:35 UTC

[GitHub] [spark] HyukjinKwon commented on a change in pull request #23080: [SPARK-26108][SQL] Support custom lineSep in CSV datasource

HyukjinKwon commented on a change in pull request #23080: [SPARK-26108][SQL] Support custom lineSep in CSV datasource
URL: https://github.com/apache/spark/pull/23080#discussion_r396830328
 
 

 ##########
 File path: python/pyspark/sql/readwriter.py
 ##########
 @@ -922,6 +925,8 @@ def csv(self, path, mode=None, compression=None, sep=None, quote=None, escape=No
                          the default UTF-8 charset will be used.
         :param emptyValue: sets the string representation of an empty value. If None is set, it uses
                            the default value, ``""``.
+        :param lineSep: defines the line separator that should be used for writing. If None is
+                        set, it uses the default value, ``\\n``. Maximum length is 1 character.
 
 Review comment:
   Spark never supported `\r\n` in writing path.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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