Skip to content

Commit eef6402

Browse files
authored
fix: add missing vtables to ALL_ENCODINGS_CONTEXT (#2162)
... and alphabetize
1 parent 7192c64 commit eef6402

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ members = [
77
"vortex",
88
"vortex-array",
99
"vortex-buffer",
10-
"vortex-tui",
1110
"vortex-datafusion",
1211
"vortex-datetime-dtype",
1312
"vortex-dtype",
@@ -23,6 +22,7 @@ members = [
2322
"vortex-sampling-compressor",
2423
"vortex-scalar",
2524
"vortex-scan",
25+
"vortex-tui",
2626
"xtask",
2727
]
2828
resolver = "2"

vortex-sampling-compressor/src/lib.rs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ use compressors::varbin::VarBinCompressor;
1010
use compressors::{CompressedArray, CompressorRef};
1111
use vortex_alp::{ALPEncoding, ALPRDEncoding};
1212
use vortex_array::array::{
13-
ListEncoding, PrimitiveEncoding, StructEncoding, VarBinEncoding, VarBinViewEncoding,
13+
BoolEncoding, ChunkedEncoding, ConstantEncoding, ListEncoding, NullEncoding, PrimitiveEncoding,
14+
StructEncoding, VarBinEncoding, VarBinViewEncoding,
1415
};
1516
use vortex_array::{Context, ContextRef};
1617
use vortex_bytebool::ByteBoolEncoding;
@@ -73,10 +74,10 @@ pub const ALL_COMPRESSORS: [CompressorRef; 16] = [
7374
&DictCompressor,
7475
&FoRCompressor,
7576
&FSSTCompressor,
77+
&ListCompressor,
7678
&DEFAULT_RUN_END_COMPRESSOR,
7779
&SparseCompressor,
7880
&StructCompressor,
79-
&ListCompressor,
8081
&VarBinCompressor,
8182
&ZigZagCompressor,
8283
];
@@ -85,18 +86,22 @@ pub static ALL_ENCODINGS_CONTEXT: LazyLock<ContextRef> = LazyLock::new(|| {
8586
Arc::new(Context::default().with_encodings([
8687
ALPEncoding::vtable(),
8788
ALPRDEncoding::vtable(),
89+
BitPackedEncoding::vtable(),
90+
BoolEncoding::vtable(),
8891
ByteBoolEncoding::vtable(),
92+
ChunkedEncoding::vtable(),
93+
ConstantEncoding::vtable(),
8994
DateTimePartsEncoding::vtable(),
90-
DictEncoding::vtable(),
91-
BitPackedEncoding::vtable(),
9295
DeltaEncoding::vtable(),
96+
DictEncoding::vtable(),
9397
FoREncoding::vtable(),
9498
FSSTEncoding::vtable(),
99+
ListEncoding::vtable(),
100+
NullEncoding::vtable(),
95101
PrimitiveEncoding::vtable(),
96102
RunEndEncoding::vtable(),
97103
SparseEncoding::vtable(),
98104
StructEncoding::vtable(),
99-
ListEncoding::vtable(),
100105
VarBinEncoding::vtable(),
101106
VarBinViewEncoding::vtable(),
102107
ZigZagEncoding::vtable(),

0 commit comments

Comments
 (0)