You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2019/04/03 21:07:00 UTC

[jira] [Resolved] (BEAM-5149) Add support to the Java SDK harness to merge windows

     [ https://issues.apache.org/jira/browse/BEAM-5149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Cwik resolved BEAM-5149.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 2.12.0

> 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
>            Priority: Major
>              Labels: portability, triaged
>             Fix For: 2.12.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> 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)