You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2026/03/09 06:42:33 UTC

(spark) branch master updated: [SPARK-55164][TESTS][FOLLOW-UP] Correct the error message for mismatched output

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

ruifengz 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 4f9ce6f2a637 [SPARK-55164][TESTS][FOLLOW-UP] Correct the error message for mismatched output
4f9ce6f2a637 is described below

commit 4f9ce6f2a637c0cded8555a3a85e3842a636f97f
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Mon Mar 9 14:42:15 2026 +0800

    [SPARK-55164][TESTS][FOLLOW-UP] Correct the error message for mismatched output
    
    ### What changes were proposed in this pull request?
    Correct the error message for mismatched output
    
    ### Why are the changes needed?
    existing error message is wrong
    
    ### Does this PR introduce _any_ user-facing change?
    No, test-only
    
    ### How was this patch tested?
    CI
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #54683 from zhengruifeng/nit_io.
    
    Authored-by: Ruifeng Zheng <ru...@apache.org>
    Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
 python/pyspark/sql/tests/coercion/test_python_udf_input_type.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/sql/tests/coercion/test_python_udf_input_type.py b/python/pyspark/sql/tests/coercion/test_python_udf_input_type.py
index f0afb84b4361..c772e97747f6 100644
--- a/python/pyspark/sql/tests/coercion/test_python_udf_input_type.py
+++ b/python/pyspark/sql/tests/coercion/test_python_udf_input_type.py
@@ -311,7 +311,7 @@ class UDFInputTypeTests(GoldenFileTestMixin, ReusedSQLTestCase):
                 values_str = [row["python_value_str"] for row in results_data]
 
                 # Assert that the UDF output values match the input values
-                assert values == input_data, f"Input {values} != output {input_data}"
+                assert values == input_data, f"Output {values} != Input {input_data}"
 
                 result.append(str(types))
                 result.append(str(values_str))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org