Function try_numeric_cast

Source
fn try_numeric_cast<T, R>(
    from: &PrimitiveArray<T>,
) -> Result<PrimitiveArray<R>, ArrowError>
where T: ArrowPrimitiveType, R: ArrowPrimitiveType, T::Native: NumCast, R::Native: NumCast,