mirror of https://github.com/citusdata/citus.git
subqueryEntryList needs to come from queryTree, not originalQuery
parent
176396460a
commit
3d5660cb3f
|
@ -672,7 +672,7 @@ MultiNodeTree(Query *originalQuery, Query *queryTree)
|
|||
* If we have a subquery, build a multi table node for the subquery and
|
||||
* add a collect node on top of the multi table node.
|
||||
*/
|
||||
List *subqueryEntryList = SubqueryEntryList(originalQuery);
|
||||
List *subqueryEntryList = SubqueryEntryList(queryTree);
|
||||
if (subqueryEntryList != NIL)
|
||||
{
|
||||
MultiCollect *subqueryCollectNode = CitusMakeNode(MultiCollect);
|
||||
|
|
Loading…
Reference in New Issue