apache / apache/beam

AppliedPTransform.from_runner_api fails on unexpected non-ParDo class with PAR_DO.urn

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

Description

This is failing on a google-internal test.
Unexpected class is apache_beam.transforms.core.RunnerAPIPTransformHolder.
Failed assertion: https://github.com/apache/beam/blob/a59f897a64b0006ef3fcbe5a750d5f46499cfe61/sdks/python/apache_beam/pipeline.py#L1052-L1053

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

Contributor guide

Open the contributing guide

Research direction

Start by reading sdks/python/apache_beam/pipeline.py around lines 1052-1053 and inspect how AppliedPTransform.from_runner_api handles PAR_DO.urn. Use the reported google-internal test or an equivalent reproduction involving RunnerAPIPTransformHolder, and consider the issue complete when that unexpected non-ParDo class no longer triggers the failed assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.