pub fn binary_to_primitive<O, T>(
    from: &BinaryArray<O>,
    to: &DataType
) -> PrimitiveArray<T> where
    O: Offset,
    T: NativeType + FromLexical
This is supported on crate feature compute_cast only.
Expand description

Casts a BinaryArray to a PrimitiveArray, making any uncastable value a Null.