public class TestExperimentalLogToPhyTranslationVisitor extends TestCase {
private PhysicalPlan translatePlan(OperatorPlan plan) throws IOException {
LogToPhyTranslationVisitor visitor = new LogToPhyTranslationVisitor(plan);
visitor.visit();
return visitor.getPhysicalPlan();
}
private org.apache.pig.experimental.logical.relational.LogicalPlan migratePlan(LogicalPlan lp) throws VisitorException{
LogicalPlanMigrationVistor visitor = new LogicalPlanMigrationVistor(lp);