promql::extension_plan::union_distinct_on

Function interleave_batches

Source
fn interleave_batches(
    schema: SchemaRef,
    batches: Vec<RecordBatch>,
    indices: Vec<(usize, usize)>,
) -> Result<RecordBatch>
Expand description

Utility function to interleave batches. Based on interleave