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

Hequn Cheng commented on FLINK-9687:
------------------------------------

Good catch. When isFire=false, there is no need to get contents from window 
state.

> Delay the state fetch only when the triggerResult is fire
> ---------------------------------------------------------
>
>                 Key: FLINK-9687
>                 URL: https://issues.apache.org/jira/browse/FLINK-9687
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.5.0
>            Reporter: aitozi
>            Assignee: aitozi
>            Priority: Major
>
> When the window operator is fired by the event timer or processing timer, it 
> fetch the state content first. I think it only need to fetch the content from 
> windowState when the triggerResult is Fire. So we have to change the order to 
> avoid this cost ( the cost of fetch content from state is more than judge the 
> triggerResult). 



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

Reply via email to