arrow_array::cast

Function as_union_array

Source
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.