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

Yuan Yifan commented on FLINK-11002:
------------------------------------

Yes, but `clear` didn't be called normally after I return "fireAndPurge". 
Should `purge` operation call `clear`?

> Trigger.clear() will not be called after purged window
> ------------------------------------------------------
>
>                 Key: FLINK-11002
>                 URL: https://issues.apache.org/jira/browse/FLINK-11002
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.6.2
>            Reporter: Yuan Yifan
>            Priority: Major
>
> The `clear` method 
> (org.apache.flink.streaming.api.windowing.triggers.Trigger#clear) will not be 
> called while return a `TriggerResult.FIRE_AND_PURGE` in 
> onElement/onProcessingTime/onEventTime, this may cause the trigger can't 
> purge after trggered the condition.



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

Reply via email to