Expand description
Expression evaluation over rows, with SQL three-valued logic.
The evaluator works both with a single Table and with a resolved query
schema assembled by the planner for joins. Aggregate expressions are
evaluated over a group through eval_group.
Structs§
- Column
Binding - A column visible to a query, including the table names/aliases that qualify it. The position in a schema slice is its position in a joined row.
Functions§
- contains_
aggregate - eval
- Evaluate an expression against a single table row.
- eval_
group - Evaluate an expression over a group of rows. Non-aggregate expressions use the first row; aggregate expressions combine every row.
- eval_
with_ schema - Evaluate an expression against a row and a resolved, possibly joined, schema. Unqualified ambiguous columns are rejected.
- schema_
for_ table - validate_
with_ schema - Validate names, function names, and function arity without evaluating an expression. Query execution calls this before scanning so an empty input cannot hide a malformed or unresolved expression.
- where_
matches - WHERE filter: a row matches only when the predicate is exactly TRUE.
- where_
matches_ with_ schema