GitHub user aljoscha opened a pull request:

    https://github.com/apache/flink/pull/1957

    [FLINK-3581] [FLINK-3582] State Iterator and Aligned Time Windows

    This adds two things. A new call `getPartitionedStateForAllKeys` on 
`AbstractStateBackend` that returns a `StateIterator` that can be used to 
iterate over all keys with their respective state in a partition.
    
    The second addition is a new special-purpose window operator 
`AlignedEventTimeWindowOperator` that behaves like `WindowOperator` if a 
`Sliding/TumblingEventTimeWindows` assigner is used with an `EventTimeTrigger`. 
The new operator does this without keeping state/timers per window and key, 
only one timer is kept per window. Upon firing, the new `StateIterator` is used 
to traverse all keys and emit windows.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aljoscha/flink 
window-aligned-special-case-as-operator

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1957.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1957
    
----
commit 57af40ec71da20e5a9a5052959a3d1f5750c21f8
Author: Aljoscha Krettek <[email protected]>
Date:   2016-03-07T16:06:34Z

    [FLINK-3582] Add Iterator over State for All Keys in Partitioned State

commit 65a0fff2ceca04b7ccfdd8a3632e0a98300d3509
Author: Aljoscha Krettek <[email protected]>
Date:   2016-03-07T16:06:34Z

    [FLINK-3581] Add Special Aligned Event-Time WindowOperator

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to