Expand description
Auto-extracted from physical_operator.rs
Structs§
- Aggregate
Hash Table - A parallel hash table for aggregation with GROUP BY keys.
Functions§
- build_
group_ key - Build a composite group key from chunk columns.
- hash_
group_ key - Hash group key columns directly from Arrow arrays without creating intermediate
Valueobjects. For strings, avoids theto_string()allocation thatget_value()would incur. For primitives, avoidsValueenum dispatch overhead. - keys_
equal - Check if a stored group key matches the current row’s group column values. Avoids creating Value::List or intermediate Value objects for comparison.
- resolve_
agg_ col_ indices - Resolve aggregate function argument expressions to column indices. Returns one Option per function: None means no column needed (e.g., COUNT(*)).
- resolve_
group_ by_ indices - Resolve GROUP BY expressions to actual column indices using field_names.
- update_
states_ row - Update aggregate states for a single row.