boolean nocombiner = conf.getBoolean(PigConfiguration.PROP_NO_COMBINER, false);
if (!pc.inIllustrator && !nocombiner) {
boolean doMapAgg = Boolean.parseBoolean(pc.getProperties().getProperty(
PigConfiguration.PROP_EXEC_MAP_PARTAGG, "false"));
CombinerOptimizer co = new CombinerOptimizer(tezPlan, doMapAgg);
co.visit();
co.getMessageCollector().logMessages(MessageType.Warning, aggregateWarning, log);
}
// Run optimizer to make use of secondary sort key when possible for nested foreach
// order by and distinct. Should be done before AccumulatorOptimizer