You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Danny McCormick (Jira)" <ji...@apache.org> on 2022/03/07 20:06:00 UTC
[jira] [Updated] (BEAM-11085) [Go SDK] Windows are correctly observed in DoFns.
[ https://issues.apache.org/jira/browse/BEAM-11085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danny McCormick updated BEAM-11085:
-----------------------------------
Fix Version/s: Not applicable
Resolution: Fixed
Status: Resolved (was: Open)
> [Go SDK] Windows are correctly observed in DoFns.
> -------------------------------------------------
>
> Key: BEAM-11085
> URL: https://issues.apache.org/jira/browse/BEAM-11085
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-go
> Reporter: Robert Burke
> Assignee: Danny McCormick
> Priority: P3
> Fix For: Not applicable
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Add a simple unit test to validate that user DoFns can observe windows.
> In particular add a Go unit test to the exec package, in the style of the ParDo execution unit test [https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/runtime/exec/pardo_test.go#L50]
> This requires writing a small but observable DoFn that observes windows, and configures inputs to achieve expected outputs for given window assignements. There may be a need to add a utility functions to configure the windows and event times in a FullValue conveniently for the test.
> Tests should cover single and multiple windows cases.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)