[
https://issues.apache.org/jira/browse/BEAM-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Oliveira resolved BEAM-7629.
-----------------------------------
Fix Version/s: Not applicable
Resolution: Fixed
> Improve DoFn method validation in core/graph/fn.go
> --------------------------------------------------
>
> Key: BEAM-7629
> URL: https://issues.apache.org/jira/browse/BEAM-7629
> Project: Beam
> Issue Type: Improvement
> Components: sdk-go
> Reporter: Daniel Oliveira
> Assignee: Daniel Oliveira
> Priority: Major
> Fix For: Not applicable
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Various improvements can be made to validating the signatures and type usages
> in DoFns. Some things that should probably be checked:
> * Check that StartBundle and FinishBundle contain any emit parameters andÂ
> side inputs present in ProcessElement
> * Check that any side inputs/emits have correctly matching types between
> Start/FinishBundle and ProcessElement
> * Check that parameters and return values for the various methods are valid
> (for ex. Teardown/Setup should have no params)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)