apache / apache/beam

Composites that return another transforms output are overridden incorrectly

Open
#20,873 0 comments 0 reactions 0 assignees View on GitHub
bug core P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

The TransformHierarchy considers any transform that returns another transform's output to be a "composite". A.K.A. not a primitive. A primitive produces its own output.

But a composite that returns its input and _also_ feeds that input to an internal transform is rewired incorrectly. Because the output is replaced with the original, causing the internal PCollection to be incorrect.

Imported from Jira [BEAM-12228](https://issues.apache.org/jira/browse/BEAM-12228). Original Jira may contain additional context.
Reported by: kenn.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.