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

@SplitRestriction's documented signature is incorrect

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 2.15.0
    • 2.18.0
    • sdk-java-core

    Description

      The documented signature for DoFn.SplitRestriction isĀ 

      List<RestrictionT> splitRestriction( InputT element, RestrictionT restriction);

      This fails to compile with, for example:

      @SplitRestriction split(long, OffsetRange): Must return void

      It looks like the correct signature is:

      void splitRestriction(InputT element, RestrictionT restriction,
          OutputReceiver<RestrictionT> restriction);

      Attachments

        Issue Links

          Activity

            People

              jagthebeetle Jonathan Alvarez-Gutierrez
              jagthebeetle Jonathan Alvarez-Gutierrez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 47h 40m
                  47h 40m
                  Logged:
                  Remaining Estimate - 47h 40m
                  20m