Skip to main content

unpack_aggregate_state

Function unpack_aggregate_state 

Source
pub fn unpack_aggregate_state(
    source: DfSendableRecordBatchStream,
    expected_state: Option<Arc<AggregateStateSchema>>,
    expected_series: Option<Arc<SeriesSchema>>,
) -> Result<SendableStateFrameStream>
Expand description

Unpacks aggregate-state frames while retaining Arrow-backed state rows.

Kind and ordered components must both agree: the kind describes the accumulator semantics while components describe its physical values. Expected fields and grid are checked independently.