[ https://issues.apache.org/jira/browse/BEAM-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16782199#comment-16782199 ]
Kyle Weaver edited comment on BEAM-6762 at 3/1/19 11:26 PM: ------------------------------------------------------------ Also, if I'm understanding correctly that fusion is strictly required to run a pipeline, that behavior could be made more explicit in the code, maybe by making a [PortablePipelineRunner|https://github.com/apache/beam/blob/master/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/jobsubmission/PortablePipelineRunner.java] provide a fuse function? was (Author: ibzib): Also, if I'm understanding correctly that fusion is strictly required to run a pipeline, that behavior could be made more explicit in the code, maybe by making a [PortablePipelineRunner|https://github.com/apache/beam/blob/master/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/jobsubmission/PortablePipelineRunner.java] implement a fuse function? > Behavior requires documentation: Pipeline can't run before fusion > ----------------------------------------------------------------- > > Key: BEAM-6762 > URL: https://issues.apache.org/jira/browse/BEAM-6762 > Project: Beam > Issue Type: Task > Components: runner-core > Reporter: Kyle Weaver > Priority: Minor > Labels: documentation > > When I was prototyping a portable runner, I tested using a trivial pipeline: > {noformat} > PCollection<byte[]> result = pipeline.apply("impulse", Impulse.create()); > PAssert.thatSingleton(result).isEqualTo(new byte[]{}); > {noformat} > When I tried traversing this pipeline, I found that the URN for the transform > PAssert$0 was strangely missing. Turns out GreedyPipelineFuser solves this > problem. I don't know why this is so, but I think this behavior should at > least be documented in the [runner authoring > guide|https://beam.apache.org/contribute/runner-guide/#pipeline] to save > future runner authors some debugging. -- This message was sent by Atlassian JIRA (v7.6.3#76005)