pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1198590 - /pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java
Date Sun, 06 Nov 2011 23:16:00 GMT
Author: daijy
Date: Sun Nov  6 23:16:00 2011
New Revision: 1198590

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

Modified:
    pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java

Modified: pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java?rev=1198590&r1=1198589&r2=1198590&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java (original)
+++ pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java Sun Nov  6 23:16:00 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"));
     }



Mime
View raw message