beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <>
Subject [jira] [Commented] (BEAM-1316) DoFn#startBundle and #finishBundle should not be able to output
Date Thu, 26 Jan 2017 00:13:26 GMT


Daniel Halperin commented on BEAM-1316:

I think one many need to output in finish bundle using the current "buffer, and flush half-full
if this is the end of the bundle" pattern.

> DoFn#startBundle and #finishBundle should not be able to output
> ---------------------------------------------------------------
>                 Key: BEAM-1316
>                 URL:
>             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

View raw message