Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fixed bug in reading binary parquet
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Apr 13, 2022
1 parent 60130f4 commit fb1db61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/parquet/read/deserialize/binary/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl<'a, O: Offset> utils::Decoder<'a> for BinaryDecoder<O> {
page_values,
),
State::Required(page) => {
page.remaining -= additional;
page.remaining = page.remaining.saturating_sub(additional);
for x in page.values.by_ref().take(additional) {
values.push(x)
}
Expand Down

0 comments on commit fb1db61

Please sign in to comment.