Expand description
SQL-style sums with explicit overflow and empty-input state.
SumV2 returns null when there are no valid values, while Sum returns zero. Tracking empty
input separately from overflow requires a different partial representation. A separate aggregate
preserves compatibility with the scalar partials stored by older Vortex files.
Structs§
- SumV2
- Sum an array, returning null when it has no valid values or if the sum overflows.
- SumV2
Partial - In-memory state for SumV2 accumulation.
Functions§
- sum_v2
- Return the SQL-style sum of an array.