pub fn partial_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
at best-effort using lexical_core::parse_partial
, making any uncastable value as zero.