You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yicong Huang (Jira)" <ji...@apache.org> on 2026/04/16 06:09:00 UTC

[jira] [Closed] (SPARK-55221) Add PandasBatchTransformer.to_arrow and remove _create_struct_array

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

Yicong Huang closed SPARK-55221.
--------------------------------

> Add PandasBatchTransformer.to_arrow and remove _create_struct_array
> -------------------------------------------------------------------
>
>                 Key: SPARK-55221
>                 URL: https://issues.apache.org/jira/browse/SPARK-55221
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.2.0
>            Reporter: Yicong Huang
>            Priority: Major
>              Labels: pull-request-available
>
> Add a `to_arrow` method to PandasBatchTransformer that converts a pandas DataFrame directly to Arrow format.
> This consolidates the pandas-to-arrow conversion logic currently spread across serializer methods like `_create_struct_array` and `_create_array`, enabling simpler composition with existing ArrowBatchTransformer methods.



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