From 2b3e2952dca5d83dbf06d0705b84133be414073d Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Fri, 22 Mar 2024 15:51:07 +0000 Subject: [PATCH] Update vortex-fastlanes/src/bitpacking/serde.rs Co-authored-by: Robert Kruszewski --- vortex-fastlanes/src/bitpacking/serde.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vortex-fastlanes/src/bitpacking/serde.rs b/vortex-fastlanes/src/bitpacking/serde.rs index 160c11e724..9c98b3035b 100644 --- a/vortex-fastlanes/src/bitpacking/serde.rs +++ b/vortex-fastlanes/src/bitpacking/serde.rs @@ -18,7 +18,7 @@ impl ArraySerde for BitPackedArray { impl EncodingSerde for BitPackedEncoding { fn read(&self, ctx: &mut ReadCtx) -> VortexResult { - let encoded = ctx.with_schema(PType::U8.into()).read()?; + let encoded = ctx.bytes().read()?; let validity = ctx.read_optional_array()?; let patches = ctx.read_optional_array()?; let bit_width = ctx.read_usize()?;