Map<Integer, Integer> projectionMapping)
throws VisitorException, FrontendException {
// Fix up COGroup internal wiring
if (before instanceof LOCogroup) {
LOCogroup cg = (LOCogroup) before ;
cg.switchGroupByPlanOp(after, newNode);
}
if (before instanceof LOFRJoin) {
LOFRJoin frj = (LOFRJoin) before ;
frj.switchJoinColPlanOp(after, newNode);
}