Skip to content

Commit

Permalink
Fix final page row count in parquet-index binary (#3554)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Jan 20, 2023
1 parent 19e3e8c commit 0ec5f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parquet/src/bin/parquet-index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fn compute_row_counts(offset_index: &[PageLocation], rows: i64) -> Vec<i64> {
out.push(o.first_row_index - last);
last = o.first_row_index;
}
out.push(rows);
out.push(rows - last);
out
}

Expand Down

0 comments on commit 0ec5f72

Please sign in to comment.