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 e42fede87a3b [MINOR][TESTS] skip two duplicate tests related to 
mapping BinaryType to bytes in PySpark
e42fede87a3b is described below

commit e42fede87a3ba203f030f63f1335d6766068b4ef
Author: xianzhe-databricks <[email protected]>
AuthorDate: Mon Oct 27 07:54:59 2025 +0900

    [MINOR][TESTS] skip two duplicate tests related to mapping BinaryType to 
bytes in PySpark
    
    ### What changes were proposed in this pull request?
    This PR is a follow-up of https://github.com/apache/spark/pull/52467. We 
already tested how `BinaryType` is mapped for arrow UDF in 
`ArrowPythonUDFLegacyTests` and `ArrowPythonUDFNonLegacyTests`. There is no 
need to test it again in `ArrowPythonUDFTests`.
    
    ### Why are the changes needed?
    
    To marginally save test resources.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #52727 from xianzhe-databricks/skip-tests.
    
    Authored-by: xianzhe-databricks <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 python/pyspark/sql/tests/arrow/test_arrow_python_udf.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/python/pyspark/sql/tests/arrow/test_arrow_python_udf.py 
b/python/pyspark/sql/tests/arrow/test_arrow_python_udf.py
index ba1fd3e4e0a9..90e05caf2180 100644
--- a/python/pyspark/sql/tests/arrow/test_arrow_python_udf.py
+++ b/python/pyspark/sql/tests/arrow/test_arrow_python_udf.py
@@ -495,6 +495,14 @@ class ArrowPythonUDFTests(ArrowPythonUDFTestsMixin, 
ReusedSQLTestCase):
         finally:
             super(ArrowPythonUDFTests, cls).tearDownClass()
 
+    @unittest.skip("Duplicate test; it is tested separately in legacy and 
non-legacy tests")
+    def test_udf_binary_type(self):
+        super(ArrowPythonUDFTests, self).test_udf_binary_type()
+
+    @unittest.skip("Duplicate test; it is tested separately in legacy and 
non-legacy tests")
+    def test_udf_binary_type_in_nested_structures(self):
+        super(ArrowPythonUDFTests, 
self).test_udf_binary_type_in_nested_structures()
+
 
 class ArrowPythonUDFLegacyTests(ArrowPythonUDFLegacyTestsMixin, 
ReusedSQLTestCase):
     @classmethod


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to