[ 
https://issues.apache.org/jira/browse/SPARK-44797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753888#comment-17753888
 ] 

Yang Jie commented on SPARK-44797:
----------------------------------

cc [~ruifengz] [~gurwls223] 

> 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: Improvement
>          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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to