You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2023/08/14 04:05:00 UTC

[jira] [Updated] (SPARK-44797) Many PySpark-related test cases failed in Java 17 daily tests

     [ https://issues.apache.org/jira/browse/SPARK-44797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang Jie updated SPARK-44797:
-----------------------------
    Issue Type: Bug  (was: Improvement)

> Many PySpark-related test cases failed in Java 17 daily tests
> -------------------------------------------------------------
>
>                 Key: SPARK-44797
>                 URL: https://issues.apache.org/jira/browse/SPARK-44797
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect, SQL, Tests
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Priority: Major
>
> The failures started two days ago.
>  * [https://github.com/apache/spark/actions/runs/5837423492]
>  * [https://github.com/apache/spark/actions/runs/5843658110]
>  * [https://github.com/apache/spark/actions/runs/5849761680]
> {code:java}
> ======================================================================
> 2381FAIL [0.008s]: test_udtf_with_analyze_taking_wrong_number_of_arguments (pyspark.sql.tests.connect.test_parity_udtf.UDTFParityTests)
> 2382----------------------------------------------------------------------
> 2383pyspark.errors.exceptions.connect.AnalysisException: [TABLE_VALUED_FUNCTION_FAILED_TO_ANALYZE_IN_PYTHON] Failed to analyze the Python user defined table function: Traceback (most recent call last):
> 2384  File "/__w/spark/spark/python/lib/pyspark.zip/pyspark/sql/worker/analyze_udtf.py", line 112, in main
> 2385    result = handler.analyze(*args)  # type: ignore[attr-defined]
> 2386TypeError: analyze() takes 0 positional arguments but 1 was given
> 2387
> 2388
> 2389During handling of the above exception, another exception occurred:
> 2390
> 2391Traceback (most recent call last):
> 2392  File "/__w/spark/spark/python/pyspark/sql/tests/test_udtf.py", line 1541, in test_udtf_with_analyze_taking_wrong_number_of_arguments
> 2393    func(lit(1)).collect()
> 2394AssertionError: "analyze\(\) missing 1 required positional argument: 'b'" does not match "[TABLE_VALUED_FUNCTION_FAILED_TO_ANALYZE_IN_PYTHON] Failed to analyze the Python user defined table function: Traceback (most recent call last):
> 2395  File "/__w/spark/spark/python/lib/pyspark.zip/pyspark/sql/worker/analyze_udtf.py", line 112, in main
> 2396    result = handler.analyze(*args)  # type: ignore[attr-defined]
> 2397TypeError: analyze() takes 0 positional arguments but 1 was given
> 2398"
> 2399
> 2400----------------------------------------------------------------------
> 2401Ran 174 tests in 84.628s
> 2402
> 2403FAILED (failures=21, errors=7, skipped=6)
> 2404 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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