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

gurwls223 pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 4005f4f17d1f [SPARK-54599][PYTHON][FOLLOWUP][4.0] Remove an error 
message check to make CI happy
4005f4f17d1f is described below

commit 4005f4f17d1fe2b3d4c9bc02f20f3b03431ca4eb
Author: Tian Gao <[email protected]>
AuthorDate: Thu Feb 19 10:27:04 2026 +0900

    [SPARK-54599][PYTHON][FOLLOWUP][4.0] Remove an error message check to make 
CI happy
    
    ### What changes were proposed in this pull request?
    
    Remove an error message check for client tests for branch-4.0.
    
    ### Why are the changes needed?
    
    We have a 4.0 client vs master server CI. The exception changed a bit in 
#53099 which made the 4.0 client test fail (the error message changed).
    
    This error message is a not critical and we already removed it in master. 
We'll just remove it from branch 4.0 to have a clean CI.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    master already runs without the check.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #54353 from gaogaotiantian/4.0-remove-msg-check.
    
    Authored-by: Tian Gao <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 python/pyspark/sql/tests/streaming/test_streaming_foreach.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/python/pyspark/sql/tests/streaming/test_streaming_foreach.py 
b/python/pyspark/sql/tests/streaming/test_streaming_foreach.py
index b29338e7f59e..1a835211c50d 100644
--- a/python/pyspark/sql/tests/streaming/test_streaming_foreach.py
+++ b/python/pyspark/sql/tests/streaming/test_streaming_foreach.py
@@ -223,7 +223,6 @@ class StreamingTestsForeachMixin:
         except StreamingQueryException as e:
             err_msg = str(e)
             self.assertTrue("test error" in err_msg)
-            self.assertTrue("FOREACH_USER_FUNCTION_ERROR" in err_msg)
 
         self.assertEqual(len(tester.process_events()), 0)  # no row was 
processed
         close_events = tester.close_events()


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

Reply via email to