Skip to main content

Module lateral_loop

Module lateral_loop 

Source
Expand description

LateralLoop — nested-loop lateral join with correlated predicates.

For each outer row, re-scans the inner collection with equality filters built from correlation_predicates (inner_field = outer_field_value). No sort, no limit per outer row. Enforces outer_row_cap.

Structs§

LateralLoopSpec
Inputs of a LATERAL nested-loop join over an inner collection.

Functions§

execute_lateral_loop
LATERAL nested-loop with correlated predicates injected per outer row.