This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 72de244fefd [SPARK-41649][CONNECT][FOLLOWUP] Deduplicate docstrings in
pyspark.sql.connect.window
72de244fefd is described below
commit 72de244fefdaf23aa80f8b5e8ced5f5381fd7a8b
Author: Bjørn Jørgensen <[email protected]>
AuthorDate: Tue Dec 27 19:03:05 2022 +0900
[SPARK-41649][CONNECT][FOLLOWUP] Deduplicate docstrings in
pyspark.sql.connect.window
### What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/39180 that
addresses a typo.
`Window.__doc__ = Window.__doc__`
### Why are the changes needed?
For easier maintenance
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass GA
Closes #39238 from bjornjorgensen/window-doc-PySparkWindowSpec.
Authored-by: Bjørn Jørgensen
<[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/pyspark/sql/connect/window.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/pyspark/sql/connect/window.py
b/python/pyspark/sql/connect/window.py
index 287ba551f1d..29c8c00e11f 100644
--- a/python/pyspark/sql/connect/window.py
+++ b/python/pyspark/sql/connect/window.py
@@ -241,4 +241,4 @@ class Window:
rangeBetween.__doc__ = PySparkWindow.rangeBetween.__doc__
-Window.__doc__ = Window.__doc__
+Window.__doc__ = PySparkWindowSpec.Window.__doc__
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]