// Then make sure that we update it's output columns to match the
// inline output
node.getOutputColumnGUIDs().clear();
node.getOutputColumnGUIDs().addAll(proj_node.getOutputColumnGUIDs());
} else {
AbstractPlanNode parent = node.getParent(0);
assert (parent != null);
node.clearParents();
parent.clearChildren();
proj_node.addAndLinkChild(node);
parent.addAndLinkChild(proj_node);
}
// Mark the new ProjectionPlanNode as dirty
state.markDirty(proj_node);
state.markDirty(node);