224225226227228229230231232233234
for(LogicalOperator input: getInputs()) { Collection<LogicalPlan> joinPlans = mJoinPlans.get(input); if(joinPlans!=null) for(LogicalPlan plan : joinPlans) { SchemaRemover sr = new SchemaRemover(plan); sr.visit(); } } super.unsetSchema(); }
115116117118119120121122123124125
return DataType.BAG ; } public void unsetSchema() throws VisitorException{ SchemaRemover sr = new SchemaRemover(mComparisonPlan); sr.visit(); super.unsetSchema(); } /** * @see org.apache.pig.impl.plan.Operator#clone()
354355356357358359360361362363364
public void unsetSchema() throws VisitorException{ for(LogicalOperator input: getInputs()) { for(LogicalPlan plan: mGroupByPlans.get(input)) { SchemaRemover sr = new SchemaRemover(plan); sr.visit(); } } super.unsetSchema(); }
114115116117118119120121122123124
return DataType.BAG ; } public void unsetSchema() throws VisitorException{ SchemaRemover sr = new SchemaRemover(mCondPlan); sr.visit(); super.unsetSchema(); } /** * @see org.apache.pig.impl.plan.Operator#clone()
420421422423424425426427428429430
} public void unsetSchema() throws VisitorException{ for(LogicalPlan plan: mForEachPlans) { SchemaRemover sr = new SchemaRemover(plan); sr.visit(); } super.unsetSchema(); } /**
280281282283284285286287288289290
pmc.visit(); } public void rebuildSchema(LogicalPlan lp) throws VisitorException { SchemaRemover sr = new SchemaRemover(lp); sr.visit(); SchemaCalculator sc = new SchemaCalculator(lp); sc.visit(); } }
229230231232233234235236237238239
428429430431432433434435436437438
} public void unsetSchema() throws VisitorException{ for(LogicalPlan plan: mForEachPlans) { SchemaRemover sr = new SchemaRemover(plan); sr.visit(); } super.unsetSchema(); mSchemaPlanMapping = new ArrayList<LogicalPlan>(); }
393394395396397398399400401402403
351352353354355356357358359360361