diff --git a/encodings/fastlanes/src/for/compress.rs b/encodings/fastlanes/src/for/compress.rs index 6c4108f5c5..4bff8e50c9 100644 --- a/encodings/fastlanes/src/for/compress.rs +++ b/encodings/fastlanes/src/for/compress.rs @@ -6,7 +6,7 @@ use vortex::compress::{CompressConfig, Compressor, EncodingCompression}; use vortex::stats::{ArrayStatistics, Stat}; use vortex::validity::ArrayValidity; use vortex::{Array, ArrayDType, ArrayTrait, IntoArray}; -use vortex_dtype::{match_each_integer_ptype, DType, NativePType, PType}; +use vortex_dtype::{match_each_integer_ptype, NativePType}; use vortex_error::{vortex_err, VortexResult}; use vortex_scalar::Scalar; @@ -109,7 +109,7 @@ fn compress_primitive( pub fn decompress(array: FoRArray) -> VortexResult { let shift = array.shift(); - let ptype: PType = array.dtype().try_into()?; + let ptype = array.ptype(); let encoded = array.encoded().flatten_primitive()?.reinterpret_cast(ptype); Ok(match_each_integer_ptype!(ptype, |$T| { let reference: $T = array.reference().try_into()?;