Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B47618377 for ; Tue, 22 Dec 2015 00:34:47 +0000 (UTC) Received: (qmail 13364 invoked by uid 500); 22 Dec 2015 00:34:46 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 13266 invoked by uid 500); 22 Dec 2015 00:34:46 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 13251 invoked by uid 99); 22 Dec 2015 00:34:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2015 00:34:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 986BA2C1F4E for ; Tue, 22 Dec 2015 00:34:46 +0000 (UTC) Date: Tue, 22 Dec 2015 00:34:46 +0000 (UTC) From: "Hari Sankar Sivarama Subramaniyan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12645) ConstantPropagateProcCtx.resolve() should verify internal names first instead of alias to match 2 columns from different row schemas MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-12645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hari Sankar Sivarama Subramaniyan updated HIVE-12645: ----------------------------------------------------- Attachment: HIVE-12645.2.patch > ConstantPropagateProcCtx.resolve() should verify internal names first instead of alias to match 2 columns from different row schemas > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-12645 > URL: https://issues.apache.org/jira/browse/HIVE-12645 > Project: Hive > Issue Type: Bug > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-12645.1.patch, HIVE-12645.2.patch > > > Currently, it seems that we look to match the ColumnInfo between the parent and the child rowschemas by calling rci = rs.getColumnInfo(tblAlias, alias) which might be a bit aggressive. i.e. we will lose opportunity to constant propogate even if the columns are the same but the alias in the rowschemas do not match. -- This message was sent by Atlassian JIRA (v6.3.4#6332)