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

Reify PTransform for Python SDK

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 2.12.0
    • 2.14.0
    • sdk-py-core

    Description

      The Java SDK has a nice Reify PTransform that can be used to add timestamp, window info to elements of a PCollection. This makes adding timestamp, window info reusable and easy instead of defining DoFns every time.

      Also, this can make a pipeline look really neat. Eg: This PR.

      This can be added to the util module of the Python SDK.

      Attachments

        Issue Links

          Activity

            People

              ttanay Tanay Tummalapalli
              ttanay Tanay Tummalapalli
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 10m
                  1h 10m