Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3221 Model pipeline representation improvements
  3. BEAM-7850

Make Environment a top level attribute of PTransform

Details

    • Sub-task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.19.0
    • beam-model
    • None

    Description

      Currently Environment is not a top level attribute of the PTransform (of runner API proto).

      https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto#L99

      Instead it is hidden inside various payload objects. For example, for ParDo, environment will be inside SdkFunctionSpec of ParDoPayload.

      https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto#L99

       

      This makes tracking environment of different types of PTransforms harder and we have to fork code (on the type of PTransform) to extract the Environment where the PTransform should be executed. It will probably be simpler to just make Environment a top level attribute of PTransform.

      Attachments

        Activity

          People

            chamikara Chamikara Madhusanka Jayalath
            chamikara Chamikara Madhusanka Jayalath
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h