Skip to content

Commit

Permalink
apacheGH-43860: [Go][Parquet] Handle the error correctly (apache#43861)
Browse files Browse the repository at this point in the history
Signed-off-by: bigsheeper <[email protected]>
  • Loading branch information
bigsheeper committed Aug 29, 2024
1 parent 6af660f commit d4ec63d
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 d4ec63d

Please sign in to comment.