diff --git a/vortex/src/array/sparse/mod.rs b/vortex/src/array/sparse/mod.rs index 828bad2a7f..2b9de72d85 100644 --- a/vortex/src/array/sparse/mod.rs +++ b/vortex/src/array/sparse/mod.rs @@ -16,18 +16,18 @@ use std::any::Any; use std::iter; use std::sync::{Arc, RwLock}; -use arrow::array::{ArrayRef as ArrowArrayRef, PrimitiveArray as ArrowPrimitiveArray}; use arrow::array::AsArray; use arrow::array::BooleanBufferBuilder; +use arrow::array::{ArrayRef as ArrowArrayRef, PrimitiveArray as ArrowPrimitiveArray}; use arrow::buffer::{NullBuffer, ScalarBuffer}; use arrow::datatypes::UInt64Type; use linkme::distributed_slice; +use crate::array::ENCODINGS; use crate::array::{ - Array, ArrayRef, ArrowIterator, check_index_bounds, check_slice_bounds, Encoding, EncodingId, + check_index_bounds, check_slice_bounds, Array, ArrayRef, ArrowIterator, Encoding, EncodingId, EncodingRef, }; -use crate::array::ENCODINGS; use crate::compress::EncodingCompression; use crate::compute::search_sorted::{search_sorted_usize, SearchSortedSide}; use crate::dtype::DType; @@ -268,8 +268,8 @@ mod test { use arrow::datatypes::Int32Type; use itertools::Itertools; - use crate::array::Array; use crate::array::sparse::SparseArray; + use crate::array::Array; use crate::error::VortexError; fn sparse_array() -> SparseArray {