Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16928#discussion_r102643746
  
    --- 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 --
    
    can we just copy-paste the doc from `json`? or you can make some changes 
but please make them consistent.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to