This is an automated email from the ASF dual-hosted git repository.
gurwls223 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 985efd78e5e [SPARK-41757][CONNECT][PYTHON][FOLLOW-UP] Enable
connect.functions.col doctest
985efd78e5e is described below
commit 985efd78e5ee9937efcb78d79c5e2634789bf9c7
Author: Sandeep Singh <[email protected]>
AuthorDate: Fri Jan 27 11:31:15 2023 +0900
[SPARK-41757][CONNECT][PYTHON][FOLLOW-UP] Enable connect.functions.col
doctest
### What changes were proposed in this pull request?
To reenable the doc tests for `col` Function, this patch makes the string
representation of the Column closer to the regular PySpark Column.
This PR is a follow up to https://github.com/apache/spark/pull/39616 with
enabling col doctests
### Why are the changes needed?
Improve Coverage
### Does this PR introduce any user-facing change?
No
### How was this patch tested?
Reenabled doc tests.
Closes #39761 from techaddict/SPARK-41757-2.
Authored-by: Sandeep Singh <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit 2f49c1fed0e9962b2b29ea9017edccbd52a5ce8e)
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/pyspark/sql/connect/functions.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/python/pyspark/sql/connect/functions.py
b/python/pyspark/sql/connect/functions.py
index ee7b45622b3..7c21f9280c2 100644
--- a/python/pyspark/sql/connect/functions.py
+++ b/python/pyspark/sql/connect/functions.py
@@ -2453,9 +2453,6 @@ def _test() -> None:
del pyspark.sql.connect.functions.timestamp_seconds.__doc__
del pyspark.sql.connect.functions.unix_timestamp.__doc__
- # TODO(SPARK-41757): Fix String representation for Column class
- del pyspark.sql.connect.functions.col.__doc__
-
# TODO(SPARK-41812): Proper column names after join
del pyspark.sql.connect.functions.count_distinct.__doc__
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]