[
https://issues.apache.org/jira/browse/SPARK-53614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruifeng Zheng resolved SPARK-53614.
-----------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Issue resolved by pull request 52716
[https://github.com/apache/spark/pull/52716]
> Introduce iterator API for ApplyInPandas
> ----------------------------------------
>
> Key: SPARK-53614
> URL: https://issues.apache.org/jira/browse/SPARK-53614
> Project: Spark
> Issue Type: Sub-task
> Components: Connect, PySpark
> Affects Versions: 4.1.0
> Reporter: Ruifeng Zheng
> Assignee: Yicong Huang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> introduce iterator api
> {code:java}
> def func(
> batches: Iterator[pandas.DataFrame]
> ) -> Iterator[pandas.DataFrame]:
> ...
> df.groupby("id").applyInPandas(func, schema='v long')
> {code}
>
> The implementation should be similar to
> https://issues.apache.org/jira/browse/SPARK-49547
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]