You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2026/07/17 00:20:00 UTC

[jira] [Resolved] (SPARK-58130) Refactor legacy SQL_ARROW_TABLE_UDF pandas path and remove ArrowStreamPandasUDTFSerializer

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

Ruifeng Zheng resolved SPARK-58130.
-----------------------------------
    Fix Version/s: 4.3.0
       Resolution: Fixed

Issue resolved by pull request 57273
[https://github.com/apache/spark/pull/57273]

> Refactor legacy SQL_ARROW_TABLE_UDF pandas path and remove ArrowStreamPandasUDTFSerializer
> ------------------------------------------------------------------------------------------
>
>                 Key: SPARK-58130
>                 URL: https://issues.apache.org/jira/browse/SPARK-58130
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.3.0
>            Reporter: Yicong Huang
>            Assignee: Yicong Huang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.3.0
>
>
> Following SPARK-57394 which refactored the non-legacy SQL_ARROW_TABLE_UDF path onto ArrowStreamSerializer, move the legacy pandas conversion logic out of ArrowStreamPandasUDTFSerializer and into the read_udtf wrapper in worker.py, so the legacy path also uses a plain ArrowStreamSerializer for I/O. The legacy branch is rewritten flat to mirror the non-legacy path's structure (verify_result / check_return_value / evaluate_rows / func). Once the serializer has no remaining callers, it is removed. Behavior is unchanged: the spark.sql.legacy.execution.pythonUDTF.pandas.conversion.enabled flag and all legacy tests are retained.



--
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