[
https://issues.apache.org/jira/browse/BEAM-11085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny McCormick reassigned BEAM-11085:
--------------------------------------
Assignee: Danny McCormick
> [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
> Time Spent: 40m
> 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)