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 extending binary (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao authored Feb 15, 2022
1 parent e0f98c7 commit 1f9c94d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/io/parquet/read/binary/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ impl<O: Offset> Binary<O> {

#[inline]
pub fn extend_constant(&mut self, additional: usize) {
self.offsets
.0
.resize(self.offsets.len() + additional, self.last_offset);
self.offsets.extend_constant(additional, self.last_offset);
}

#[inline]
Expand Down

0 comments on commit 1f9c94d

Please sign in to comment.