fn take_batch(batch: &RecordBatch, indices: &[usize]) -> Result<RecordBatch>
Utility function to take ordered rows from a record batch.