From b4958fcfae40c78112691c3a07a5307bdb3a959c Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Wed, 17 Jul 2024 15:45:24 +0100 Subject: [PATCH] Struct variant --- encodings/roaring/src/integer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encodings/roaring/src/integer/mod.rs b/encodings/roaring/src/integer/mod.rs index f3888e6309..5baaa5a275 100644 --- a/encodings/roaring/src/integer/mod.rs +++ b/encodings/roaring/src/integer/mod.rs @@ -30,7 +30,7 @@ impl RoaringIntArray { let length = bitmap.statistics().cardinality as usize; Ok(Self { typed: TypedArray::try_from_parts( - DType::Bool(NonNullable), + DType::Primitive(ptype, NonNullable), length, RoaringIntMetadata { ptype }, Some(Buffer::from(bitmap.serialize::())),