AggregateNode n = (AggregateNode) vn;
n.replaceAggregatesWithColumnReferences(selectList, 0);
}
}
outerRCL.addResultColumn((ResultColumn) nodeFactory.getNode(
C_NodeTypes.ALL_RESULT_COLUMN,
null,
getContextManager()));
// wrap another selectNode on the outside of the subquery
selectNode = (SelectNode) nodeFactory.getNode(