Daniel Oliveira created BEAM-7629:
-------------------------------------
Summary: 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
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
(v7.6.3#76005)