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

David Yan commented on BEAM-8415:
---------------------------------

For Java, looks like it's done when the pipeline is in the 
[validate|[https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/Pipeline.java#L591]]
 stage rather than when adding the PTransform to the pipeline like in Python so 
we cannot just use the error message we use in Python for Java.

Should we just change the term "stable unique" to just "unique"? I'm not sure 
what "stable unique" means since the PTransform label AFAIK cannot be changed 
after the pipeline has been submitted. 

> Improve error message when adding a PTransform with a name that already 
> exists in the pipeline
> ----------------------------------------------------------------------------------------------
>
>                 Key: BEAM-8415
>                 URL: https://issues.apache.org/jira/browse/BEAM-8415
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core, sdk-py-core
>            Reporter: David Yan
>            Priority: P2
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently, when trying to apply a PTransform with a name that already exists 
> in the pipeline, it returns a confusing error:
> Transform "XXX" 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
> We'd like to improve this error message.



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

Reply via email to