[ 
https://issues.apache.org/jira/browse/BEAM-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137316#comment-17137316
 ] 

Beam JIRA Bot commented on BEAM-7025:
-------------------------------------

This issue was marked "stale-P2" and has not received a public comment in 14 
days. It is now automatically moved to P3. If you are still affected by it, you 
can comment and move it back to P2.

> Python pipelines should not be able to use output tags that are not defined 
> in with_outputs.
> --------------------------------------------------------------------------------------------
>
>                 Key: BEAM-7025
>                 URL: https://issues.apache.org/jira/browse/BEAM-7025
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Alex Amato
>            Priority: P3
>
> This is an indication of a user misconfiguring a beam pipeline.
> This is because its not possible to get a handle to use the produced 
> pcollection for that output tag, if .with_outputs is not used. So this should 
> be disallowed entirely, a run time exception should be thrown.
> Note:
> The bundle descriptor knows which tags are available for each step. So at 
> runtime it can be detected. But we need to be careful to not test it on every 
> element, for performance purposes
>  
> i suspect its possible to detect it statically, but may require collecting 
> more information
>  
> But there should be some code path already collects the elements for the 
> bundle into the different tags when output at that point, at the end of 
> bundle execution we can check for it which would be cheap



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to