Expand description
LATERAL subquery planning.
Handles FROM t, LATERAL (SELECT ...) x and JOIN LATERAL (...) ON true
patterns by classifying the correlation and emitting the appropriate
SqlPlan::LateralTopK or SqlPlan::LateralLoop variant.
Re-exports§
pub use plan::plan_lateral_join;
Modules§
- correlation
- Extract correlation predicates from a LATERAL subquery’s WHERE clause.
- plan
- LATERAL join planning: classify correlation shape and emit the appropriate
SqlPlan::LateralTopKorSqlPlan::LateralLoopvariant.