fn cast_numeric_to_binary<FROM: ArrowPrimitiveType, O: OffsetSizeTrait>( array: &dyn Array, ) -> Result<ArrayRef, ArrowError>