[
https://issues.apache.org/jira/browse/FLINK-18441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-18441:
-----------------------------------
Labels: auto-deprioritized-major auto-deprioritized-minor
pull-request-available (was: auto-deprioritized-major pull-request-available
stale-minor)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any
updates so it is being deprioritized. If this ticket is actually Minor, please
raise the priority and ask a committer to assign you the issue or revive the
public discussion.
> support Local-Global Aggregation with LastValue Funciton
> ---------------------------------------------------------
>
> Key: FLINK-18441
> URL: https://issues.apache.org/jira/browse/FLINK-18441
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Reporter: wangpeibin
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor,
> pull-request-available
> Attachments: image-2020-06-28-16-12-39-156.png,
> image-2020-06-28-16-15-38-173.png
>
>
> The optimization of Local-Global Aggregation is invalid when the last_value
> aggregation function exists, such as
> {code:java}
> select k, sum(v) as v, last_value(v) as last_v
> from a
> group by k
> {code}
> right now the ExecutionPlan is:
> !image-2020-06-28-16-12-39-156.png!
> but with the optimization of Local-Global Aggregation enabled, the
> ExecutionPlan is supported to be:
> !image-2020-06-28-16-15-38-173.png!
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)