pub fn primitive_to_boolean<T: NativeType>(
    from: &PrimitiveArray<T>,
    to_type: DataType
) -> BooleanArray
Available on crate feature compute_cast only.
Expand description

Returns a BooleanArray where every element is different from zero. Validity is preserved.