Author: daijy
Date: Fri Aug 27 21:37:29 2010
New Revision: 990280

URL: http://svn.apache.org/viewvc?rev=990280&view=rev
Log:
Tiny change to fix a side effect introduced by PIG-1518

Modified:
    
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MRCompiler.java

Modified: 
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MRCompiler.java
URL: 
http://svn.apache.org/viewvc/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MRCompiler.java?rev=990280&r1=990279&r2=990280&view=diff
==============================================================================
--- 
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MRCompiler.java
 (original)
+++ 
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MRCompiler.java
 Fri Aug 27 21:37:29 2010
@@ -2683,9 +2683,6 @@ public class MRCompiler extends PhyPlanV
                 POLoad ld = getLoad();
                 ld.setLFile(fSpec);
                 limitAdjustMROp.mapPlan.add(ld);
-                POLimit pLimit = new POLimit(new 
OperatorKey(scope,nig.getNextNodeId(scope)));
-                pLimit.setLimit(mr.limit);
-                limitAdjustMROp.mapPlan.addAsLeaf(pLimit);
                 if (mr.isGlobalSort()) {
                     connectMapToReduceLimitedSort(limitAdjustMROp, mr);
                 } else {


Reply via email to