This is an automated email from the ASF dual-hosted git repository.

dongjoon 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 985f98873d51 [SPARK-48248][PYTHON][TESTS][FOLLOW-UP] Avoid duplicated 
test name for `test_infer_array_element_type_with_struct`
985f98873d51 is described below

commit 985f98873d5127d1436f6e82de66c3348b106943
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Thu Nov 21 21:00:16 2024 -0800

    [SPARK-48248][PYTHON][TESTS][FOLLOW-UP] Avoid duplicated test name for 
`test_infer_array_element_type_with_struct`
    
    ### What changes were proposed in this pull request?
    
    This PR is a followup of https://github.com/apache/spark/pull/46548 that 
avoid duplicated test name.
    
    ### Why are the changes needed?
    
    Otherwise, one of both do not run.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, test-only.
    
    ### How was this patch tested?
    
    Manually
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #48931 from HyukjinKwon/test-rename.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 python/pyspark/sql/tests/test_types.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/sql/tests/test_types.py 
b/python/pyspark/sql/tests/test_types.py
index 8a30608cd408..dcc383b7add5 100644
--- a/python/pyspark/sql/tests/test_types.py
+++ b/python/pyspark/sql/tests/test_types.py
@@ -2310,7 +2310,7 @@ class TypesTestsMixin:
                 StringType("UTF8_LCASE"),
             )
 
-    def test_infer_array_element_type_with_struct(self):
+    def test_infer_nested_array_element_type_with_struct(self):
         # SPARK-48248: Nested array to respect legacy conf of 
inferArrayTypeFromFirstElement
         with self.sql_conf(
             
{"spark.sql.pyspark.legacy.inferArrayTypeFromFirstElement.enabled": True}


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

Reply via email to