mirror of https://github.com/citusdata/citus.git
onder_planner_tmp
parent
a8348047c5
commit
4e85982f7d
|
@ -183,16 +183,6 @@ ShouldUseSubqueryPushDown(Query *originalQuery, Query *rewrittenQuery,
|
|||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Some unsupported join clauses in logical planner
|
||||
* may be supported by subquery pushdown planner.
|
||||
*/
|
||||
List *qualifierList = QualifierList(rewrittenQuery->jointree);
|
||||
if (DeferErrorIfUnsupportedClause(qualifierList) != NULL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/* check if the query has a window function and it is safe to pushdown */
|
||||
if (originalQuery->hasWindowFuncs &&
|
||||
SafeToPushdownWindowFunction(originalQuery, NULL))
|
||||
|
|
Loading…
Reference in New Issue