curTezOp.setClosed(true);
tezPlan.connect(curTezOp, nativeTezOper);
phyToTezOpMap.put(op, nativeTezOper);
nativeTezOper.setClosed(true);
nativeTezOper.segmentBelow = true;
nativeTezOper.markNative();
curTezOp = nativeTezOper;
}catch(Exception e){
int errCode = 2034;
String msg = "Error compiling operator " + op.getClass().getSimpleName();
throw new TezCompilerException(msg, errCode, PigException.BUG, e);