Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 88314 invoked from network); 14 Jul 2009 00:08:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 00:08:31 -0000 Received: (qmail 39044 invoked by uid 500); 14 Jul 2009 00:08:40 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 38971 invoked by uid 500); 14 Jul 2009 00:08:40 -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 38951 invoked by uid 99); 14 Jul 2009 00:08:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 00:08:39 +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; Tue, 14 Jul 2009 00:08:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C9C0D234C004 for ; Mon, 13 Jul 2009 17:08:14 -0700 (PDT) Message-ID: <1088450481.1247530094812.JavaMail.jira@brutus> Date: Mon, 13 Jul 2009 17:08:14 -0700 (PDT) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Resolved: (HIVE-626) Typecast bug in Join operator In-Reply-To: <1327779890.1247266034868.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-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao resolved HIVE-626. ----------------------------- Resolution: Fixed Fix Version/s: 0.4.0 Release Note: HIVE-626. Fix Column Pruner column order bug. (Yongqiang He via zshao) Hadoop Flags: [Reviewed] Committed. Thanks Yonqqiang! > Typecast bug in Join operator > ----------------------------- > > Key: HIVE-626 > URL: https://issues.apache.org/jira/browse/HIVE-626 > Project: Hadoop Hive > Issue Type: Bug > Reporter: Zheng Shao > Assignee: He Yongqiang > Fix For: 0.4.0 > > Attachments: hive-626-2009-07-13-2.patch, hive-626-2009-07-13.patch, HIVE-626.1.showinfo.patch, HIVE-626.2.showinfo_disable_cp.patch > > > There is a type cast error in Join operator. Produced by the following steps: > {code} > create table zshao_foo (foo_id int, foo_name string, foo_a string, foo_b string, > foo_c string, foo_d string) row format delimited fields terminated by ',' > stored as textfile; > create table zshao_bar (bar_id int, bar_0 int, foo_id int, bar_1 int, bar_name > string, bar_a string, bar_b string, bar_c string, bar_d string) row format > delimited fields terminated by ',' stored as textfile; > create table zshao_count (bar_id int, n int) row format delimited fields > terminated by ',' stored as textfile; > Each table has a single row as follows: > zshao_foo: > 1,foo1,a,b,c,d > zshao_bar: > 10,0,1,1,bar10,a,b,c,d > zshao_count: > 10,2 > load data local inpath 'zshao_foo' overwrite into table zshao_foo; > load data local inpath 'zshao_bar' overwrite into table zshao_bar; > load data local inpath 'zshao_count' overwrite into table zshao_count; > explain extended > select zshao_foo.foo_name, zshao_bar.bar_name, n from zshao_foo join zshao_bar on zshao_foo.foo_id = > zshao_bar.foo_id join zshao_count on zshao_count.bar_id = zshao_bar.bar_id; > {code} > The case is from David Lerman. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.