Skip to content

Commit a10586c

Browse files
committed
Fix wrong link
1 parent 2379a6d commit a10586c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/pyspark/sql/readwriter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def json(self, path, schema=None, primitivesAsString=None, prefersDecimal=None,
195195
----------------
196196
Extra options
197197
For the extra options, refer to
198-
`Data Source Option <https://spark.apache.org/docs/latest/sql-data-sources-parquet.html#data-source-option>`_ # noqa
198+
`Data Source Option <https://spark.apache.org/docs/latest/sql-data-sources-json.html#data-source-option>`_ # noqa
199199
in the version you use.
200200
201201
Examples
@@ -1036,7 +1036,7 @@ def json(self, path, mode=None, compression=None, dateFormat=None, timestampForm
10361036
----------------
10371037
Extra options
10381038
For the extra options, refer to
1039-
`Data Source Option <https://spark.apache.org/docs/latest/sql-data-sources-parquet.html#data-source-option>`_ # noqa
1039+
`Data Source Option <https://spark.apache.org/docs/latest/sql-data-sources-json.html#data-source-option>`_ # noqa
10401040
in the version you use.
10411041
10421042
Examples

python/pyspark/sql/streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def json(self, path, schema=None, primitivesAsString=None, prefersDecimal=None,
484484
----------------
485485
Extra options
486486
For the extra options, refer to
487-
`Data Source Option <https://spark.apache.org/docs/latest/sql-data-sources-parquet.html#data-source-option>`_ # noqa
487+
`Data Source Option <https://spark.apache.org/docs/latest/sql-data-sources-json.html#data-source-option>`_ # noqa
488488
in the version you use.
489489
490490
Notes

0 commit comments

Comments
 (0)