pub fn set_nulls<T: ArrowNumericType + Send>(
    array: PrimitiveArray<T>,
    nulls: Option<NullBuffer>,
) -> PrimitiveArray<T>
Expand description

Sets the validity mask for a PrimitiveArray to nulls replacing any existing null mask

See set_nulls_dyn for a version that works with Array