Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/20705#discussion_r172007654
--- 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")
>>> df =
spark.read.load('python/test_support/sql/parquet_partitioned', opt1=True,
--- End diff --
The built-in test data is `parquet`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]