boolean isMultiQuery = conf.getBoolean(PigConfiguration.OPT_MULTIQUERY, true);
if (isMultiQuery) {
// reduces the number of TezOpers in the Tez plan generated
// by multi-query (multi-store) script.
MultiQueryOptimizerTez mqOptimizer = new MultiQueryOptimizerTez(tezPlan);
mqOptimizer.visit();
}
// Run AccumulatorOptimizer on Tez plan
boolean isAccum = conf.getBoolean(PigConfiguration.OPT_ACCUMULATOR, true);
if (isAccum) {