Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/18581#discussion_r126604695
--- Diff: python/pyspark/sql/readwriter.py ---
@@ -234,6 +234,8 @@ def json(self, path, schema=None,
primitivesAsString=None, prefersDecimal=None,
default value,
``yyyy-MM-dd'T'HH:mm:ss.SSSXXX``.
:param multiLine: parse one record, which may span multiple lines,
per file. If None is
set, it uses the default value, ``false``.
+ :param lineSep: defines the line separator that should be used for
parsing. If None is
+ set, it uses the default value, ``\\r\\n`` or
``\\n``.
--- End diff --
seems the default value is always `\n`?
https://github.com/apache/spark/pull/18581/files#diff-059fbd7487f6bec7cbd8a57f21f8c8c5R48
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]