Function arrow::compute::kernels::filter::build_filter[][src]

pub fn build_filter(filter: &BooleanArray) -> Result<Filter<'_>>
Expand description

Returns a prepared function optimized to filter multiple arrays. Creating this function requires time, but using it is faster than filter when the same filter needs to be applied to multiple arrays (e.g. a multi-column RecordBatch). WARNING: the nulls of filter are ignored and the value on its slot is considered. Therefore, it is considered undefined behavior to pass filter with null values.