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

[Go SDK] Empty side inputs causing spurious zero elements

Details

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

    Description

      A user discovered that empty side inputs would spuriously provide a single zero element.

      The error was narrowed down to the Go SDK's state manager codeĀ  copying the stateGetResponse data wasn't checking that the original data source even had any bytes in it, leading it in particular to interpret length prefixed data as having 0 length, which would cause zero value elements to be generated. Notably, this caused empty strings.

      Attachments

        Issue Links

          Activity

            People

              lostluck Robert Burke
              lostluck Robert Burke
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 3h 10m
                  3h 10m