We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51284cd commit 9f42e13Copy full SHA for 9f42e13
1 file changed
vortex-array/src/arrays/patched/vtable/mod.rs
@@ -349,6 +349,7 @@ fn apply_patches_primitive<V: NativePType>(
349
350
#[cfg(test)]
351
mod tests {
352
+ use crate::session::ArraySessionExt;
353
use rstest::rstest;
354
use vortex_buffer::ByteBufferMut;
355
use vortex_buffer::buffer;
@@ -588,7 +589,9 @@ mod tests {
588
589
let dtype = array.dtype().clone();
590
let len = array.len();
591
- let ctx = ArrayContext::empty();
592
+ LEGACY_SESSION.arrays().register(Patched);
593
+
594
+ let ctx = ArrayContext::empty().with_registry(LEGACY_SESSION.arrays().registry().clone());
595
let serialized = array
596
.serialize(&ctx, &LEGACY_SESSION, &SerializeOptions::default())
597
.unwrap();
0 commit comments