Skip to content

Commit

Permalink
Merge pull request #1 from bigsheeper/2408-handle-err-v12.0.1
Browse files Browse the repository at this point in the history
apacheGH-43860: [Go][Parquet] Handle the error correctly (apache#43861)
  • Loading branch information
czs007 authored Aug 29, 2024
2 parents 6af660f + d4ec63d commit e65fdc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/parquet/file/record_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ func (rr *recordReader) ReadRecords(numRecords int64) (int64, error) {
}
}

return recordsRead, nil
return recordsRead, rr.Err()
}

func (rr *recordReader) ReleaseValidBits() *memory.Buffer {
Expand Down

0 comments on commit e65fdc0

Please sign in to comment.