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

ASF GitHub Bot commented on FLINK-3581:
---------------------------------------

Github user aljoscha commented on the pull request:

    https://github.com/apache/flink/pull/1957#issuecomment-216466778
  
    It is a problem because we would be trashing the db, right. I thought about 
garbage collection but this would be yet another layer of complexity. 


> Add Special Aligned Event-Time WindowOperator
> ---------------------------------------------
>
>                 Key: FLINK-3581
>                 URL: https://issues.apache.org/jira/browse/FLINK-3581
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>
> The current Window Trigger is per key. Meaning every window has a (logical) 
> Trigger for every key in the window, i.e. there will be state and time 
> triggers per key per window.
> For some types of windows, i.e. based on time it is possible to use a single 
> Trigger to fire for all keys at the same time. In that case we would save a 
> lot of space on state and timers. Which makes state snapshots a lot smaller.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to