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

Dian Fu closed FLINK-40434.
---------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Merged to master via 8161afa99bb4ede160cf3efdbb4d9d38e7c9d666

> 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
>             Fix For: 2.4.0
>
>
> 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