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 E0CF49540 for ; Sun, 14 Oct 2012 08:12:17 +0000 (UTC) Received: (qmail 26879 invoked by uid 500); 14 Oct 2012 08:12:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 26213 invoked by uid 500); 14 Oct 2012 08:12:08 -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 26134 invoked by uid 500); 14 Oct 2012 08:12:04 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 26098 invoked by uid 99); 14 Oct 2012 08:12:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2012 08:12:03 +0000 Date: Sun, 14 Oct 2012 08:12:02 +0000 (UTC) From: "Harsh J (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <259199257.42792.1350202323025.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HIVE-3576) Regression: ALTER TABLE DROP IF EXISTS PARTITION throws a SemanticException if Partition is not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Harsh J created HIVE-3576: ----------------------------- Summary: Regression: ALTER TABLE DROP IF EXISTS PARTITION throws a SemanticException if Partition is not found Key: HIVE-3576 URL: https://issues.apache.org/jira/browse/HIVE-3576 Project: Hive Issue Type: Bug Components: Query Processor Affects Versions: 0.9.0 Reporter: Harsh J Doing a simple "{{ALTER TABLE testtable DROP IF EXISTS PARTITION(dt=NONEXISTENTPARTITION)}}" fails with a SemanticException of the 10006 kind (INVALID_PARTITION). This does not respect the {{hive.exec.drop.ignorenonexistent}} condition either, since there are no if-check-wraps around this area, when fetching partitions from the store. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira