Skip to content

Commit d65b26f

Browse files
committed
Borrow logical page index in range decoder
1 parent 53010ef commit d65b26f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎encodings/pco/src/decoder.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use vortex_error::vortex_err;
2121
use crate::Pco;
2222
use crate::array::vortex_err_from_pco;
2323
use crate::page_index::ChunkCursor;
24-
use crate::page_index::IndexedView;
24+
use crate::page_index::LogicalPageIndex;
2525

2626
pub(crate) struct PageDecoder<T: Number> {
2727
file: FileDecompressor,
@@ -95,7 +95,7 @@ impl<T: Number + NativePType> DecodedPages<T> {
9595
}
9696
pub fn values(
9797
&mut self,
98-
view: IndexedView<'_>,
98+
view: &LogicalPageIndex,
9999
array: ArrayView<'_, Pco>,
100100
page: usize,
101101
ctx: &mut ExecutionCtx,

0 commit comments

Comments
 (0)