Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20894#discussion_r188554743
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -373,6 +373,12 @@ def csv(self, path, schema=None, sep=None, 
encoding=None, quote=None, escape=Non
                            default value, ``false``.
             :param inferSchema: infers the input schema automatically from 
data. It requires one extra
                            pass over the data. If None is set, it uses the 
default value, ``false``.
    +        :param enforceSchema: If it is set to ``true``, the specified or 
inferred schema will be
    +                              forcibly applied to datasource files and 
headers in CSV files will be
    +                              ignored. If the option is set to ``false``, 
the schema will be
    --- End diff --
    
    Same confusion from 
https://github.com/apache/spark/pull/20894/files#r188553979.


---

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

Reply via email to