Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A43DCE74 for ; Fri, 21 Nov 2014 11:26:34 +0000 (UTC) Received: (qmail 6195 invoked by uid 500); 21 Nov 2014 11:26:33 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 6128 invoked by uid 500); 21 Nov 2014 11:26:33 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 6117 invoked by uid 500); 21 Nov 2014 11:26:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 6114 invoked by uid 99); 21 Nov 2014 11:26:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 11:26:33 +0000 Date: Fri, 21 Nov 2014 11:26:33 +0000 (UTC) From: =?utf-8?Q?Jes=C3=BAs_Camacho_Rodr=C3=ADguez_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8926) Projections that only swap input columns are identified incorrectly as identity projections MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8926?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jes=C3=BAs Camacho Rodr=C3=ADguez updated HIVE-8926: ------------------------------------------ Attachment: HIVE-8926.01.patch Now SelStarNoCompute is checked in the configuration object, as the field S= elStarNoCompute in the operator is not initialized till initializeOp method= is called. I also added an additional check on the length of colList. > Projections that only swap input columns are identified incorrectly as id= entity projections > -------------------------------------------------------------------------= ------------------ > > Key: HIVE-8926 > URL: https://issues.apache.org/jira/browse/HIVE-8926 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Affects Versions: 0.15.0 > Reporter: Jes=C3=BAs Camacho Rodr=C3=ADguez > Assignee: Jes=C3=BAs Camacho Rodr=C3=ADguez > Fix For: 0.15.0 > > Attachments: HIVE-8926.01.patch, HIVE-8926.patch > > > Projection operators that only swap the input columns in the tuples are i= dentified as identity projections, and thus incorrectly deleted from the pl= an by the _identity project removal_ optimization. > This bug was introduced in HIVE-8435. -- This message was sent by Atlassian JIRA (v6.3.4#6332)