This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.4 by this push:
new fc43fa155f0 [SPARK-42818][CONNECT][PYTHON][FOLLOWUP] Add versionchanged
fc43fa155f0 is described below
commit fc43fa155f05f89b98f19a29f696ad5402d8b555
Author: Takuya UESHIN <[email protected]>
AuthorDate: Thu Mar 16 11:17:47 2023 +0800
[SPARK-42818][CONNECT][PYTHON][FOLLOWUP] Add versionchanged
### What changes were proposed in this pull request?
Follow-up of #40450.
Adds `versionchanged` to the docstring.
### Why are the changes needed?
The `versionchanged` is missing in the API newly supported in Spark Connect.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Existing tests.
Closes #40451 from ueshin/issues/SPARK-42818/fup.
Authored-by: Takuya UESHIN <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
(cherry picked from commit 23eaa38f8d459a2d43b181127bc4eee22ac81efa)
Signed-off-by: Ruifeng Zheng <[email protected]>
---
python/pyspark/sql/readwriter.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/python/pyspark/sql/readwriter.py b/python/pyspark/sql/readwriter.py
index e79b9391904..4fa1c1e12ee 100644
--- a/python/pyspark/sql/readwriter.py
+++ b/python/pyspark/sql/readwriter.py
@@ -862,6 +862,9 @@ class DataFrameReader(OptionUtils):
.. versionadded:: 1.4.0
+ .. versionchanged:: 3.4.0
+ Supports Spark Connect.
+
Parameters
----------
table : str
@@ -1869,6 +1872,9 @@ class DataFrameWriter(OptionUtils):
.. versionadded:: 1.4.0
+ .. versionchanged:: 3.4.0
+ Supports Spark Connect.
+
Parameters
----------
table : str
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]