Return-Path: X-Original-To: apmail-pig-commits-archive@www.apache.org Delivered-To: apmail-pig-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCB9F10725 for ; Mon, 17 Feb 2014 08:30:30 +0000 (UTC) Received: (qmail 20930 invoked by uid 500); 17 Feb 2014 08:30:30 -0000 Delivered-To: apmail-pig-commits-archive@pig.apache.org Received: (qmail 20907 invoked by uid 500); 17 Feb 2014 08:30:29 -0000 Mailing-List: contact commits-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list commits@pig.apache.org Received: (qmail 20728 invoked by uid 99); 17 Feb 2014 08:30:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Feb 2014 08:30:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Feb 2014 08:30:26 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9C7C923888E2; Mon, 17 Feb 2014 08:30:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1568902 - /pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/CombinerOptimizer.java Date: Mon, 17 Feb 2014 08:30:05 -0000 To: commits@pig.apache.org From: daijy@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140217083005.9C7C923888E2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: daijy Date: Mon Feb 17 08:30:05 2014 New Revision: 1568902 URL: http://svn.apache.org/r1568902 Log: PIG-3759: CombinerOptimizer should not optimize cogroup case in tez Modified: pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/CombinerOptimizer.java Modified: pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/CombinerOptimizer.java URL: http://svn.apache.org/viewvc/pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/CombinerOptimizer.java?rev=1568902&r1=1568901&r2=1568902&view=diff ============================================================================== --- pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/CombinerOptimizer.java (original) +++ pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/CombinerOptimizer.java Mon Feb 17 08:30:05 2014 @@ -60,6 +60,9 @@ public class CombinerOptimizer extends T if (predecessors == null) { return; } + if (predecessors.size()>1) { + return; + } for (TezOperator from : predecessors) { List rearranges = PlanHelper.getPhysicalOperators(from.plan, POLocalRearrangeTez.class);