pub fn partial_utf8_to_primitive<O, T>(
from: &Utf8Array<O>,
to: &DataType
) -> PrimitiveArray<T> where
O: Offset,
T: NativeType + FromLexical, This is supported on crate feature
compute_cast only.Expand description
Casts a Utf8Array to a PrimitiveArray at best-effort using lexical_core::parse_partial, making any uncastable value as zero.