Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11049

Elminate CreatePCollectionView pseudo-"primitive"

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-java-core

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kenn Kenneth Knowles
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: