mirror of https://github.com/citusdata/citus.git
fix style
parent
a79b4b31c9
commit
c2c6f7b910
|
|
@ -2817,7 +2817,8 @@ JoinTreeContainsLateral(Node *node, List *rtable)
|
|||
{
|
||||
if (rte->subquery)
|
||||
{
|
||||
return JoinTreeContainsLateral((Node *) rte->subquery->jointree, rte->subquery->rtable);
|
||||
return JoinTreeContainsLateral((Node *) rte->subquery->jointree,
|
||||
rte->subquery->rtable);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
@ -2844,7 +2845,6 @@ JoinTreeContainsLateral(Node *node, List *rtable)
|
|||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* CheckPushDownFeasibilityAndComputeIndexes checks if the given join expression
|
||||
* is a left outer join and if it is feasible to push down the join. If feasible,
|
||||
|
|
@ -2907,7 +2907,8 @@ CheckPushDownFeasibilityAndComputeIndexes(JoinExpr *joinExpr, Query *query,
|
|||
* This check can be improved to support the cases where the lateral reference
|
||||
* does not cause an error in the final planner checks.
|
||||
*/
|
||||
if (JoinTreeContainsLateral(joinExpr->rarg, query->rtable) || JoinTreeContainsLateral(joinExpr->larg, query->rtable))
|
||||
if (JoinTreeContainsLateral(joinExpr->rarg, query->rtable) || JoinTreeContainsLateral(
|
||||
joinExpr->larg, query->rtable))
|
||||
{
|
||||
ereport(DEBUG5, (errmsg(
|
||||
"Lateral join is not supported for pushdown in this path.")));
|
||||
|
|
|
|||
Loading…
Reference in New Issue