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 2024/09/25 09:08:00 UTC
[jira] [Assigned] (SPARK-49547) Support returning RecordBatches from applyInArrow
[ https://issues.apache.org/jira/browse/SPARK-49547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot reassigned SPARK-49547:
--------------------------------------
Assignee: Apache Spark
> Support returning RecordBatches from applyInArrow
> -------------------------------------------------
>
> Key: SPARK-49547
> URL: https://issues.apache.org/jira/browse/SPARK-49547
> Project: Spark
> Issue Type: Improvement
> Components: PySpark, SQL
> Affects Versions: 4.0.0
> Reporter: Adam Binford
> Assignee: Apache Spark
> Priority: Major
> Labels: pull-request-available
>
> Currently the new `applyInArrow` method in PySpark uses a function that takes a `pyarrow.Table` and returns a `pyarrow.Table`. This limits the ability for this function to scale, as the entire result set must fit in memory at once in a `Table`. However, we have use cases that can result in a large amount of data that needs to be returned from the function on certain edge cases. The result is immediately turned into a series of batches from the Table, so there's no reason to not just allow an iterator of batches to be returned instead.
--
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