[ 
https://issues.apache.org/jira/browse/BEAM-13239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Burke updated BEAM-13239:
--------------------------------
    Status: Open  (was: Triage Needed)

> [Go SDK] Schema Row Decoder doesn't properly handle io.EOF
> ----------------------------------------------------------
>
>                 Key: BEAM-13239
>                 URL: https://issues.apache.org/jira/browse/BEAM-13239
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>    Affects Versions: 2.33.0, 2.34.0
>            Reporter: Robert Burke
>            Assignee: Robert Burke
>            Priority: P2
>             Fix For: 2.35.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Schema Row Decoder doesn't properly handle io.EOF errors, and ends up 
> incorrectly wrapping them. This breaks Iterable processing which checks for 
> io.EOF (generally common for all go io processing really). 
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/graph/coder/row_decoder.go#L108
> Simple fix. Needs to check for io.EOF first, before re-wrapping.
> errors.Wrapf ignores nils and returns a nil in when passed one, so it's 
> immeadiate use is fine. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to