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 a scalar expression needs a row outside its declared FROM namespace. Scalar subqueries keep their own local aliases and CTEs; an uncorrelated subquery does not introduce an outer-row dependency.
- query_
depends_ on_ outer_ row - 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.