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

Aljoscha Krettek commented on FLINK-11002:
------------------------------------------

As of FLINK-4994 this is the intended behaviour. But I do realise that this can 
confuse some users so I'm open to discussion.

However, Triggers are a very tricky business. 😅

> 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