apache / apache/beam

mapOutputs doesn't permit one replacement PValue to be used to represent multiple original PValues

Open
#18,236 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

It's not forbidden for a runner to replace outputs in this manner, but not currently possible based on the type signatures (PValue is a key into the map, and thus cannot be duplicated)

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

Contributor guide

Open the contributing guide

Research direction

Start by locating the mapOutputs type signatures and review the linked BEAM-1955 Jira issue for additional context. Define the API change needed so one replacement PValue can represent multiple original PValues, then verify that the resulting types support this case without ambiguity.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.