pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1198588 - /pig/branches/branch-0.9/test/org/apache/pig/test/TestPlanGeneration.java
Date Sun, 06 Nov 2011 23:15:27 GMT
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"));
     }



Mime
View raw message