apache / apache/beam

Elminate CreatePCollectionView pseudo-"primitive"

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

Description

Currently each `PCollectionView` is "created" by a primitive `CreatePCollectionView` primitive in the Java SDK. This is an artifact of how runners translated the `View` transforms.

But in portability (and actually before that) PCollectionView is just a POJO of metadata for how to read a PCollection as a side input. It is PValue to the Java SDK but in portability there is only one kind of value: PCollection.

Runners should not depend on the exact expansion of the `View` transforms.

Until they are all migrated off of it, the transform must be left in the expanion, so runners who are migrated off of it will need to remove it from their translation or insert a noop.

Imported from Jira [BEAM-11049](https://issues.apache.org/jira/browse/BEAM-11049). Original Jira may contain additional context.
Reported by: kenn.
This issue has child subcomponents which were not migrated over. See the original Jira for more information.

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.