pub(crate) fn cast_numeric_to_bool<FROM>( from: &dyn Array, ) -> Result<ArrayRef, ArrowError>where FROM: ArrowPrimitiveType,
Cast numeric types to Boolean
Any zero value returns false while non-zero returns true
false
true