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

Hyukjin Kwon reassigned SPARK-56584:
------------------------------------

    Assignee: Yicong Huang

> Generalize RESULT_TYPE_MISMATCH_FOR_ARROW_UDF error class and remove dead 
> SCHEMA_MISMATCH_FOR_ARROW_PYTHON_UDF
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-56584
>                 URL: https://issues.apache.org/jira/browse/SPARK-56584
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.2.0
>            Reporter: Yicong Huang
>            Assignee: Yicong Huang
>            Priority: Major
>              Labels: pull-request-available
>
> Two cleanups in python/pyspark/worker.py verify paths and the corresponding 
> error-conditions.json:
> 1. Rename {{RESULT_TYPE_MISMATCH_FOR_ARROW_UDF}} to the more general 
> {{RESULT_COLUMN_TYPES_MISMATCH}} (parallel to the existing 
> {{RESULT_COLUMN_NAMES_MISMATCH}}). The message text is not UDF-specific, and 
> the error is raised from generic verify_arrow_result for any Arrow-typed 
> result.
> 2. Remove the dead {{SCHEMA_MISMATCH_FOR_ARROW_PYTHON_UDF}} entry. No code 
> path raises it (message body duplicates {{SCHEMA_MISMATCH_FOR_PANDAS_UDF}}).
> No test changes expected -- grep confirms no tests reference these class 
> names.



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

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

Reply via email to