}
ctx.setCurrMapJoinOp(mapJoin);
Task<? extends Serializable> currTask = ctx.getCurrTask();
GenMRMapJoinCtx mjCtx = ctx.getMapJoinCtx(mapJoin);
if (mjCtx == null) {
mjCtx = new GenMRMapJoinCtx();
ctx.setMapJoinCtx(mapJoin, mjCtx);
}
MapredWork mjPlan = GenMapRedUtils.getMapRedWork(parseCtx);
Task<? extends Serializable> mjTask = TaskFactory.get(mjPlan, parseCtx
.getConf());
TableDesc tt_desc = PlanUtils.getIntermediateFileTableDesc(PlanUtils
.getFieldSchemasFromRowSchema(mapJoin.getSchema(), "temporarycol"));
// generate the temporary file
Context baseCtx = parseCtx.getContext();
String taskTmpDir = baseCtx.getMRTmpFileURI();
// Add the path to alias mapping
mjCtx.setTaskTmpDir(taskTmpDir);
mjCtx.setTTDesc(tt_desc);
mjCtx.setRootMapJoinOp(sel);
sel.setParentOperators(null);
// Create a file sink operator for this file name
Operator<? extends OperatorDesc> fs_op = OperatorFactory.get(