[ 
https://issues.apache.org/jira/browse/FLINK-40434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115981#comment-18115981
 ] 

Dian Fu commented on FLINK-40434:
---------------------------------

[~victor39] Sure. Thanks for taking it.

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

Reply via email to