You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2022/04/08 22:39:00 UTC

[jira] [Updated] (FLINK-18441) support Local-Global Aggregation with LastValue Funciton

     [ 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 pull-request-available stale-minor  (was: auto-deprioritized-major pull-request-available)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.


> 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: Minor
>              Labels: auto-deprioritized-major, pull-request-available, stale-minor
>         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)