Expand description
Physical-plan correlation analysis for scalar subquery initialization.
Structs§
- Correlation
Context - A single immutable namespace and catalog view used throughout correlation analysis.
- Decorrelated
Exists Plan
Traits§
- Correlation
Relations - Relation descriptors already retained by the invoking query, including transition relations.
Functions§
- decorrelate_
exists - Turn a simple correlated equality EXISTS into an uncorrelated key query.
- expression_
depends_ on_ outer_ row - Whether an expression needs a row outside its FROM namespace; nested subqueries retain their local aliases and CTEs.
- expression_
depends_ on_ outer_ row_ with_ control - Borrow the scalar and its original query arena while admitting lexical namespace scratch before allocation.
- query_
depends_ on_ outer_ row - query_
depends_ on_ outer_ row_ with_ control - source_
depends_ on_ current_ row - Whether a FROM item needs the calling join’s current row. An explicit LATERAL marker permits references but does not itself require per-row execution. Enclosing-query identities in
inputremain constant during this join.