You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2017/03/23 05:42:41 UTC

[jira] [Comment Edited] (BEAM-1316) DoFn#startBundle should not be able to output

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

Kenneth Knowles edited comment on BEAM-1316 at 3/23/17 5:42 AM:
----------------------------------------------------------------

I'm going to abuse existing issues to describe this:

1. {{@StartBundle}} should not be able to output
2. New {{DoFn}} should have a way to output to a specific window
3. {{@FinishBundle}} should be required to specify the window (or be unable to output)

Otherwise we have a bunch of quasi-dupes.


was (Author: kenn):
I'm going to abuse existing issues to describe this:

1. {{@StartBundle}} should not be able to output
2. New {{DoFn}} should have a way to output to a specific window
3. {{@FinishBundle}} should be required to specify the window

Otherwise we have a bunch of quasi-dupes.

> DoFn#startBundle should not be able to output
> ---------------------------------------------
>
>                 Key: BEAM-1316
>                 URL: https://issues.apache.org/jira/browse/BEAM-1316
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Thomas Groh
>
> While within startBundle and finishBundle, the window in which elements are output is not generally defined. Elements must always be output from within a windowed context, or the {{WindowFn}} used by the {{PCollection}} may not operate appropriately.
> startBundle and finishBundle are suitable for operational duties, similarly to {{setup}} and {{teardown}}, but within the scope of some collection of input elements. This includes actions such as clearing field state within a DoFn and ensuring all live RPCs complete successfully before committing inputs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)