Github user MaxGekk commented on a diff in the pull request:
https://github.com/apache/spark/pull/20885#discussion_r176867866
--- Diff: python/pyspark/sql/readwriter.py ---
@@ -770,12 +773,15 @@ def json(self, path, mode=None, compression=None,
dateFormat=None, timestampForm
formats follow the formats at
``java.text.SimpleDateFormat``.
This applies to timestamp type. If None is
set, it uses the
default value,
``yyyy-MM-dd'T'HH:mm:ss.SSSXXX``.
+ :param lineSep: defines the line separator that should be used for
writing. If None is
+ set, it uses the default value, ``\\n``.
--- End diff --
It is a method of DataFrameWriter. It writes exactly `'\n'`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]