lance_arrow

Function interleave_batches

Source
pub fn interleave_batches(
    batches: &[RecordBatch],
    indices: &[(usize, usize)],
) -> Result<RecordBatch, ArrowError>
Expand description

Interleave multiple RecordBatches into a single RecordBatch.

Behaves like [arrow::compute::interleave], but for RecordBatches.