You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ch...@apache.org on 2014/01/24 21:39:39 UTC

svn commit: r1561161 - /pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/TezCompiler.java

Author: cheolsoo
Date: Fri Jan 24 20:39:39 2014
New Revision: 1561161

URL: http://svn.apache.org/r1561161
Log:
PIG-3626: Make combiners, custom partitioners and secondary key sort work for multiple outputs (hotfix)

Modified:
    pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/TezCompiler.java

Modified: pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/TezCompiler.java
URL: http://svn.apache.org/viewvc/pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/TezCompiler.java?rev=1561161&r1=1561160&r2=1561161&view=diff
==============================================================================
--- pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/TezCompiler.java (original)
+++ pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/TezCompiler.java Fri Jan 24 20:39:39 2014
@@ -751,7 +751,7 @@ public class TezCompiler extends PhyPlan
 
                     tezOp.plan.addAsLeaf(lr);
                     TezEdgeDescriptor edge = handleSplitAndConnect(tezPlan, tezOp, curTezOp);
-                    if (tezOp.getSplitOperatorKey() == null) {
+                    if (tezOp.getSplitOperatorKey() != null) {
                         inputKeys.add(tezOp.getSplitOperatorKey().toString());
                     } else {
                         inputKeys.add(tezOp.getOperatorKey().toString());