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);Re-exportsยง
use crate::dictionary::KeyMapping;๐use crate::dictionary::merge_dictionary_values;๐use crate::dictionary::should_merge_dictionary_values;๐use arrow_array::builder::BooleanBuilder;๐use arrow_array::builder::GenericByteBuilder;๐use arrow_array::builder::GenericByteViewBuilder;๐use arrow_array::builder::PrimitiveBuilder;๐use arrow_array::cast::AsArray;๐use arrow_buffer::ArrowNativeType;๐use arrow_buffer::BooleanBufferBuilder;๐use arrow_buffer::MutableBuffer;๐use arrow_buffer::NullBuffer;๐use arrow_buffer::OffsetBuffer;๐use arrow_buffer::RunEndBuffer;๐use arrow_buffer::ScalarBuffer;๐use arrow_data::transform::Capacities;๐use arrow_data::transform::MutableArrayData;๐use arrow_schema::ArrowError;๐use arrow_schema::DataType;๐use arrow_schema::FieldRef;๐use arrow_schema::Fields;๐use arrow_schema::SchemaRef;๐use std::collections::HashSet;๐use std::ops::Add;๐use std::sync::Arc;๐use arrow_array::types::*;๐use arrow_array::*;๐
Macrosยง
- dict_
helper ๐ - primitive_
concat ๐
Functionsยง
- binary_
capacity ๐ - concat
- Concatenate multiple [Array] of the same type into a single [ArrayRef].
- concat_
batches - Concatenates
batchestogether into a single [RecordBatch]. - concat_
boolean ๐ - concat_
byte_ ๐view - concat_
bytes ๐ - concat_
dictionaries ๐ - concat_
fallback ๐ - Concatenates arrays using MutableArrayData
- concat_
fixed_ ๐size_ list - Concatenates the child values and the validity bitmaps, without the per-array
ArrayDatathatconcat_fallbackbuilds: with many short arrays that is most of the cost. - concat_
list_ ๐view - concat_
lists ๐ - concat_
maps ๐ - concat_
primitives ๐ - concat_
run_ ๐arrays - Concatenate multiple RunArray instances into a single RunArray.
- concat_
same_ ๐type - concat_
structs ๐ - fixed_
size_ ๐list_ capacity - get_
capacity ๐