Expand description
Defines union_extract kernel for [UnionArray]
Re-exportsยง
use crate::take::take;๐use arrow_array::Array;๐use arrow_array::ArrayRef;๐use arrow_array::BooleanArray;๐use arrow_array::Int32Array;๐use arrow_array::Scalar;๐use arrow_array::UnionArray;๐use arrow_array::make_array;๐use arrow_array::new_empty_array;๐use arrow_array::new_null_array;๐use arrow_buffer::BooleanBuffer;๐use arrow_buffer::MutableBuffer;๐use arrow_buffer::NullBuffer;๐use arrow_buffer::ScalarBuffer;๐use arrow_buffer::bit_util;๐use arrow_data::layout;๐use arrow_schema::ArrowError;๐use arrow_schema::DataType;๐use arrow_schema::UnionFields;๐use std::cmp::Ordering;๐use std::sync::Arc;๐
Enumsยง
- Bool
Value ๐ - The result of checking which type_ids matches the target type_id
Constantsยง
- EQ_
SCALAR_ ๐CHUNK_ SIZE - IS_
SEQUENTIAL_ ๐CHUNK_ SIZE
Functionsยง
- count_
first_ ๐run - eq_
scalar ๐ - eq_
scalar_ ๐inner - extract_
dense ๐ - extract_
dense_ ๐all_ selected - extract_
sparse ๐ - is_
sequential ๐ - is_
sequential_ ๐generic - union_
extract - Returns the value of the target field when selected, or NULL otherwise.
- union_
extract_ by_ id - Like
union_extract, but selects the child bytype_idrather than by field name. - union_
extract_ ๐impl