Module mz_sql::query_model::rewrite::rule::simplify_outer_joins
source · Expand description
Implements outerjoin simplification.
For each outer join box, check to see if any ancestor rejects nulls on its output.
Structs
Functions
Map (rejected nulls from any ancestor of
box
, expressed as column
references from an input of the parent of box
) ->
(column references from an input of box
)Find the unique ancestor chain from the top box of
model
to target
box.
The ancestor chain does not contain target
.