Skip to content

Unify Sum and StandardSum aggregates - #9105

Closed
mhk197 wants to merge 15 commits into
developfrom
mk/unify-sums
Closed

Unify Sum and StandardSum aggregates#9105
mhk197 wants to merge 15 commits into
developfrom
mk/unify-sums

Conversation

@mhk197

@mhk197 mhk197 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace StandardSum with a single option-driven Sum aggregate
  • make null-on-empty the default while preserving legacy sum/stat call sites with explicit zero-on-empty options
  • keep one vortex.sum ID and select the partial shape from options
  • retain separate tests and grouped benchmarks for both behaviors

This is a self-contained replacement for #8705 and targets develop directly.

Tests

  • cargo nextest run -p vortex-array (3187 passed, 1 skipped)
  • cargo nextest run -p vortex-sparse (107 passed)
  • cargo nextest run -p vortex-layout zoned (40 passed)
  • cargo test --doc -p vortex-array (72 passed, 10 ignored)
  • targeted affected-package cargo clippy --all-targets --all-features
  • cargo +nightly fmt --all
  • git diff --check

Workspace-wide Clippy and the vortex-duckdb check are blocked before Rust compilation because the external DuckDB v1.5.3 prebuilt archive returns HTTP 404.

mhk197 added 15 commits July 9, 2026 15:43
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
…s and dead code

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
…s vortex.sum

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
…ndardSum, used only by list_sum

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
…ns a lazy masked array

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
…accumulate

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
…op arithmetic duplicated by shared-kernel tests

Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
@mhk197 mhk197 closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant