Skip to content

Commit d7e1145

Browse files
committed
add Patched as default codec
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent d87efc7 commit d7e1145

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

vortex-array/src/session/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use crate::arrays::List;
1717
use crate::arrays::ListView;
1818
use crate::arrays::Masked;
1919
use crate::arrays::Null;
20+
use crate::arrays::Patched;
2021
use crate::arrays::Primitive;
2122
use crate::arrays::Struct;
2223
use crate::arrays::VarBin;
@@ -70,8 +71,9 @@ impl Default for ArraySession {
7071
// Register the utility encodings.
7172
this.register(Chunked);
7273
this.register(Constant);
73-
this.register(Masked);
7474
this.register(List);
75+
this.register(Masked);
76+
this.register(Patched);
7577
this.register(VarBin);
7678

7779
this

vortex-file/src/strategy.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ use vortex_array::arrays::List;
2121
use vortex_array::arrays::ListView;
2222
use vortex_array::arrays::Masked;
2323
use vortex_array::arrays::Null;
24+
use vortex_array::arrays::Patched;
2425
use vortex_array::arrays::Primitive;
2526
use vortex_array::arrays::Struct;
2627
use vortex_array::arrays::VarBin;
@@ -104,6 +105,7 @@ pub static ALLOWED_ENCODINGS: LazyLock<ArrayRegistry> = LazyLock::new(|| {
104105
session.register(Delta);
105106
session.register(FoR);
106107
session.register(FSST);
108+
session.register(Patched);
107109
session.register(Pco);
108110
session.register(RLE);
109111
session.register(RunEnd);

0 commit comments

Comments
 (0)