Robert Burke created BEAM-9746:
----------------------------------

             Summary: [Go SDK] Empty side inputs causing spurious zero elements
                 Key: BEAM-9746
                 URL: https://issues.apache.org/jira/browse/BEAM-9746
             Project: Beam
          Issue Type: Improvement
          Components: sdk-go
            Reporter: Robert Burke
            Assignee: Robert Burke


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to