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

Support TypeDefinition options in beam.Combine()

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.14.0
    • sdk-go
    • None

    Description

      Today, CombineFn's output type must be either concrete or a generic type that can be inferred from the input type. This doesn't work if the input type is struct{U, V} while the output type is V (where U and V are generic types).

      Similar to ParDo, we could add TypeDefinition options support to Combine. This will bind generic types in the CombineFn to the specified concrete types at pipeline construction time.

      Attachments

        Issue Links

          Activity

            People

              htyleo Tianyang Hu
              htyleo Tianyang Hu
              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