You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2018/08/29 14:30:01 UTC

[jira] [Commented] (FLINK-10239) Register eventtime timer only once in eventtrigger

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

Aljoscha Krettek commented on FLINK-10239:
------------------------------------------

That would be good to do. However, how do you decide whether it is the first time we see an element in the window or whether we have seen the window before?

> Register eventtime timer only once in eventtrigger
> --------------------------------------------------
>
>                 Key: FLINK-10239
>                 URL: https://issues.apache.org/jira/browse/FLINK-10239
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.5.3
>            Reporter: buptljy
>            Priority: Minor
>
> I find that we call ctx.registerEventTimeTimer(window.maxTimestamp()) every time when an element is received in the window. Even though it doesn't affect the result because it uses a Set, but I think it can still be an improvement if we call it only once.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)