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

Yanpeng Lin commented on BEAM-2438:
-----------------------------------

hi [[email protected]],

I have same issue you posted here, could you share your workaround?
Thanks!

> Need option to run pipeline without stable unique names
> -------------------------------------------------------
>
>                 Key: BEAM-2438
>                 URL: https://issues.apache.org/jira/browse/BEAM-2438
>             Project: Beam
>          Issue Type: Bug
>          Components: beam-model-runner-api
>            Reporter: Jonathan Bingham
>            Assignee: Kenneth Knowles
>            Priority: Critical
>             Fix For: Not applicable
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> SUMMARY
> When a PTransform does not have a stable unique name, the python DirectRunner 
> raises a RuntimeError that prevents pipeline execution. In the Java SDK, this 
> is a warning by default, which allows the pipeline to run.
> OBSERVED
> I ran a pipeline with a globally unique name that's generated only at runtime:
> my_unique_name = runtime_value
> pvalue | my_unique_name >> transform
> RuntimeError: Transform XYZ does not have a stable unique label. This will 
> prevent updating of pipelines. To apply a transform with a specified label 
> write pvalue | "label" >> transform
> EXPECTED
> Documented way to change from RuntimeError to warning, or a documented 
> workaround.
> NOTES
> This is a blocker for my project, since I'm dynamically constructing a 
> pipeline graph at runtime. I'm porting from Java, where it works by default 
> with just a warning message, to Python, where it raises a runtime error and 
> can't proceed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to