arrow::array::cast

Function as_union_array

pub fn as_union_array(arr: &dyn Array) -> &UnionArray
Expand description

Force downcast of an Array, such as an ArrayRef to UnionArray, panicking on failure.