[
https://issues.apache.org/jira/browse/BEAM-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546491#comment-17546491
]
Kenneth Knowles commented on BEAM-2007:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18357
> DataflowRunner drops Reads with no consumers
> --------------------------------------------
>
> Key: BEAM-2007
> URL: https://issues.apache.org/jira/browse/BEAM-2007
> Project: Beam
> Issue Type: Bug
> Components: runner-dataflow, sdk-py-core
> Reporter: Dan Halperin
> Priority: P3
>
> Basically, if a pipeline has "just" a Read with no consumers, the optimizer
> in Dataflow will drop it. To preserve Beam semantics, we do want to run the
> Read and drop its output, e.g., because the Read may have side effects that
> we're testing for.
> Is it possible with pipeline surgery to find such Reads and add an Identity
> ParDo to them?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)