Expand description
Aggregate function model (update / combine / finalize).
DuckDB drives aggregates with per-group state. The worker keeps state in
the cross-process FunctionStorage (KV
mode), keyed by (execution_id, group_id), because update / combine /
finalize can run in different pooled worker processes. States are opaque to
the C++ extension — the worker chooses any encoding.
Structs§
- Aggregate
Bind Params - Parameters for
aggregate_bind.
Constants§
- GROUP_
COLUMN_ NAME - The reserved group-id column prepended to UPDATE input batches.
Traits§
- Aggregate
Function - An aggregate VGI function.