apache/beam

Refactor PTransformOverrideFactories to remove code duplication

Open

#18,373 opened on Jun 3, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (4,097 forks)batch import
P3bugcoregood first issuerunners

Repository metrics

Stars
 (7,313 stars)
PR merge metrics
 (Avg merge 6d) (243 merged PRs in 30d)

Description

The majority of the factories take in a single PCollection as input and produce a single PCollection as output; the code to extract the single input can be invisible as part of the class hierarchy, rather than explicitly called in every override.

Imported from Jira BEAM-1982. Original Jira may contain additional context. Reported by: tgroh.

Contributor guide