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

    https://github.com/apache/spark/pull/20705#discussion_r172022384
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -147,6 +147,7 @@ def load(self, path=None, format=None, schema=None, 
**options):
                            or a DDL-formatted string (For example ``col0 INT, 
col1 DOUBLE``).
             :param options: all other string options
     
    +        >>> spark.conf.set("spark.sql.sources.default", "parquet")
    --- End diff --
    
    Can we just call `format('parquet')` like the doctest for JSON below?


---

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

Reply via email to