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