arrow_select::filter

Function build_filter

Source
pub fn build_filter(filter: &BooleanArray) -> Result<Filter<'_>, ArrowError>
👎Deprecated
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.

Deprecated: Use FilterBuilder instead