[
https://issues.apache.org/jira/browse/BEAM-9746?focusedWorklogId=422233&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-422233
]
ASF GitHub Bot logged work on BEAM-9746:
----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Apr/20 18:43
Start Date: 14/Apr/20 18:43
Worklog Time Spent: 10m
Work Description: lostluck commented on issue #11413: [BEAM-9746] check
for 0 length copies from state
URL: https://github.com/apache/beam/pull/11413#issuecomment-613614431
@thetorpedodog Beam policy permits only one beam expert being involved in a
review as either the author or the reviewer. I fill that role for this PR. I
will be waiting for @youngoli 's review though before merging so they can
continue gaining expertise in the SDK internals, so there will be 2 of us.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 422233)
Time Spent: 50m (was: 40m)
> [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
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)