Skip to content

Commit ebbb563

Browse files
committed
some stuff
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent c005aae commit ebbb563

8 files changed

Lines changed: 443 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

encodings/parquet-variant/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ readme = { workspace = true }
1212
repository = { workspace = true }
1313
rust-version = { workspace = true }
1414
version = { workspace = true }
15-
publish = false
15+
publish = true
1616

1717
[lints]
1818
workspace = true

vortex-btrblocks/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ version = { workspace = true }
1616
[dependencies]
1717
itertools = { workspace = true }
1818
num-traits = { workspace = true }
19+
parquet-variant-compute = { workspace = true, optional = true }
1920
pco = { workspace = true, optional = true }
2021
rand = { workspace = true }
2122
rustc-hash = { workspace = true }
@@ -30,6 +31,7 @@ vortex-error = { workspace = true }
3031
vortex-fastlanes = { workspace = true }
3132
vortex-fsst = { workspace = true }
3233
vortex-mask = { workspace = true }
34+
vortex-parquet-variant = { workspace = true, optional = true }
3335
vortex-pco = { workspace = true, optional = true }
3436
vortex-runend = { workspace = true }
3537
vortex-sequence = { workspace = true }
@@ -41,6 +43,7 @@ vortex-zstd = { workspace = true, optional = true }
4143

4244
[dev-dependencies]
4345
divan = { workspace = true }
46+
rand = { workspace = true }
4447
rstest = { workspace = true }
4548
test-with = { workspace = true }
4649
vortex-array = { workspace = true, features = ["_test-harness"] }
@@ -49,6 +52,11 @@ vortex-session = { workspace = true }
4952
[features]
5053
# This feature enabled unstable encodings for which we don't guarantee stability.
5154
unstable_encodings = ["dep:vortex-tensor", "vortex-zstd?/unstable_encodings"]
55+
parquet-variant = [
56+
"dep:vortex-parquet-variant",
57+
"dep:parquet-variant-compute",
58+
"zstd",
59+
]
5260
pco = ["dep:pco", "dep:vortex-pco"]
5361
zstd = ["dep:vortex-zstd"]
5462

vortex-btrblocks/src/builder.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ pub const ALL_SCHEMES: &[&dyn Scheme] = &[
6666
&decimal::DecimalScheme,
6767
// Temporal schemes.
6868
&temporal::TemporalScheme,
69+
// Binary schemes
70+
&binary::BinaryDictScheme,
6971
];
7072

7173
/// Builder for creating configured [`BtrBlocksCompressor`] instances.

vortex-btrblocks/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ mod builder;
5858
mod canonical_compressor;
5959
/// Compression scheme implementations.
6060
pub mod schemes;
61+
#[cfg(feature = "parquet-variant")]
62+
pub mod variant;
6163

6264
// Re-export framework types from vortex-compressor for backwards compatibility.
6365
// Btrblocks-specific exports.

vortex-btrblocks/src/schemes/binary.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33

44
//! Binary compression schemes.
55
6-
// Re-export builtin schemes from vortex-compressor.
76
pub use vortex_compressor::builtins::BinaryConstantScheme;
87
pub use vortex_compressor::builtins::BinaryDictScheme;

vortex-btrblocks/src/schemes/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
66
pub mod binary;
77
pub mod bool;
8+
pub mod decimal;
89
pub mod float;
910
pub mod integer;
1011
pub mod string;
11-
12-
pub mod decimal;
1312
pub mod temporal;
1413

1514
pub(crate) mod patches;

0 commit comments

Comments
 (0)