fn float_array_to_bool<T>(array: &PrimitiveArray<T>) -> BooleanArraywhere
T: ArrowPrimitiveType,
T::Native: ArrowNativeTypeOp + Float,Expand description
Convert a float PrimitiveArray to BooleanArray using MySQL truthy rules: NULL -> false, 0 (including -0.0) -> false, NaN -> true, other non-zero -> true