Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Aug 23, 2024
1 parent 0d149fb commit 937f2ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parquet/src/file/page_index/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl<T: ParquetValueType> NativeIndex<T> {
let indexes = index
.min_values
.iter()
.zip(index.max_values.into_iter())
.zip(index.max_values.iter())
.zip(index.null_pages.into_iter())
.zip(null_counts.into_iter())
.zip(rep_hists.into_iter())
Expand All @@ -205,8 +205,8 @@ impl<T: ParquetValueType> NativeIndex<T> {
(None, None)
} else {
(
Some(T::try_from_le_slice(&min)?),
Some(T::try_from_le_slice(&max)?),
Some(T::try_from_le_slice(min)?),
Some(T::try_from_le_slice(max)?),
)
};
Ok(PageIndex {
Expand Down

0 comments on commit 937f2ad

Please sign in to comment.