You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2011/11/07 00:15:43 UTC
svn commit: r1198589 -
/pig/branches/branch-0.10/test/org/apache/pig/test/TestPlanGeneration.java
Author: daijy
Date: Sun Nov 6 23:15:43 2011
New Revision: 1198589
URL: http://svn.apache.org/viewvc?rev=1198589&view=rev
Log:
Fix TestPlanGeneration fail
Modified:
pig/branches/branch-0.10/test/org/apache/pig/test/TestPlanGeneration.java
Modified: pig/branches/branch-0.10/test/org/apache/pig/test/TestPlanGeneration.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/test/org/apache/pig/test/TestPlanGeneration.java?rev=1198589&r1=1198588&r2=1198589&view=diff
==============================================================================
--- pig/branches/branch-0.10/test/org/apache/pig/test/TestPlanGeneration.java (original)
+++ pig/branches/branch-0.10/test/org/apache/pig/test/TestPlanGeneration.java Sun Nov 6 23:15:43 2011
@@ -306,8 +306,7 @@ public class TestPlanGeneration extends
Util.optimizeNewLP(lp);
LOLoad loLoad = (LOLoad)lp.getSources().get(0);
- LOForEach loForEach = (LOForEach)lp.getSuccessors(loLoad).get(0);
- LOStore loStore = (LOStore)lp.getSuccessors(loForEach).get(0);
+ LOStore loStore = (LOStore)lp.getSuccessors(loLoad).get(0);
Assert.assertTrue(((PartitionedLoader)loLoad.getLoadFunc()).getPartFilter()!=null);
Assert.assertTrue(loStore.getAlias().equals("b"));
}