pub fn primitive_to_boolean<T: NativeType>(
from: &PrimitiveArray<T>,
to_type: ArrowDataType,
) -> BooleanArray
Available on crate feature
compute_cast
only.Expand description
Returns a BooleanArray
where every element is different from zero.
Validity is preserved.