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

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Hansen Berggren authored and Aron Hansen Berggren committed Jun 5, 2022
1 parent 753a4ce commit 93fda32
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/io/parquet/read/row_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ impl Iterator for RowGroupDeserializer {
})
.collect::<Result<Vec<_>>>()
.map(Chunk::new);
self.remaining_rows = self.remaining_rows.saturating_sub(chunk
.as_ref()
.map(|x| x.len())
.unwrap_or(self.remaining_rows)
self.remaining_rows = self.remaining_rows.saturating_sub(
chunk
.as_ref()
.map(|x| x.len())
.unwrap_or(self.remaining_rows),
);

Some(chunk)
Expand Down

0 comments on commit 93fda32

Please sign in to comment.