fn assemble_frame_batch(
schema: &SchemaRef,
shape: FrameShape,
rows: &[FrameRow],
time: StructArray,
fields: StructArray,
) -> Result<RecordBatch>Expand description
Builds the batch from the parts every content shares: the key, finality, time and field columns, plus the labels an explicit frame carries.
Keeping the assembly in one place is what makes a state row and an evaluated row leave the encoder under the same column order and the same options; only how their field columns were built differs, and that is decided before this call.