StringBuffer message = new StringBuffer();
if (pruneList.size()!=0)
{
ColumnPruner columnPruner;
if (forEach == null)
columnPruner = new ColumnPruner(mPlan, load, pruneList,
new DependencyOrderWalker<LogicalOperator, LogicalPlan>(mPlan));
else
columnPruner = new ColumnPruner(mPlan, forEach, pruneList,
new DependencyOrderWalker<LogicalOperator, LogicalPlan>(mPlan));
columnPruner.visit();
message.append("Columns pruned for " + load.getAlias() + ": ");
for (int i=0;i<pruneList.size();i++)
{
message.append("$"+pruneList.get(i).second);