Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 10716 invoked from network); 3 Dec 2010 00:58:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Dec 2010 00:58:32 -0000 Received: (qmail 40457 invoked by uid 500); 3 Dec 2010 00:58:32 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40424 invoked by uid 500); 3 Dec 2010 00:58:32 -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 40416 invoked by uid 500); 3 Dec 2010 00:58:32 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40413 invoked by uid 99); 3 Dec 2010 00:58:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 00:58:32 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 00:58:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB30wB7R016845 for ; Fri, 3 Dec 2010 00:58:11 GMT Message-ID: <1307417.86191291337891435.JavaMail.jira@thor> Date: Thu, 2 Dec 2010 19:58:11 -0500 (EST) From: "Paul Butler (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1763) drop table (or view) should issue warning if table doesn't exist In-Reply-To: <11145746.203611288730192234.JavaMail.jira@thor> 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-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966367#action_12966367 ] Paul Butler commented on HIVE-1763: ----------------------------------- I was concerned about breaking DROP TABLE's idempotence, so rather than throwing an exception I just print the error to the console. If someone can suggest a better approach I'll do it. > drop table (or view) should issue warning if table doesn't exist > ---------------------------------------------------------------- > > Key: HIVE-1763 > URL: https://issues.apache.org/jira/browse/HIVE-1763 > Project: Hive > Issue Type: Improvement > Components: Metastore > Reporter: dan f > Priority: Minor > Attachments: HIVE-1763.patch > > > drop table reports "OK" even if the table doesn't exist. Better to report something like mysql's "Unknown table 'foo'" so that, e.g., unwanted tables (especially ones with names prone to typos) don't persist. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.