datatypes::compute::kernels

Module concat

Expand description

Defines concat kernel for ArrayRef

Example:

use arrow_array::{ArrayRef, StringArray};
use arrow_select::concat::concat;

let arr = concat(&[
    &StringArray::from(vec!["hello", "world"]),
    &StringArray::from(vec!["!"]),
]).unwrap();
assert_eq!(arr.len(), 3);

Functionsยง

  • Concatenate multiple [Array] of the same type into a single [ArrayRef].
  • Concatenates batches together into a single [RecordBatch].