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

Reify PTransform for Python SDK

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.12.0
    • Fix Version/s: 2.14.0
    • Component/s: sdk-py-core
    • Labels:

      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

              • Assignee:
                ttanay Tanay Tummalapalli
                Reporter:
                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