UDFFinishVisitor udfFinisher = new UDFFinishVisitor(pp,
new DependencyOrderWalker<PhysicalOperator, PhysicalPlan>(pp));
udfFinisher.visit();
return PigStats.start(new EmptyPigStats(pigContext, poStore));
}
finally {
UDFContext.getUDFContext().addJobConf(null);
pigContext.getProperties().remove(PigImplConstants.CONVERTED_TO_FETCH);
}