You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Daniel Oliveira (Jira)" <ji...@apache.org> on 2019/12/11 22:19:00 UTC

[jira] [Resolved] (BEAM-7629) Improve DoFn method validation in core/graph/fn.go

     [ 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)