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