Expand description
The aggregate-state chunk a native Partial/Final aggregate passes between executions.
A state chunk is not a query value. It names the group a partition folded and the grid
positions that group has contributions at, and it carries the accumulator components its
aggregate declared – nothing else. The conversions here are the only place kernel state
(PartialAggregate) and frame state ([StateSeries]) meet, so a hole in one is a hole in the
other: a field with no contribution at a carried position stays absent through both directions
rather than being filled in with a zero that a later merge would count.
Enums§
- State
Chunk - One partition’s aggregate state, either in producer series form or as a decoded consumer row.
Functions§
- ensure_
bound_ 🔒state - Rejects a bound state whose kind or component layout is not what this node binds.
- op_
of_ 🔒state - The aggregate a state kind is the state of.
- slice_
bytes 🔒 - Transient bytes for the selected state array consumed by a decoded row.
- state_
bytes 🔒 - Bytes a state chunk holds: labels, axis runs, and one sparse state vector per field.
- state_
chunk_ 🔒from_ partial - Hands one partition’s kernel state over as the frame state a consumer reads.
- state_
row_ 🔒bytes - Bytes held by one decoded state row’s owned wrappers and retained payloads.
- state_
row_ 🔒from_ frame_ row - Builds the executor’s Arrow-backed state row from one decoded frame row.
- state_
row_ 🔒of - Builds the executor’s state row for one exported row, as its producer declared it.