Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
99ea4b4
Move non-statistics aggregate functions into vortex-aggregates
robert3005 Oct 14, 2026
c38a622
Validate offsets and narrow integers through statistics with a scan f…
robert3005 Oct 24, 2026
feeb1ef
Compute array statistics through the aggregate function registry
robert3005 Oct 24, 2026
2ed68bf
Move the remaining aggregate functions into vortex-aggregates
robert3005 Oct 24, 2026
1520c67
Compute integer bounds with the min_max aggregate
robert3005 Oct 24, 2026
5d31863
Count valid rows from the validity array's Sum statistic
robert3005 Oct 24, 2026
09997c7
Update aggregate imports and tests after rebasing onto develop
lwwmanning Nov 23, 2026
6ae6c64
Update crates for develop's stat derivations and Delta tests after re…
robert3005 Nov 24, 2026
029415c
Update aggregate imports for the vortex-expr move after rebase
robert3005 Nov 24, 2026
f705bbb
Refresh the fuzz workspace dependencies in the lockfile
robert3005 Nov 30, 2026
f9fa140
Keep release imports aligned with statistics validation
robert3005 Nov 30, 2026
ec7a1eb
Initialize vortex-aggregates in benchmark sessions
robert3005 Dec 1, 2026
4fc9f40
Fix roborev findings and CI failures on aggregate split
lwwmanning Dec 1, 2026
e98a661
Remove stat_aggregates, rename framework_tests, and restore pushdown …
robert3005 Dec 1, 2026
6e8397b
Cache resolved stat aggregates and fast-path bitmap valid_count
robert3005 Dec 1, 2026
ee1798b
Merge remote-tracking branch 'origin/develop' into rk/split-array-04-…
lwwmanning Dec 1, 2026
65c6342
Merge remote-tracking branch 'origin/develop' into rk/split-array-04-…
lwwmanning Dec 1, 2026
737d728
Try session min_max aggregate in bool_bounds before decoding
lwwmanning Dec 1, 2026
af189f2
Fix rustdoc links and initialize aggregates in rle_decode bench
lwwmanning Dec 1, 2026
31e2d3a
Merge remote-tracking branch 'origin/develop' into rk/split-array-04-…
lwwmanning Dec 1, 2026
280fa58
Address roborev findings: typed bounded_min/max check, shared session…
lwwmanning Dec 1, 2026
35af79c
Address roborev findings: update AggregateFnSession doc comment and d…
lwwmanning Dec 1, 2026
b86d40f
Initialize vortex_aggregates in zigzag array test session
lwwmanning Dec 1, 2026
26a1fba
Merge remote-tracking branch 'origin/develop' into rk/split-array-04-…
lwwmanning Dec 1, 2026
e010c2d
Restore accumulator_sum_v2 bench and update codspeed_bench_counts.json
lwwmanning Dec 1, 2026
3ee5dd2
Canonicalize array once in test_cast_to_primitive before scanning bounds
lwwmanning Dec 1, 2026
9748e0b
Expand core_encodings_aggregate_consistency to cover all core encodin…
lwwmanning Dec 2, 2026
0fe57cf
Trim bound-aggregate lookup and dtype resolution overhead in compute_…
lwwmanning Dec 2, 2026
8ca8c41
Serialize AggregateFnSession cache updates with register
lwwmanning Dec 2, 2026
39f5422
Align integer_bounds sortedness scan with IsSorted null ordering
lwwmanning Dec 2, 2026
2be4d73
Move aggregate-dependent stats tests to vortex-aggregates
lwwmanning Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
46 changes: 46 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ members = [
"vortex-cloud",
"vortex-array",
"vortex-functions",
"vortex-aggregates",
"vortex-expr",
"vortex-arrow",
"vortex-row",
Expand Down Expand Up @@ -303,6 +304,7 @@ zstd = { version = "0.14.3", default-features = false, features = [

# BEGIN crates published by this project
vortex = { version = "0.1.0", path = "./vortex" }
vortex-aggregates = { version = "0.1.0", path = "./vortex-aggregates", default-features = false }
vortex-alp = { version = "0.1.0", path = "./encodings/alp", default-features = false }
vortex-array = { version = "0.1.0", path = "./vortex-array", default-features = false }
vortex-array-macros = { version = "0.1.0", path = "./vortex-array-macros" }
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/string-bench/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use parquet::arrow::async_reader;
use tokio::fs::File;
use url::Url;
use vortex::VortexSessionDefault;
use vortex::aggregate_fn::fns::uncompressed_size_in_bytes::uncompressed_size_in_bytes;
use vortex::aggregates::uncompressed_size_in_bytes::uncompressed_size_in_bytes;
use vortex::array::ArrayRef;
use vortex::array::ExecutionCtx;
use vortex::array::IntoArray;
Expand Down
1 change: 1 addition & 0 deletions encodings/alp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ fearless_simd_macros = { workspace = true }
itertools = { workspace = true }
num-traits = { workspace = true }
prost = { workspace = true }
vortex-aggregates = { workspace = true }
vortex-array = { workspace = true }
vortex-buffer = { workspace = true }
vortex-error = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions encodings/alp/src/alp/compute/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mod tests {
static SESSION: LazyLock<VortexSession> = LazyLock::new(|| {
let session = VortexSession::empty();
crate::initialize(&session);
vortex_aggregates::initialize(&session);
session
});

Expand Down
4 changes: 2 additions & 2 deletions encodings/alp/src/alp/compute/nan_count.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors

use vortex_aggregates::nan_count::NanCount;
use vortex_aggregates::nan_count::nan_count;
use vortex_array::ArrayRef;
use vortex_array::ExecutionCtx;
use vortex_array::aggregate_fn::AggregateFnRef;
use vortex_array::aggregate_fn::fns::nan_count::NanCount;
use vortex_array::aggregate_fn::fns::nan_count::nan_count;
use vortex_array::aggregate_fn::kernels::DynAggregateKernel;
use vortex_array::scalar::Scalar;
use vortex_error::VortexResult;
Expand Down
1 change: 1 addition & 0 deletions encodings/alp/src/alp_rd/compute/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ mod tests {
static SESSION: LazyLock<VortexSession> = LazyLock::new(|| {
let session = VortexSession::empty();
crate::initialize(&session);
vortex_aggregates::initialize(&session);
session
});

Expand Down
2 changes: 1 addition & 1 deletion encodings/alp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
//!
//! [paper]: https://ir.cwi.nl/pub/33334/33334.pdf

use vortex_aggregates::nan_count::NanCount;
use vortex_array::ArrayVTable;
use vortex_array::aggregate_fn::AggregateFnVTable;
use vortex_array::aggregate_fn::fns::nan_count::NanCount;
use vortex_array::aggregate_fn::session::AggregateFnSessionExt;
use vortex_array::arrays::patched::use_experimental_patches;
use vortex_array::session::ArraySessionExt;
Expand Down
1 change: 1 addition & 0 deletions encodings/bytebool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ vortex-session = { workspace = true }
divan = { workspace = true }
mimalloc = { workspace = true }
rstest = { workspace = true }
vortex-aggregates = { workspace = true }
vortex-array = { workspace = true, features = ["_test-harness"] }

[[bench]]
Expand Down
1 change: 1 addition & 0 deletions encodings/bytebool/src/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ mod tests {
static SESSION: LazyLock<VortexSession> = LazyLock::new(|| {
let session = VortexSession::empty();
crate::initialize(&session);
vortex_aggregates::initialize(&session);
session
});

Expand Down
1 change: 1 addition & 0 deletions encodings/datetime-parts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ workspace = true
[dependencies]
num-traits = { workspace = true }
prost = { workspace = true }
vortex-aggregates = { workspace = true }
vortex-array = { workspace = true }
vortex-buffer = { workspace = true }
vortex-compute = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions encodings/datetime-parts/src/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
use std::mem::MaybeUninit;

use num_traits::AsPrimitive;
use vortex_aggregates::min_max::MinMaxResult;
use vortex_aggregates::min_max::min_max;
use vortex_array::ArrayRef;
use vortex_array::ExecutionCtx;
use vortex_array::IntoArray;
use vortex_array::aggregate_fn::NumericalAggregateOpts;
use vortex_array::aggregate_fn::fns::min_max::MinMaxResult;
use vortex_array::aggregate_fn::fns::min_max::min_max;
use vortex_array::arrays::ConstantArray;
use vortex_array::arrays::PrimitiveArray;
use vortex_array::arrays::TemporalArray;
Expand Down
2 changes: 1 addition & 1 deletion encodings/datetime-parts/src/compute/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,10 @@ mod tests {
use std::sync::LazyLock;

use rstest::rstest;
use vortex_aggregates::sum::sum;
use vortex_array::ArrayRef;
use vortex_array::ExecutionCtx;
use vortex_array::VortexSessionExecute;
use vortex_array::aggregate_fn::fns::sum::sum;
use vortex_array::arrays::BoolArray;
use vortex_array::arrays::ConstantArray;
use vortex_array::arrays::PrimitiveArray;
Expand Down
4 changes: 2 additions & 2 deletions encodings/datetime-parts/src/compute/is_constant.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors

use vortex_aggregates::is_constant::IsConstant;
use vortex_aggregates::is_constant::is_constant;
use vortex_array::ArrayRef;
use vortex_array::ExecutionCtx;
use vortex_array::aggregate_fn::AggregateFnRef;
use vortex_array::aggregate_fn::fns::is_constant::IsConstant;
use vortex_array::aggregate_fn::fns::is_constant::is_constant;
use vortex_array::aggregate_fn::kernels::DynAggregateKernel;
use vortex_array::scalar::Scalar;
use vortex_error::VortexResult;
Expand Down
1 change: 1 addition & 0 deletions encodings/datetime-parts/src/compute/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mod tests {
static SESSION: LazyLock<VortexSession> = LazyLock::new(|| {
let session = VortexSession::empty();
crate::initialize(&session);
vortex_aggregates::initialize(&session);
session
});

Expand Down
2 changes: 1 addition & 1 deletion encodings/datetime-parts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ mod compute;
mod ops;
mod timestamp;

use vortex_aggregates::is_constant::IsConstant;
use vortex_array::ArrayVTable;
use vortex_array::aggregate_fn::AggregateFnVTable;
use vortex_array::aggregate_fn::fns::is_constant::IsConstant;
use vortex_array::aggregate_fn::session::AggregateFnSessionExt;
use vortex_array::session::ArraySessionExt;
use vortex_session::VortexSession;
Expand Down
1 change: 1 addition & 0 deletions encodings/decimal-byte-parts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ workspace = true
num-traits = { workspace = true }
prost = { workspace = true }
smallvec = { workspace = true }
vortex-aggregates = { workspace = true }
vortex-array = { workspace = true }
vortex-buffer = { workspace = true }
vortex-compute = { workspace = true }
Expand Down
Loading
Loading