Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 99255 invoked from network); 14 Sep 2009 21:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Sep 2009 21:33:20 -0000 Received: (qmail 27802 invoked by uid 500); 14 Sep 2009 21:33:20 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 27775 invoked by uid 500); 14 Sep 2009 21:33:19 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 27765 invoked by uid 99); 14 Sep 2009 21:33:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 21:33:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 21:33:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D8A7234C498 for ; Mon, 14 Sep 2009 14:32:58 -0700 (PDT) Message-ID: <2042772614.1252963978184.JavaMail.jira@brutus> Date: Mon, 14 Sep 2009 14:32:58 -0700 (PDT) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-823) Make table alise in MAPJOIN hint case insensitive In-Reply-To: <847523879.1252526097454.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao updated HIVE-823: ---------------------------- Resolution: Fixed Fix Version/s: 0.5.0 Release Note: HIVE-823. Make table alise in MAPJOIN hint case insensitive. (Namit Jain via zshao) Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed. Thanks Namit! > Make table alise in MAPJOIN hint case insensitive > ------------------------------------------------- > > Key: HIVE-823 > URL: https://issues.apache.org/jira/browse/HIVE-823 > Project: Hadoop Hive > Issue Type: Bug > Affects Versions: 0.4.0 > Reporter: Abhijit Pol > Assignee: Namit Jain > Fix For: 0.5.0 > > Attachments: hive.823.1.patch, qryplan_lowercase_alias, qryplan_uppercase_alias > > > If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case. > Example query: > SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type > FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid) > WHERE ADATA.data_date = '20090901' > This query features reducers in its execution. Attached is output of explain extended. > After changing query to: > SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type > FROM nikeusers n join adserves adata on (adata.user_id = N.uid) > WHERE adata.data_date = '20090901' > It executes as expected. Attached is output of explain extended. > Thanks to Zheng for helping and catching this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.