hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject svn commit: r1475722 [1/7] - in /hive/trunk: ./ metastore/if/ metastore/src/gen/thrift/gen-cpp/ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ metastore/src/gen/thrift/gen-php/metastore/ metastore/src/gen/thrift/gen-py/hive...
Date Thu, 25 Apr 2013 12:24:29 GMT
Author: namit
Date: Thu Apr 25 12:24:28 2013
New Revision: 1475722

URL: http://svn.apache.org/r1475722
Log:
HIVE-4095 Add exchange partition in Hive
(Dheeraj Kumar Singh via namit)


Added:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableExchangePartition.java
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_incomplete_partition.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_partition_exists.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_partition_exists2.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_partition_exists3.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_partition_missing.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_table_missing.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_table_missing2.q
    hive/trunk/ql/src/test/queries/clientnegative/exchange_partition_neg_test.q
    hive/trunk/ql/src/test/queries/clientpositive/exchange_partition.q
    hive/trunk/ql/src/test/queries/clientpositive/exchange_partition2.q
    hive/trunk/ql/src/test/queries/clientpositive/exchange_partition3.q
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_incomplete_partition.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_partition_exists.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_partition_exists2.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_partition_exists3.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_partition_missing.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_table_missing.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_table_missing2.q.out
    hive/trunk/ql/src/test/results/clientnegative/exchange_partition_neg_test.q.out
    hive/trunk/ql/src/test/results/clientpositive/exchange_partition.q.out
    hive/trunk/ql/src/test/results/clientpositive/exchange_partition2.q.out
    hive/trunk/ql/src/test/results/clientpositive/exchange_partition3.q.out
Modified:
    hive/trunk/.gitignore
    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/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/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/MetaStoreUtils.java
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.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/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java
    hive/trunk/ql/src/test/results/clientnegative/alter_view_as_select_with_partition.q.out
    hive/trunk/ql/src/test/results/clientnegative/create_or_replace_view1.q.out
    hive/trunk/ql/src/test/results/clientnegative/create_or_replace_view2.q.out

Modified: hive/trunk/.gitignore
URL: http://svn.apache.org/viewvc/hive/trunk/.gitignore?rev=1475722&r1=1475721&r2=1475722&view=diff
==============================================================================
--- hive/trunk/.gitignore (original)
+++ hive/trunk/.gitignore Thu Apr 25 12:24:28 2013
@@ -13,4 +13,7 @@ common/src/gen
 *.iml
 *.ipr
 *.iws
+ql/derby.log
+derby.log
+.arc
 

Modified: hive/trunk/metastore/if/hive_metastore.thrift
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/if/hive_metastore.thrift?rev=1475722&r1=1475721&r2=1475722&view=diff
==============================================================================
--- hive/trunk/metastore/if/hive_metastore.thrift (original)
+++ hive/trunk/metastore/if/hive_metastore.thrift Thu Apr 25 12:24:28 2013
@@ -455,6 +455,10 @@ service ThriftHiveMetastore extends fb30
                        throws(1:NoSuchObjectException o1, 2:MetaException o2)
   Partition get_partition(1:string db_name, 2:string tbl_name, 3:list<string> part_vals)
                        throws(1:MetaException o1, 2:NoSuchObjectException o2)
+  Partition exchange_partition(1:map<string, string> partitionSpecs, 2:string source_db,
+      3:string source_table_name, 4:string dest_db, 5:string dest_table_name)
+      throws(1:MetaException o1, 2:NoSuchObjectException o2, 3:InvalidObjectException o3,
+      4:InvalidInputException o4)
 
   Partition get_partition_with_auth(1:string db_name, 2:string tbl_name, 3:list<string>
part_vals, 
       4: string user_name, 5: list<string> group_names) throws(1:MetaException o1,
2:NoSuchObjectException o2)



Mime
View raw message