promql::extension_plan::union_distinct_on

Function take_batch

Source
fn take_batch(batch: &RecordBatch, indices: &[usize]) -> Result<RecordBatch>
Expand description

Utility function to take rows from a record batch. Based on take