[jira] [Created] (FLINK-4993) Don't Allow Trigger.onMerge() to return TriggerResult

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4993) Don't Allow Trigger.onMerge() to return TriggerResult

Shang Yuanchun (Jira)
Aljoscha Krettek created FLINK-4993:
---------------------------------------

             Summary: 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


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)