Class ReplaceRedundantJoinWithProject
java.lang.Object
io.trino.sql.planner.iterative.rule.ReplaceRedundantJoinWithProject
This rule is complementary to RemoveRedundantJoin.
It transforms plans with outer join where outer source of the join is not empty,
and the other source is empty. Outer join is replaced with the outer source and
a project which appends nulls as the empty source's outputs.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.sql.planner.iterative.Rule
Rule.Context, Rule.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(JoinNode node, Captures captures, Rule.Context context) Returns a pattern to which plan nodes this rule applies.
-
Constructor Details
-
ReplaceRedundantJoinWithProject
public ReplaceRedundantJoinWithProject()
-
-
Method Details