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 154E97B37 for ; Wed, 26 Oct 2011 04:59:57 +0000 (UTC) Received: (qmail 73004 invoked by uid 500); 26 Oct 2011 04:59:55 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 72982 invoked by uid 500); 26 Oct 2011 04:59:55 -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 72966 invoked by uid 500); 26 Oct 2011 04:59:54 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 72962 invoked by uid 99); 26 Oct 2011 04:59:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 04:59:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 04:59:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 303DA31CD3B for ; Wed, 26 Oct 2011 04:57:32 +0000 (UTC) Date: Wed, 26 Oct 2011 04:57:32 +0000 (UTC) From: "Ashutosh Chauhan (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <300533990.16653.1319605052199.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <735126768.7409.1318963631399.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2510) Hive throws Null Pointer Exception upon CREATE TABLE . .... if the given doesn't exist 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-2510?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13135= 708#comment-13135708 ]=20 Ashutosh Chauhan commented on HIVE-2510: ---------------------------------------- It would be better to check for table existence and db existence together i= n CTAS within analyzeCreateTable(). Its little awkward that we check for ta= ble existence first and db existence later. But, I don't you want you to fo= rce into doing another patch. Will leave it upto committers. Otherwise, loo= ks good to me.=20 =20 > Hive throws Null Pointer Exception upon CREATE TABLE . .... if the given doesn't exist > -------------------------------------------------------------------------= ------------------------------------------------ > > Key: HIVE-2510 > URL: https://issues.apache.org/jira/browse/HIVE-2510 > Project: Hive > Issue Type: Bug > Reporter: Robert Sur=C3=B3wka > Assignee: Robert Sur=C3=B3wka > Priority: Trivial > Attachments: HIVE-2510.1.patch, HIVE-2510.2.patch, HIVE-2510.3.pa= tch, HIVE-2510.4.patch, HIVE-2510.5.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira