This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new 4688cfda16bd [SPARK-52420][PYTHON][TESTS][FOLLOW-UP][3.5] Make
test_udtf_with_invalid_return_type compatible with Python only client
4688cfda16bd is described below
commit 4688cfda16bd937aba9b6a87bf5edd7c3ab66c62
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Sat Jun 14 20:06:45 2025 +0900
[SPARK-52420][PYTHON][TESTS][FOLLOW-UP][3.5] Make
test_udtf_with_invalid_return_type compatible with Python only client
---
python/pyspark/sql/tests/connect/test_parity_udtf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/pyspark/sql/tests/connect/test_parity_udtf.py
b/python/pyspark/sql/tests/connect/test_parity_udtf.py
index 17df397d2f11..2e37c6962caf 100644
--- a/python/pyspark/sql/tests/connect/test_parity_udtf.py
+++ b/python/pyspark/sql/tests/connect/test_parity_udtf.py
@@ -54,7 +54,7 @@ class UDTFParityTests(BaseUDTFTestsMixin,
ReusedConnectTestCase):
def eval(self, a: int):
yield a + 1,
- with self.assertRaisesRegex(InvalidPlanInput, "Invalid.*type"):
+ with self.assertRaisesRegex(Exception, "Invalid.*type"):
TestUDTF(lit(1)).collect()
@unittest.skipIf(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]