arrow::compute::kernels::filter
pub fn filter(array: &dyn Array, filter: &BooleanArray) -> Result<ArrayRef>
Returns the array, taking only the elements matching the filter