[
https://issues.apache.org/jira/browse/BEAM-12446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yichi Zhang updated BEAM-12446:
-------------------------------
Status: Open (was: Triage Needed)
> Error should be thrown at validation phase for DoFn that declared side input
> but not provided in pipeline
> ---------------------------------------------------------------------------------------------------------
>
> Key: BEAM-12446
> URL: https://issues.apache.org/jira/browse/BEAM-12446
> Project: Beam
> Issue Type: Test
> Components: sdk-py-core
> Reporter: Yichi Zhang
> Assignee: Yichi Zhang
> Priority: P2
>
> When user specified side input in a DoFn but forgot to provide the args in
> the pipeline, the error is thrown at runtime and it doesn't clearly point out
> the problem.
> For example:
> https://stackoverflow.com/questions/67625087/attributeerror-dofnparam-object-has-no-attribute-start-while-running-wri
> it throws
> AttributeError: '_DoFnParam' object has no attribute 'start' During handling
> of the above exception, another exception occurred:
>
> We should to static checking on the parameters and make sure that clear
> validation error is thrown when an expected side input is missing
--
This message was sent by Atlassian Jira
(v8.3.4#803005)