[ https://issues.apache.org/jira/browse/FLINK-30242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aitozi updated FLINK-30242: --------------------------- Attachment: screenshot-1.png > Push localHashAggregate pass the union node > ------------------------------------------- > > Key: FLINK-30242 > URL: https://issues.apache.org/jira/browse/FLINK-30242 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Reporter: Aitozi > Priority: Major > Attachments: screenshot-1.png > > > The local hash aggregate after union will have an extra shuffle stage. We can > swap it with the union node so the local hash aggregate can chain with the > mapper stage saving the unnecessary shuffle, especially in the batch job. -- This message was sent by Atlassian Jira (v8.20.10#820010)