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

Commit

Permalink
Fixed error in counting items in nested parquet
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Jul 25, 2022
1 parent f9562e0 commit a5cfc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/parquet/read/deserialize/nested_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ fn extend_offsets2<'a, D: NestedDecoder<'a>>(

let next_rep = page.iter.peek().map(|x| x.0).unwrap_or(0);

if next_rep == 0 && rows == additional.saturating_add(1) {
if next_rep == 0 && rows == additional {
break;
}
}
Expand Down

0 comments on commit a5cfc69

Please sign in to comment.