Class OptimizeDuplicateInsensitiveJoins

java.lang.Object
io.trino.sql.planner.iterative.rule.OptimizeDuplicateInsensitiveJoins
All Implemented Interfaces:
Rule<AggregationNode>

public class OptimizeDuplicateInsensitiveJoins extends Object implements Rule<AggregationNode>
For empty aggregations duplicate input rows can be skipped. This rule takes advantage of this fact and sets JoinNode.withMaySkipOutputDuplicates() for joins below such aggregation.