arrow::array::cast

Function as_generic_binary_array

pub fn as_generic_binary_array<S>(
    arr: &dyn Array,
) -> &GenericByteArray<GenericBinaryType<S>>
where S: OffsetSizeTrait,
Expand description

Force downcast of an Array, such as an ArrayRef to GenericBinaryArray<S>, panicking on failure.