pub(crate) fn cast_numeric_arrays<FROM, TO>(
from: &dyn Array,
cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>where
FROM: ArrowPrimitiveType,
TO: ArrowPrimitiveType,
FROM::Native: NumCast + NumericNative,
TO::Native: NumCast + NumericNative,Expand description
Convert Array into a PrimitiveArray of type, and apply numeric cast