Expand description
Util record batch stream wrapper that can perform precise filter.
Structs§
- Simple
Filter Evaluator - An inplace expr evaluator for simple filter. Only support
Enums§
- Timestamp
Unit Cast - The result of casting a
SimpleFilterEvaluatorto a different timestamp unit, preserving the predicate’s semantics on rows stored in that unit. SeeSimpleFilterEvaluator::cast_timestamp_unit.
Functions§
- batch_
filter - Evaluate the predicate on the input RecordBatch, and return a new RecordBatch. Copy from datafusion::physical_plan::src::filter.rs
- boolean_
array_ 🔒to_ scan_ mask - Converts nullable SQL predicate values to a scan mask, where
NULLisfalse. - regexp_
is_ match_ dictionary - Similar to regexp_is_match_scalar but for StringDictionaryArray. Iterates through dictionary keys to get string values and applies regex matching.
- regexp_
is_ match_ scalar - The same as arrow regexp_is_match_scalar() with pre-compiled regex. See https://github.com/apache/arrow-rs/blob/54.2.0/arrow-string/src/regexp.rs#L204-L246 for the implementation details.
- timestamp_
scalar 🔒 - Builds a one-element scalar array holding
valueinunit. - timestamp_
scalar_ 🔒parts - Extracts the value and unit from a tz-naive timestamp scalar.
- timestamp_
scalar_ value - Builds a tz-naive timestamp literal for
valueinunit.