// The mapjoin has the same schema as the join operator
MapJoinOperator mapJoinOp = (MapJoinOperator) OperatorFactory.getAndMakeChild(
mapJoinDesc, joinRS.getRowSchema(),
new ArrayList<Operator<? extends OperatorDesc>>());
OpParseContext ctx = new OpParseContext(joinRS);
opParseCtxMap.put(mapJoinOp, ctx);
// change the children of the original join operator to point to the map
// join operator
List<Operator<? extends OperatorDesc>> childOps = smbJoinOp.getChildOperators();