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

 ##########
 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:
   Not sure if I'm missing something, but has this removed the ability use 
`\r\n`?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to