throw new TezCompilerException(msg, errCode, PigException.BUG);
}
}
if (!curTezOp.isClosed()) {
curTezOp.plan.addAsLeaf(new POFRJoinTez(op, inputKeys));
} else {
int errCode = 2022;
String msg = "The current operator is closed. This is unexpected while compiling.";
throw new TezCompilerException(msg, errCode, PigException.BUG);
}