pub fn concat_batches<'a>(
schema: &SchemaRef,
input_batches: impl IntoIterator<Item = &'a RecordBatch>,
) -> Result<RecordBatch, ArrowError>
Expand description
Concatenates batches
together into a single RecordBatch
.
The output batch has the specified schemas
; The schema of the
input are ignored.
Returns an error if the types of underlying arrays are different.