You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2017/01/19 19:07:26 UTC

[jira] [Commented] (BEAM-1282) DoFnTester should allow output() calls in start/finishBundle

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

Davor Bonaci commented on BEAM-1282:
------------------------------------

Thanks [~millsd@google.com]; this is an awesome starter task for anybody to pick up!

> DoFnTester should allow output() calls in start/finishBundle
> ------------------------------------------------------------
>
>                 Key: BEAM-1282
>                 URL: https://issues.apache.org/jira/browse/BEAM-1282
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Daniel Mills
>            Priority: Minor
>              Labels: starter
>
> In a DoFn, users can call output() or outputWithTimestamp() during start/finishBundle.  This will attempt to deduce a window for the output element based on the current WindowFn and any timestamp provided.  However, DoFnTester always throws an exception if these methods are called from start/finishBundle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)