fn ensure_declared_series(
declared: &SeriesSchema,
expected: &SeriesSchema,
source: usize,
) -> Result<(), BoxedError>Expand description
declared is the series layout expected binds, as unpack_aggregate_state checks it.
A frame says which series its state is of in its declaration; a chunk carries that declaration’s series schema instead, so the check the decoder makes on the frame is made here on the same two properties: the field names in order, and the evaluation grid.