Skip to main content

concat_modified_batches

Function concat_modified_batches 

Source
pub(super) fn concat_modified_batches(
    modified_batches: &[RecordBatch],
    table_batches: &[TableBatch],
) -> Result<RecordBatch>
Expand description

Concatenates all modified batches into a single large batch.

All modified batches share the same physical schema. They must correspond one-to-one to the batches in table_batches, in table/batch order, preserving each batch’s row count and row order. A per-row table-id column lets the physical rule use FromPayload even when the batch contains several logical tables.