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

[jira] [Updated] (SPARK-55294) Support pyarrow based data types

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

ASF GitHub Bot updated SPARK-55294:
-----------------------------------
    Labels: pull-request-available  (was: )

> Support pyarrow based data types
> --------------------------------
>
>                 Key: SPARK-55294
>                 URL: https://issues.apache.org/jira/browse/SPARK-55294
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.2.0
>            Reporter: Tian Gao
>            Priority: Major
>              Labels: pull-request-available
>
> Pandas 3 supports pyarrow based data types like `bool[pyarrow]`. We have no code to work with it. The problem is if `pyarrow` is installed, `string` type will automatically use pyarrow backend, which means the operations between `string` types will result in pyarrow dtypes. e.g. if we compare two string series, the result would be a `bool[pyarrow]` series.
> We need some extra work to make this happen. We probable need to add more arguments to `InternalField.from_struct_field` so pyspark knows if it should convert the data back to a pyarrow based format.



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