[
https://issues.apache.org/jira/browse/FLINK-40434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-40434:
-----------------------------------
Labels: pull-request-available (was: )
> Add flat_map support to DataFrame API
> -------------------------------------
>
> Key: FLINK-40434
> URL: https://issues.apache.org/jira/browse/FLINK-40434
> Project: Flink
> Issue Type: Sub-task
> Components: API / Python
> Reporter: Liu Liu
> Assignee: Chengyu Wang
> Priority: Major
> Labels: pull-request-available
>
> Support the following usage:
> {code:java}
> class Output(TypedDict):
> value: int
> def expand(row: Dict[str, Any]) -> Iterator[Output]:
> yield {"value": row["x"]}
> yield {"value": row["x"] + 1}
> df.flat_map(expand){code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)