Liu Liu created FLINK-40434:
-------------------------------
Summary: 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
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)