[
https://issues.apache.org/jira/browse/FLINK-4993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aljoscha Krettek closed FLINK-4993.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Implemented in 1875cac03042dad4a4c47b0de8364f02fbe457c6
> Don't Allow Trigger.onMerge() to return TriggerResult
> -----------------------------------------------------
>
> Key: FLINK-4993
> URL: https://issues.apache.org/jira/browse/FLINK-4993
> Project: Flink
> Issue Type: Sub-task
> Components: Streaming
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> Fix For: 1.2.0
>
>
> Allowing {{Trigger.onMerge()}} to return a {{TriggerResult}} is not necessary
> since an {{onMerge()}} call will always be followed by an {{onElement()}}
> call when adding the element that caused the merging to the merged window.
> Having this complicates the internal logic of the {{WindowOperator}} and
> makes writing Triggers more confusing than it has to be.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)