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 657d9d0df5d6 [SPARK-48024][PYTHON][CONNECT][TESTS] Enable 
`UDFParityTests.test_udf_timestamp_ntz`
657d9d0df5d6 is described below

commit 657d9d0df5d60c26ab1d5efb8db32abad8ff08ea
Author: Ruifeng Zheng <ruife...@apache.org>
AuthorDate: Sun Apr 28 17:52:12 2024 +0900

    [SPARK-48024][PYTHON][CONNECT][TESTS] Enable 
`UDFParityTests.test_udf_timestamp_ntz`
    
    ### What changes were proposed in this pull request?
    Enable `UDFParityTests.test_udf_timestamp_ntz`
    
    ### Why are the changes needed?
    for test coverage
    
    ### Does this PR introduce _any_ user-facing change?
    no, test only
    
    ### How was this patch tested?
    ci and manually test:
    ```
    (spark_dev_312) ➜  spark git:(master) ✗ python/run-tests -k 
--python-executables python3 --testnames 
'pyspark.sql.tests.connect.test_parity_udf 
UDFParityTests.test_udf_timestamp_ntz'
    Running PySpark tests. Output is in 
/Users/ruifeng.zheng/Dev/spark/python/unit-tests.log
    Will test against the following Python executables: ['python3']
    Will test the following Python tests: 
['pyspark.sql.tests.connect.test_parity_udf 
UDFParityTests.test_udf_timestamp_ntz']
    python3 python_implementation is CPython
    python3 version is: Python 3.12.2
    Starting test(python3): pyspark.sql.tests.connect.test_parity_udf 
UDFParityTests.test_udf_timestamp_ntz (temp output: 
/Users/ruifeng.zheng/Dev/spark/python/target/90afedde-8472-496c-8741-a3fd5792f6e2/python3__pyspark.sql.tests.connect.test_parity_udf_UDFParityTests.test_udf_timestamp_ntz__7yrowv9l.log)
    Finished test(python3): pyspark.sql.tests.connect.test_parity_udf 
UDFParityTests.test_udf_timestamp_ntz (10s)
    Tests passed in 10 seconds
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    no
    
    Closes #46257 from zhengruifeng/enable_test_udf_timestamp_ntz.
    
    Authored-by: Ruifeng Zheng <ruife...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 python/pyspark/sql/tests/connect/test_parity_udf.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/python/pyspark/sql/tests/connect/test_parity_udf.py 
b/python/pyspark/sql/tests/connect/test_parity_udf.py
index 17d7ae0eb9fc..5507f8e9f289 100644
--- a/python/pyspark/sql/tests/connect/test_parity_udf.py
+++ b/python/pyspark/sql/tests/connect/test_parity_udf.py
@@ -44,10 +44,6 @@ class UDFParityTests(BaseUDFTestsMixin, 
ReusedConnectTestCase):
     def test_same_accumulator_in_udfs(self):
         super().test_same_accumulator_in_udfs()
 
-    @unittest.skip("Spark Connect does not support spark.conf but the test 
depends on it.")
-    def test_udf_timestamp_ntz(self):
-        super().test_udf_timestamp_ntz()
-
     @unittest.skip("Spark Connect does not support broadcast but the test 
depends on it.")
     def test_broadcast_in_udf(self):
         super().test_broadcast_in_udf()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to