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:27 UTC

svn commit: r1198588 - /pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java

Author: daijy
Date: Sun Nov  6 23:15:27 2011
New Revision: 1198588

URL: http://svn.apache.org/viewvc?rev=1198588&view=rev
Log:
Fix TestPlanGeneration fail

Modified:
    pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java

Modified: pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java?rev=1198588&r1=1198587&r2=1198588&view=diff
==============================================================================
--- pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java (original)
+++ pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java Sun Nov  6 23:15:27 2011
@@ -290,8 +290,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"));
     }