Return-Path: Delivered-To: apmail-hadoop-hive-user-archive@minotaur.apache.org Received: (qmail 41951 invoked from network); 6 Feb 2009 13:33:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2009 13:33:44 -0000 Received: (qmail 26762 invoked by uid 500); 6 Feb 2009 13:33:44 -0000 Delivered-To: apmail-hadoop-hive-user-archive@hadoop.apache.org Received: (qmail 26690 invoked by uid 500); 6 Feb 2009 13:33:43 -0000 Mailing-List: contact hive-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-user@hadoop.apache.org Delivered-To: mailing list hive-user@hadoop.apache.org Received: (qmail 26681 invoked by uid 99); 6 Feb 2009 13:33:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 05:33:43 -0800 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of athusoo@facebook.com does not designate 69.63.179.25 as permitted sender) Received: from [69.63.179.25] (HELO mailout-snc1.facebook.com) (69.63.179.25) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 13:33:36 +0000 Received: from mail.thefacebook.com (intlb01.snat.snc1.facebook.com [10.128.203.15] (may be forged)) by pp01.snc1.tfbnw.net (8.14.1/8.14.1) with ESMTP id n16DXFpC009625 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Fri, 6 Feb 2009 05:33:15 -0800 Received: from SC-MBXC1.TheFacebook.com ([192.168.18.100]) by sc-hub02.TheFacebook.com ([192.168.18.105]) with mapi; Fri, 6 Feb 2009 05:33:14 -0800 From: Ashish Thusoo To: "hive-user@hadoop.apache.org" Date: Fri, 6 Feb 2009 05:31:31 -0800 Subject: RE: Using join statement Thread-Topic: Using join statement Thread-Index: AcmIUEJVW/85t4o7TOOAOZzyHnTTDwADvak5 Message-ID: <68B7689C98024D43B4C2709456F0B5200966124A37@SC-MBXC1.TheFacebook.com> References: <35a22e220902060343u5c707415s1d67ddfbeaf076cf@mail.gmail.com> In-Reply-To: <35a22e220902060343u5c707415s1d67ddfbeaf076cf@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-02-06_03:2009-02-05,2009-02-06,2009-02-06 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Can you give out the data sets.. also look at the dfs files created for table c and see if any files were cr= eated. Chances are that the join did not produce anything. Ashish ________________________________________ From: Amandeep Khurana [amansk@gmail.com] Sent: Friday, February 06, 2009 3:43 AM To: hive-user@hadoop.apache.org Subject: Using join statement I am trying to join two tables using the following query: insert overwrite table c select a.x, a.y, b.z from a join b on (a.y=3Db.y)= ; Its not putting anything into the table c. If I just simply write the selec= t command, it throws nothing onto the screen. Where am I going wrong? Amandeep Amandeep Khurana Computer Science Graduate Student University of California, Santa Cruz