Skip to main content

evaluate_predicates

Function evaluate_predicates 

Source
pub fn evaluate_predicates(
    row: &QueryRow,
    predicates: &[SSTablePredicate],
) -> Result<bool>
Expand description

Evaluate the SSTable predicate set against a single QueryRow.

Returns Ok(true) only if every predicate is satisfied. A missing column causes the row to be rejected.

Exposed publicly so the Arrow Flight server can apply identical predicate pushdown semantics to its merged rows (output parity with SELECT).

Implemented in terms of evaluate_leaf: under pure AND, both LeafOutcome::False and LeafOutcome::Unknown reject the row, so this preserves the historical “missing column → false” behaviour exactly.