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 44449E13B for ; Wed, 9 Jan 2013 10:27:45 +0000 (UTC) Received: (qmail 87642 invoked by uid 500); 9 Jan 2013 10:27:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 87531 invoked by uid 500); 9 Jan 2013 10:27:42 -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 87222 invoked by uid 500); 9 Jan 2013 10:27:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 87094 invoked by uid 99); 9 Jan 2013 10:27:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 10:27:41 +0000 Date: Wed, 9 Jan 2013 10:27:41 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3422) Support partial partition specifications in when enabling/disabling protections in Hive 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-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548035#comment-13548035 ] Hudson commented on HIVE-3422: ------------------------------ Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3422 Support partial partition specifications in when enabling/disabling protections in Hive (Jean Xu via namit) (Revision 1385320) Result = ABORTED namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1385320 Files : * /hive/trunk/metastore/if/hive_metastore.thrift * /hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp * /hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h * /hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp * /hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java * /hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/ThriftHiveMetastore.php * /hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote * /hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py * /hive/trunk/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/AlterHandler.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java * /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_invalidspec.q * /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_nodrop.q * /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_nodrop_table.q * /hive/trunk/ql/src/test/queries/clientnegative/alter_partition_offline.q * /hive/trunk/ql/src/test/queries/clientpositive/alter_partition_protect_mode.q * /hive/trunk/ql/src/test/results/clientnegative/alter_partition_invalidspec.q.out * /hive/trunk/ql/src/test/results/clientnegative/alter_partition_nodrop.q.out * /hive/trunk/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out * /hive/trunk/ql/src/test/results/clientnegative/alter_partition_offline.q.out * /hive/trunk/ql/src/test/results/clientpositive/alter_partition_protect_mode.q.out > Support partial partition specifications in when enabling/disabling protections in Hive > --------------------------------------------------------------------------------------- > > Key: HIVE-3422 > URL: https://issues.apache.org/jira/browse/HIVE-3422 > Project: Hive > Issue Type: Improvement > Components: Metastore > Reporter: Jean Xu > Assignee: Jean Xu > Priority: Minor > Fix For: 0.10.0 > > > Currently if you have a table t with partition columns c1 and c2 the following command works: > ALTER TABLE t PARTITION (c1 = 'x', c2 = 'y') ENABLE NO_DROP; > The following does not: > ALTER TABLE t PARTITION (c1 = 'x') ENABLE NO_DROP; > We would like all existing partitions for which c1 = 'x' to have NO_DROP enabled when a user runs the above command -- 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