Tian Gao created SPARK-61829:
--------------------------------

             Summary: Add tests for invalid return types of Arrow and Pandas 
UDF APIs
                 Key: SPARK-61829
                 URL: https://issues.apache.org/jira/browse/SPARK-61829
             Project: Spark
          Issue Type: Test
          Components: PySpark
    Affects Versions: 5.0.0
            Reporter: Tian Gao


12 lines of `UserDefinedFunction._check_return_type` in 
`python/pyspark/sql/udf.py` were not covered by any test. These are the error 
branches for Arrow-optimized Python UDFs, map-in-Arrow/Pandas, grouped-map 
Arrow, and cogrouped-map Pandas/Arrow return types. This adds coverage for all 
12.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to