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 2f49c1fed0e [SPARK-41757][CONNECT][PYTHON][FOLLOW-UP] Enable 
connect.functions.col doctest
2f49c1fed0e is described below

commit 2f49c1fed0e9962b2b29ea9017edccbd52a5ce8e
Author: Sandeep Singh <sand...@techaddict.me>
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 <sand...@techaddict.me>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 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: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to