Skip to content

Commit

Permalink
Fix master (#2494)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Aug 18, 2022
1 parent 12cc067 commit 7e1fbcf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions arrow/benches/array_from_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ fn decimal128_array_from_vec(array: &[Option<i128>]) {
criterion::black_box(
array
.iter()
.copied()
.collect::<Decimal128Array>()
.with_precision_and_scale(34, 2)
.unwrap(),
Expand Down
3 changes: 1 addition & 2 deletions parquet/src/arrow/arrow_reader/selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

use arrow::array::{Array, BooleanArray};
use arrow::compute::SlicesIterator;
use parquet_format::PageLocation;
use std::cmp::Ordering;
use std::collections::VecDeque;
use std::ops::Range;
Expand Down Expand Up @@ -122,7 +121,7 @@ impl RowSelection {
#[cfg(any(test, feature = "async"))]
pub(crate) fn scan_ranges(
&self,
page_locations: &[PageLocation],
page_locations: &[parquet_format::PageLocation],
) -> Vec<Range<usize>> {
let mut ranges = vec![];
let mut row_offset = 0;
Expand Down
1 change: 0 additions & 1 deletion parquet/src/file/serialized_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ pub(crate) fn decode_page(
Ok(result)
}

#[allow(clippy::large_enum_variant)]
enum SerializedPageReaderState {
Values {
/// The current byte offset in the reader
Expand Down

0 comments on commit 7e1fbcf

Please sign in to comment.