Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/16928#discussion_r102643961
--- Diff: python/pyspark/sql/readwriter.py ---
@@ -367,10 +368,18 @@ def csv(self, path, schema=None, sep=None,
encoding=None, quote=None, escape=Non
If None is set, it uses the default value,
session local timezone.
* ``PERMISSIVE`` : sets other fields to ``null`` when it
meets a corrupted record.
- When a schema is set by user, it sets ``null`` for
extra fields.
+ If users set a string type field named
``columnNameOfCorruptRecord`` in a
--- End diff --
okay
---
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]