beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-1282) DoFnTester should allow output() calls in start/finishBundle
Date Fri, 23 Jun 2017 03:15:00 GMT

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

Kenneth Knowles resolved BEAM-1282.
-----------------------------------
    Resolution: Fixed

> 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
>             Fix For: 2.1.0
>
>
> 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 (because it does not have a WindowFn, so that will have
to be enhanced)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message