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

Kenneth Knowles commented on BEAM-9438:
---------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> warn or error when constructor runner != options runner
> -------------------------------------------------------
>
>                 Key: BEAM-9438
>                 URL: https://issues.apache.org/jira/browse/BEAM-9438
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Kyle Weaver
>            Assignee: Kyle Weaver
>            Priority: P3
>              Labels: stale-assigned
>
> Right now, the runner set in the Pipeline constructor silently overrides the 
> runner set in pipeline options [1]. This can result in subtle errors, where a 
> different runner is used than expected [2]. I can't imagine any legitimate 
> reason anyone would want to do this, so we should error when they contradict 
> each other, or at least warn.
> [1] 
> https://github.com/apache/beam/blob/e20b0c213034cd438d48f4a2cb56cc902dae023f/sdks/python/apache_beam/pipeline.py#L179-L186
> [2] 
> https://github.com/tensorflow/tfx/blob/02ead9886726cf2cebd9a3d1e1b4bbd0f2cf9d00/tfx/components/base/base_executor.py#L142-L143



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

Reply via email to