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

Casts a BinaryArray to a PrimitiveArray at best-effort using lexical_core::parse_partial, making any uncastable value as zero.