You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/09 11:27:41 UTC

[jira] [Commented] (HIVE-3422) Support partial partition specifications in when enabling/disabling protections in Hive

    [ 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