HyukjinKwon opened a new pull request, #51121:
URL: https://github.com/apache/spark/pull/51121

   ### What changes were proposed in this pull request?
   
   This PR is a followup of https://github.com/apache/spark/pull/50997 that 
backports the test changes into branch-3.5.
   
   ### Why are the changes needed?
   
   To make the build pass 
(https://github.com/apache/spark/actions/runs/15522509263/job/43697654408).
   
   ```
   ======================================================================
   FAIL [0.015s]: test_udtf_with_invalid_return_type 
(pyspark.sql.tests.connect.test_parity_udtf.UDTFParityTests.test_udtf_with_invalid_return_type)
   ----------------------------------------------------------------------
   pyspark.errors.exceptions.connect.SparkConnectGrpcException: 
(org.apache.spark.sql.connect.common.InvalidPlanInput) 
[INVALID_SCHEMA_TYPE_NON_STRUCT] Invalid schema type. Expect a struct type, but 
got "INT". SQLSTATE: 42K09
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File 
"/home/runner/work/spark/spark-3.5/python/pyspark/sql/tests/connect/test_parity_udtf.py",
 line 57, in test_udtf_with_invalid_return_type
       with self.assertRaisesRegex(
   AssertionError: "Invalid Python user-defined table function return type." 
does not match "(org.apache.spark.sql.connect.common.InvalidPlanInput) 
[INVALID_SCHEMA_TYPE_NON_STRUCT] Invalid schema type. Expect a struct type, but 
got "INT". SQLSTATE: 42K09"
   
   ----------------------------------------------------------------------
   ```
   
   Now that the error message has changed, the tests in branch-3.5 fails.
   
   ### 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to