You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2024/11/22 05:00:31 UTC
(spark) branch master updated: [SPARK-48248][PYTHON][TESTS][FOLLOW-UP] Avoid duplicated test name for `test_infer_array_element_type_with_struct`
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 <gu...@apache.org>
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 <gu...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org