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

Flink Jira Bot commented on FLINK-18441:
----------------------------------------

This issue was labeled "stale-major" 7 ago and has not received any updates so 
it is being deprioritized. If this ticket is actually Major, 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: Major
>              Labels: pull-request-available, stale-major
>         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.3.4#803005)

Reply via email to