public static interface HiveRemoveEmptySingleRules.JoinRightEmptyRuleConfig
extends org.apache.calcite.rel.rules.PruneEmptyRules.PruneEmptyRule.Config
PruneEmptyRules.JoinRightEmptyRuleConfig.
In case of left outer join if the right branch is empty the join operator can be removed
and take the left branch only.
select * from emp right join (select * from dept where 1=0)
to
select emp.*, null as dept.col0 ... null as dept.coln from emp| Modifier and Type | Method and Description |
|---|---|
default org.apache.calcite.rel.rules.PruneEmptyRules.PruneEmptyRule |
toRule() |
Copyright © 2024 The Apache Software Foundation. All rights reserved.