Expand description
Preparation of SQL predicates for physical storage scans.
Structs§
- Prepared
Predicate - One prepared predicate shared by index selection and scan construction.
effectivepreserves the statement-level predicate for feedback and cache identity;residualis the exact executor-side remainder after pushdown.
Functions§
- build_
alias_ map_ excluding - Build aliases that do not shadow real FROM columns. SQL WHERE binding must prefer a source column when an output alias has the same name.
- prepare_
bound_ predicate - Prepare a predicate for paths whose SQL binding has already been resolved by their caller (temporal and certified narrow scans).
- prepare_
scan_ predicate - Resolve SELECT aliases, simplify constants, substitute correlated outer values and split the result into storage and residual predicates.
- substitute_
aliases - Substitute already-bound SELECT aliases inside a predicate.