Luke Cwik created BEAM-5149:
-------------------------------

             Summary: Add support to the Java SDK harness to merge windows
                 Key: BEAM-5149
                 URL: https://issues.apache.org/jira/browse/BEAM-5149
             Project: Beam
          Issue Type: Sub-task
          Components: sdk-java-harness
            Reporter: Luke Cwik
            Assignee: Luke Cwik


Window merging function:

 
{code:java}
Input: KV<nonce, iterable<OriginalWindow>>
Output: KV<nonce, KV<iterable<UnmergedOriginalWindow>, 
iterable<KV<MergedWindow, iterable<ConsumedOriginalWindow>>>> 
{code}

For each set of original windows, a list of all unmerged windows is output 
alongside a map of merged window to set of consumed windows. All original 
windows must be contained in either the unmerged original window set or one of 
the consumed original window sets. Each original window can only be part of one 
output set. The nonce is used by a runner to associate each input with its 
output. The nonce is represented as an opaque set of bytes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to