fix when left join can not merge with global table (#1887)

This commit is contained in:
wd2365151147
2020-06-18 14:09:54 +08:00
committed by GitHub
parent fc593fa7ba
commit 744bf87ebe
@@ -76,7 +76,7 @@ public final class GlobalTableProcessor {
if (left.getUnGlobalTableCount() == 0) { // left node is global,left join will not push down
tn.setNoshardNode(null);
status = false;
} else if (left.type() == PlanNode.PlanNodeType.TABLE || !PlanUtil.isERNode(left)) {
} else if (left.type() == PlanNode.PlanNodeType.TABLE || PlanUtil.isERNode(left)) {
if (!isGlobalTableBigEnough(jn)) {
tn.setNoshardNode(null);
status = false;