You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:06 UTC

[jira] [Updated] (FLINK-23031) Support to emit window result with periodic or non_periodic

     [ https://issues.apache.org/jira/browse/FLINK-23031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yun Gao updated FLINK-23031:
----------------------------
    Fix Version/s: 1.16.0

> Support to emit window result with periodic or non_periodic
> -----------------------------------------------------------
>
>                 Key: FLINK-23031
>                 URL: https://issues.apache.org/jira/browse/FLINK-23031
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Aitozi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0, 1.16.0
>
>
> Currently, Flink support early trigger for Window Operator, But it will trigger periodically after the first element in. This come up with two drawback:
> 1. It brings overhead to the heap memory, especially for the job with large scale number of group by key
> 2. The same result will be compute repeatedly , but not deliver by Window Operator. It's somehow meaningless work.
> We can simply avoid to register next timer in {{onProcessingTime}} phase to optimize the performance. Due to the Window Operator already eliminate the same output, So this change will not  
> cause compatible problem



--
This message was sent by Atlassian Jira
(v8.20.1#820001)