commit 1c9928bf84bf8384ce5f9af35babac3adb68c25f Author: Alan Gates Date: Mon Mar 16 20:00:04 2015 -0700 HIVE-9977 Fixed compactor to work with dynamic partitioning diff --git itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java index 4915606..fd42796 100644 --- itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java +++ itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java @@ -55,6 +55,9 @@ import java.util.Arrays; import java.util.List; import java.util.Map; +import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet; import java.util.concurrent.atomic.AtomicBoolean; /** @@ -88,6 +91,7 @@ public void setup() throws Exception { hiveConf.setVar(HiveConf.ConfVars.POSTEXECHOOKS, ""); hiveConf.setVar(HiveConf.ConfVars.METASTOREWAREHOUSE, TEST_WAREHOUSE_DIR); hiveConf.setVar(HiveConf.ConfVars.HIVEINPUTFORMAT, HiveInputFormat.class.getName()); + hiveConf.setVar(HiveConf.ConfVars.DYNAMICPARTITIONINGMODE, "nonstrict"); //"org.apache.hadoop.hive.ql.io.HiveInputFormat" TxnDbUtil.setConfValues(hiveConf); @@ -281,6 +285,124 @@ public void testStatsAfterCompactionPartTbl() throws Exception { } @Test + public void dynamicPartitioningInsert() throws Exception { + String tblName = "dpct"; + List colNames = Arrays.asList("a", "b"); + executeStatementOnDriver("drop table if exists " + tblName, driver); + executeStatementOnDriver("CREATE TABLE " + tblName + "(a INT, b STRING) " + + " PARTITIONED BY(ds string)" + + " CLUSTERED BY(a) INTO 2 BUCKETS" + //currently ACID requires table to be bucketed + " STORED AS ORC TBLPROPERTIES ('transactional'='true')", driver); + executeStatementOnDriver("insert into " + tblName + " partition (ds) values (1, 'fred', " + + "'today'), (2, 'wilma', 'yesterday')", driver); + + Initiator initiator = new Initiator(); + initiator.setThreadId((int)initiator.getId()); + conf.setIntVar(HiveConf.ConfVars.HIVE_COMPACTOR_DELTA_NUM_THRESHOLD, 0); + initiator.setHiveConf(conf); + AtomicBoolean stop = new AtomicBoolean(); + stop.set(true); + initiator.init(stop, new AtomicBoolean()); + initiator.run(); + + CompactionTxnHandler txnHandler = new CompactionTxnHandler(conf); + ShowCompactResponse rsp = txnHandler.showCompact(new ShowCompactRequest()); + List compacts = rsp.getCompacts(); + Assert.assertEquals(2, compacts.size()); + SortedSet partNames = new TreeSet(); + for (int i = 0; i < compacts.size(); i++) { + Assert.assertEquals("default", compacts.get(i).getDbname()); + Assert.assertEquals(tblName, compacts.get(i).getTablename()); + Assert.assertEquals("initiated", compacts.get(i).getState()); + partNames.add(compacts.get(i).getPartitionname()); + } + List names = new ArrayList<>(partNames); + Assert.assertEquals("ds=today", names.get(0)); + Assert.assertEquals("ds=yesterday", names.get(1)); + } + + @Test + public void dynamicPartitioningUpdate() throws Exception { + String tblName = "dpct"; + List colNames = Arrays.asList("a", "b"); + executeStatementOnDriver("drop table if exists " + tblName, driver); + executeStatementOnDriver("CREATE TABLE " + tblName + "(a INT, b STRING) " + + " PARTITIONED BY(ds string)" + + " CLUSTERED BY(a) INTO 2 BUCKETS" + //currently ACID requires table to be bucketed + " STORED AS ORC TBLPROPERTIES ('transactional'='true')", driver); + executeStatementOnDriver("insert into " + tblName + " partition (ds) values (1, 'fred', " + + "'today'), (2, 'wilma', 'yesterday')", driver); + + executeStatementOnDriver("update " + tblName + " set a = 3", driver); + + Initiator initiator = new Initiator(); + initiator.setThreadId((int)initiator.getId()); + // Set to 1 so insert doesn't set it off but update does + conf.setIntVar(HiveConf.ConfVars.HIVE_COMPACTOR_DELTA_NUM_THRESHOLD, 1); + initiator.setHiveConf(conf); + AtomicBoolean stop = new AtomicBoolean(); + stop.set(true); + initiator.init(stop, new AtomicBoolean()); + initiator.run(); + + CompactionTxnHandler txnHandler = new CompactionTxnHandler(conf); + ShowCompactResponse rsp = txnHandler.showCompact(new ShowCompactRequest()); + List compacts = rsp.getCompacts(); + Assert.assertEquals(2, compacts.size()); + SortedSet partNames = new TreeSet(); + for (int i = 0; i < compacts.size(); i++) { + Assert.assertEquals("default", compacts.get(i).getDbname()); + Assert.assertEquals(tblName, compacts.get(i).getTablename()); + Assert.assertEquals("initiated", compacts.get(i).getState()); + partNames.add(compacts.get(i).getPartitionname()); + } + List names = new ArrayList<>(partNames); + Assert.assertEquals("ds=today", names.get(0)); + Assert.assertEquals("ds=yesterday", names.get(1)); + } + + @Test + public void dynamicPartitioningDelete() throws Exception { + String tblName = "dpct"; + List colNames = Arrays.asList("a", "b"); + executeStatementOnDriver("drop table if exists " + tblName, driver); + executeStatementOnDriver("CREATE TABLE " + tblName + "(a INT, b STRING) " + + " PARTITIONED BY(ds string)" + + " CLUSTERED BY(a) INTO 2 BUCKETS" + //currently ACID requires table to be bucketed + " STORED AS ORC TBLPROPERTIES ('transactional'='true')", driver); + executeStatementOnDriver("insert into " + tblName + " partition (ds) values (1, 'fred', " + + "'today'), (2, 'wilma', 'yesterday')", driver); + + executeStatementOnDriver("update " + tblName + " set a = 3", driver); + + executeStatementOnDriver("delete from " + tblName + " where b = 'fred'", driver); + + Initiator initiator = new Initiator(); + initiator.setThreadId((int)initiator.getId()); + // Set to 2 so insert and update don't set it off but delete does + conf.setIntVar(HiveConf.ConfVars.HIVE_COMPACTOR_DELTA_NUM_THRESHOLD, 2); + initiator.setHiveConf(conf); + AtomicBoolean stop = new AtomicBoolean(); + stop.set(true); + initiator.init(stop, new AtomicBoolean()); + initiator.run(); + + CompactionTxnHandler txnHandler = new CompactionTxnHandler(conf); + ShowCompactResponse rsp = txnHandler.showCompact(new ShowCompactRequest()); + List compacts = rsp.getCompacts(); + Assert.assertEquals(1, compacts.size()); + SortedSet partNames = new TreeSet(); + for (int i = 0; i < compacts.size(); i++) { + Assert.assertEquals("default", compacts.get(i).getDbname()); + Assert.assertEquals(tblName, compacts.get(i).getTablename()); + Assert.assertEquals("initiated", compacts.get(i).getState()); + partNames.add(compacts.get(i).getPartitionname()); + } + List names = new ArrayList<>(partNames); + Assert.assertEquals("ds=today", names.get(0)); + } + + @Test public void minorCompactWhileStreaming() throws Exception { String dbName = "default"; String tblName = "cws"; diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index 120a639..57bce0c 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -651,6 +651,13 @@ struct ShowCompactResponse { 1: required list compacts, } +struct AddDynamicPartitions { + 1: required i64 txnid, + 2: required string dbname, + 3: required string tablename, + 4: required list partitionnames, +} + struct NotificationEventRequest { 1: required i64 lastEvent, 2: optional i32 maxEvents, @@ -1164,6 +1171,7 @@ service ThriftHiveMetastore extends fb303.FacebookService HeartbeatTxnRangeResponse heartbeat_txn_range(1:HeartbeatTxnRangeRequest txns) void compact(1:CompactionRequest rqst) ShowCompactResponse show_compact(1:ShowCompactRequest rqst) + void add_dynamic_partitions(1:AddDynamicPartitions rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) // Notification logging calls NotificationEventResponse get_next_notification(1:NotificationEventRequest rqst) diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 4ebddb9..a0b34cb 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1096,14 +1096,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size419; - ::apache::thrift::protocol::TType _etype422; - xfer += iprot->readListBegin(_etype422, _size419); - this->success.resize(_size419); - uint32_t _i423; - for (_i423 = 0; _i423 < _size419; ++_i423) + uint32_t _size425; + ::apache::thrift::protocol::TType _etype428; + xfer += iprot->readListBegin(_etype428, _size425); + this->success.resize(_size425); + uint32_t _i429; + for (_i429 = 0; _i429 < _size425; ++_i429) { - xfer += iprot->readString(this->success[_i423]); + xfer += iprot->readString(this->success[_i429]); } xfer += iprot->readListEnd(); } @@ -1142,10 +1142,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter424; - for (_iter424 = this->success.begin(); _iter424 != this->success.end(); ++_iter424) + std::vector ::const_iterator _iter430; + for (_iter430 = this->success.begin(); _iter430 != this->success.end(); ++_iter430) { - xfer += oprot->writeString((*_iter424)); + xfer += oprot->writeString((*_iter430)); } xfer += oprot->writeListEnd(); } @@ -1184,14 +1184,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size425; - ::apache::thrift::protocol::TType _etype428; - xfer += iprot->readListBegin(_etype428, _size425); - (*(this->success)).resize(_size425); - uint32_t _i429; - for (_i429 = 0; _i429 < _size425; ++_i429) + uint32_t _size431; + ::apache::thrift::protocol::TType _etype434; + xfer += iprot->readListBegin(_etype434, _size431); + (*(this->success)).resize(_size431); + uint32_t _i435; + for (_i435 = 0; _i435 < _size431; ++_i435) { - xfer += iprot->readString((*(this->success))[_i429]); + xfer += iprot->readString((*(this->success))[_i435]); } xfer += iprot->readListEnd(); } @@ -1289,14 +1289,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size430; - ::apache::thrift::protocol::TType _etype433; - xfer += iprot->readListBegin(_etype433, _size430); - this->success.resize(_size430); - uint32_t _i434; - for (_i434 = 0; _i434 < _size430; ++_i434) + uint32_t _size436; + ::apache::thrift::protocol::TType _etype439; + xfer += iprot->readListBegin(_etype439, _size436); + this->success.resize(_size436); + uint32_t _i440; + for (_i440 = 0; _i440 < _size436; ++_i440) { - xfer += iprot->readString(this->success[_i434]); + xfer += iprot->readString(this->success[_i440]); } xfer += iprot->readListEnd(); } @@ -1335,10 +1335,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter435; - for (_iter435 = this->success.begin(); _iter435 != this->success.end(); ++_iter435) + std::vector ::const_iterator _iter441; + for (_iter441 = this->success.begin(); _iter441 != this->success.end(); ++_iter441) { - xfer += oprot->writeString((*_iter435)); + xfer += oprot->writeString((*_iter441)); } xfer += oprot->writeListEnd(); } @@ -1377,14 +1377,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size436; - ::apache::thrift::protocol::TType _etype439; - xfer += iprot->readListBegin(_etype439, _size436); - (*(this->success)).resize(_size436); - uint32_t _i440; - for (_i440 = 0; _i440 < _size436; ++_i440) + uint32_t _size442; + ::apache::thrift::protocol::TType _etype445; + xfer += iprot->readListBegin(_etype445, _size442); + (*(this->success)).resize(_size442); + uint32_t _i446; + for (_i446 = 0; _i446 < _size442; ++_i446) { - xfer += iprot->readString((*(this->success))[_i440]); + xfer += iprot->readString((*(this->success))[_i446]); } xfer += iprot->readListEnd(); } @@ -2327,17 +2327,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size441; - ::apache::thrift::protocol::TType _ktype442; - ::apache::thrift::protocol::TType _vtype443; - xfer += iprot->readMapBegin(_ktype442, _vtype443, _size441); - uint32_t _i445; - for (_i445 = 0; _i445 < _size441; ++_i445) + uint32_t _size447; + ::apache::thrift::protocol::TType _ktype448; + ::apache::thrift::protocol::TType _vtype449; + xfer += iprot->readMapBegin(_ktype448, _vtype449, _size447); + uint32_t _i451; + for (_i451 = 0; _i451 < _size447; ++_i451) { - std::string _key446; - xfer += iprot->readString(_key446); - Type& _val447 = this->success[_key446]; - xfer += _val447.read(iprot); + std::string _key452; + xfer += iprot->readString(_key452); + Type& _val453 = this->success[_key452]; + xfer += _val453.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2376,11 +2376,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter448; - for (_iter448 = this->success.begin(); _iter448 != this->success.end(); ++_iter448) + std::map ::const_iterator _iter454; + for (_iter454 = this->success.begin(); _iter454 != this->success.end(); ++_iter454) { - xfer += oprot->writeString(_iter448->first); - xfer += _iter448->second.write(oprot); + xfer += oprot->writeString(_iter454->first); + xfer += _iter454->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2419,17 +2419,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size449; - ::apache::thrift::protocol::TType _ktype450; - ::apache::thrift::protocol::TType _vtype451; - xfer += iprot->readMapBegin(_ktype450, _vtype451, _size449); - uint32_t _i453; - for (_i453 = 0; _i453 < _size449; ++_i453) + uint32_t _size455; + ::apache::thrift::protocol::TType _ktype456; + ::apache::thrift::protocol::TType _vtype457; + xfer += iprot->readMapBegin(_ktype456, _vtype457, _size455); + uint32_t _i459; + for (_i459 = 0; _i459 < _size455; ++_i459) { - std::string _key454; - xfer += iprot->readString(_key454); - Type& _val455 = (*(this->success))[_key454]; - xfer += _val455.read(iprot); + std::string _key460; + xfer += iprot->readString(_key460); + Type& _val461 = (*(this->success))[_key460]; + xfer += _val461.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2564,14 +2564,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size456; - ::apache::thrift::protocol::TType _etype459; - xfer += iprot->readListBegin(_etype459, _size456); - this->success.resize(_size456); - uint32_t _i460; - for (_i460 = 0; _i460 < _size456; ++_i460) + uint32_t _size462; + ::apache::thrift::protocol::TType _etype465; + xfer += iprot->readListBegin(_etype465, _size462); + this->success.resize(_size462); + uint32_t _i466; + for (_i466 = 0; _i466 < _size462; ++_i466) { - xfer += this->success[_i460].read(iprot); + xfer += this->success[_i466].read(iprot); } xfer += iprot->readListEnd(); } @@ -2626,10 +2626,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter461; - for (_iter461 = this->success.begin(); _iter461 != this->success.end(); ++_iter461) + std::vector ::const_iterator _iter467; + for (_iter467 = this->success.begin(); _iter467 != this->success.end(); ++_iter467) { - xfer += (*_iter461).write(oprot); + xfer += (*_iter467).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2676,14 +2676,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size462; - ::apache::thrift::protocol::TType _etype465; - xfer += iprot->readListBegin(_etype465, _size462); - (*(this->success)).resize(_size462); - uint32_t _i466; - for (_i466 = 0; _i466 < _size462; ++_i466) + uint32_t _size468; + ::apache::thrift::protocol::TType _etype471; + xfer += iprot->readListBegin(_etype471, _size468); + (*(this->success)).resize(_size468); + uint32_t _i472; + for (_i472 = 0; _i472 < _size468; ++_i472) { - xfer += (*(this->success))[_i466].read(iprot); + xfer += (*(this->success))[_i472].read(iprot); } xfer += iprot->readListEnd(); } @@ -2850,14 +2850,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size467; - ::apache::thrift::protocol::TType _etype470; - xfer += iprot->readListBegin(_etype470, _size467); - this->success.resize(_size467); - uint32_t _i471; - for (_i471 = 0; _i471 < _size467; ++_i471) + uint32_t _size473; + ::apache::thrift::protocol::TType _etype476; + xfer += iprot->readListBegin(_etype476, _size473); + this->success.resize(_size473); + uint32_t _i477; + for (_i477 = 0; _i477 < _size473; ++_i477) { - xfer += this->success[_i471].read(iprot); + xfer += this->success[_i477].read(iprot); } xfer += iprot->readListEnd(); } @@ -2912,10 +2912,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter472; - for (_iter472 = this->success.begin(); _iter472 != this->success.end(); ++_iter472) + std::vector ::const_iterator _iter478; + for (_iter478 = this->success.begin(); _iter478 != this->success.end(); ++_iter478) { - xfer += (*_iter472).write(oprot); + xfer += (*_iter478).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2962,14 +2962,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size473; - ::apache::thrift::protocol::TType _etype476; - xfer += iprot->readListBegin(_etype476, _size473); - (*(this->success)).resize(_size473); - uint32_t _i477; - for (_i477 = 0; _i477 < _size473; ++_i477) + uint32_t _size479; + ::apache::thrift::protocol::TType _etype482; + xfer += iprot->readListBegin(_etype482, _size479); + (*(this->success)).resize(_size479); + uint32_t _i483; + for (_i483 = 0; _i483 < _size479; ++_i483) { - xfer += (*(this->success))[_i477].read(iprot); + xfer += (*(this->success))[_i483].read(iprot); } xfer += iprot->readListEnd(); } @@ -3120,14 +3120,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size478; - ::apache::thrift::protocol::TType _etype481; - xfer += iprot->readListBegin(_etype481, _size478); - this->success.resize(_size478); - uint32_t _i482; - for (_i482 = 0; _i482 < _size478; ++_i482) + uint32_t _size484; + ::apache::thrift::protocol::TType _etype487; + xfer += iprot->readListBegin(_etype487, _size484); + this->success.resize(_size484); + uint32_t _i488; + for (_i488 = 0; _i488 < _size484; ++_i488) { - xfer += this->success[_i482].read(iprot); + xfer += this->success[_i488].read(iprot); } xfer += iprot->readListEnd(); } @@ -3182,10 +3182,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter483; - for (_iter483 = this->success.begin(); _iter483 != this->success.end(); ++_iter483) + std::vector ::const_iterator _iter489; + for (_iter489 = this->success.begin(); _iter489 != this->success.end(); ++_iter489) { - xfer += (*_iter483).write(oprot); + xfer += (*_iter489).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3232,14 +3232,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size484; - ::apache::thrift::protocol::TType _etype487; - xfer += iprot->readListBegin(_etype487, _size484); - (*(this->success)).resize(_size484); - uint32_t _i488; - for (_i488 = 0; _i488 < _size484; ++_i488) + uint32_t _size490; + ::apache::thrift::protocol::TType _etype493; + xfer += iprot->readListBegin(_etype493, _size490); + (*(this->success)).resize(_size490); + uint32_t _i494; + for (_i494 = 0; _i494 < _size490; ++_i494) { - xfer += (*(this->success))[_i488].read(iprot); + xfer += (*(this->success))[_i494].read(iprot); } xfer += iprot->readListEnd(); } @@ -3406,14 +3406,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size489; - ::apache::thrift::protocol::TType _etype492; - xfer += iprot->readListBegin(_etype492, _size489); - this->success.resize(_size489); - uint32_t _i493; - for (_i493 = 0; _i493 < _size489; ++_i493) + uint32_t _size495; + ::apache::thrift::protocol::TType _etype498; + xfer += iprot->readListBegin(_etype498, _size495); + this->success.resize(_size495); + uint32_t _i499; + for (_i499 = 0; _i499 < _size495; ++_i499) { - xfer += this->success[_i493].read(iprot); + xfer += this->success[_i499].read(iprot); } xfer += iprot->readListEnd(); } @@ -3468,10 +3468,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter494; - for (_iter494 = this->success.begin(); _iter494 != this->success.end(); ++_iter494) + std::vector ::const_iterator _iter500; + for (_iter500 = this->success.begin(); _iter500 != this->success.end(); ++_iter500) { - xfer += (*_iter494).write(oprot); + xfer += (*_iter500).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3518,14 +3518,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size495; - ::apache::thrift::protocol::TType _etype498; - xfer += iprot->readListBegin(_etype498, _size495); - (*(this->success)).resize(_size495); - uint32_t _i499; - for (_i499 = 0; _i499 < _size495; ++_i499) + uint32_t _size501; + ::apache::thrift::protocol::TType _etype504; + xfer += iprot->readListBegin(_etype504, _size501); + (*(this->success)).resize(_size501); + uint32_t _i505; + for (_i505 = 0; _i505 < _size501; ++_i505) { - xfer += (*(this->success))[_i499].read(iprot); + xfer += (*(this->success))[_i505].read(iprot); } xfer += iprot->readListEnd(); } @@ -4580,14 +4580,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size500; - ::apache::thrift::protocol::TType _etype503; - xfer += iprot->readListBegin(_etype503, _size500); - this->success.resize(_size500); - uint32_t _i504; - for (_i504 = 0; _i504 < _size500; ++_i504) + uint32_t _size506; + ::apache::thrift::protocol::TType _etype509; + xfer += iprot->readListBegin(_etype509, _size506); + this->success.resize(_size506); + uint32_t _i510; + for (_i510 = 0; _i510 < _size506; ++_i510) { - xfer += iprot->readString(this->success[_i504]); + xfer += iprot->readString(this->success[_i510]); } xfer += iprot->readListEnd(); } @@ -4626,10 +4626,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter505; - for (_iter505 = this->success.begin(); _iter505 != this->success.end(); ++_iter505) + std::vector ::const_iterator _iter511; + for (_iter511 = this->success.begin(); _iter511 != this->success.end(); ++_iter511) { - xfer += oprot->writeString((*_iter505)); + xfer += oprot->writeString((*_iter511)); } xfer += oprot->writeListEnd(); } @@ -4668,14 +4668,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size506; - ::apache::thrift::protocol::TType _etype509; - xfer += iprot->readListBegin(_etype509, _size506); - (*(this->success)).resize(_size506); - uint32_t _i510; - for (_i510 = 0; _i510 < _size506; ++_i510) + uint32_t _size512; + ::apache::thrift::protocol::TType _etype515; + xfer += iprot->readListBegin(_etype515, _size512); + (*(this->success)).resize(_size512); + uint32_t _i516; + for (_i516 = 0; _i516 < _size512; ++_i516) { - xfer += iprot->readString((*(this->success))[_i510]); + xfer += iprot->readString((*(this->success))[_i516]); } xfer += iprot->readListEnd(); } @@ -4794,14 +4794,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size511; - ::apache::thrift::protocol::TType _etype514; - xfer += iprot->readListBegin(_etype514, _size511); - this->success.resize(_size511); - uint32_t _i515; - for (_i515 = 0; _i515 < _size511; ++_i515) + uint32_t _size517; + ::apache::thrift::protocol::TType _etype520; + xfer += iprot->readListBegin(_etype520, _size517); + this->success.resize(_size517); + uint32_t _i521; + for (_i521 = 0; _i521 < _size517; ++_i521) { - xfer += iprot->readString(this->success[_i515]); + xfer += iprot->readString(this->success[_i521]); } xfer += iprot->readListEnd(); } @@ -4840,10 +4840,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter516; - for (_iter516 = this->success.begin(); _iter516 != this->success.end(); ++_iter516) + std::vector ::const_iterator _iter522; + for (_iter522 = this->success.begin(); _iter522 != this->success.end(); ++_iter522) { - xfer += oprot->writeString((*_iter516)); + xfer += oprot->writeString((*_iter522)); } xfer += oprot->writeListEnd(); } @@ -4882,14 +4882,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size517; - ::apache::thrift::protocol::TType _etype520; - xfer += iprot->readListBegin(_etype520, _size517); - (*(this->success)).resize(_size517); - uint32_t _i521; - for (_i521 = 0; _i521 < _size517; ++_i521) + uint32_t _size523; + ::apache::thrift::protocol::TType _etype526; + xfer += iprot->readListBegin(_etype526, _size523); + (*(this->success)).resize(_size523); + uint32_t _i527; + for (_i527 = 0; _i527 < _size523; ++_i527) { - xfer += iprot->readString((*(this->success))[_i521]); + xfer += iprot->readString((*(this->success))[_i527]); } xfer += iprot->readListEnd(); } @@ -5168,14 +5168,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size522; - ::apache::thrift::protocol::TType _etype525; - xfer += iprot->readListBegin(_etype525, _size522); - this->tbl_names.resize(_size522); - uint32_t _i526; - for (_i526 = 0; _i526 < _size522; ++_i526) + uint32_t _size528; + ::apache::thrift::protocol::TType _etype531; + xfer += iprot->readListBegin(_etype531, _size528); + this->tbl_names.resize(_size528); + uint32_t _i532; + for (_i532 = 0; _i532 < _size528; ++_i532) { - xfer += iprot->readString(this->tbl_names[_i526]); + xfer += iprot->readString(this->tbl_names[_i532]); } xfer += iprot->readListEnd(); } @@ -5207,10 +5207,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter527; - for (_iter527 = this->tbl_names.begin(); _iter527 != this->tbl_names.end(); ++_iter527) + std::vector ::const_iterator _iter533; + for (_iter533 = this->tbl_names.begin(); _iter533 != this->tbl_names.end(); ++_iter533) { - xfer += oprot->writeString((*_iter527)); + xfer += oprot->writeString((*_iter533)); } xfer += oprot->writeListEnd(); } @@ -5232,10 +5232,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter528; - for (_iter528 = (*(this->tbl_names)).begin(); _iter528 != (*(this->tbl_names)).end(); ++_iter528) + std::vector ::const_iterator _iter534; + for (_iter534 = (*(this->tbl_names)).begin(); _iter534 != (*(this->tbl_names)).end(); ++_iter534) { - xfer += oprot->writeString((*_iter528)); + xfer += oprot->writeString((*_iter534)); } xfer += oprot->writeListEnd(); } @@ -5270,14 +5270,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size529; - ::apache::thrift::protocol::TType _etype532; - xfer += iprot->readListBegin(_etype532, _size529); - this->success.resize(_size529); - uint32_t _i533; - for (_i533 = 0; _i533 < _size529; ++_i533) + uint32_t _size535; + ::apache::thrift::protocol::TType _etype538; + xfer += iprot->readListBegin(_etype538, _size535); + this->success.resize(_size535); + uint32_t _i539; + for (_i539 = 0; _i539 < _size535; ++_i539) { - xfer += this->success[_i533].read(iprot); + xfer += this->success[_i539].read(iprot); } xfer += iprot->readListEnd(); } @@ -5332,10 +5332,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter534; - for (_iter534 = this->success.begin(); _iter534 != this->success.end(); ++_iter534) + std::vector
::const_iterator _iter540; + for (_iter540 = this->success.begin(); _iter540 != this->success.end(); ++_iter540) { - xfer += (*_iter534).write(oprot); + xfer += (*_iter540).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5382,14 +5382,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size535; - ::apache::thrift::protocol::TType _etype538; - xfer += iprot->readListBegin(_etype538, _size535); - (*(this->success)).resize(_size535); - uint32_t _i539; - for (_i539 = 0; _i539 < _size535; ++_i539) + uint32_t _size541; + ::apache::thrift::protocol::TType _etype544; + xfer += iprot->readListBegin(_etype544, _size541); + (*(this->success)).resize(_size541); + uint32_t _i545; + for (_i545 = 0; _i545 < _size541; ++_i545) { - xfer += (*(this->success))[_i539].read(iprot); + xfer += (*(this->success))[_i545].read(iprot); } xfer += iprot->readListEnd(); } @@ -5556,14 +5556,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size540; - ::apache::thrift::protocol::TType _etype543; - xfer += iprot->readListBegin(_etype543, _size540); - this->success.resize(_size540); - uint32_t _i544; - for (_i544 = 0; _i544 < _size540; ++_i544) + uint32_t _size546; + ::apache::thrift::protocol::TType _etype549; + xfer += iprot->readListBegin(_etype549, _size546); + this->success.resize(_size546); + uint32_t _i550; + for (_i550 = 0; _i550 < _size546; ++_i550) { - xfer += iprot->readString(this->success[_i544]); + xfer += iprot->readString(this->success[_i550]); } xfer += iprot->readListEnd(); } @@ -5618,10 +5618,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter545; - for (_iter545 = this->success.begin(); _iter545 != this->success.end(); ++_iter545) + std::vector ::const_iterator _iter551; + for (_iter551 = this->success.begin(); _iter551 != this->success.end(); ++_iter551) { - xfer += oprot->writeString((*_iter545)); + xfer += oprot->writeString((*_iter551)); } xfer += oprot->writeListEnd(); } @@ -5668,14 +5668,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size546; - ::apache::thrift::protocol::TType _etype549; - xfer += iprot->readListBegin(_etype549, _size546); - (*(this->success)).resize(_size546); - uint32_t _i550; - for (_i550 = 0; _i550 < _size546; ++_i550) + uint32_t _size552; + ::apache::thrift::protocol::TType _etype555; + xfer += iprot->readListBegin(_etype555, _size552); + (*(this->success)).resize(_size552); + uint32_t _i556; + for (_i556 = 0; _i556 < _size552; ++_i556) { - xfer += iprot->readString((*(this->success))[_i550]); + xfer += iprot->readString((*(this->success))[_i556]); } xfer += iprot->readListEnd(); } @@ -6878,14 +6878,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size551; - ::apache::thrift::protocol::TType _etype554; - xfer += iprot->readListBegin(_etype554, _size551); - this->new_parts.resize(_size551); - uint32_t _i555; - for (_i555 = 0; _i555 < _size551; ++_i555) + uint32_t _size557; + ::apache::thrift::protocol::TType _etype560; + xfer += iprot->readListBegin(_etype560, _size557); + this->new_parts.resize(_size557); + uint32_t _i561; + for (_i561 = 0; _i561 < _size557; ++_i561) { - xfer += this->new_parts[_i555].read(iprot); + xfer += this->new_parts[_i561].read(iprot); } xfer += iprot->readListEnd(); } @@ -6913,10 +6913,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter556; - for (_iter556 = this->new_parts.begin(); _iter556 != this->new_parts.end(); ++_iter556) + std::vector ::const_iterator _iter562; + for (_iter562 = this->new_parts.begin(); _iter562 != this->new_parts.end(); ++_iter562) { - xfer += (*_iter556).write(oprot); + xfer += (*_iter562).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6934,10 +6934,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter557; - for (_iter557 = (*(this->new_parts)).begin(); _iter557 != (*(this->new_parts)).end(); ++_iter557) + std::vector ::const_iterator _iter563; + for (_iter563 = (*(this->new_parts)).begin(); _iter563 != (*(this->new_parts)).end(); ++_iter563) { - xfer += (*_iter557).write(oprot); + xfer += (*_iter563).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7128,14 +7128,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size558; - ::apache::thrift::protocol::TType _etype561; - xfer += iprot->readListBegin(_etype561, _size558); - this->new_parts.resize(_size558); - uint32_t _i562; - for (_i562 = 0; _i562 < _size558; ++_i562) + uint32_t _size564; + ::apache::thrift::protocol::TType _etype567; + xfer += iprot->readListBegin(_etype567, _size564); + this->new_parts.resize(_size564); + uint32_t _i568; + for (_i568 = 0; _i568 < _size564; ++_i568) { - xfer += this->new_parts[_i562].read(iprot); + xfer += this->new_parts[_i568].read(iprot); } xfer += iprot->readListEnd(); } @@ -7163,10 +7163,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter563; - for (_iter563 = this->new_parts.begin(); _iter563 != this->new_parts.end(); ++_iter563) + std::vector ::const_iterator _iter569; + for (_iter569 = this->new_parts.begin(); _iter569 != this->new_parts.end(); ++_iter569) { - xfer += (*_iter563).write(oprot); + xfer += (*_iter569).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7184,10 +7184,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter564; - for (_iter564 = (*(this->new_parts)).begin(); _iter564 != (*(this->new_parts)).end(); ++_iter564) + std::vector ::const_iterator _iter570; + for (_iter570 = (*(this->new_parts)).begin(); _iter570 != (*(this->new_parts)).end(); ++_iter570) { - xfer += (*_iter564).write(oprot); + xfer += (*_iter570).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7394,14 +7394,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size565; - ::apache::thrift::protocol::TType _etype568; - xfer += iprot->readListBegin(_etype568, _size565); - this->part_vals.resize(_size565); - uint32_t _i569; - for (_i569 = 0; _i569 < _size565; ++_i569) + uint32_t _size571; + ::apache::thrift::protocol::TType _etype574; + xfer += iprot->readListBegin(_etype574, _size571); + this->part_vals.resize(_size571); + uint32_t _i575; + for (_i575 = 0; _i575 < _size571; ++_i575) { - xfer += iprot->readString(this->part_vals[_i569]); + xfer += iprot->readString(this->part_vals[_i575]); } xfer += iprot->readListEnd(); } @@ -7437,10 +7437,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter570; - for (_iter570 = this->part_vals.begin(); _iter570 != this->part_vals.end(); ++_iter570) + std::vector ::const_iterator _iter576; + for (_iter576 = this->part_vals.begin(); _iter576 != this->part_vals.end(); ++_iter576) { - xfer += oprot->writeString((*_iter570)); + xfer += oprot->writeString((*_iter576)); } xfer += oprot->writeListEnd(); } @@ -7466,10 +7466,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter571; - for (_iter571 = (*(this->part_vals)).begin(); _iter571 != (*(this->part_vals)).end(); ++_iter571) + std::vector ::const_iterator _iter577; + for (_iter577 = (*(this->part_vals)).begin(); _iter577 != (*(this->part_vals)).end(); ++_iter577) { - xfer += oprot->writeString((*_iter571)); + xfer += oprot->writeString((*_iter577)); } xfer += oprot->writeListEnd(); } @@ -7898,14 +7898,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size572; - ::apache::thrift::protocol::TType _etype575; - xfer += iprot->readListBegin(_etype575, _size572); - this->part_vals.resize(_size572); - uint32_t _i576; - for (_i576 = 0; _i576 < _size572; ++_i576) + uint32_t _size578; + ::apache::thrift::protocol::TType _etype581; + xfer += iprot->readListBegin(_etype581, _size578); + this->part_vals.resize(_size578); + uint32_t _i582; + for (_i582 = 0; _i582 < _size578; ++_i582) { - xfer += iprot->readString(this->part_vals[_i576]); + xfer += iprot->readString(this->part_vals[_i582]); } xfer += iprot->readListEnd(); } @@ -7949,10 +7949,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter577; - for (_iter577 = this->part_vals.begin(); _iter577 != this->part_vals.end(); ++_iter577) + std::vector ::const_iterator _iter583; + for (_iter583 = this->part_vals.begin(); _iter583 != this->part_vals.end(); ++_iter583) { - xfer += oprot->writeString((*_iter577)); + xfer += oprot->writeString((*_iter583)); } xfer += oprot->writeListEnd(); } @@ -7982,10 +7982,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter578; - for (_iter578 = (*(this->part_vals)).begin(); _iter578 != (*(this->part_vals)).end(); ++_iter578) + std::vector ::const_iterator _iter584; + for (_iter584 = (*(this->part_vals)).begin(); _iter584 != (*(this->part_vals)).end(); ++_iter584) { - xfer += oprot->writeString((*_iter578)); + xfer += oprot->writeString((*_iter584)); } xfer += oprot->writeListEnd(); } @@ -8720,14 +8720,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size579; - ::apache::thrift::protocol::TType _etype582; - xfer += iprot->readListBegin(_etype582, _size579); - this->part_vals.resize(_size579); - uint32_t _i583; - for (_i583 = 0; _i583 < _size579; ++_i583) + uint32_t _size585; + ::apache::thrift::protocol::TType _etype588; + xfer += iprot->readListBegin(_etype588, _size585); + this->part_vals.resize(_size585); + uint32_t _i589; + for (_i589 = 0; _i589 < _size585; ++_i589) { - xfer += iprot->readString(this->part_vals[_i583]); + xfer += iprot->readString(this->part_vals[_i589]); } xfer += iprot->readListEnd(); } @@ -8771,10 +8771,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter584; - for (_iter584 = this->part_vals.begin(); _iter584 != this->part_vals.end(); ++_iter584) + std::vector ::const_iterator _iter590; + for (_iter590 = this->part_vals.begin(); _iter590 != this->part_vals.end(); ++_iter590) { - xfer += oprot->writeString((*_iter584)); + xfer += oprot->writeString((*_iter590)); } xfer += oprot->writeListEnd(); } @@ -8804,10 +8804,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter585; - for (_iter585 = (*(this->part_vals)).begin(); _iter585 != (*(this->part_vals)).end(); ++_iter585) + std::vector ::const_iterator _iter591; + for (_iter591 = (*(this->part_vals)).begin(); _iter591 != (*(this->part_vals)).end(); ++_iter591) { - xfer += oprot->writeString((*_iter585)); + xfer += oprot->writeString((*_iter591)); } xfer += oprot->writeListEnd(); } @@ -8998,14 +8998,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size586; - ::apache::thrift::protocol::TType _etype589; - xfer += iprot->readListBegin(_etype589, _size586); - this->part_vals.resize(_size586); - uint32_t _i590; - for (_i590 = 0; _i590 < _size586; ++_i590) + uint32_t _size592; + ::apache::thrift::protocol::TType _etype595; + xfer += iprot->readListBegin(_etype595, _size592); + this->part_vals.resize(_size592); + uint32_t _i596; + for (_i596 = 0; _i596 < _size592; ++_i596) { - xfer += iprot->readString(this->part_vals[_i590]); + xfer += iprot->readString(this->part_vals[_i596]); } xfer += iprot->readListEnd(); } @@ -9057,10 +9057,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter591; - for (_iter591 = this->part_vals.begin(); _iter591 != this->part_vals.end(); ++_iter591) + std::vector ::const_iterator _iter597; + for (_iter597 = this->part_vals.begin(); _iter597 != this->part_vals.end(); ++_iter597) { - xfer += oprot->writeString((*_iter591)); + xfer += oprot->writeString((*_iter597)); } xfer += oprot->writeListEnd(); } @@ -9094,10 +9094,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter592; - for (_iter592 = (*(this->part_vals)).begin(); _iter592 != (*(this->part_vals)).end(); ++_iter592) + std::vector ::const_iterator _iter598; + for (_iter598 = (*(this->part_vals)).begin(); _iter598 != (*(this->part_vals)).end(); ++_iter598) { - xfer += oprot->writeString((*_iter592)); + xfer += oprot->writeString((*_iter598)); } xfer += oprot->writeListEnd(); } @@ -10010,14 +10010,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size593; - ::apache::thrift::protocol::TType _etype596; - xfer += iprot->readListBegin(_etype596, _size593); - this->part_vals.resize(_size593); - uint32_t _i597; - for (_i597 = 0; _i597 < _size593; ++_i597) + uint32_t _size599; + ::apache::thrift::protocol::TType _etype602; + xfer += iprot->readListBegin(_etype602, _size599); + this->part_vals.resize(_size599); + uint32_t _i603; + for (_i603 = 0; _i603 < _size599; ++_i603) { - xfer += iprot->readString(this->part_vals[_i597]); + xfer += iprot->readString(this->part_vals[_i603]); } xfer += iprot->readListEnd(); } @@ -10053,10 +10053,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter598; - for (_iter598 = this->part_vals.begin(); _iter598 != this->part_vals.end(); ++_iter598) + std::vector ::const_iterator _iter604; + for (_iter604 = this->part_vals.begin(); _iter604 != this->part_vals.end(); ++_iter604) { - xfer += oprot->writeString((*_iter598)); + xfer += oprot->writeString((*_iter604)); } xfer += oprot->writeListEnd(); } @@ -10082,10 +10082,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter599; - for (_iter599 = (*(this->part_vals)).begin(); _iter599 != (*(this->part_vals)).end(); ++_iter599) + std::vector ::const_iterator _iter605; + for (_iter605 = (*(this->part_vals)).begin(); _iter605 != (*(this->part_vals)).end(); ++_iter605) { - xfer += oprot->writeString((*_iter599)); + xfer += oprot->writeString((*_iter605)); } xfer += oprot->writeListEnd(); } @@ -10256,17 +10256,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size600; - ::apache::thrift::protocol::TType _ktype601; - ::apache::thrift::protocol::TType _vtype602; - xfer += iprot->readMapBegin(_ktype601, _vtype602, _size600); - uint32_t _i604; - for (_i604 = 0; _i604 < _size600; ++_i604) + uint32_t _size606; + ::apache::thrift::protocol::TType _ktype607; + ::apache::thrift::protocol::TType _vtype608; + xfer += iprot->readMapBegin(_ktype607, _vtype608, _size606); + uint32_t _i610; + for (_i610 = 0; _i610 < _size606; ++_i610) { - std::string _key605; - xfer += iprot->readString(_key605); - std::string& _val606 = this->partitionSpecs[_key605]; - xfer += iprot->readString(_val606); + std::string _key611; + xfer += iprot->readString(_key611); + std::string& _val612 = this->partitionSpecs[_key611]; + xfer += iprot->readString(_val612); } xfer += iprot->readMapEnd(); } @@ -10326,11 +10326,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter607; - for (_iter607 = this->partitionSpecs.begin(); _iter607 != this->partitionSpecs.end(); ++_iter607) + std::map ::const_iterator _iter613; + for (_iter613 = this->partitionSpecs.begin(); _iter613 != this->partitionSpecs.end(); ++_iter613) { - xfer += oprot->writeString(_iter607->first); - xfer += oprot->writeString(_iter607->second); + xfer += oprot->writeString(_iter613->first); + xfer += oprot->writeString(_iter613->second); } xfer += oprot->writeMapEnd(); } @@ -10364,11 +10364,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter608; - for (_iter608 = (*(this->partitionSpecs)).begin(); _iter608 != (*(this->partitionSpecs)).end(); ++_iter608) + std::map ::const_iterator _iter614; + for (_iter614 = (*(this->partitionSpecs)).begin(); _iter614 != (*(this->partitionSpecs)).end(); ++_iter614) { - xfer += oprot->writeString(_iter608->first); - xfer += oprot->writeString(_iter608->second); + xfer += oprot->writeString(_iter614->first); + xfer += oprot->writeString(_iter614->second); } xfer += oprot->writeMapEnd(); } @@ -10611,14 +10611,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size609; - ::apache::thrift::protocol::TType _etype612; - xfer += iprot->readListBegin(_etype612, _size609); - this->part_vals.resize(_size609); - uint32_t _i613; - for (_i613 = 0; _i613 < _size609; ++_i613) + uint32_t _size615; + ::apache::thrift::protocol::TType _etype618; + xfer += iprot->readListBegin(_etype618, _size615); + this->part_vals.resize(_size615); + uint32_t _i619; + for (_i619 = 0; _i619 < _size615; ++_i619) { - xfer += iprot->readString(this->part_vals[_i613]); + xfer += iprot->readString(this->part_vals[_i619]); } xfer += iprot->readListEnd(); } @@ -10639,14 +10639,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size614; - ::apache::thrift::protocol::TType _etype617; - xfer += iprot->readListBegin(_etype617, _size614); - this->group_names.resize(_size614); - uint32_t _i618; - for (_i618 = 0; _i618 < _size614; ++_i618) + uint32_t _size620; + ::apache::thrift::protocol::TType _etype623; + xfer += iprot->readListBegin(_etype623, _size620); + this->group_names.resize(_size620); + uint32_t _i624; + for (_i624 = 0; _i624 < _size620; ++_i624) { - xfer += iprot->readString(this->group_names[_i618]); + xfer += iprot->readString(this->group_names[_i624]); } xfer += iprot->readListEnd(); } @@ -10682,10 +10682,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter619; - for (_iter619 = this->part_vals.begin(); _iter619 != this->part_vals.end(); ++_iter619) + std::vector ::const_iterator _iter625; + for (_iter625 = this->part_vals.begin(); _iter625 != this->part_vals.end(); ++_iter625) { - xfer += oprot->writeString((*_iter619)); + xfer += oprot->writeString((*_iter625)); } xfer += oprot->writeListEnd(); } @@ -10698,10 +10698,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter620; - for (_iter620 = this->group_names.begin(); _iter620 != this->group_names.end(); ++_iter620) + std::vector ::const_iterator _iter626; + for (_iter626 = this->group_names.begin(); _iter626 != this->group_names.end(); ++_iter626) { - xfer += oprot->writeString((*_iter620)); + xfer += oprot->writeString((*_iter626)); } xfer += oprot->writeListEnd(); } @@ -10727,10 +10727,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter621; - for (_iter621 = (*(this->part_vals)).begin(); _iter621 != (*(this->part_vals)).end(); ++_iter621) + std::vector ::const_iterator _iter627; + for (_iter627 = (*(this->part_vals)).begin(); _iter627 != (*(this->part_vals)).end(); ++_iter627) { - xfer += oprot->writeString((*_iter621)); + xfer += oprot->writeString((*_iter627)); } xfer += oprot->writeListEnd(); } @@ -10743,10 +10743,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter622; - for (_iter622 = (*(this->group_names)).begin(); _iter622 != (*(this->group_names)).end(); ++_iter622) + std::vector ::const_iterator _iter628; + for (_iter628 = (*(this->group_names)).begin(); _iter628 != (*(this->group_names)).end(); ++_iter628) { - xfer += oprot->writeString((*_iter622)); + xfer += oprot->writeString((*_iter628)); } xfer += oprot->writeListEnd(); } @@ -11249,14 +11249,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size623; - ::apache::thrift::protocol::TType _etype626; - xfer += iprot->readListBegin(_etype626, _size623); - this->success.resize(_size623); - uint32_t _i627; - for (_i627 = 0; _i627 < _size623; ++_i627) + uint32_t _size629; + ::apache::thrift::protocol::TType _etype632; + xfer += iprot->readListBegin(_etype632, _size629); + this->success.resize(_size629); + uint32_t _i633; + for (_i633 = 0; _i633 < _size629; ++_i633) { - xfer += this->success[_i627].read(iprot); + xfer += this->success[_i633].read(iprot); } xfer += iprot->readListEnd(); } @@ -11303,10 +11303,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter628; - for (_iter628 = this->success.begin(); _iter628 != this->success.end(); ++_iter628) + std::vector ::const_iterator _iter634; + for (_iter634 = this->success.begin(); _iter634 != this->success.end(); ++_iter634) { - xfer += (*_iter628).write(oprot); + xfer += (*_iter634).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11349,14 +11349,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size629; - ::apache::thrift::protocol::TType _etype632; - xfer += iprot->readListBegin(_etype632, _size629); - (*(this->success)).resize(_size629); - uint32_t _i633; - for (_i633 = 0; _i633 < _size629; ++_i633) + uint32_t _size635; + ::apache::thrift::protocol::TType _etype638; + xfer += iprot->readListBegin(_etype638, _size635); + (*(this->success)).resize(_size635); + uint32_t _i639; + for (_i639 = 0; _i639 < _size635; ++_i639) { - xfer += (*(this->success))[_i633].read(iprot); + xfer += (*(this->success))[_i639].read(iprot); } xfer += iprot->readListEnd(); } @@ -11449,14 +11449,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size634; - ::apache::thrift::protocol::TType _etype637; - xfer += iprot->readListBegin(_etype637, _size634); - this->group_names.resize(_size634); - uint32_t _i638; - for (_i638 = 0; _i638 < _size634; ++_i638) + uint32_t _size640; + ::apache::thrift::protocol::TType _etype643; + xfer += iprot->readListBegin(_etype643, _size640); + this->group_names.resize(_size640); + uint32_t _i644; + for (_i644 = 0; _i644 < _size640; ++_i644) { - xfer += iprot->readString(this->group_names[_i638]); + xfer += iprot->readString(this->group_names[_i644]); } xfer += iprot->readListEnd(); } @@ -11500,10 +11500,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter639; - for (_iter639 = this->group_names.begin(); _iter639 != this->group_names.end(); ++_iter639) + std::vector ::const_iterator _iter645; + for (_iter645 = this->group_names.begin(); _iter645 != this->group_names.end(); ++_iter645) { - xfer += oprot->writeString((*_iter639)); + xfer += oprot->writeString((*_iter645)); } xfer += oprot->writeListEnd(); } @@ -11537,10 +11537,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter640; - for (_iter640 = (*(this->group_names)).begin(); _iter640 != (*(this->group_names)).end(); ++_iter640) + std::vector ::const_iterator _iter646; + for (_iter646 = (*(this->group_names)).begin(); _iter646 != (*(this->group_names)).end(); ++_iter646) { - xfer += oprot->writeString((*_iter640)); + xfer += oprot->writeString((*_iter646)); } xfer += oprot->writeListEnd(); } @@ -11575,14 +11575,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size641; - ::apache::thrift::protocol::TType _etype644; - xfer += iprot->readListBegin(_etype644, _size641); - this->success.resize(_size641); - uint32_t _i645; - for (_i645 = 0; _i645 < _size641; ++_i645) + uint32_t _size647; + ::apache::thrift::protocol::TType _etype650; + xfer += iprot->readListBegin(_etype650, _size647); + this->success.resize(_size647); + uint32_t _i651; + for (_i651 = 0; _i651 < _size647; ++_i651) { - xfer += this->success[_i645].read(iprot); + xfer += this->success[_i651].read(iprot); } xfer += iprot->readListEnd(); } @@ -11629,10 +11629,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter646; - for (_iter646 = this->success.begin(); _iter646 != this->success.end(); ++_iter646) + std::vector ::const_iterator _iter652; + for (_iter652 = this->success.begin(); _iter652 != this->success.end(); ++_iter652) { - xfer += (*_iter646).write(oprot); + xfer += (*_iter652).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11675,14 +11675,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size647; - ::apache::thrift::protocol::TType _etype650; - xfer += iprot->readListBegin(_etype650, _size647); - (*(this->success)).resize(_size647); - uint32_t _i651; - for (_i651 = 0; _i651 < _size647; ++_i651) + uint32_t _size653; + ::apache::thrift::protocol::TType _etype656; + xfer += iprot->readListBegin(_etype656, _size653); + (*(this->success)).resize(_size653); + uint32_t _i657; + for (_i657 = 0; _i657 < _size653; ++_i657) { - xfer += (*(this->success))[_i651].read(iprot); + xfer += (*(this->success))[_i657].read(iprot); } xfer += iprot->readListEnd(); } @@ -11841,14 +11841,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size652; - ::apache::thrift::protocol::TType _etype655; - xfer += iprot->readListBegin(_etype655, _size652); - this->success.resize(_size652); - uint32_t _i656; - for (_i656 = 0; _i656 < _size652; ++_i656) + uint32_t _size658; + ::apache::thrift::protocol::TType _etype661; + xfer += iprot->readListBegin(_etype661, _size658); + this->success.resize(_size658); + uint32_t _i662; + for (_i662 = 0; _i662 < _size658; ++_i662) { - xfer += this->success[_i656].read(iprot); + xfer += this->success[_i662].read(iprot); } xfer += iprot->readListEnd(); } @@ -11895,10 +11895,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter657; - for (_iter657 = this->success.begin(); _iter657 != this->success.end(); ++_iter657) + std::vector ::const_iterator _iter663; + for (_iter663 = this->success.begin(); _iter663 != this->success.end(); ++_iter663) { - xfer += (*_iter657).write(oprot); + xfer += (*_iter663).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11941,14 +11941,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size658; - ::apache::thrift::protocol::TType _etype661; - xfer += iprot->readListBegin(_etype661, _size658); - (*(this->success)).resize(_size658); - uint32_t _i662; - for (_i662 = 0; _i662 < _size658; ++_i662) + uint32_t _size664; + ::apache::thrift::protocol::TType _etype667; + xfer += iprot->readListBegin(_etype667, _size664); + (*(this->success)).resize(_size664); + uint32_t _i668; + for (_i668 = 0; _i668 < _size664; ++_i668) { - xfer += (*(this->success))[_i662].read(iprot); + xfer += (*(this->success))[_i668].read(iprot); } xfer += iprot->readListEnd(); } @@ -12107,14 +12107,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size663; - ::apache::thrift::protocol::TType _etype666; - xfer += iprot->readListBegin(_etype666, _size663); - this->success.resize(_size663); - uint32_t _i667; - for (_i667 = 0; _i667 < _size663; ++_i667) + uint32_t _size669; + ::apache::thrift::protocol::TType _etype672; + xfer += iprot->readListBegin(_etype672, _size669); + this->success.resize(_size669); + uint32_t _i673; + for (_i673 = 0; _i673 < _size669; ++_i673) { - xfer += iprot->readString(this->success[_i667]); + xfer += iprot->readString(this->success[_i673]); } xfer += iprot->readListEnd(); } @@ -12153,10 +12153,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter668; - for (_iter668 = this->success.begin(); _iter668 != this->success.end(); ++_iter668) + std::vector ::const_iterator _iter674; + for (_iter674 = this->success.begin(); _iter674 != this->success.end(); ++_iter674) { - xfer += oprot->writeString((*_iter668)); + xfer += oprot->writeString((*_iter674)); } xfer += oprot->writeListEnd(); } @@ -12195,14 +12195,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size669; - ::apache::thrift::protocol::TType _etype672; - xfer += iprot->readListBegin(_etype672, _size669); - (*(this->success)).resize(_size669); - uint32_t _i673; - for (_i673 = 0; _i673 < _size669; ++_i673) + uint32_t _size675; + ::apache::thrift::protocol::TType _etype678; + xfer += iprot->readListBegin(_etype678, _size675); + (*(this->success)).resize(_size675); + uint32_t _i679; + for (_i679 = 0; _i679 < _size675; ++_i679) { - xfer += iprot->readString((*(this->success))[_i673]); + xfer += iprot->readString((*(this->success))[_i679]); } xfer += iprot->readListEnd(); } @@ -12271,14 +12271,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size674; - ::apache::thrift::protocol::TType _etype677; - xfer += iprot->readListBegin(_etype677, _size674); - this->part_vals.resize(_size674); - uint32_t _i678; - for (_i678 = 0; _i678 < _size674; ++_i678) + uint32_t _size680; + ::apache::thrift::protocol::TType _etype683; + xfer += iprot->readListBegin(_etype683, _size680); + this->part_vals.resize(_size680); + uint32_t _i684; + for (_i684 = 0; _i684 < _size680; ++_i684) { - xfer += iprot->readString(this->part_vals[_i678]); + xfer += iprot->readString(this->part_vals[_i684]); } xfer += iprot->readListEnd(); } @@ -12322,10 +12322,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter679; - for (_iter679 = this->part_vals.begin(); _iter679 != this->part_vals.end(); ++_iter679) + std::vector ::const_iterator _iter685; + for (_iter685 = this->part_vals.begin(); _iter685 != this->part_vals.end(); ++_iter685) { - xfer += oprot->writeString((*_iter679)); + xfer += oprot->writeString((*_iter685)); } xfer += oprot->writeListEnd(); } @@ -12355,10 +12355,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter680; - for (_iter680 = (*(this->part_vals)).begin(); _iter680 != (*(this->part_vals)).end(); ++_iter680) + std::vector ::const_iterator _iter686; + for (_iter686 = (*(this->part_vals)).begin(); _iter686 != (*(this->part_vals)).end(); ++_iter686) { - xfer += oprot->writeString((*_iter680)); + xfer += oprot->writeString((*_iter686)); } xfer += oprot->writeListEnd(); } @@ -12397,14 +12397,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size681; - ::apache::thrift::protocol::TType _etype684; - xfer += iprot->readListBegin(_etype684, _size681); - this->success.resize(_size681); - uint32_t _i685; - for (_i685 = 0; _i685 < _size681; ++_i685) + uint32_t _size687; + ::apache::thrift::protocol::TType _etype690; + xfer += iprot->readListBegin(_etype690, _size687); + this->success.resize(_size687); + uint32_t _i691; + for (_i691 = 0; _i691 < _size687; ++_i691) { - xfer += this->success[_i685].read(iprot); + xfer += this->success[_i691].read(iprot); } xfer += iprot->readListEnd(); } @@ -12451,10 +12451,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter686; - for (_iter686 = this->success.begin(); _iter686 != this->success.end(); ++_iter686) + std::vector ::const_iterator _iter692; + for (_iter692 = this->success.begin(); _iter692 != this->success.end(); ++_iter692) { - xfer += (*_iter686).write(oprot); + xfer += (*_iter692).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12497,14 +12497,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size687; - ::apache::thrift::protocol::TType _etype690; - xfer += iprot->readListBegin(_etype690, _size687); - (*(this->success)).resize(_size687); - uint32_t _i691; - for (_i691 = 0; _i691 < _size687; ++_i691) + uint32_t _size693; + ::apache::thrift::protocol::TType _etype696; + xfer += iprot->readListBegin(_etype696, _size693); + (*(this->success)).resize(_size693); + uint32_t _i697; + for (_i697 = 0; _i697 < _size693; ++_i697) { - xfer += (*(this->success))[_i691].read(iprot); + xfer += (*(this->success))[_i697].read(iprot); } xfer += iprot->readListEnd(); } @@ -12581,14 +12581,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size692; - ::apache::thrift::protocol::TType _etype695; - xfer += iprot->readListBegin(_etype695, _size692); - this->part_vals.resize(_size692); - uint32_t _i696; - for (_i696 = 0; _i696 < _size692; ++_i696) + uint32_t _size698; + ::apache::thrift::protocol::TType _etype701; + xfer += iprot->readListBegin(_etype701, _size698); + this->part_vals.resize(_size698); + uint32_t _i702; + for (_i702 = 0; _i702 < _size698; ++_i702) { - xfer += iprot->readString(this->part_vals[_i696]); + xfer += iprot->readString(this->part_vals[_i702]); } xfer += iprot->readListEnd(); } @@ -12617,14 +12617,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size697; - ::apache::thrift::protocol::TType _etype700; - xfer += iprot->readListBegin(_etype700, _size697); - this->group_names.resize(_size697); - uint32_t _i701; - for (_i701 = 0; _i701 < _size697; ++_i701) + uint32_t _size703; + ::apache::thrift::protocol::TType _etype706; + xfer += iprot->readListBegin(_etype706, _size703); + this->group_names.resize(_size703); + uint32_t _i707; + for (_i707 = 0; _i707 < _size703; ++_i707) { - xfer += iprot->readString(this->group_names[_i701]); + xfer += iprot->readString(this->group_names[_i707]); } xfer += iprot->readListEnd(); } @@ -12660,10 +12660,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter702; - for (_iter702 = this->part_vals.begin(); _iter702 != this->part_vals.end(); ++_iter702) + std::vector ::const_iterator _iter708; + for (_iter708 = this->part_vals.begin(); _iter708 != this->part_vals.end(); ++_iter708) { - xfer += oprot->writeString((*_iter702)); + xfer += oprot->writeString((*_iter708)); } xfer += oprot->writeListEnd(); } @@ -12680,10 +12680,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter703; - for (_iter703 = this->group_names.begin(); _iter703 != this->group_names.end(); ++_iter703) + std::vector ::const_iterator _iter709; + for (_iter709 = this->group_names.begin(); _iter709 != this->group_names.end(); ++_iter709) { - xfer += oprot->writeString((*_iter703)); + xfer += oprot->writeString((*_iter709)); } xfer += oprot->writeListEnd(); } @@ -12709,10 +12709,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter704; - for (_iter704 = (*(this->part_vals)).begin(); _iter704 != (*(this->part_vals)).end(); ++_iter704) + std::vector ::const_iterator _iter710; + for (_iter710 = (*(this->part_vals)).begin(); _iter710 != (*(this->part_vals)).end(); ++_iter710) { - xfer += oprot->writeString((*_iter704)); + xfer += oprot->writeString((*_iter710)); } xfer += oprot->writeListEnd(); } @@ -12729,10 +12729,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter705; - for (_iter705 = (*(this->group_names)).begin(); _iter705 != (*(this->group_names)).end(); ++_iter705) + std::vector ::const_iterator _iter711; + for (_iter711 = (*(this->group_names)).begin(); _iter711 != (*(this->group_names)).end(); ++_iter711) { - xfer += oprot->writeString((*_iter705)); + xfer += oprot->writeString((*_iter711)); } xfer += oprot->writeListEnd(); } @@ -12767,14 +12767,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size706; - ::apache::thrift::protocol::TType _etype709; - xfer += iprot->readListBegin(_etype709, _size706); - this->success.resize(_size706); - uint32_t _i710; - for (_i710 = 0; _i710 < _size706; ++_i710) + uint32_t _size712; + ::apache::thrift::protocol::TType _etype715; + xfer += iprot->readListBegin(_etype715, _size712); + this->success.resize(_size712); + uint32_t _i716; + for (_i716 = 0; _i716 < _size712; ++_i716) { - xfer += this->success[_i710].read(iprot); + xfer += this->success[_i716].read(iprot); } xfer += iprot->readListEnd(); } @@ -12821,10 +12821,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter711; - for (_iter711 = this->success.begin(); _iter711 != this->success.end(); ++_iter711) + std::vector ::const_iterator _iter717; + for (_iter717 = this->success.begin(); _iter717 != this->success.end(); ++_iter717) { - xfer += (*_iter711).write(oprot); + xfer += (*_iter717).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12867,14 +12867,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size712; - ::apache::thrift::protocol::TType _etype715; - xfer += iprot->readListBegin(_etype715, _size712); - (*(this->success)).resize(_size712); - uint32_t _i716; - for (_i716 = 0; _i716 < _size712; ++_i716) + uint32_t _size718; + ::apache::thrift::protocol::TType _etype721; + xfer += iprot->readListBegin(_etype721, _size718); + (*(this->success)).resize(_size718); + uint32_t _i722; + for (_i722 = 0; _i722 < _size718; ++_i722) { - xfer += (*(this->success))[_i716].read(iprot); + xfer += (*(this->success))[_i722].read(iprot); } xfer += iprot->readListEnd(); } @@ -12951,14 +12951,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size717; - ::apache::thrift::protocol::TType _etype720; - xfer += iprot->readListBegin(_etype720, _size717); - this->part_vals.resize(_size717); - uint32_t _i721; - for (_i721 = 0; _i721 < _size717; ++_i721) + uint32_t _size723; + ::apache::thrift::protocol::TType _etype726; + xfer += iprot->readListBegin(_etype726, _size723); + this->part_vals.resize(_size723); + uint32_t _i727; + for (_i727 = 0; _i727 < _size723; ++_i727) { - xfer += iprot->readString(this->part_vals[_i721]); + xfer += iprot->readString(this->part_vals[_i727]); } xfer += iprot->readListEnd(); } @@ -13002,10 +13002,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter722; - for (_iter722 = this->part_vals.begin(); _iter722 != this->part_vals.end(); ++_iter722) + std::vector ::const_iterator _iter728; + for (_iter728 = this->part_vals.begin(); _iter728 != this->part_vals.end(); ++_iter728) { - xfer += oprot->writeString((*_iter722)); + xfer += oprot->writeString((*_iter728)); } xfer += oprot->writeListEnd(); } @@ -13035,10 +13035,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter723; - for (_iter723 = (*(this->part_vals)).begin(); _iter723 != (*(this->part_vals)).end(); ++_iter723) + std::vector ::const_iterator _iter729; + for (_iter729 = (*(this->part_vals)).begin(); _iter729 != (*(this->part_vals)).end(); ++_iter729) { - xfer += oprot->writeString((*_iter723)); + xfer += oprot->writeString((*_iter729)); } xfer += oprot->writeListEnd(); } @@ -13077,14 +13077,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size724; - ::apache::thrift::protocol::TType _etype727; - xfer += iprot->readListBegin(_etype727, _size724); - this->success.resize(_size724); - uint32_t _i728; - for (_i728 = 0; _i728 < _size724; ++_i728) + uint32_t _size730; + ::apache::thrift::protocol::TType _etype733; + xfer += iprot->readListBegin(_etype733, _size730); + this->success.resize(_size730); + uint32_t _i734; + for (_i734 = 0; _i734 < _size730; ++_i734) { - xfer += iprot->readString(this->success[_i728]); + xfer += iprot->readString(this->success[_i734]); } xfer += iprot->readListEnd(); } @@ -13131,10 +13131,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter729; - for (_iter729 = this->success.begin(); _iter729 != this->success.end(); ++_iter729) + std::vector ::const_iterator _iter735; + for (_iter735 = this->success.begin(); _iter735 != this->success.end(); ++_iter735) { - xfer += oprot->writeString((*_iter729)); + xfer += oprot->writeString((*_iter735)); } xfer += oprot->writeListEnd(); } @@ -13177,14 +13177,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size730; - ::apache::thrift::protocol::TType _etype733; - xfer += iprot->readListBegin(_etype733, _size730); - (*(this->success)).resize(_size730); - uint32_t _i734; - for (_i734 = 0; _i734 < _size730; ++_i734) + uint32_t _size736; + ::apache::thrift::protocol::TType _etype739; + xfer += iprot->readListBegin(_etype739, _size736); + (*(this->success)).resize(_size736); + uint32_t _i740; + for (_i740 = 0; _i740 < _size736; ++_i740) { - xfer += iprot->readString((*(this->success))[_i734]); + xfer += iprot->readString((*(this->success))[_i740]); } xfer += iprot->readListEnd(); } @@ -13359,14 +13359,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size735; - ::apache::thrift::protocol::TType _etype738; - xfer += iprot->readListBegin(_etype738, _size735); - this->success.resize(_size735); - uint32_t _i739; - for (_i739 = 0; _i739 < _size735; ++_i739) + uint32_t _size741; + ::apache::thrift::protocol::TType _etype744; + xfer += iprot->readListBegin(_etype744, _size741); + this->success.resize(_size741); + uint32_t _i745; + for (_i745 = 0; _i745 < _size741; ++_i745) { - xfer += this->success[_i739].read(iprot); + xfer += this->success[_i745].read(iprot); } xfer += iprot->readListEnd(); } @@ -13413,10 +13413,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter740; - for (_iter740 = this->success.begin(); _iter740 != this->success.end(); ++_iter740) + std::vector ::const_iterator _iter746; + for (_iter746 = this->success.begin(); _iter746 != this->success.end(); ++_iter746) { - xfer += (*_iter740).write(oprot); + xfer += (*_iter746).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13459,14 +13459,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size741; - ::apache::thrift::protocol::TType _etype744; - xfer += iprot->readListBegin(_etype744, _size741); - (*(this->success)).resize(_size741); - uint32_t _i745; - for (_i745 = 0; _i745 < _size741; ++_i745) + uint32_t _size747; + ::apache::thrift::protocol::TType _etype750; + xfer += iprot->readListBegin(_etype750, _size747); + (*(this->success)).resize(_size747); + uint32_t _i751; + for (_i751 = 0; _i751 < _size747; ++_i751) { - xfer += (*(this->success))[_i745].read(iprot); + xfer += (*(this->success))[_i751].read(iprot); } xfer += iprot->readListEnd(); } @@ -13641,14 +13641,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size746; - ::apache::thrift::protocol::TType _etype749; - xfer += iprot->readListBegin(_etype749, _size746); - this->success.resize(_size746); - uint32_t _i750; - for (_i750 = 0; _i750 < _size746; ++_i750) + uint32_t _size752; + ::apache::thrift::protocol::TType _etype755; + xfer += iprot->readListBegin(_etype755, _size752); + this->success.resize(_size752); + uint32_t _i756; + for (_i756 = 0; _i756 < _size752; ++_i756) { - xfer += this->success[_i750].read(iprot); + xfer += this->success[_i756].read(iprot); } xfer += iprot->readListEnd(); } @@ -13695,10 +13695,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter751; - for (_iter751 = this->success.begin(); _iter751 != this->success.end(); ++_iter751) + std::vector ::const_iterator _iter757; + for (_iter757 = this->success.begin(); _iter757 != this->success.end(); ++_iter757) { - xfer += (*_iter751).write(oprot); + xfer += (*_iter757).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13741,14 +13741,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size752; - ::apache::thrift::protocol::TType _etype755; - xfer += iprot->readListBegin(_etype755, _size752); - (*(this->success)).resize(_size752); - uint32_t _i756; - for (_i756 = 0; _i756 < _size752; ++_i756) + uint32_t _size758; + ::apache::thrift::protocol::TType _etype761; + xfer += iprot->readListBegin(_etype761, _size758); + (*(this->success)).resize(_size758); + uint32_t _i762; + for (_i762 = 0; _i762 < _size758; ++_i762) { - xfer += (*(this->success))[_i756].read(iprot); + xfer += (*(this->success))[_i762].read(iprot); } xfer += iprot->readListEnd(); } @@ -14027,14 +14027,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size757; - ::apache::thrift::protocol::TType _etype760; - xfer += iprot->readListBegin(_etype760, _size757); - this->names.resize(_size757); - uint32_t _i761; - for (_i761 = 0; _i761 < _size757; ++_i761) + uint32_t _size763; + ::apache::thrift::protocol::TType _etype766; + xfer += iprot->readListBegin(_etype766, _size763); + this->names.resize(_size763); + uint32_t _i767; + for (_i767 = 0; _i767 < _size763; ++_i767) { - xfer += iprot->readString(this->names[_i761]); + xfer += iprot->readString(this->names[_i767]); } xfer += iprot->readListEnd(); } @@ -14070,10 +14070,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter762; - for (_iter762 = this->names.begin(); _iter762 != this->names.end(); ++_iter762) + std::vector ::const_iterator _iter768; + for (_iter768 = this->names.begin(); _iter768 != this->names.end(); ++_iter768) { - xfer += oprot->writeString((*_iter762)); + xfer += oprot->writeString((*_iter768)); } xfer += oprot->writeListEnd(); } @@ -14099,10 +14099,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter763; - for (_iter763 = (*(this->names)).begin(); _iter763 != (*(this->names)).end(); ++_iter763) + std::vector ::const_iterator _iter769; + for (_iter769 = (*(this->names)).begin(); _iter769 != (*(this->names)).end(); ++_iter769) { - xfer += oprot->writeString((*_iter763)); + xfer += oprot->writeString((*_iter769)); } xfer += oprot->writeListEnd(); } @@ -14137,14 +14137,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size764; - ::apache::thrift::protocol::TType _etype767; - xfer += iprot->readListBegin(_etype767, _size764); - this->success.resize(_size764); - uint32_t _i768; - for (_i768 = 0; _i768 < _size764; ++_i768) + uint32_t _size770; + ::apache::thrift::protocol::TType _etype773; + xfer += iprot->readListBegin(_etype773, _size770); + this->success.resize(_size770); + uint32_t _i774; + for (_i774 = 0; _i774 < _size770; ++_i774) { - xfer += this->success[_i768].read(iprot); + xfer += this->success[_i774].read(iprot); } xfer += iprot->readListEnd(); } @@ -14191,10 +14191,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter769; - for (_iter769 = this->success.begin(); _iter769 != this->success.end(); ++_iter769) + std::vector ::const_iterator _iter775; + for (_iter775 = this->success.begin(); _iter775 != this->success.end(); ++_iter775) { - xfer += (*_iter769).write(oprot); + xfer += (*_iter775).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14237,14 +14237,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size770; - ::apache::thrift::protocol::TType _etype773; - xfer += iprot->readListBegin(_etype773, _size770); - (*(this->success)).resize(_size770); - uint32_t _i774; - for (_i774 = 0; _i774 < _size770; ++_i774) + uint32_t _size776; + ::apache::thrift::protocol::TType _etype779; + xfer += iprot->readListBegin(_etype779, _size776); + (*(this->success)).resize(_size776); + uint32_t _i780; + for (_i780 = 0; _i780 < _size776; ++_i780) { - xfer += (*(this->success))[_i774].read(iprot); + xfer += (*(this->success))[_i780].read(iprot); } xfer += iprot->readListEnd(); } @@ -14535,14 +14535,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size775; - ::apache::thrift::protocol::TType _etype778; - xfer += iprot->readListBegin(_etype778, _size775); - this->new_parts.resize(_size775); - uint32_t _i779; - for (_i779 = 0; _i779 < _size775; ++_i779) + uint32_t _size781; + ::apache::thrift::protocol::TType _etype784; + xfer += iprot->readListBegin(_etype784, _size781); + this->new_parts.resize(_size781); + uint32_t _i785; + for (_i785 = 0; _i785 < _size781; ++_i785) { - xfer += this->new_parts[_i779].read(iprot); + xfer += this->new_parts[_i785].read(iprot); } xfer += iprot->readListEnd(); } @@ -14578,10 +14578,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter780; - for (_iter780 = this->new_parts.begin(); _iter780 != this->new_parts.end(); ++_iter780) + std::vector ::const_iterator _iter786; + for (_iter786 = this->new_parts.begin(); _iter786 != this->new_parts.end(); ++_iter786) { - xfer += (*_iter780).write(oprot); + xfer += (*_iter786).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14607,10 +14607,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter781; - for (_iter781 = (*(this->new_parts)).begin(); _iter781 != (*(this->new_parts)).end(); ++_iter781) + std::vector ::const_iterator _iter787; + for (_iter787 = (*(this->new_parts)).begin(); _iter787 != (*(this->new_parts)).end(); ++_iter787) { - xfer += (*_iter781).write(oprot); + xfer += (*_iter787).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15007,14 +15007,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size782; - ::apache::thrift::protocol::TType _etype785; - xfer += iprot->readListBegin(_etype785, _size782); - this->part_vals.resize(_size782); - uint32_t _i786; - for (_i786 = 0; _i786 < _size782; ++_i786) + uint32_t _size788; + ::apache::thrift::protocol::TType _etype791; + xfer += iprot->readListBegin(_etype791, _size788); + this->part_vals.resize(_size788); + uint32_t _i792; + for (_i792 = 0; _i792 < _size788; ++_i792) { - xfer += iprot->readString(this->part_vals[_i786]); + xfer += iprot->readString(this->part_vals[_i792]); } xfer += iprot->readListEnd(); } @@ -15058,10 +15058,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter787; - for (_iter787 = this->part_vals.begin(); _iter787 != this->part_vals.end(); ++_iter787) + std::vector ::const_iterator _iter793; + for (_iter793 = this->part_vals.begin(); _iter793 != this->part_vals.end(); ++_iter793) { - xfer += oprot->writeString((*_iter787)); + xfer += oprot->writeString((*_iter793)); } xfer += oprot->writeListEnd(); } @@ -15091,10 +15091,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter788; - for (_iter788 = (*(this->part_vals)).begin(); _iter788 != (*(this->part_vals)).end(); ++_iter788) + std::vector ::const_iterator _iter794; + for (_iter794 = (*(this->part_vals)).begin(); _iter794 != (*(this->part_vals)).end(); ++_iter794) { - xfer += oprot->writeString((*_iter788)); + xfer += oprot->writeString((*_iter794)); } xfer += oprot->writeListEnd(); } @@ -15249,14 +15249,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size789; - ::apache::thrift::protocol::TType _etype792; - xfer += iprot->readListBegin(_etype792, _size789); - this->part_vals.resize(_size789); - uint32_t _i793; - for (_i793 = 0; _i793 < _size789; ++_i793) + uint32_t _size795; + ::apache::thrift::protocol::TType _etype798; + xfer += iprot->readListBegin(_etype798, _size795); + this->part_vals.resize(_size795); + uint32_t _i799; + for (_i799 = 0; _i799 < _size795; ++_i799) { - xfer += iprot->readString(this->part_vals[_i793]); + xfer += iprot->readString(this->part_vals[_i799]); } xfer += iprot->readListEnd(); } @@ -15292,10 +15292,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter794; - for (_iter794 = this->part_vals.begin(); _iter794 != this->part_vals.end(); ++_iter794) + std::vector ::const_iterator _iter800; + for (_iter800 = this->part_vals.begin(); _iter800 != this->part_vals.end(); ++_iter800) { - xfer += oprot->writeString((*_iter794)); + xfer += oprot->writeString((*_iter800)); } xfer += oprot->writeListEnd(); } @@ -15317,10 +15317,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter795; - for (_iter795 = (*(this->part_vals)).begin(); _iter795 != (*(this->part_vals)).end(); ++_iter795) + std::vector ::const_iterator _iter801; + for (_iter801 = (*(this->part_vals)).begin(); _iter801 != (*(this->part_vals)).end(); ++_iter801) { - xfer += oprot->writeString((*_iter795)); + xfer += oprot->writeString((*_iter801)); } xfer += oprot->writeListEnd(); } @@ -15739,14 +15739,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size796; - ::apache::thrift::protocol::TType _etype799; - xfer += iprot->readListBegin(_etype799, _size796); - this->success.resize(_size796); - uint32_t _i800; - for (_i800 = 0; _i800 < _size796; ++_i800) + uint32_t _size802; + ::apache::thrift::protocol::TType _etype805; + xfer += iprot->readListBegin(_etype805, _size802); + this->success.resize(_size802); + uint32_t _i806; + for (_i806 = 0; _i806 < _size802; ++_i806) { - xfer += iprot->readString(this->success[_i800]); + xfer += iprot->readString(this->success[_i806]); } xfer += iprot->readListEnd(); } @@ -15785,10 +15785,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter801; - for (_iter801 = this->success.begin(); _iter801 != this->success.end(); ++_iter801) + std::vector ::const_iterator _iter807; + for (_iter807 = this->success.begin(); _iter807 != this->success.end(); ++_iter807) { - xfer += oprot->writeString((*_iter801)); + xfer += oprot->writeString((*_iter807)); } xfer += oprot->writeListEnd(); } @@ -15827,14 +15827,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size802; - ::apache::thrift::protocol::TType _etype805; - xfer += iprot->readListBegin(_etype805, _size802); - (*(this->success)).resize(_size802); - uint32_t _i806; - for (_i806 = 0; _i806 < _size802; ++_i806) + uint32_t _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + (*(this->success)).resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += iprot->readString((*(this->success))[_i806]); + xfer += iprot->readString((*(this->success))[_i812]); } xfer += iprot->readListEnd(); } @@ -15953,17 +15953,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size807; - ::apache::thrift::protocol::TType _ktype808; - ::apache::thrift::protocol::TType _vtype809; - xfer += iprot->readMapBegin(_ktype808, _vtype809, _size807); - uint32_t _i811; - for (_i811 = 0; _i811 < _size807; ++_i811) + uint32_t _size813; + ::apache::thrift::protocol::TType _ktype814; + ::apache::thrift::protocol::TType _vtype815; + xfer += iprot->readMapBegin(_ktype814, _vtype815, _size813); + uint32_t _i817; + for (_i817 = 0; _i817 < _size813; ++_i817) { - std::string _key812; - xfer += iprot->readString(_key812); - std::string& _val813 = this->success[_key812]; - xfer += iprot->readString(_val813); + std::string _key818; + xfer += iprot->readString(_key818); + std::string& _val819 = this->success[_key818]; + xfer += iprot->readString(_val819); } xfer += iprot->readMapEnd(); } @@ -16002,11 +16002,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter814; - for (_iter814 = this->success.begin(); _iter814 != this->success.end(); ++_iter814) + std::map ::const_iterator _iter820; + for (_iter820 = this->success.begin(); _iter820 != this->success.end(); ++_iter820) { - xfer += oprot->writeString(_iter814->first); - xfer += oprot->writeString(_iter814->second); + xfer += oprot->writeString(_iter820->first); + xfer += oprot->writeString(_iter820->second); } xfer += oprot->writeMapEnd(); } @@ -16045,17 +16045,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size815; - ::apache::thrift::protocol::TType _ktype816; - ::apache::thrift::protocol::TType _vtype817; - xfer += iprot->readMapBegin(_ktype816, _vtype817, _size815); - uint32_t _i819; - for (_i819 = 0; _i819 < _size815; ++_i819) + uint32_t _size821; + ::apache::thrift::protocol::TType _ktype822; + ::apache::thrift::protocol::TType _vtype823; + xfer += iprot->readMapBegin(_ktype822, _vtype823, _size821); + uint32_t _i825; + for (_i825 = 0; _i825 < _size821; ++_i825) { - std::string _key820; - xfer += iprot->readString(_key820); - std::string& _val821 = (*(this->success))[_key820]; - xfer += iprot->readString(_val821); + std::string _key826; + xfer += iprot->readString(_key826); + std::string& _val827 = (*(this->success))[_key826]; + xfer += iprot->readString(_val827); } xfer += iprot->readMapEnd(); } @@ -16124,17 +16124,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size822; - ::apache::thrift::protocol::TType _ktype823; - ::apache::thrift::protocol::TType _vtype824; - xfer += iprot->readMapBegin(_ktype823, _vtype824, _size822); - uint32_t _i826; - for (_i826 = 0; _i826 < _size822; ++_i826) + uint32_t _size828; + ::apache::thrift::protocol::TType _ktype829; + ::apache::thrift::protocol::TType _vtype830; + xfer += iprot->readMapBegin(_ktype829, _vtype830, _size828); + uint32_t _i832; + for (_i832 = 0; _i832 < _size828; ++_i832) { - std::string _key827; - xfer += iprot->readString(_key827); - std::string& _val828 = this->part_vals[_key827]; - xfer += iprot->readString(_val828); + std::string _key833; + xfer += iprot->readString(_key833); + std::string& _val834 = this->part_vals[_key833]; + xfer += iprot->readString(_val834); } xfer += iprot->readMapEnd(); } @@ -16145,9 +16145,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast829; - xfer += iprot->readI32(ecast829); - this->eventType = (PartitionEventType::type)ecast829; + int32_t ecast835; + xfer += iprot->readI32(ecast835); + this->eventType = (PartitionEventType::type)ecast835; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -16180,11 +16180,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter830; - for (_iter830 = this->part_vals.begin(); _iter830 != this->part_vals.end(); ++_iter830) + std::map ::const_iterator _iter836; + for (_iter836 = this->part_vals.begin(); _iter836 != this->part_vals.end(); ++_iter836) { - xfer += oprot->writeString(_iter830->first); - xfer += oprot->writeString(_iter830->second); + xfer += oprot->writeString(_iter836->first); + xfer += oprot->writeString(_iter836->second); } xfer += oprot->writeMapEnd(); } @@ -16214,11 +16214,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter831; - for (_iter831 = (*(this->part_vals)).begin(); _iter831 != (*(this->part_vals)).end(); ++_iter831) + std::map ::const_iterator _iter837; + for (_iter837 = (*(this->part_vals)).begin(); _iter837 != (*(this->part_vals)).end(); ++_iter837) { - xfer += oprot->writeString(_iter831->first); - xfer += oprot->writeString(_iter831->second); + xfer += oprot->writeString(_iter837->first); + xfer += oprot->writeString(_iter837->second); } xfer += oprot->writeMapEnd(); } @@ -16469,17 +16469,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size832; - ::apache::thrift::protocol::TType _ktype833; - ::apache::thrift::protocol::TType _vtype834; - xfer += iprot->readMapBegin(_ktype833, _vtype834, _size832); - uint32_t _i836; - for (_i836 = 0; _i836 < _size832; ++_i836) + uint32_t _size838; + ::apache::thrift::protocol::TType _ktype839; + ::apache::thrift::protocol::TType _vtype840; + xfer += iprot->readMapBegin(_ktype839, _vtype840, _size838); + uint32_t _i842; + for (_i842 = 0; _i842 < _size838; ++_i842) { - std::string _key837; - xfer += iprot->readString(_key837); - std::string& _val838 = this->part_vals[_key837]; - xfer += iprot->readString(_val838); + std::string _key843; + xfer += iprot->readString(_key843); + std::string& _val844 = this->part_vals[_key843]; + xfer += iprot->readString(_val844); } xfer += iprot->readMapEnd(); } @@ -16490,9 +16490,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast839; - xfer += iprot->readI32(ecast839); - this->eventType = (PartitionEventType::type)ecast839; + int32_t ecast845; + xfer += iprot->readI32(ecast845); + this->eventType = (PartitionEventType::type)ecast845; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -16525,11 +16525,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter840; - for (_iter840 = this->part_vals.begin(); _iter840 != this->part_vals.end(); ++_iter840) + std::map ::const_iterator _iter846; + for (_iter846 = this->part_vals.begin(); _iter846 != this->part_vals.end(); ++_iter846) { - xfer += oprot->writeString(_iter840->first); - xfer += oprot->writeString(_iter840->second); + xfer += oprot->writeString(_iter846->first); + xfer += oprot->writeString(_iter846->second); } xfer += oprot->writeMapEnd(); } @@ -16559,11 +16559,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter841; - for (_iter841 = (*(this->part_vals)).begin(); _iter841 != (*(this->part_vals)).end(); ++_iter841) + std::map ::const_iterator _iter847; + for (_iter847 = (*(this->part_vals)).begin(); _iter847 != (*(this->part_vals)).end(); ++_iter847) { - xfer += oprot->writeString(_iter841->first); - xfer += oprot->writeString(_iter841->second); + xfer += oprot->writeString(_iter847->first); + xfer += oprot->writeString(_iter847->second); } xfer += oprot->writeMapEnd(); } @@ -17868,14 +17868,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size842; - ::apache::thrift::protocol::TType _etype845; - xfer += iprot->readListBegin(_etype845, _size842); - this->success.resize(_size842); - uint32_t _i846; - for (_i846 = 0; _i846 < _size842; ++_i846) + uint32_t _size848; + ::apache::thrift::protocol::TType _etype851; + xfer += iprot->readListBegin(_etype851, _size848); + this->success.resize(_size848); + uint32_t _i852; + for (_i852 = 0; _i852 < _size848; ++_i852) { - xfer += this->success[_i846].read(iprot); + xfer += this->success[_i852].read(iprot); } xfer += iprot->readListEnd(); } @@ -17922,10 +17922,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter847; - for (_iter847 = this->success.begin(); _iter847 != this->success.end(); ++_iter847) + std::vector ::const_iterator _iter853; + for (_iter853 = this->success.begin(); _iter853 != this->success.end(); ++_iter853) { - xfer += (*_iter847).write(oprot); + xfer += (*_iter853).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17968,14 +17968,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size848; - ::apache::thrift::protocol::TType _etype851; - xfer += iprot->readListBegin(_etype851, _size848); - (*(this->success)).resize(_size848); - uint32_t _i852; - for (_i852 = 0; _i852 < _size848; ++_i852) + uint32_t _size854; + ::apache::thrift::protocol::TType _etype857; + xfer += iprot->readListBegin(_etype857, _size854); + (*(this->success)).resize(_size854); + uint32_t _i858; + for (_i858 = 0; _i858 < _size854; ++_i858) { - xfer += (*(this->success))[_i852].read(iprot); + xfer += (*(this->success))[_i858].read(iprot); } xfer += iprot->readListEnd(); } @@ -18134,14 +18134,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size853; - ::apache::thrift::protocol::TType _etype856; - xfer += iprot->readListBegin(_etype856, _size853); - this->success.resize(_size853); - uint32_t _i857; - for (_i857 = 0; _i857 < _size853; ++_i857) + uint32_t _size859; + ::apache::thrift::protocol::TType _etype862; + xfer += iprot->readListBegin(_etype862, _size859); + this->success.resize(_size859); + uint32_t _i863; + for (_i863 = 0; _i863 < _size859; ++_i863) { - xfer += iprot->readString(this->success[_i857]); + xfer += iprot->readString(this->success[_i863]); } xfer += iprot->readListEnd(); } @@ -18180,10 +18180,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter858; - for (_iter858 = this->success.begin(); _iter858 != this->success.end(); ++_iter858) + std::vector ::const_iterator _iter864; + for (_iter864 = this->success.begin(); _iter864 != this->success.end(); ++_iter864) { - xfer += oprot->writeString((*_iter858)); + xfer += oprot->writeString((*_iter864)); } xfer += oprot->writeListEnd(); } @@ -18222,14 +18222,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size859; - ::apache::thrift::protocol::TType _etype862; - xfer += iprot->readListBegin(_etype862, _size859); - (*(this->success)).resize(_size859); - uint32_t _i863; - for (_i863 = 0; _i863 < _size859; ++_i863) + uint32_t _size865; + ::apache::thrift::protocol::TType _etype868; + xfer += iprot->readListBegin(_etype868, _size865); + (*(this->success)).resize(_size865); + uint32_t _i869; + for (_i869 = 0; _i869 < _size865; ++_i869) { - xfer += iprot->readString((*(this->success))[_i863]); + xfer += iprot->readString((*(this->success))[_i869]); } xfer += iprot->readListEnd(); } @@ -21458,14 +21458,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size864; - ::apache::thrift::protocol::TType _etype867; - xfer += iprot->readListBegin(_etype867, _size864); - this->success.resize(_size864); - uint32_t _i868; - for (_i868 = 0; _i868 < _size864; ++_i868) + uint32_t _size870; + ::apache::thrift::protocol::TType _etype873; + xfer += iprot->readListBegin(_etype873, _size870); + this->success.resize(_size870); + uint32_t _i874; + for (_i874 = 0; _i874 < _size870; ++_i874) { - xfer += iprot->readString(this->success[_i868]); + xfer += iprot->readString(this->success[_i874]); } xfer += iprot->readListEnd(); } @@ -21504,10 +21504,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter869; - for (_iter869 = this->success.begin(); _iter869 != this->success.end(); ++_iter869) + std::vector ::const_iterator _iter875; + for (_iter875 = this->success.begin(); _iter875 != this->success.end(); ++_iter875) { - xfer += oprot->writeString((*_iter869)); + xfer += oprot->writeString((*_iter875)); } xfer += oprot->writeListEnd(); } @@ -21546,14 +21546,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size870; - ::apache::thrift::protocol::TType _etype873; - xfer += iprot->readListBegin(_etype873, _size870); - (*(this->success)).resize(_size870); - uint32_t _i874; - for (_i874 = 0; _i874 < _size870; ++_i874) + uint32_t _size876; + ::apache::thrift::protocol::TType _etype879; + xfer += iprot->readListBegin(_etype879, _size876); + (*(this->success)).resize(_size876); + uint32_t _i880; + for (_i880 = 0; _i880 < _size876; ++_i880) { - xfer += iprot->readString((*(this->success))[_i874]); + xfer += iprot->readString((*(this->success))[_i880]); } xfer += iprot->readListEnd(); } @@ -22233,14 +22233,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size875; - ::apache::thrift::protocol::TType _etype878; - xfer += iprot->readListBegin(_etype878, _size875); - this->success.resize(_size875); - uint32_t _i879; - for (_i879 = 0; _i879 < _size875; ++_i879) + uint32_t _size881; + ::apache::thrift::protocol::TType _etype884; + xfer += iprot->readListBegin(_etype884, _size881); + this->success.resize(_size881); + uint32_t _i885; + for (_i885 = 0; _i885 < _size881; ++_i885) { - xfer += iprot->readString(this->success[_i879]); + xfer += iprot->readString(this->success[_i885]); } xfer += iprot->readListEnd(); } @@ -22279,10 +22279,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter880; - for (_iter880 = this->success.begin(); _iter880 != this->success.end(); ++_iter880) + std::vector ::const_iterator _iter886; + for (_iter886 = this->success.begin(); _iter886 != this->success.end(); ++_iter886) { - xfer += oprot->writeString((*_iter880)); + xfer += oprot->writeString((*_iter886)); } xfer += oprot->writeListEnd(); } @@ -22321,14 +22321,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size881; - ::apache::thrift::protocol::TType _etype884; - xfer += iprot->readListBegin(_etype884, _size881); - (*(this->success)).resize(_size881); - uint32_t _i885; - for (_i885 = 0; _i885 < _size881; ++_i885) + uint32_t _size887; + ::apache::thrift::protocol::TType _etype890; + xfer += iprot->readListBegin(_etype890, _size887); + (*(this->success)).resize(_size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) { - xfer += iprot->readString((*(this->success))[_i885]); + xfer += iprot->readString((*(this->success))[_i891]); } xfer += iprot->readListEnd(); } @@ -22395,9 +22395,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast886; - xfer += iprot->readI32(ecast886); - this->principal_type = (PrincipalType::type)ecast886; + int32_t ecast892; + xfer += iprot->readI32(ecast892); + this->principal_type = (PrincipalType::type)ecast892; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22413,9 +22413,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast887; - xfer += iprot->readI32(ecast887); - this->grantorType = (PrincipalType::type)ecast887; + int32_t ecast893; + xfer += iprot->readI32(ecast893); + this->grantorType = (PrincipalType::type)ecast893; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -22661,9 +22661,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast888; - xfer += iprot->readI32(ecast888); - this->principal_type = (PrincipalType::type)ecast888; + int32_t ecast894; + xfer += iprot->readI32(ecast894); + this->principal_type = (PrincipalType::type)ecast894; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22869,9 +22869,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast889; - xfer += iprot->readI32(ecast889); - this->principal_type = (PrincipalType::type)ecast889; + int32_t ecast895; + xfer += iprot->readI32(ecast895); + this->principal_type = (PrincipalType::type)ecast895; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22947,14 +22947,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size890; - ::apache::thrift::protocol::TType _etype893; - xfer += iprot->readListBegin(_etype893, _size890); - this->success.resize(_size890); - uint32_t _i894; - for (_i894 = 0; _i894 < _size890; ++_i894) + uint32_t _size896; + ::apache::thrift::protocol::TType _etype899; + xfer += iprot->readListBegin(_etype899, _size896); + this->success.resize(_size896); + uint32_t _i900; + for (_i900 = 0; _i900 < _size896; ++_i900) { - xfer += this->success[_i894].read(iprot); + xfer += this->success[_i900].read(iprot); } xfer += iprot->readListEnd(); } @@ -22993,10 +22993,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter895; - for (_iter895 = this->success.begin(); _iter895 != this->success.end(); ++_iter895) + std::vector ::const_iterator _iter901; + for (_iter901 = this->success.begin(); _iter901 != this->success.end(); ++_iter901) { - xfer += (*_iter895).write(oprot); + xfer += (*_iter901).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23035,14 +23035,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size896; - ::apache::thrift::protocol::TType _etype899; - xfer += iprot->readListBegin(_etype899, _size896); - (*(this->success)).resize(_size896); - uint32_t _i900; - for (_i900 = 0; _i900 < _size896; ++_i900) + uint32_t _size902; + ::apache::thrift::protocol::TType _etype905; + xfer += iprot->readListBegin(_etype905, _size902); + (*(this->success)).resize(_size902); + uint32_t _i906; + for (_i906 = 0; _i906 < _size902; ++_i906) { - xfer += (*(this->success))[_i900].read(iprot); + xfer += (*(this->success))[_i906].read(iprot); } xfer += iprot->readListEnd(); } @@ -23657,14 +23657,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size901; - ::apache::thrift::protocol::TType _etype904; - xfer += iprot->readListBegin(_etype904, _size901); - this->group_names.resize(_size901); - uint32_t _i905; - for (_i905 = 0; _i905 < _size901; ++_i905) + uint32_t _size907; + ::apache::thrift::protocol::TType _etype910; + xfer += iprot->readListBegin(_etype910, _size907); + this->group_names.resize(_size907); + uint32_t _i911; + for (_i911 = 0; _i911 < _size907; ++_i911) { - xfer += iprot->readString(this->group_names[_i905]); + xfer += iprot->readString(this->group_names[_i911]); } xfer += iprot->readListEnd(); } @@ -23700,10 +23700,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter906; - for (_iter906 = this->group_names.begin(); _iter906 != this->group_names.end(); ++_iter906) + std::vector ::const_iterator _iter912; + for (_iter912 = this->group_names.begin(); _iter912 != this->group_names.end(); ++_iter912) { - xfer += oprot->writeString((*_iter906)); + xfer += oprot->writeString((*_iter912)); } xfer += oprot->writeListEnd(); } @@ -23729,10 +23729,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter907; - for (_iter907 = (*(this->group_names)).begin(); _iter907 != (*(this->group_names)).end(); ++_iter907) + std::vector ::const_iterator _iter913; + for (_iter913 = (*(this->group_names)).begin(); _iter913 != (*(this->group_names)).end(); ++_iter913) { - xfer += oprot->writeString((*_iter907)); + xfer += oprot->writeString((*_iter913)); } xfer += oprot->writeListEnd(); } @@ -23889,9 +23889,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast908; - xfer += iprot->readI32(ecast908); - this->principal_type = (PrincipalType::type)ecast908; + int32_t ecast914; + xfer += iprot->readI32(ecast914); + this->principal_type = (PrincipalType::type)ecast914; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -23983,14 +23983,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size909; - ::apache::thrift::protocol::TType _etype912; - xfer += iprot->readListBegin(_etype912, _size909); - this->success.resize(_size909); - uint32_t _i913; - for (_i913 = 0; _i913 < _size909; ++_i913) + uint32_t _size915; + ::apache::thrift::protocol::TType _etype918; + xfer += iprot->readListBegin(_etype918, _size915); + this->success.resize(_size915); + uint32_t _i919; + for (_i919 = 0; _i919 < _size915; ++_i919) { - xfer += this->success[_i913].read(iprot); + xfer += this->success[_i919].read(iprot); } xfer += iprot->readListEnd(); } @@ -24029,10 +24029,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter914; - for (_iter914 = this->success.begin(); _iter914 != this->success.end(); ++_iter914) + std::vector ::const_iterator _iter920; + for (_iter920 = this->success.begin(); _iter920 != this->success.end(); ++_iter920) { - xfer += (*_iter914).write(oprot); + xfer += (*_iter920).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24071,14 +24071,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size915; - ::apache::thrift::protocol::TType _etype918; - xfer += iprot->readListBegin(_etype918, _size915); - (*(this->success)).resize(_size915); - uint32_t _i919; - for (_i919 = 0; _i919 < _size915; ++_i919) + uint32_t _size921; + ::apache::thrift::protocol::TType _etype924; + xfer += iprot->readListBegin(_etype924, _size921); + (*(this->success)).resize(_size921); + uint32_t _i925; + for (_i925 = 0; _i925 < _size921; ++_i925) { - xfer += (*(this->success))[_i919].read(iprot); + xfer += (*(this->success))[_i925].read(iprot); } xfer += iprot->readListEnd(); } @@ -24685,14 +24685,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size920; - ::apache::thrift::protocol::TType _etype923; - xfer += iprot->readListBegin(_etype923, _size920); - this->group_names.resize(_size920); - uint32_t _i924; - for (_i924 = 0; _i924 < _size920; ++_i924) + uint32_t _size926; + ::apache::thrift::protocol::TType _etype929; + xfer += iprot->readListBegin(_etype929, _size926); + this->group_names.resize(_size926); + uint32_t _i930; + for (_i930 = 0; _i930 < _size926; ++_i930) { - xfer += iprot->readString(this->group_names[_i924]); + xfer += iprot->readString(this->group_names[_i930]); } xfer += iprot->readListEnd(); } @@ -24724,10 +24724,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter925; - for (_iter925 = this->group_names.begin(); _iter925 != this->group_names.end(); ++_iter925) + std::vector ::const_iterator _iter931; + for (_iter931 = this->group_names.begin(); _iter931 != this->group_names.end(); ++_iter931) { - xfer += oprot->writeString((*_iter925)); + xfer += oprot->writeString((*_iter931)); } xfer += oprot->writeListEnd(); } @@ -24749,10 +24749,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter926; - for (_iter926 = (*(this->group_names)).begin(); _iter926 != (*(this->group_names)).end(); ++_iter926) + std::vector ::const_iterator _iter932; + for (_iter932 = (*(this->group_names)).begin(); _iter932 != (*(this->group_names)).end(); ++_iter932) { - xfer += oprot->writeString((*_iter926)); + xfer += oprot->writeString((*_iter932)); } xfer += oprot->writeListEnd(); } @@ -24787,14 +24787,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size927; - ::apache::thrift::protocol::TType _etype930; - xfer += iprot->readListBegin(_etype930, _size927); - this->success.resize(_size927); - uint32_t _i931; - for (_i931 = 0; _i931 < _size927; ++_i931) + uint32_t _size933; + ::apache::thrift::protocol::TType _etype936; + xfer += iprot->readListBegin(_etype936, _size933); + this->success.resize(_size933); + uint32_t _i937; + for (_i937 = 0; _i937 < _size933; ++_i937) { - xfer += iprot->readString(this->success[_i931]); + xfer += iprot->readString(this->success[_i937]); } xfer += iprot->readListEnd(); } @@ -24833,10 +24833,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter932; - for (_iter932 = this->success.begin(); _iter932 != this->success.end(); ++_iter932) + std::vector ::const_iterator _iter938; + for (_iter938 = this->success.begin(); _iter938 != this->success.end(); ++_iter938) { - xfer += oprot->writeString((*_iter932)); + xfer += oprot->writeString((*_iter938)); } xfer += oprot->writeListEnd(); } @@ -24875,14 +24875,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size933; - ::apache::thrift::protocol::TType _etype936; - xfer += iprot->readListBegin(_etype936, _size933); - (*(this->success)).resize(_size933); - uint32_t _i937; - for (_i937 = 0; _i937 < _size933; ++_i937) + uint32_t _size939; + ::apache::thrift::protocol::TType _etype942; + xfer += iprot->readListBegin(_etype942, _size939); + (*(this->success)).resize(_size939); + uint32_t _i943; + for (_i943 = 0; _i943 < _size939; ++_i943) { - xfer += iprot->readString((*(this->success))[_i937]); + xfer += iprot->readString((*(this->success))[_i943]); } xfer += iprot->readListEnd(); } @@ -27666,6 +27666,188 @@ uint32_t ThriftHiveMetastore_show_compact_presult::read(::apache::thrift::protoc return xfer; } +uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->rqst.read(iprot); + this->__isset.rqst = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_args"); + + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->rqst.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_add_dynamic_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_pargs"); + + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->rqst)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_add_dynamic_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_add_dynamic_partitions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_result"); + + if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_add_dynamic_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -35780,6 +35962,65 @@ void ThriftHiveMetastoreClient::recv_show_compact(ShowCompactResponse& _return) throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_compact failed: unknown result"); } +void ThriftHiveMetastoreClient::add_dynamic_partitions(const AddDynamicPartitions& rqst) +{ + send_add_dynamic_partitions(rqst); + recv_add_dynamic_partitions(); +} + +void ThriftHiveMetastoreClient::send_add_dynamic_partitions(const AddDynamicPartitions& rqst) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("add_dynamic_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_dynamic_partitions_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_add_dynamic_partitions() +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("add_dynamic_partitions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_add_dynamic_partitions_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + throw result.o1; + } + if (result.__isset.o2) { + throw result.o2; + } + return; +} + void ThriftHiveMetastoreClient::get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) { send_get_next_notification(rqst); @@ -43089,6 +43330,65 @@ void ThriftHiveMetastoreProcessor::process_show_compact(int32_t seqid, ::apache: } } +void ThriftHiveMetastoreProcessor::process_add_dynamic_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = NULL; + if (this->eventHandler_.get() != NULL) { + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.add_dynamic_partitions", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.add_dynamic_partitions"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.add_dynamic_partitions"); + } + + ThriftHiveMetastore_add_dynamic_partitions_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.add_dynamic_partitions", bytes); + } + + ThriftHiveMetastore_add_dynamic_partitions_result result; + try { + iface_->add_dynamic_partitions(args.rqst); + } catch (NoSuchTxnException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (TxnAbortedException &o2) { + result.o2 = o2; + result.__isset.o2 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.add_dynamic_partitions"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("add_dynamic_partitions", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.add_dynamic_partitions"); + } + + oprot->writeMessageBegin("add_dynamic_partitions", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.add_dynamic_partitions", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_next_notification(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index a865c3e..0f86117 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -135,6 +135,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) = 0; virtual void compact(const CompactionRequest& rqst) = 0; virtual void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) = 0; + virtual void add_dynamic_partitions(const AddDynamicPartitions& rqst) = 0; virtual void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) = 0; virtual void get_current_notificationEventId(CurrentNotificationEventId& _return) = 0; virtual void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) = 0; @@ -547,6 +548,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void show_compact(ShowCompactResponse& /* _return */, const ShowCompactRequest& /* rqst */) { return; } + void add_dynamic_partitions(const AddDynamicPartitions& /* rqst */) { + return; + } void get_next_notification(NotificationEventResponse& /* _return */, const NotificationEventRequest& /* rqst */) { return; } @@ -16899,6 +16903,124 @@ class ThriftHiveMetastore_show_compact_presult { }; +typedef struct _ThriftHiveMetastore_add_dynamic_partitions_args__isset { + _ThriftHiveMetastore_add_dynamic_partitions_args__isset() : rqst(false) {} + bool rqst; +} _ThriftHiveMetastore_add_dynamic_partitions_args__isset; + +class ThriftHiveMetastore_add_dynamic_partitions_args { + public: + + ThriftHiveMetastore_add_dynamic_partitions_args() { + } + + virtual ~ThriftHiveMetastore_add_dynamic_partitions_args() throw() {} + + AddDynamicPartitions rqst; + + _ThriftHiveMetastore_add_dynamic_partitions_args__isset __isset; + + void __set_rqst(const AddDynamicPartitions& val) { + rqst = val; + } + + bool operator == (const ThriftHiveMetastore_add_dynamic_partitions_args & rhs) const + { + if (!(rqst == rhs.rqst)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_add_dynamic_partitions_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_add_dynamic_partitions_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_add_dynamic_partitions_pargs { + public: + + + virtual ~ThriftHiveMetastore_add_dynamic_partitions_pargs() throw() {} + + const AddDynamicPartitions* rqst; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_add_dynamic_partitions_result__isset { + _ThriftHiveMetastore_add_dynamic_partitions_result__isset() : o1(false), o2(false) {} + bool o1; + bool o2; +} _ThriftHiveMetastore_add_dynamic_partitions_result__isset; + +class ThriftHiveMetastore_add_dynamic_partitions_result { + public: + + ThriftHiveMetastore_add_dynamic_partitions_result() { + } + + virtual ~ThriftHiveMetastore_add_dynamic_partitions_result() throw() {} + + NoSuchTxnException o1; + TxnAbortedException o2; + + _ThriftHiveMetastore_add_dynamic_partitions_result__isset __isset; + + void __set_o1(const NoSuchTxnException& val) { + o1 = val; + } + + void __set_o2(const TxnAbortedException& val) { + o2 = val; + } + + bool operator == (const ThriftHiveMetastore_add_dynamic_partitions_result & rhs) const + { + if (!(o1 == rhs.o1)) + return false; + if (!(o2 == rhs.o2)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_add_dynamic_partitions_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_add_dynamic_partitions_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_add_dynamic_partitions_presult__isset { + _ThriftHiveMetastore_add_dynamic_partitions_presult__isset() : o1(false), o2(false) {} + bool o1; + bool o2; +} _ThriftHiveMetastore_add_dynamic_partitions_presult__isset; + +class ThriftHiveMetastore_add_dynamic_partitions_presult { + public: + + + virtual ~ThriftHiveMetastore_add_dynamic_partitions_presult() throw() {} + + NoSuchTxnException o1; + TxnAbortedException o2; + + _ThriftHiveMetastore_add_dynamic_partitions_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_next_notification_args__isset { _ThriftHiveMetastore_get_next_notification_args__isset() : rqst(false) {} bool rqst; @@ -17578,6 +17700,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst); void send_show_compact(const ShowCompactRequest& rqst); void recv_show_compact(ShowCompactResponse& _return); + void add_dynamic_partitions(const AddDynamicPartitions& rqst); + void send_add_dynamic_partitions(const AddDynamicPartitions& rqst); + void recv_add_dynamic_partitions(); void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst); void send_get_next_notification(const NotificationEventRequest& rqst); void recv_get_next_notification(NotificationEventResponse& _return); @@ -17716,6 +17841,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_heartbeat_txn_range(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_show_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_add_dynamic_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_next_notification(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_current_notificationEventId(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_fire_listener_event(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -17842,6 +17968,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["heartbeat_txn_range"] = &ThriftHiveMetastoreProcessor::process_heartbeat_txn_range; processMap_["compact"] = &ThriftHiveMetastoreProcessor::process_compact; processMap_["show_compact"] = &ThriftHiveMetastoreProcessor::process_show_compact; + processMap_["add_dynamic_partitions"] = &ThriftHiveMetastoreProcessor::process_add_dynamic_partitions; processMap_["get_next_notification"] = &ThriftHiveMetastoreProcessor::process_get_next_notification; processMap_["get_current_notificationEventId"] = &ThriftHiveMetastoreProcessor::process_get_current_notificationEventId; processMap_["fire_listener_event"] = &ThriftHiveMetastoreProcessor::process_fire_listener_event; @@ -19019,6 +19146,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void add_dynamic_partitions(const AddDynamicPartitions& rqst) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->add_dynamic_partitions(rqst); + } + ifaces_[i]->add_dynamic_partitions(rqst); + } + void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 6bf751e..f5bd788 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -617,6 +617,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("show_compact\n"); } + void add_dynamic_partitions(const AddDynamicPartitions& rqst) { + // Your implementation goes here + printf("add_dynamic_partitions\n"); + } + void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) { // Your implementation goes here printf("get_next_notification\n"); diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 7d8e0e2..749c97a 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -9294,6 +9294,138 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } +const char* AddDynamicPartitions::ascii_fingerprint = "A53A2B050DCCFE6A2158480A24E33898"; +const uint8_t AddDynamicPartitions::binary_fingerprint[16] = {0xA5,0x3A,0x2B,0x05,0x0D,0xCC,0xFE,0x6A,0x21,0x58,0x48,0x0A,0x24,0xE3,0x38,0x98}; + +uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_txnid = false; + bool isset_dbname = false; + bool isset_tablename = false; + bool isset_partitionnames = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnid); + isset_txnid = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->dbname); + isset_dbname = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tablename); + isset_tablename = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->partitionnames.clear(); + uint32_t _size401; + ::apache::thrift::protocol::TType _etype404; + xfer += iprot->readListBegin(_etype404, _size401); + this->partitionnames.resize(_size401); + uint32_t _i405; + for (_i405 = 0; _i405 < _size401; ++_i405) + { + xfer += iprot->readString(this->partitionnames[_i405]); + } + xfer += iprot->readListEnd(); + } + isset_partitionnames = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_txnid) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_dbname) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tablename) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_partitionnames) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("AddDynamicPartitions"); + + xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); + xfer += oprot->writeI64(this->txnid); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->dbname); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tablename", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->tablename); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 4); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); + std::vector ::const_iterator _iter406; + for (_iter406 = this->partitionnames.begin(); _iter406 != this->partitionnames.end(); ++_iter406) + { + xfer += oprot->writeString((*_iter406)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { + using ::std::swap; + swap(a.txnid, b.txnid); + swap(a.dbname, b.dbname); + swap(a.tablename, b.tablename); + swap(a.partitionnames, b.partitionnames); +} + const char* NotificationEventRequest::ascii_fingerprint = "6E578DA8AB10EED824A75534350EBAEF"; const uint8_t NotificationEventRequest::binary_fingerprint[16] = {0x6E,0x57,0x8D,0xA8,0xAB,0x10,0xEE,0xD8,0x24,0xA7,0x55,0x34,0x35,0x0E,0xBA,0xEF}; @@ -9542,14 +9674,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size401; - ::apache::thrift::protocol::TType _etype404; - xfer += iprot->readListBegin(_etype404, _size401); - this->events.resize(_size401); - uint32_t _i405; - for (_i405 = 0; _i405 < _size401; ++_i405) + uint32_t _size407; + ::apache::thrift::protocol::TType _etype410; + xfer += iprot->readListBegin(_etype410, _size407); + this->events.resize(_size407); + uint32_t _i411; + for (_i411 = 0; _i411 < _size407; ++_i411) { - xfer += this->events[_i405].read(iprot); + xfer += this->events[_i411].read(iprot); } xfer += iprot->readListEnd(); } @@ -9579,10 +9711,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter406; - for (_iter406 = this->events.begin(); _iter406 != this->events.end(); ++_iter406) + std::vector ::const_iterator _iter412; + for (_iter412 = this->events.begin(); _iter412 != this->events.end(); ++_iter412) { - xfer += (*_iter406).write(oprot); + xfer += (*_iter412).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9690,14 +9822,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size407; - ::apache::thrift::protocol::TType _etype410; - xfer += iprot->readListBegin(_etype410, _size407); - this->filesAdded.resize(_size407); - uint32_t _i411; - for (_i411 = 0; _i411 < _size407; ++_i411) + uint32_t _size413; + ::apache::thrift::protocol::TType _etype416; + xfer += iprot->readListBegin(_etype416, _size413); + this->filesAdded.resize(_size413); + uint32_t _i417; + for (_i417 = 0; _i417 < _size413; ++_i417) { - xfer += iprot->readString(this->filesAdded[_i411]); + xfer += iprot->readString(this->filesAdded[_i417]); } xfer += iprot->readListEnd(); } @@ -9727,10 +9859,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter412; - for (_iter412 = this->filesAdded.begin(); _iter412 != this->filesAdded.end(); ++_iter412) + std::vector ::const_iterator _iter418; + for (_iter418 = this->filesAdded.begin(); _iter418 != this->filesAdded.end(); ++_iter418) { - xfer += oprot->writeString((*_iter412)); + xfer += oprot->writeString((*_iter418)); } xfer += oprot->writeListEnd(); } @@ -9869,14 +10001,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size413; - ::apache::thrift::protocol::TType _etype416; - xfer += iprot->readListBegin(_etype416, _size413); - this->partitionVals.resize(_size413); - uint32_t _i417; - for (_i417 = 0; _i417 < _size413; ++_i417) + uint32_t _size419; + ::apache::thrift::protocol::TType _etype422; + xfer += iprot->readListBegin(_etype422, _size419); + this->partitionVals.resize(_size419); + uint32_t _i423; + for (_i423 = 0; _i423 < _size419; ++_i423) { - xfer += iprot->readString(this->partitionVals[_i417]); + xfer += iprot->readString(this->partitionVals[_i423]); } xfer += iprot->readListEnd(); } @@ -9927,10 +10059,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter418; - for (_iter418 = this->partitionVals.begin(); _iter418 != this->partitionVals.end(); ++_iter418) + std::vector ::const_iterator _iter424; + for (_iter424 = this->partitionVals.begin(); _iter424 != this->partitionVals.end(); ++_iter424) { - xfer += oprot->writeString((*_iter418)); + xfer += oprot->writeString((*_iter424)); } xfer += oprot->writeListEnd(); } diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index f258266..55e0385 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -5088,6 +5088,64 @@ class ShowCompactResponse { void swap(ShowCompactResponse &a, ShowCompactResponse &b); + +class AddDynamicPartitions { + public: + + static const char* ascii_fingerprint; // = "A53A2B050DCCFE6A2158480A24E33898"; + static const uint8_t binary_fingerprint[16]; // = {0xA5,0x3A,0x2B,0x05,0x0D,0xCC,0xFE,0x6A,0x21,0x58,0x48,0x0A,0x24,0xE3,0x38,0x98}; + + AddDynamicPartitions() : txnid(0), dbname(), tablename() { + } + + virtual ~AddDynamicPartitions() throw() {} + + int64_t txnid; + std::string dbname; + std::string tablename; + std::vector partitionnames; + + void __set_txnid(const int64_t val) { + txnid = val; + } + + void __set_dbname(const std::string& val) { + dbname = val; + } + + void __set_tablename(const std::string& val) { + tablename = val; + } + + void __set_partitionnames(const std::vector & val) { + partitionnames = val; + } + + bool operator == (const AddDynamicPartitions & rhs) const + { + if (!(txnid == rhs.txnid)) + return false; + if (!(dbname == rhs.dbname)) + return false; + if (!(tablename == rhs.tablename)) + return false; + if (!(partitionnames == rhs.partitionnames)) + return false; + return true; + } + bool operator != (const AddDynamicPartitions &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AddDynamicPartitions & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(AddDynamicPartitions &a, AddDynamicPartitions &b); + typedef struct _NotificationEventRequest__isset { _NotificationEventRequest__isset() : maxEvents(false) {} bool maxEvents; diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java new file mode 100644 index 0000000..ab14d74 --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -0,0 +1,738 @@ +/** + * Autogenerated by Thrift Compiler (0.9.0) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.commons.lang.builder.HashCodeBuilder; +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class AddDynamicPartitions implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddDynamicPartitions"); + + private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField TABLENAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tablename", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField PARTITIONNAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionnames", org.apache.thrift.protocol.TType.LIST, (short)4); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new AddDynamicPartitionsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new AddDynamicPartitionsTupleSchemeFactory()); + } + + private long txnid; // required + private String dbname; // required + private String tablename; // required + private List partitionnames; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + TXNID((short)1, "txnid"), + DBNAME((short)2, "dbname"), + TABLENAME((short)3, "tablename"), + PARTITIONNAMES((short)4, "partitionnames"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // TXNID + return TXNID; + case 2: // DBNAME + return DBNAME; + case 3: // TABLENAME + return TABLENAME; + case 4: // PARTITIONNAMES + return PARTITIONNAMES; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __TXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.DBNAME, new org.apache.thrift.meta_data.FieldMetaData("dbname", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLENAME, new org.apache.thrift.meta_data.FieldMetaData("tablename", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PARTITIONNAMES, new org.apache.thrift.meta_data.FieldMetaData("partitionnames", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AddDynamicPartitions.class, metaDataMap); + } + + public AddDynamicPartitions() { + } + + public AddDynamicPartitions( + long txnid, + String dbname, + String tablename, + List partitionnames) + { + this(); + this.txnid = txnid; + setTxnidIsSet(true); + this.dbname = dbname; + this.tablename = tablename; + this.partitionnames = partitionnames; + } + + /** + * Performs a deep copy on other. + */ + public AddDynamicPartitions(AddDynamicPartitions other) { + __isset_bitfield = other.__isset_bitfield; + this.txnid = other.txnid; + if (other.isSetDbname()) { + this.dbname = other.dbname; + } + if (other.isSetTablename()) { + this.tablename = other.tablename; + } + if (other.isSetPartitionnames()) { + List __this__partitionnames = new ArrayList(); + for (String other_element : other.partitionnames) { + __this__partitionnames.add(other_element); + } + this.partitionnames = __this__partitionnames; + } + } + + public AddDynamicPartitions deepCopy() { + return new AddDynamicPartitions(this); + } + + @Override + public void clear() { + setTxnidIsSet(false); + this.txnid = 0; + this.dbname = null; + this.tablename = null; + this.partitionnames = null; + } + + public long getTxnid() { + return this.txnid; + } + + public void setTxnid(long txnid) { + this.txnid = txnid; + setTxnidIsSet(true); + } + + public void unsetTxnid() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnid is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnid() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnidIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getDbname() { + return this.dbname; + } + + public void setDbname(String dbname) { + this.dbname = dbname; + } + + public void unsetDbname() { + this.dbname = null; + } + + /** Returns true if field dbname is set (has been assigned a value) and false otherwise */ + public boolean isSetDbname() { + return this.dbname != null; + } + + public void setDbnameIsSet(boolean value) { + if (!value) { + this.dbname = null; + } + } + + public String getTablename() { + return this.tablename; + } + + public void setTablename(String tablename) { + this.tablename = tablename; + } + + public void unsetTablename() { + this.tablename = null; + } + + /** Returns true if field tablename is set (has been assigned a value) and false otherwise */ + public boolean isSetTablename() { + return this.tablename != null; + } + + public void setTablenameIsSet(boolean value) { + if (!value) { + this.tablename = null; + } + } + + public int getPartitionnamesSize() { + return (this.partitionnames == null) ? 0 : this.partitionnames.size(); + } + + public java.util.Iterator getPartitionnamesIterator() { + return (this.partitionnames == null) ? null : this.partitionnames.iterator(); + } + + public void addToPartitionnames(String elem) { + if (this.partitionnames == null) { + this.partitionnames = new ArrayList(); + } + this.partitionnames.add(elem); + } + + public List getPartitionnames() { + return this.partitionnames; + } + + public void setPartitionnames(List partitionnames) { + this.partitionnames = partitionnames; + } + + public void unsetPartitionnames() { + this.partitionnames = null; + } + + /** Returns true if field partitionnames is set (has been assigned a value) and false otherwise */ + public boolean isSetPartitionnames() { + return this.partitionnames != null; + } + + public void setPartitionnamesIsSet(boolean value) { + if (!value) { + this.partitionnames = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TXNID: + if (value == null) { + unsetTxnid(); + } else { + setTxnid((Long)value); + } + break; + + case DBNAME: + if (value == null) { + unsetDbname(); + } else { + setDbname((String)value); + } + break; + + case TABLENAME: + if (value == null) { + unsetTablename(); + } else { + setTablename((String)value); + } + break; + + case PARTITIONNAMES: + if (value == null) { + unsetPartitionnames(); + } else { + setPartitionnames((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TXNID: + return Long.valueOf(getTxnid()); + + case DBNAME: + return getDbname(); + + case TABLENAME: + return getTablename(); + + case PARTITIONNAMES: + return getPartitionnames(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case TXNID: + return isSetTxnid(); + case DBNAME: + return isSetDbname(); + case TABLENAME: + return isSetTablename(); + case PARTITIONNAMES: + return isSetPartitionnames(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof AddDynamicPartitions) + return this.equals((AddDynamicPartitions)that); + return false; + } + + public boolean equals(AddDynamicPartitions that) { + if (that == null) + return false; + + boolean this_present_txnid = true; + boolean that_present_txnid = true; + if (this_present_txnid || that_present_txnid) { + if (!(this_present_txnid && that_present_txnid)) + return false; + if (this.txnid != that.txnid) + return false; + } + + boolean this_present_dbname = true && this.isSetDbname(); + boolean that_present_dbname = true && that.isSetDbname(); + if (this_present_dbname || that_present_dbname) { + if (!(this_present_dbname && that_present_dbname)) + return false; + if (!this.dbname.equals(that.dbname)) + return false; + } + + boolean this_present_tablename = true && this.isSetTablename(); + boolean that_present_tablename = true && that.isSetTablename(); + if (this_present_tablename || that_present_tablename) { + if (!(this_present_tablename && that_present_tablename)) + return false; + if (!this.tablename.equals(that.tablename)) + return false; + } + + boolean this_present_partitionnames = true && this.isSetPartitionnames(); + boolean that_present_partitionnames = true && that.isSetPartitionnames(); + if (this_present_partitionnames || that_present_partitionnames) { + if (!(this_present_partitionnames && that_present_partitionnames)) + return false; + if (!this.partitionnames.equals(that.partitionnames)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_txnid = true; + builder.append(present_txnid); + if (present_txnid) + builder.append(txnid); + + boolean present_dbname = true && (isSetDbname()); + builder.append(present_dbname); + if (present_dbname) + builder.append(dbname); + + boolean present_tablename = true && (isSetTablename()); + builder.append(present_tablename); + if (present_tablename) + builder.append(tablename); + + boolean present_partitionnames = true && (isSetPartitionnames()); + builder.append(present_partitionnames); + if (present_partitionnames) + builder.append(partitionnames); + + return builder.toHashCode(); + } + + public int compareTo(AddDynamicPartitions other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + AddDynamicPartitions typedOther = (AddDynamicPartitions)other; + + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnid()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDbname()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTablename()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPartitionnames()).compareTo(typedOther.isSetPartitionnames()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartitionnames()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionnames, typedOther.partitionnames); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("AddDynamicPartitions("); + boolean first = true; + + sb.append("txnid:"); + sb.append(this.txnid); + first = false; + if (!first) sb.append(", "); + sb.append("dbname:"); + if (this.dbname == null) { + sb.append("null"); + } else { + sb.append(this.dbname); + } + first = false; + if (!first) sb.append(", "); + sb.append("tablename:"); + if (this.tablename == null) { + sb.append("null"); + } else { + sb.append(this.tablename); + } + first = false; + if (!first) sb.append(", "); + sb.append("partitionnames:"); + if (this.partitionnames == null) { + sb.append("null"); + } else { + sb.append(this.partitionnames); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetTxnid()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'txnid' is unset! Struct:" + toString()); + } + + if (!isSetDbname()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbname' is unset! Struct:" + toString()); + } + + if (!isSetTablename()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'tablename' is unset! Struct:" + toString()); + } + + if (!isSetPartitionnames()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'partitionnames' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class AddDynamicPartitionsStandardSchemeFactory implements SchemeFactory { + public AddDynamicPartitionsStandardScheme getScheme() { + return new AddDynamicPartitionsStandardScheme(); + } + } + + private static class AddDynamicPartitionsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartitions struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TXNID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnid = iprot.readI64(); + struct.setTxnidIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // DBNAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.dbname = iprot.readString(); + struct.setDbnameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TABLENAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tablename = iprot.readString(); + struct.setTablenameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // PARTITIONNAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list492.size); + for (int _i493 = 0; _i493 < _list492.size; ++_i493) + { + String _elem494; // required + _elem494 = iprot.readString(); + struct.partitionnames.add(_elem494); + } + iprot.readListEnd(); + } + struct.setPartitionnamesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitions struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(TXNID_FIELD_DESC); + oprot.writeI64(struct.txnid); + oprot.writeFieldEnd(); + if (struct.dbname != null) { + oprot.writeFieldBegin(DBNAME_FIELD_DESC); + oprot.writeString(struct.dbname); + oprot.writeFieldEnd(); + } + if (struct.tablename != null) { + oprot.writeFieldBegin(TABLENAME_FIELD_DESC); + oprot.writeString(struct.tablename); + oprot.writeFieldEnd(); + } + if (struct.partitionnames != null) { + oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); + for (String _iter495 : struct.partitionnames) + { + oprot.writeString(_iter495); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class AddDynamicPartitionsTupleSchemeFactory implements SchemeFactory { + public AddDynamicPartitionsTupleScheme getScheme() { + return new AddDynamicPartitionsTupleScheme(); + } + } + + private static class AddDynamicPartitionsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeI64(struct.txnid); + oprot.writeString(struct.dbname); + oprot.writeString(struct.tablename); + { + oprot.writeI32(struct.partitionnames.size()); + for (String _iter496 : struct.partitionnames) + { + oprot.writeString(_iter496); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.txnid = iprot.readI64(); + struct.setTxnidIsSet(true); + struct.dbname = iprot.readString(); + struct.setDbnameIsSet(true); + struct.tablename = iprot.readString(); + struct.setTablenameIsSet(true); + { + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list497.size); + for (int _i498 = 0; _i498 < _list497.size; ++_i498) + { + String _elem499; // required + _elem499 = iprot.readString(); + struct.partitionnames.add(_elem499); + } + } + struct.setPartitionnamesIsSet(true); + } + } + +} + diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index e2dc5af..4eacfa9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -712,13 +712,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list508.size); - for (int _i509 = 0; _i509 < _list508.size; ++_i509) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list516.size); + for (int _i517 = 0; _i517 < _list516.size; ++_i517) { - String _elem510; // required - _elem510 = iprot.readString(); - struct.partitionVals.add(_elem510); + String _elem518; // required + _elem518 = iprot.readString(); + struct.partitionVals.add(_elem518); } iprot.readListEnd(); } @@ -767,9 +767,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter511 : struct.partitionVals) + for (String _iter519 : struct.partitionVals) { - oprot.writeString(_iter511); + oprot.writeString(_iter519); } oprot.writeListEnd(); } @@ -815,9 +815,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter512 : struct.partitionVals) + for (String _iter520 : struct.partitionVals) { - oprot.writeString(_iter512); + oprot.writeString(_iter520); } } } @@ -842,13 +842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list513.size); - for (int _i514 = 0; _i514 < _list513.size; ++_i514) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list521.size); + for (int _i522 = 0; _i522 < _list521.size; ++_i522) { - String _elem515; // required - _elem515 = iprot.readString(); - struct.partitionVals.add(_elem515); + String _elem523; // required + _elem523 = iprot.readString(); + struct.partitionVals.add(_elem523); } } struct.setPartitionValsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 5a9de92..24dacf5 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -350,13 +350,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 1: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list500.size); - for (int _i501 = 0; _i501 < _list500.size; ++_i501) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list508.size); + for (int _i509 = 0; _i509 < _list508.size; ++_i509) { - String _elem502; // required - _elem502 = iprot.readString(); - struct.filesAdded.add(_elem502); + String _elem510; // required + _elem510 = iprot.readString(); + struct.filesAdded.add(_elem510); } iprot.readListEnd(); } @@ -382,9 +382,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter503 : struct.filesAdded) + for (String _iter511 : struct.filesAdded) { - oprot.writeString(_iter503); + oprot.writeString(_iter511); } oprot.writeListEnd(); } @@ -409,9 +409,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter504 : struct.filesAdded) + for (String _iter512 : struct.filesAdded) { - oprot.writeString(_iter504); + oprot.writeString(_iter512); } } } @@ -420,13 +420,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list505.size); - for (int _i506 = 0; _i506 < _list505.size; ++_i506) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list513.size); + for (int _i514 = 0; _i514 < _list513.size; ++_i514) { - String _elem507; // required - _elem507 = iprot.readString(); - struct.filesAdded.add(_elem507); + String _elem515; // required + _elem515 = iprot.readString(); + struct.filesAdded.add(_elem515); } } struct.setFilesAddedIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index f61a49e..c16802d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); - struct.events = new ArrayList(_list492.size); - for (int _i493 = 0; _i493 < _list492.size; ++_i493) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.events = new ArrayList(_list500.size); + for (int _i501 = 0; _i501 < _list500.size; ++_i501) { - NotificationEvent _elem494; // required - _elem494 = new NotificationEvent(); - _elem494.read(iprot); - struct.events.add(_elem494); + NotificationEvent _elem502; // required + _elem502 = new NotificationEvent(); + _elem502.read(iprot); + struct.events.add(_elem502); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter495 : struct.events) + for (NotificationEvent _iter503 : struct.events) { - _iter495.write(oprot); + _iter503.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter496 : struct.events) + for (NotificationEvent _iter504 : struct.events) { - _iter496.write(oprot); + _iter504.write(oprot); } } } @@ -421,14 +421,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list497.size); - for (int _i498 = 0; _i498 < _list497.size; ++_i498) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list505.size); + for (int _i506 = 0; _i506 < _list505.size; ++_i506) { - NotificationEvent _elem499; // required - _elem499 = new NotificationEvent(); - _elem499.read(iprot); - struct.events.add(_elem499); + NotificationEvent _elem507; // required + _elem507 = new NotificationEvent(); + _elem507.read(iprot); + struct.events.add(_elem507); } } struct.setEventsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 79cca85..6b8d391 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -276,6 +276,8 @@ public ShowCompactResponse show_compact(ShowCompactRequest rqst) throws org.apache.thrift.TException; + public void add_dynamic_partitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; + public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws org.apache.thrift.TException; public CurrentNotificationEventId get_current_notificationEventId() throws org.apache.thrift.TException; @@ -524,6 +526,8 @@ public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -4088,6 +4092,32 @@ public ShowCompactResponse recv_show_compact() throws org.apache.thrift.TExcepti throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "show_compact failed: unknown result"); } + public void add_dynamic_partitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException + { + send_add_dynamic_partitions(rqst); + recv_add_dynamic_partitions(); + } + + public void send_add_dynamic_partitions(AddDynamicPartitions rqst) throws org.apache.thrift.TException + { + add_dynamic_partitions_args args = new add_dynamic_partitions_args(); + args.setRqst(rqst); + sendBase("add_dynamic_partitions", args); + } + + public void recv_add_dynamic_partitions() throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException + { + add_dynamic_partitions_result result = new add_dynamic_partitions_result(); + receiveBase(result, "add_dynamic_partitions"); + if (result.o1 != null) { + throw result.o1; + } + if (result.o2 != null) { + throw result.o2; + } + return; + } + public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws org.apache.thrift.TException { send_get_next_notification(rqst); @@ -8435,6 +8465,38 @@ public ShowCompactResponse getResult() throws org.apache.thrift.TException { } } + public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + add_dynamic_partitions_call method_call = new add_dynamic_partitions_call(rqst, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class add_dynamic_partitions_call extends org.apache.thrift.async.TAsyncMethodCall { + private AddDynamicPartitions rqst; + public add_dynamic_partitions_call(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.rqst = rqst; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("add_dynamic_partitions", org.apache.thrift.protocol.TMessageType.CALL, 0)); + add_dynamic_partitions_args args = new add_dynamic_partitions_args(); + args.setRqst(rqst); + args.write(prot); + prot.writeMessageEnd(); + } + + public void getResult() throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_add_dynamic_partitions(); + } + } + public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_next_notification_call method_call = new get_next_notification_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -8660,6 +8722,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public add_dynamic_partitions() { + super("add_dynamic_partitions"); + } + + public add_dynamic_partitions_args getEmptyArgsInstance() { + return new add_dynamic_partitions_args(); + } + + protected boolean isOneway() { + return false; + } + + public add_dynamic_partitions_result getResult(I iface, add_dynamic_partitions_args args) throws org.apache.thrift.TException { + add_dynamic_partitions_result result = new add_dynamic_partitions_result(); + try { + iface.add_dynamic_partitions(args.rqst); + } catch (NoSuchTxnException o1) { + result.o1 = o1; + } catch (TxnAbortedException o2) { + result.o2 = o2; + } + return result; + } + } + public static class get_next_notification extends org.apache.thrift.ProcessFunction { public get_next_notification() { super("get_next_notification"); @@ -17235,13 +17324,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); - struct.success = new ArrayList(_list516.size); - for (int _i517 = 0; _i517 < _list516.size; ++_i517) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.success = new ArrayList(_list524.size); + for (int _i525 = 0; _i525 < _list524.size; ++_i525) { - String _elem518; // required - _elem518 = iprot.readString(); - struct.success.add(_elem518); + String _elem526; // required + _elem526 = iprot.readString(); + struct.success.add(_elem526); } iprot.readListEnd(); } @@ -17276,9 +17365,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter519 : struct.success) + for (String _iter527 : struct.success) { - oprot.writeString(_iter519); + oprot.writeString(_iter527); } oprot.writeListEnd(); } @@ -17317,9 +17406,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter520 : struct.success) + for (String _iter528 : struct.success) { - oprot.writeString(_iter520); + oprot.writeString(_iter528); } } } @@ -17334,13 +17423,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list521.size); - for (int _i522 = 0; _i522 < _list521.size; ++_i522) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list529.size); + for (int _i530 = 0; _i530 < _list529.size; ++_i530) { - String _elem523; // required - _elem523 = iprot.readString(); - struct.success.add(_elem523); + String _elem531; // required + _elem531 = iprot.readString(); + struct.success.add(_elem531); } } struct.setSuccessIsSet(true); @@ -17997,13 +18086,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); - struct.success = new ArrayList(_list524.size); - for (int _i525 = 0; _i525 < _list524.size; ++_i525) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.success = new ArrayList(_list532.size); + for (int _i533 = 0; _i533 < _list532.size; ++_i533) { - String _elem526; // required - _elem526 = iprot.readString(); - struct.success.add(_elem526); + String _elem534; // required + _elem534 = iprot.readString(); + struct.success.add(_elem534); } iprot.readListEnd(); } @@ -18038,9 +18127,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter527 : struct.success) + for (String _iter535 : struct.success) { - oprot.writeString(_iter527); + oprot.writeString(_iter535); } oprot.writeListEnd(); } @@ -18079,9 +18168,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter528 : struct.success) + for (String _iter536 : struct.success) { - oprot.writeString(_iter528); + oprot.writeString(_iter536); } } } @@ -18096,13 +18185,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list529.size); - for (int _i530 = 0; _i530 < _list529.size; ++_i530) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list537.size); + for (int _i538 = 0; _i538 < _list537.size; ++_i538) { - String _elem531; // required - _elem531 = iprot.readString(); - struct.success.add(_elem531); + String _elem539; // required + _elem539 = iprot.readString(); + struct.success.add(_elem539); } } struct.setSuccessIsSet(true); @@ -22709,16 +22798,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map532 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map532.size); - for (int _i533 = 0; _i533 < _map532.size; ++_i533) + org.apache.thrift.protocol.TMap _map540 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map540.size); + for (int _i541 = 0; _i541 < _map540.size; ++_i541) { - String _key534; // required - Type _val535; // required - _key534 = iprot.readString(); - _val535 = new Type(); - _val535.read(iprot); - struct.success.put(_key534, _val535); + String _key542; // required + Type _val543; // required + _key542 = iprot.readString(); + _val543 = new Type(); + _val543.read(iprot); + struct.success.put(_key542, _val543); } iprot.readMapEnd(); } @@ -22753,10 +22842,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter536 : struct.success.entrySet()) + for (Map.Entry _iter544 : struct.success.entrySet()) { - oprot.writeString(_iter536.getKey()); - _iter536.getValue().write(oprot); + oprot.writeString(_iter544.getKey()); + _iter544.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -22795,10 +22884,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter537 : struct.success.entrySet()) + for (Map.Entry _iter545 : struct.success.entrySet()) { - oprot.writeString(_iter537.getKey()); - _iter537.getValue().write(oprot); + oprot.writeString(_iter545.getKey()); + _iter545.getValue().write(oprot); } } } @@ -22813,16 +22902,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map538 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map538.size); - for (int _i539 = 0; _i539 < _map538.size; ++_i539) + org.apache.thrift.protocol.TMap _map546 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map546.size); + for (int _i547 = 0; _i547 < _map546.size; ++_i547) { - String _key540; // required - Type _val541; // required - _key540 = iprot.readString(); - _val541 = new Type(); - _val541.read(iprot); - struct.success.put(_key540, _val541); + String _key548; // required + Type _val549; // required + _key548 = iprot.readString(); + _val549 = new Type(); + _val549.read(iprot); + struct.success.put(_key548, _val549); } } struct.setSuccessIsSet(true); @@ -23857,14 +23946,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list542 = iprot.readListBegin(); - struct.success = new ArrayList(_list542.size); - for (int _i543 = 0; _i543 < _list542.size; ++_i543) + org.apache.thrift.protocol.TList _list550 = iprot.readListBegin(); + struct.success = new ArrayList(_list550.size); + for (int _i551 = 0; _i551 < _list550.size; ++_i551) { - FieldSchema _elem544; // required - _elem544 = new FieldSchema(); - _elem544.read(iprot); - struct.success.add(_elem544); + FieldSchema _elem552; // required + _elem552 = new FieldSchema(); + _elem552.read(iprot); + struct.success.add(_elem552); } iprot.readListEnd(); } @@ -23917,9 +24006,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter545 : struct.success) + for (FieldSchema _iter553 : struct.success) { - _iter545.write(oprot); + _iter553.write(oprot); } oprot.writeListEnd(); } @@ -23974,9 +24063,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter546 : struct.success) + for (FieldSchema _iter554 : struct.success) { - _iter546.write(oprot); + _iter554.write(oprot); } } } @@ -23997,14 +24086,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list547.size); - for (int _i548 = 0; _i548 < _list547.size; ++_i548) + org.apache.thrift.protocol.TList _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list555.size); + for (int _i556 = 0; _i556 < _list555.size; ++_i556) { - FieldSchema _elem549; // required - _elem549 = new FieldSchema(); - _elem549.read(iprot); - struct.success.add(_elem549); + FieldSchema _elem557; // required + _elem557 = new FieldSchema(); + _elem557.read(iprot); + struct.success.add(_elem557); } } struct.setSuccessIsSet(true); @@ -25158,14 +25247,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list550 = iprot.readListBegin(); - struct.success = new ArrayList(_list550.size); - for (int _i551 = 0; _i551 < _list550.size; ++_i551) + org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); + struct.success = new ArrayList(_list558.size); + for (int _i559 = 0; _i559 < _list558.size; ++_i559) { - FieldSchema _elem552; // required - _elem552 = new FieldSchema(); - _elem552.read(iprot); - struct.success.add(_elem552); + FieldSchema _elem560; // required + _elem560 = new FieldSchema(); + _elem560.read(iprot); + struct.success.add(_elem560); } iprot.readListEnd(); } @@ -25218,9 +25307,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter553 : struct.success) + for (FieldSchema _iter561 : struct.success) { - _iter553.write(oprot); + _iter561.write(oprot); } oprot.writeListEnd(); } @@ -25275,9 +25364,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter554 : struct.success) + for (FieldSchema _iter562 : struct.success) { - _iter554.write(oprot); + _iter562.write(oprot); } } } @@ -25298,14 +25387,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list555.size); - for (int _i556 = 0; _i556 < _list555.size; ++_i556) + org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list563.size); + for (int _i564 = 0; _i564 < _list563.size; ++_i564) { - FieldSchema _elem557; // required - _elem557 = new FieldSchema(); - _elem557.read(iprot); - struct.success.add(_elem557); + FieldSchema _elem565; // required + _elem565 = new FieldSchema(); + _elem565.read(iprot); + struct.success.add(_elem565); } } struct.setSuccessIsSet(true); @@ -26350,14 +26439,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); - struct.success = new ArrayList(_list558.size); - for (int _i559 = 0; _i559 < _list558.size; ++_i559) + org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); + struct.success = new ArrayList(_list566.size); + for (int _i567 = 0; _i567 < _list566.size; ++_i567) { - FieldSchema _elem560; // required - _elem560 = new FieldSchema(); - _elem560.read(iprot); - struct.success.add(_elem560); + FieldSchema _elem568; // required + _elem568 = new FieldSchema(); + _elem568.read(iprot); + struct.success.add(_elem568); } iprot.readListEnd(); } @@ -26410,9 +26499,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter561 : struct.success) + for (FieldSchema _iter569 : struct.success) { - _iter561.write(oprot); + _iter569.write(oprot); } oprot.writeListEnd(); } @@ -26467,9 +26556,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter562 : struct.success) + for (FieldSchema _iter570 : struct.success) { - _iter562.write(oprot); + _iter570.write(oprot); } } } @@ -26490,14 +26579,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list563.size); - for (int _i564 = 0; _i564 < _list563.size; ++_i564) + org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list571.size); + for (int _i572 = 0; _i572 < _list571.size; ++_i572) { - FieldSchema _elem565; // required - _elem565 = new FieldSchema(); - _elem565.read(iprot); - struct.success.add(_elem565); + FieldSchema _elem573; // required + _elem573 = new FieldSchema(); + _elem573.read(iprot); + struct.success.add(_elem573); } } struct.setSuccessIsSet(true); @@ -27651,14 +27740,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); - struct.success = new ArrayList(_list566.size); - for (int _i567 = 0; _i567 < _list566.size; ++_i567) + org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); + struct.success = new ArrayList(_list574.size); + for (int _i575 = 0; _i575 < _list574.size; ++_i575) { - FieldSchema _elem568; // required - _elem568 = new FieldSchema(); - _elem568.read(iprot); - struct.success.add(_elem568); + FieldSchema _elem576; // required + _elem576 = new FieldSchema(); + _elem576.read(iprot); + struct.success.add(_elem576); } iprot.readListEnd(); } @@ -27711,9 +27800,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter569 : struct.success) + for (FieldSchema _iter577 : struct.success) { - _iter569.write(oprot); + _iter577.write(oprot); } oprot.writeListEnd(); } @@ -27768,9 +27857,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter570 : struct.success) + for (FieldSchema _iter578 : struct.success) { - _iter570.write(oprot); + _iter578.write(oprot); } } } @@ -27791,14 +27880,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list571.size); - for (int _i572 = 0; _i572 < _list571.size; ++_i572) + org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list579.size); + for (int _i580 = 0; _i580 < _list579.size; ++_i580) { - FieldSchema _elem573; // required - _elem573 = new FieldSchema(); - _elem573.read(iprot); - struct.success.add(_elem573); + FieldSchema _elem581; // required + _elem581 = new FieldSchema(); + _elem581.read(iprot); + struct.success.add(_elem581); } } struct.setSuccessIsSet(true); @@ -33041,13 +33130,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); - struct.success = new ArrayList(_list574.size); - for (int _i575 = 0; _i575 < _list574.size; ++_i575) + org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); + struct.success = new ArrayList(_list582.size); + for (int _i583 = 0; _i583 < _list582.size; ++_i583) { - String _elem576; // required - _elem576 = iprot.readString(); - struct.success.add(_elem576); + String _elem584; // required + _elem584 = iprot.readString(); + struct.success.add(_elem584); } iprot.readListEnd(); } @@ -33082,9 +33171,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter577 : struct.success) + for (String _iter585 : struct.success) { - oprot.writeString(_iter577); + oprot.writeString(_iter585); } oprot.writeListEnd(); } @@ -33123,9 +33212,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter578 : struct.success) + for (String _iter586 : struct.success) { - oprot.writeString(_iter578); + oprot.writeString(_iter586); } } } @@ -33140,13 +33229,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list579.size); - for (int _i580 = 0; _i580 < _list579.size; ++_i580) + org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list587.size); + for (int _i588 = 0; _i588 < _list587.size; ++_i588) { - String _elem581; // required - _elem581 = iprot.readString(); - struct.success.add(_elem581); + String _elem589; // required + _elem589 = iprot.readString(); + struct.success.add(_elem589); } } struct.setSuccessIsSet(true); @@ -33915,13 +34004,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); - struct.success = new ArrayList(_list582.size); - for (int _i583 = 0; _i583 < _list582.size; ++_i583) + org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); + struct.success = new ArrayList(_list590.size); + for (int _i591 = 0; _i591 < _list590.size; ++_i591) { - String _elem584; // required - _elem584 = iprot.readString(); - struct.success.add(_elem584); + String _elem592; // required + _elem592 = iprot.readString(); + struct.success.add(_elem592); } iprot.readListEnd(); } @@ -33956,9 +34045,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter585 : struct.success) + for (String _iter593 : struct.success) { - oprot.writeString(_iter585); + oprot.writeString(_iter593); } oprot.writeListEnd(); } @@ -33997,9 +34086,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter586 : struct.success) + for (String _iter594 : struct.success) { - oprot.writeString(_iter586); + oprot.writeString(_iter594); } } } @@ -34014,13 +34103,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list587.size); - for (int _i588 = 0; _i588 < _list587.size; ++_i588) + org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list595.size); + for (int _i596 = 0; _i596 < _list595.size; ++_i596) { - String _elem589; // required - _elem589 = iprot.readString(); - struct.success.add(_elem589); + String _elem597; // required + _elem597 = iprot.readString(); + struct.success.add(_elem597); } } struct.setSuccessIsSet(true); @@ -35476,13 +35565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list590.size); - for (int _i591 = 0; _i591 < _list590.size; ++_i591) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list598.size); + for (int _i599 = 0; _i599 < _list598.size; ++_i599) { - String _elem592; // required - _elem592 = iprot.readString(); - struct.tbl_names.add(_elem592); + String _elem600; // required + _elem600 = iprot.readString(); + struct.tbl_names.add(_elem600); } iprot.readListEnd(); } @@ -35513,9 +35602,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter593 : struct.tbl_names) + for (String _iter601 : struct.tbl_names) { - oprot.writeString(_iter593); + oprot.writeString(_iter601); } oprot.writeListEnd(); } @@ -35552,9 +35641,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter594 : struct.tbl_names) + for (String _iter602 : struct.tbl_names) { - oprot.writeString(_iter594); + oprot.writeString(_iter602); } } } @@ -35570,13 +35659,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list595.size); - for (int _i596 = 0; _i596 < _list595.size; ++_i596) + org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list603.size); + for (int _i604 = 0; _i604 < _list603.size; ++_i604) { - String _elem597; // required - _elem597 = iprot.readString(); - struct.tbl_names.add(_elem597); + String _elem605; // required + _elem605 = iprot.readString(); + struct.tbl_names.add(_elem605); } } struct.setTbl_namesIsSet(true); @@ -36144,14 +36233,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); - struct.success = new ArrayList
(_list598.size); - for (int _i599 = 0; _i599 < _list598.size; ++_i599) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.success = new ArrayList
(_list606.size); + for (int _i607 = 0; _i607 < _list606.size; ++_i607) { - Table _elem600; // required - _elem600 = new Table(); - _elem600.read(iprot); - struct.success.add(_elem600); + Table _elem608; // required + _elem608 = new Table(); + _elem608.read(iprot); + struct.success.add(_elem608); } iprot.readListEnd(); } @@ -36204,9 +36293,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter601 : struct.success) + for (Table _iter609 : struct.success) { - _iter601.write(oprot); + _iter609.write(oprot); } oprot.writeListEnd(); } @@ -36261,9 +36350,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter602 : struct.success) + for (Table _iter610 : struct.success) { - _iter602.write(oprot); + _iter610.write(oprot); } } } @@ -36284,14 +36373,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list603.size); - for (int _i604 = 0; _i604 < _list603.size; ++_i604) + org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list611.size); + for (int _i612 = 0; _i612 < _list611.size; ++_i612) { - Table _elem605; // required - _elem605 = new Table(); - _elem605.read(iprot); - struct.success.add(_elem605); + Table _elem613; // required + _elem613 = new Table(); + _elem613.read(iprot); + struct.success.add(_elem613); } } struct.setSuccessIsSet(true); @@ -37440,13 +37529,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); - struct.success = new ArrayList(_list606.size); - for (int _i607 = 0; _i607 < _list606.size; ++_i607) + org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); + struct.success = new ArrayList(_list614.size); + for (int _i615 = 0; _i615 < _list614.size; ++_i615) { - String _elem608; // required - _elem608 = iprot.readString(); - struct.success.add(_elem608); + String _elem616; // required + _elem616 = iprot.readString(); + struct.success.add(_elem616); } iprot.readListEnd(); } @@ -37499,9 +37588,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter609 : struct.success) + for (String _iter617 : struct.success) { - oprot.writeString(_iter609); + oprot.writeString(_iter617); } oprot.writeListEnd(); } @@ -37556,9 +37645,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter610 : struct.success) + for (String _iter618 : struct.success) { - oprot.writeString(_iter610); + oprot.writeString(_iter618); } } } @@ -37579,13 +37668,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list611.size); - for (int _i612 = 0; _i612 < _list611.size; ++_i612) + org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list619.size); + for (int _i620 = 0; _i620 < _list619.size; ++_i620) { - String _elem613; // required - _elem613 = iprot.readString(); - struct.success.add(_elem613); + String _elem621; // required + _elem621 = iprot.readString(); + struct.success.add(_elem621); } } struct.setSuccessIsSet(true); @@ -43444,14 +43533,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list614.size); - for (int _i615 = 0; _i615 < _list614.size; ++_i615) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list622.size); + for (int _i623 = 0; _i623 < _list622.size; ++_i623) { - Partition _elem616; // required - _elem616 = new Partition(); - _elem616.read(iprot); - struct.new_parts.add(_elem616); + Partition _elem624; // required + _elem624 = new Partition(); + _elem624.read(iprot); + struct.new_parts.add(_elem624); } iprot.readListEnd(); } @@ -43477,9 +43566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter617 : struct.new_parts) + for (Partition _iter625 : struct.new_parts) { - _iter617.write(oprot); + _iter625.write(oprot); } oprot.writeListEnd(); } @@ -43510,9 +43599,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter618 : struct.new_parts) + for (Partition _iter626 : struct.new_parts) { - _iter618.write(oprot); + _iter626.write(oprot); } } } @@ -43524,14 +43613,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list619.size); - for (int _i620 = 0; _i620 < _list619.size; ++_i620) + org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list627.size); + for (int _i628 = 0; _i628 < _list627.size; ++_i628) { - Partition _elem621; // required - _elem621 = new Partition(); - _elem621.read(iprot); - struct.new_parts.add(_elem621); + Partition _elem629; // required + _elem629 = new Partition(); + _elem629.read(iprot); + struct.new_parts.add(_elem629); } } struct.setNew_partsIsSet(true); @@ -44532,14 +44621,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list622.size); - for (int _i623 = 0; _i623 < _list622.size; ++_i623) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list630.size); + for (int _i631 = 0; _i631 < _list630.size; ++_i631) { - PartitionSpec _elem624; // required - _elem624 = new PartitionSpec(); - _elem624.read(iprot); - struct.new_parts.add(_elem624); + PartitionSpec _elem632; // required + _elem632 = new PartitionSpec(); + _elem632.read(iprot); + struct.new_parts.add(_elem632); } iprot.readListEnd(); } @@ -44565,9 +44654,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter625 : struct.new_parts) + for (PartitionSpec _iter633 : struct.new_parts) { - _iter625.write(oprot); + _iter633.write(oprot); } oprot.writeListEnd(); } @@ -44598,9 +44687,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter626 : struct.new_parts) + for (PartitionSpec _iter634 : struct.new_parts) { - _iter626.write(oprot); + _iter634.write(oprot); } } } @@ -44612,14 +44701,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list627.size); - for (int _i628 = 0; _i628 < _list627.size; ++_i628) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list635.size); + for (int _i636 = 0; _i636 < _list635.size; ++_i636) { - PartitionSpec _elem629; // required - _elem629 = new PartitionSpec(); - _elem629.read(iprot); - struct.new_parts.add(_elem629); + PartitionSpec _elem637; // required + _elem637 = new PartitionSpec(); + _elem637.read(iprot); + struct.new_parts.add(_elem637); } } struct.setNew_partsIsSet(true); @@ -45798,13 +45887,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list630.size); - for (int _i631 = 0; _i631 < _list630.size; ++_i631) + org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list638.size); + for (int _i639 = 0; _i639 < _list638.size; ++_i639) { - String _elem632; // required - _elem632 = iprot.readString(); - struct.part_vals.add(_elem632); + String _elem640; // required + _elem640 = iprot.readString(); + struct.part_vals.add(_elem640); } iprot.readListEnd(); } @@ -45840,9 +45929,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter633 : struct.part_vals) + for (String _iter641 : struct.part_vals) { - oprot.writeString(_iter633); + oprot.writeString(_iter641); } oprot.writeListEnd(); } @@ -45885,9 +45974,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter634 : struct.part_vals) + for (String _iter642 : struct.part_vals) { - oprot.writeString(_iter634); + oprot.writeString(_iter642); } } } @@ -45907,13 +45996,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list635.size); - for (int _i636 = 0; _i636 < _list635.size; ++_i636) + org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list643.size); + for (int _i644 = 0; _i644 < _list643.size; ++_i644) { - String _elem637; // required - _elem637 = iprot.readString(); - struct.part_vals.add(_elem637); + String _elem645; // required + _elem645 = iprot.readString(); + struct.part_vals.add(_elem645); } } struct.setPart_valsIsSet(true); @@ -48225,13 +48314,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list638.size); - for (int _i639 = 0; _i639 < _list638.size; ++_i639) + org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list646.size); + for (int _i647 = 0; _i647 < _list646.size; ++_i647) { - String _elem640; // required - _elem640 = iprot.readString(); - struct.part_vals.add(_elem640); + String _elem648; // required + _elem648 = iprot.readString(); + struct.part_vals.add(_elem648); } iprot.readListEnd(); } @@ -48276,9 +48365,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter641 : struct.part_vals) + for (String _iter649 : struct.part_vals) { - oprot.writeString(_iter641); + oprot.writeString(_iter649); } oprot.writeListEnd(); } @@ -48329,9 +48418,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter642 : struct.part_vals) + for (String _iter650 : struct.part_vals) { - oprot.writeString(_iter642); + oprot.writeString(_iter650); } } } @@ -48354,13 +48443,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list643.size); - for (int _i644 = 0; _i644 < _list643.size; ++_i644) + org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list651.size); + for (int _i652 = 0; _i652 < _list651.size; ++_i652) { - String _elem645; // required - _elem645 = iprot.readString(); - struct.part_vals.add(_elem645); + String _elem653; // required + _elem653 = iprot.readString(); + struct.part_vals.add(_elem653); } } struct.setPart_valsIsSet(true); @@ -52233,13 +52322,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list646.size); - for (int _i647 = 0; _i647 < _list646.size; ++_i647) + org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list654.size); + for (int _i655 = 0; _i655 < _list654.size; ++_i655) { - String _elem648; // required - _elem648 = iprot.readString(); - struct.part_vals.add(_elem648); + String _elem656; // required + _elem656 = iprot.readString(); + struct.part_vals.add(_elem656); } iprot.readListEnd(); } @@ -52283,9 +52372,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter649 : struct.part_vals) + for (String _iter657 : struct.part_vals) { - oprot.writeString(_iter649); + oprot.writeString(_iter657); } oprot.writeListEnd(); } @@ -52334,9 +52423,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter650 : struct.part_vals) + for (String _iter658 : struct.part_vals) { - oprot.writeString(_iter650); + oprot.writeString(_iter658); } } } @@ -52359,13 +52448,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list651.size); - for (int _i652 = 0; _i652 < _list651.size; ++_i652) + org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list659.size); + for (int _i660 = 0; _i660 < _list659.size; ++_i660) { - String _elem653; // required - _elem653 = iprot.readString(); - struct.part_vals.add(_elem653); + String _elem661; // required + _elem661 = iprot.readString(); + struct.part_vals.add(_elem661); } } struct.setPart_valsIsSet(true); @@ -53607,13 +53696,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list654.size); - for (int _i655 = 0; _i655 < _list654.size; ++_i655) + org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list662.size); + for (int _i663 = 0; _i663 < _list662.size; ++_i663) { - String _elem656; // required - _elem656 = iprot.readString(); - struct.part_vals.add(_elem656); + String _elem664; // required + _elem664 = iprot.readString(); + struct.part_vals.add(_elem664); } iprot.readListEnd(); } @@ -53666,9 +53755,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter657 : struct.part_vals) + for (String _iter665 : struct.part_vals) { - oprot.writeString(_iter657); + oprot.writeString(_iter665); } oprot.writeListEnd(); } @@ -53725,9 +53814,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter658 : struct.part_vals) + for (String _iter666 : struct.part_vals) { - oprot.writeString(_iter658); + oprot.writeString(_iter666); } } } @@ -53753,13 +53842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list659.size); - for (int _i660 = 0; _i660 < _list659.size; ++_i660) + org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list667.size); + for (int _i668 = 0; _i668 < _list667.size; ++_i668) { - String _elem661; // required - _elem661 = iprot.readString(); - struct.part_vals.add(_elem661); + String _elem669; // required + _elem669 = iprot.readString(); + struct.part_vals.add(_elem669); } } struct.setPart_valsIsSet(true); @@ -58364,13 +58453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list662.size); - for (int _i663 = 0; _i663 < _list662.size; ++_i663) + org.apache.thrift.protocol.TList _list670 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list670.size); + for (int _i671 = 0; _i671 < _list670.size; ++_i671) { - String _elem664; // required - _elem664 = iprot.readString(); - struct.part_vals.add(_elem664); + String _elem672; // required + _elem672 = iprot.readString(); + struct.part_vals.add(_elem672); } iprot.readListEnd(); } @@ -58406,9 +58495,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter665 : struct.part_vals) + for (String _iter673 : struct.part_vals) { - oprot.writeString(_iter665); + oprot.writeString(_iter673); } oprot.writeListEnd(); } @@ -58451,9 +58540,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter666 : struct.part_vals) + for (String _iter674 : struct.part_vals) { - oprot.writeString(_iter666); + oprot.writeString(_iter674); } } } @@ -58473,13 +58562,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list667.size); - for (int _i668 = 0; _i668 < _list667.size; ++_i668) + org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list675.size); + for (int _i676 = 0; _i676 < _list675.size; ++_i676) { - String _elem669; // required - _elem669 = iprot.readString(); - struct.part_vals.add(_elem669); + String _elem677; // required + _elem677 = iprot.readString(); + struct.part_vals.add(_elem677); } } struct.setPart_valsIsSet(true); @@ -59708,15 +59797,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map670 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map670.size); - for (int _i671 = 0; _i671 < _map670.size; ++_i671) + org.apache.thrift.protocol.TMap _map678 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map678.size); + for (int _i679 = 0; _i679 < _map678.size; ++_i679) { - String _key672; // required - String _val673; // required - _key672 = iprot.readString(); - _val673 = iprot.readString(); - struct.partitionSpecs.put(_key672, _val673); + String _key680; // required + String _val681; // required + _key680 = iprot.readString(); + _val681 = iprot.readString(); + struct.partitionSpecs.put(_key680, _val681); } iprot.readMapEnd(); } @@ -59774,10 +59863,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter674 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter682 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter674.getKey()); - oprot.writeString(_iter674.getValue()); + oprot.writeString(_iter682.getKey()); + oprot.writeString(_iter682.getValue()); } oprot.writeMapEnd(); } @@ -59840,10 +59929,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter675 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter683 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter675.getKey()); - oprot.writeString(_iter675.getValue()); + oprot.writeString(_iter683.getKey()); + oprot.writeString(_iter683.getValue()); } } } @@ -59867,15 +59956,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map676 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map676.size); - for (int _i677 = 0; _i677 < _map676.size; ++_i677) + org.apache.thrift.protocol.TMap _map684 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map684.size); + for (int _i685 = 0; _i685 < _map684.size; ++_i685) { - String _key678; // required - String _val679; // required - _key678 = iprot.readString(); - _val679 = iprot.readString(); - struct.partitionSpecs.put(_key678, _val679); + String _key686; // required + String _val687; // required + _key686 = iprot.readString(); + _val687 = iprot.readString(); + struct.partitionSpecs.put(_key686, _val687); } } struct.setPartitionSpecsIsSet(true); @@ -61363,13 +61452,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list680 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list680.size); - for (int _i681 = 0; _i681 < _list680.size; ++_i681) + org.apache.thrift.protocol.TList _list688 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list688.size); + for (int _i689 = 0; _i689 < _list688.size; ++_i689) { - String _elem682; // required - _elem682 = iprot.readString(); - struct.part_vals.add(_elem682); + String _elem690; // required + _elem690 = iprot.readString(); + struct.part_vals.add(_elem690); } iprot.readListEnd(); } @@ -61389,13 +61478,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list683 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list683.size); - for (int _i684 = 0; _i684 < _list683.size; ++_i684) + org.apache.thrift.protocol.TList _list691 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list691.size); + for (int _i692 = 0; _i692 < _list691.size; ++_i692) { - String _elem685; // required - _elem685 = iprot.readString(); - struct.group_names.add(_elem685); + String _elem693; // required + _elem693 = iprot.readString(); + struct.group_names.add(_elem693); } iprot.readListEnd(); } @@ -61431,9 +61520,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter686 : struct.part_vals) + for (String _iter694 : struct.part_vals) { - oprot.writeString(_iter686); + oprot.writeString(_iter694); } oprot.writeListEnd(); } @@ -61448,9 +61537,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter687 : struct.group_names) + for (String _iter695 : struct.group_names) { - oprot.writeString(_iter687); + oprot.writeString(_iter695); } oprot.writeListEnd(); } @@ -61499,9 +61588,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter688 : struct.part_vals) + for (String _iter696 : struct.part_vals) { - oprot.writeString(_iter688); + oprot.writeString(_iter696); } } } @@ -61511,9 +61600,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter689 : struct.group_names) + for (String _iter697 : struct.group_names) { - oprot.writeString(_iter689); + oprot.writeString(_iter697); } } } @@ -61533,13 +61622,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list690 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list690.size); - for (int _i691 = 0; _i691 < _list690.size; ++_i691) + org.apache.thrift.protocol.TList _list698 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list698.size); + for (int _i699 = 0; _i699 < _list698.size; ++_i699) { - String _elem692; // required - _elem692 = iprot.readString(); - struct.part_vals.add(_elem692); + String _elem700; // required + _elem700 = iprot.readString(); + struct.part_vals.add(_elem700); } } struct.setPart_valsIsSet(true); @@ -61550,13 +61639,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list693 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list693.size); - for (int _i694 = 0; _i694 < _list693.size; ++_i694) + org.apache.thrift.protocol.TList _list701 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list701.size); + for (int _i702 = 0; _i702 < _list701.size; ++_i702) { - String _elem695; // required - _elem695 = iprot.readString(); - struct.group_names.add(_elem695); + String _elem703; // required + _elem703 = iprot.readString(); + struct.group_names.add(_elem703); } } struct.setGroup_namesIsSet(true); @@ -64325,14 +64414,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list696 = iprot.readListBegin(); - struct.success = new ArrayList(_list696.size); - for (int _i697 = 0; _i697 < _list696.size; ++_i697) + org.apache.thrift.protocol.TList _list704 = iprot.readListBegin(); + struct.success = new ArrayList(_list704.size); + for (int _i705 = 0; _i705 < _list704.size; ++_i705) { - Partition _elem698; // required - _elem698 = new Partition(); - _elem698.read(iprot); - struct.success.add(_elem698); + Partition _elem706; // required + _elem706 = new Partition(); + _elem706.read(iprot); + struct.success.add(_elem706); } iprot.readListEnd(); } @@ -64376,9 +64465,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter699 : struct.success) + for (Partition _iter707 : struct.success) { - _iter699.write(oprot); + _iter707.write(oprot); } oprot.writeListEnd(); } @@ -64425,9 +64514,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter700 : struct.success) + for (Partition _iter708 : struct.success) { - _iter700.write(oprot); + _iter708.write(oprot); } } } @@ -64445,14 +64534,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list701 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list701.size); - for (int _i702 = 0; _i702 < _list701.size; ++_i702) + org.apache.thrift.protocol.TList _list709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list709.size); + for (int _i710 = 0; _i710 < _list709.size; ++_i710) { - Partition _elem703; // required - _elem703 = new Partition(); - _elem703.read(iprot); - struct.success.add(_elem703); + Partition _elem711; // required + _elem711 = new Partition(); + _elem711.read(iprot); + struct.success.add(_elem711); } } struct.setSuccessIsSet(true); @@ -65145,13 +65234,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list704 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list704.size); - for (int _i705 = 0; _i705 < _list704.size; ++_i705) + org.apache.thrift.protocol.TList _list712 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list712.size); + for (int _i713 = 0; _i713 < _list712.size; ++_i713) { - String _elem706; // required - _elem706 = iprot.readString(); - struct.group_names.add(_elem706); + String _elem714; // required + _elem714 = iprot.readString(); + struct.group_names.add(_elem714); } iprot.readListEnd(); } @@ -65195,9 +65284,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter707 : struct.group_names) + for (String _iter715 : struct.group_names) { - oprot.writeString(_iter707); + oprot.writeString(_iter715); } oprot.writeListEnd(); } @@ -65252,9 +65341,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter708 : struct.group_names) + for (String _iter716 : struct.group_names) { - oprot.writeString(_iter708); + oprot.writeString(_iter716); } } } @@ -65282,13 +65371,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list709.size); - for (int _i710 = 0; _i710 < _list709.size; ++_i710) + org.apache.thrift.protocol.TList _list717 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list717.size); + for (int _i718 = 0; _i718 < _list717.size; ++_i718) { - String _elem711; // required - _elem711 = iprot.readString(); - struct.group_names.add(_elem711); + String _elem719; // required + _elem719 = iprot.readString(); + struct.group_names.add(_elem719); } } struct.setGroup_namesIsSet(true); @@ -65775,14 +65864,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list712 = iprot.readListBegin(); - struct.success = new ArrayList(_list712.size); - for (int _i713 = 0; _i713 < _list712.size; ++_i713) + org.apache.thrift.protocol.TList _list720 = iprot.readListBegin(); + struct.success = new ArrayList(_list720.size); + for (int _i721 = 0; _i721 < _list720.size; ++_i721) { - Partition _elem714; // required - _elem714 = new Partition(); - _elem714.read(iprot); - struct.success.add(_elem714); + Partition _elem722; // required + _elem722 = new Partition(); + _elem722.read(iprot); + struct.success.add(_elem722); } iprot.readListEnd(); } @@ -65826,9 +65915,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter715 : struct.success) + for (Partition _iter723 : struct.success) { - _iter715.write(oprot); + _iter723.write(oprot); } oprot.writeListEnd(); } @@ -65875,9 +65964,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter716 : struct.success) + for (Partition _iter724 : struct.success) { - _iter716.write(oprot); + _iter724.write(oprot); } } } @@ -65895,14 +65984,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list717 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list717.size); - for (int _i718 = 0; _i718 < _list717.size; ++_i718) + org.apache.thrift.protocol.TList _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list725.size); + for (int _i726 = 0; _i726 < _list725.size; ++_i726) { - Partition _elem719; // required - _elem719 = new Partition(); - _elem719.read(iprot); - struct.success.add(_elem719); + Partition _elem727; // required + _elem727 = new Partition(); + _elem727.read(iprot); + struct.success.add(_elem727); } } struct.setSuccessIsSet(true); @@ -66965,14 +67054,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list720 = iprot.readListBegin(); - struct.success = new ArrayList(_list720.size); - for (int _i721 = 0; _i721 < _list720.size; ++_i721) + org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); + struct.success = new ArrayList(_list728.size); + for (int _i729 = 0; _i729 < _list728.size; ++_i729) { - PartitionSpec _elem722; // required - _elem722 = new PartitionSpec(); - _elem722.read(iprot); - struct.success.add(_elem722); + PartitionSpec _elem730; // required + _elem730 = new PartitionSpec(); + _elem730.read(iprot); + struct.success.add(_elem730); } iprot.readListEnd(); } @@ -67016,9 +67105,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter723 : struct.success) + for (PartitionSpec _iter731 : struct.success) { - _iter723.write(oprot); + _iter731.write(oprot); } oprot.writeListEnd(); } @@ -67065,9 +67154,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter724 : struct.success) + for (PartitionSpec _iter732 : struct.success) { - _iter724.write(oprot); + _iter732.write(oprot); } } } @@ -67085,14 +67174,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list725.size); - for (int _i726 = 0; _i726 < _list725.size; ++_i726) + org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list733.size); + for (int _i734 = 0; _i734 < _list733.size; ++_i734) { - PartitionSpec _elem727; // required - _elem727 = new PartitionSpec(); - _elem727.read(iprot); - struct.success.add(_elem727); + PartitionSpec _elem735; // required + _elem735 = new PartitionSpec(); + _elem735.read(iprot); + struct.success.add(_elem735); } } struct.setSuccessIsSet(true); @@ -68074,13 +68163,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); - struct.success = new ArrayList(_list728.size); - for (int _i729 = 0; _i729 < _list728.size; ++_i729) + org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); + struct.success = new ArrayList(_list736.size); + for (int _i737 = 0; _i737 < _list736.size; ++_i737) { - String _elem730; // required - _elem730 = iprot.readString(); - struct.success.add(_elem730); + String _elem738; // required + _elem738 = iprot.readString(); + struct.success.add(_elem738); } iprot.readListEnd(); } @@ -68115,9 +68204,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter731 : struct.success) + for (String _iter739 : struct.success) { - oprot.writeString(_iter731); + oprot.writeString(_iter739); } oprot.writeListEnd(); } @@ -68156,9 +68245,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter732 : struct.success) + for (String _iter740 : struct.success) { - oprot.writeString(_iter732); + oprot.writeString(_iter740); } } } @@ -68173,13 +68262,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list733.size); - for (int _i734 = 0; _i734 < _list733.size; ++_i734) + org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list741.size); + for (int _i742 = 0; _i742 < _list741.size; ++_i742) { - String _elem735; // required - _elem735 = iprot.readString(); - struct.success.add(_elem735); + String _elem743; // required + _elem743 = iprot.readString(); + struct.success.add(_elem743); } } struct.setSuccessIsSet(true); @@ -68770,13 +68859,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list736.size); - for (int _i737 = 0; _i737 < _list736.size; ++_i737) + org.apache.thrift.protocol.TList _list744 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list744.size); + for (int _i745 = 0; _i745 < _list744.size; ++_i745) { - String _elem738; // required - _elem738 = iprot.readString(); - struct.part_vals.add(_elem738); + String _elem746; // required + _elem746 = iprot.readString(); + struct.part_vals.add(_elem746); } iprot.readListEnd(); } @@ -68820,9 +68909,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter739 : struct.part_vals) + for (String _iter747 : struct.part_vals) { - oprot.writeString(_iter739); + oprot.writeString(_iter747); } oprot.writeListEnd(); } @@ -68871,9 +68960,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter740 : struct.part_vals) + for (String _iter748 : struct.part_vals) { - oprot.writeString(_iter740); + oprot.writeString(_iter748); } } } @@ -68896,13 +68985,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list741.size); - for (int _i742 = 0; _i742 < _list741.size; ++_i742) + org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list749.size); + for (int _i750 = 0; _i750 < _list749.size; ++_i750) { - String _elem743; // required - _elem743 = iprot.readString(); - struct.part_vals.add(_elem743); + String _elem751; // required + _elem751 = iprot.readString(); + struct.part_vals.add(_elem751); } } struct.setPart_valsIsSet(true); @@ -69393,14 +69482,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list744 = iprot.readListBegin(); - struct.success = new ArrayList(_list744.size); - for (int _i745 = 0; _i745 < _list744.size; ++_i745) + org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); + struct.success = new ArrayList(_list752.size); + for (int _i753 = 0; _i753 < _list752.size; ++_i753) { - Partition _elem746; // required - _elem746 = new Partition(); - _elem746.read(iprot); - struct.success.add(_elem746); + Partition _elem754; // required + _elem754 = new Partition(); + _elem754.read(iprot); + struct.success.add(_elem754); } iprot.readListEnd(); } @@ -69444,9 +69533,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter747 : struct.success) + for (Partition _iter755 : struct.success) { - _iter747.write(oprot); + _iter755.write(oprot); } oprot.writeListEnd(); } @@ -69493,9 +69582,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter748 : struct.success) + for (Partition _iter756 : struct.success) { - _iter748.write(oprot); + _iter756.write(oprot); } } } @@ -69513,14 +69602,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list749.size); - for (int _i750 = 0; _i750 < _list749.size; ++_i750) + org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list757.size); + for (int _i758 = 0; _i758 < _list757.size; ++_i758) { - Partition _elem751; // required - _elem751 = new Partition(); - _elem751.read(iprot); - struct.success.add(_elem751); + Partition _elem759; // required + _elem759 = new Partition(); + _elem759.read(iprot); + struct.success.add(_elem759); } } struct.setSuccessIsSet(true); @@ -70298,13 +70387,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list752.size); - for (int _i753 = 0; _i753 < _list752.size; ++_i753) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list760.size); + for (int _i761 = 0; _i761 < _list760.size; ++_i761) { - String _elem754; // required - _elem754 = iprot.readString(); - struct.part_vals.add(_elem754); + String _elem762; // required + _elem762 = iprot.readString(); + struct.part_vals.add(_elem762); } iprot.readListEnd(); } @@ -70332,13 +70421,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list755 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list755.size); - for (int _i756 = 0; _i756 < _list755.size; ++_i756) + org.apache.thrift.protocol.TList _list763 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list763.size); + for (int _i764 = 0; _i764 < _list763.size; ++_i764) { - String _elem757; // required - _elem757 = iprot.readString(); - struct.group_names.add(_elem757); + String _elem765; // required + _elem765 = iprot.readString(); + struct.group_names.add(_elem765); } iprot.readListEnd(); } @@ -70374,9 +70463,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter758 : struct.part_vals) + for (String _iter766 : struct.part_vals) { - oprot.writeString(_iter758); + oprot.writeString(_iter766); } oprot.writeListEnd(); } @@ -70394,9 +70483,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter759 : struct.group_names) + for (String _iter767 : struct.group_names) { - oprot.writeString(_iter759); + oprot.writeString(_iter767); } oprot.writeListEnd(); } @@ -70448,9 +70537,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter760 : struct.part_vals) + for (String _iter768 : struct.part_vals) { - oprot.writeString(_iter760); + oprot.writeString(_iter768); } } } @@ -70463,9 +70552,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter761 : struct.group_names) + for (String _iter769 : struct.group_names) { - oprot.writeString(_iter761); + oprot.writeString(_iter769); } } } @@ -70485,13 +70574,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list762 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list762.size); - for (int _i763 = 0; _i763 < _list762.size; ++_i763) + org.apache.thrift.protocol.TList _list770 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list770.size); + for (int _i771 = 0; _i771 < _list770.size; ++_i771) { - String _elem764; // required - _elem764 = iprot.readString(); - struct.part_vals.add(_elem764); + String _elem772; // required + _elem772 = iprot.readString(); + struct.part_vals.add(_elem772); } } struct.setPart_valsIsSet(true); @@ -70506,13 +70595,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list765.size); - for (int _i766 = 0; _i766 < _list765.size; ++_i766) + org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list773.size); + for (int _i774 = 0; _i774 < _list773.size; ++_i774) { - String _elem767; // required - _elem767 = iprot.readString(); - struct.group_names.add(_elem767); + String _elem775; // required + _elem775 = iprot.readString(); + struct.group_names.add(_elem775); } } struct.setGroup_namesIsSet(true); @@ -70999,14 +71088,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); - struct.success = new ArrayList(_list768.size); - for (int _i769 = 0; _i769 < _list768.size; ++_i769) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.success = new ArrayList(_list776.size); + for (int _i777 = 0; _i777 < _list776.size; ++_i777) { - Partition _elem770; // required - _elem770 = new Partition(); - _elem770.read(iprot); - struct.success.add(_elem770); + Partition _elem778; // required + _elem778 = new Partition(); + _elem778.read(iprot); + struct.success.add(_elem778); } iprot.readListEnd(); } @@ -71050,9 +71139,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter771 : struct.success) + for (Partition _iter779 : struct.success) { - _iter771.write(oprot); + _iter779.write(oprot); } oprot.writeListEnd(); } @@ -71099,9 +71188,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter772 : struct.success) + for (Partition _iter780 : struct.success) { - _iter772.write(oprot); + _iter780.write(oprot); } } } @@ -71119,14 +71208,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list773.size); - for (int _i774 = 0; _i774 < _list773.size; ++_i774) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list781.size); + for (int _i782 = 0; _i782 < _list781.size; ++_i782) { - Partition _elem775; // required - _elem775 = new Partition(); - _elem775.read(iprot); - struct.success.add(_elem775); + Partition _elem783; // required + _elem783 = new Partition(); + _elem783.read(iprot); + struct.success.add(_elem783); } } struct.setSuccessIsSet(true); @@ -71722,13 +71811,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list776.size); - for (int _i777 = 0; _i777 < _list776.size; ++_i777) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list784.size); + for (int _i785 = 0; _i785 < _list784.size; ++_i785) { - String _elem778; // required - _elem778 = iprot.readString(); - struct.part_vals.add(_elem778); + String _elem786; // required + _elem786 = iprot.readString(); + struct.part_vals.add(_elem786); } iprot.readListEnd(); } @@ -71772,9 +71861,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter779 : struct.part_vals) + for (String _iter787 : struct.part_vals) { - oprot.writeString(_iter779); + oprot.writeString(_iter787); } oprot.writeListEnd(); } @@ -71823,9 +71912,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter780 : struct.part_vals) + for (String _iter788 : struct.part_vals) { - oprot.writeString(_iter780); + oprot.writeString(_iter788); } } } @@ -71848,13 +71937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list781.size); - for (int _i782 = 0; _i782 < _list781.size; ++_i782) + org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list789.size); + for (int _i790 = 0; _i790 < _list789.size; ++_i790) { - String _elem783; // required - _elem783 = iprot.readString(); - struct.part_vals.add(_elem783); + String _elem791; // required + _elem791 = iprot.readString(); + struct.part_vals.add(_elem791); } } struct.setPart_valsIsSet(true); @@ -72345,13 +72434,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); - struct.success = new ArrayList(_list784.size); - for (int _i785 = 0; _i785 < _list784.size; ++_i785) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.success = new ArrayList(_list792.size); + for (int _i793 = 0; _i793 < _list792.size; ++_i793) { - String _elem786; // required - _elem786 = iprot.readString(); - struct.success.add(_elem786); + String _elem794; // required + _elem794 = iprot.readString(); + struct.success.add(_elem794); } iprot.readListEnd(); } @@ -72395,9 +72484,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter787 : struct.success) + for (String _iter795 : struct.success) { - oprot.writeString(_iter787); + oprot.writeString(_iter795); } oprot.writeListEnd(); } @@ -72444,9 +72533,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter788 : struct.success) + for (String _iter796 : struct.success) { - oprot.writeString(_iter788); + oprot.writeString(_iter796); } } } @@ -72464,13 +72553,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list789.size); - for (int _i790 = 0; _i790 < _list789.size; ++_i790) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list797.size); + for (int _i798 = 0; _i798 < _list797.size; ++_i798) { - String _elem791; // required - _elem791 = iprot.readString(); - struct.success.add(_elem791); + String _elem799; // required + _elem799 = iprot.readString(); + struct.success.add(_elem799); } } struct.setSuccessIsSet(true); @@ -73637,14 +73726,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); - struct.success = new ArrayList(_list792.size); - for (int _i793 = 0; _i793 < _list792.size; ++_i793) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.success = new ArrayList(_list800.size); + for (int _i801 = 0; _i801 < _list800.size; ++_i801) { - Partition _elem794; // required - _elem794 = new Partition(); - _elem794.read(iprot); - struct.success.add(_elem794); + Partition _elem802; // required + _elem802 = new Partition(); + _elem802.read(iprot); + struct.success.add(_elem802); } iprot.readListEnd(); } @@ -73688,9 +73777,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter795 : struct.success) + for (Partition _iter803 : struct.success) { - _iter795.write(oprot); + _iter803.write(oprot); } oprot.writeListEnd(); } @@ -73737,9 +73826,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter796 : struct.success) + for (Partition _iter804 : struct.success) { - _iter796.write(oprot); + _iter804.write(oprot); } } } @@ -73757,14 +73846,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list797.size); - for (int _i798 = 0; _i798 < _list797.size; ++_i798) + org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list805.size); + for (int _i806 = 0; _i806 < _list805.size; ++_i806) { - Partition _elem799; // required - _elem799 = new Partition(); - _elem799.read(iprot); - struct.success.add(_elem799); + Partition _elem807; // required + _elem807 = new Partition(); + _elem807.read(iprot); + struct.success.add(_elem807); } } struct.setSuccessIsSet(true); @@ -74931,14 +75020,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); - struct.success = new ArrayList(_list800.size); - for (int _i801 = 0; _i801 < _list800.size; ++_i801) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.success = new ArrayList(_list808.size); + for (int _i809 = 0; _i809 < _list808.size; ++_i809) { - PartitionSpec _elem802; // required - _elem802 = new PartitionSpec(); - _elem802.read(iprot); - struct.success.add(_elem802); + PartitionSpec _elem810; // required + _elem810 = new PartitionSpec(); + _elem810.read(iprot); + struct.success.add(_elem810); } iprot.readListEnd(); } @@ -74982,9 +75071,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter803 : struct.success) + for (PartitionSpec _iter811 : struct.success) { - _iter803.write(oprot); + _iter811.write(oprot); } oprot.writeListEnd(); } @@ -75031,9 +75120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter804 : struct.success) + for (PartitionSpec _iter812 : struct.success) { - _iter804.write(oprot); + _iter812.write(oprot); } } } @@ -75051,14 +75140,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list805.size); - for (int _i806 = 0; _i806 < _list805.size; ++_i806) + org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list813.size); + for (int _i814 = 0; _i814 < _list813.size; ++_i814) { - PartitionSpec _elem807; // required - _elem807 = new PartitionSpec(); - _elem807.read(iprot); - struct.success.add(_elem807); + PartitionSpec _elem815; // required + _elem815 = new PartitionSpec(); + _elem815.read(iprot); + struct.success.add(_elem815); } } struct.setSuccessIsSet(true); @@ -76509,13 +76598,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); - struct.names = new ArrayList(_list808.size); - for (int _i809 = 0; _i809 < _list808.size; ++_i809) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.names = new ArrayList(_list816.size); + for (int _i817 = 0; _i817 < _list816.size; ++_i817) { - String _elem810; // required - _elem810 = iprot.readString(); - struct.names.add(_elem810); + String _elem818; // required + _elem818 = iprot.readString(); + struct.names.add(_elem818); } iprot.readListEnd(); } @@ -76551,9 +76640,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter811 : struct.names) + for (String _iter819 : struct.names) { - oprot.writeString(_iter811); + oprot.writeString(_iter819); } oprot.writeListEnd(); } @@ -76596,9 +76685,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter812 : struct.names) + for (String _iter820 : struct.names) { - oprot.writeString(_iter812); + oprot.writeString(_iter820); } } } @@ -76618,13 +76707,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list813.size); - for (int _i814 = 0; _i814 < _list813.size; ++_i814) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list821.size); + for (int _i822 = 0; _i822 < _list821.size; ++_i822) { - String _elem815; // required - _elem815 = iprot.readString(); - struct.names.add(_elem815); + String _elem823; // required + _elem823 = iprot.readString(); + struct.names.add(_elem823); } } struct.setNamesIsSet(true); @@ -77111,14 +77200,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); - struct.success = new ArrayList(_list816.size); - for (int _i817 = 0; _i817 < _list816.size; ++_i817) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.success = new ArrayList(_list824.size); + for (int _i825 = 0; _i825 < _list824.size; ++_i825) { - Partition _elem818; // required - _elem818 = new Partition(); - _elem818.read(iprot); - struct.success.add(_elem818); + Partition _elem826; // required + _elem826 = new Partition(); + _elem826.read(iprot); + struct.success.add(_elem826); } iprot.readListEnd(); } @@ -77162,9 +77251,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter819 : struct.success) + for (Partition _iter827 : struct.success) { - _iter819.write(oprot); + _iter827.write(oprot); } oprot.writeListEnd(); } @@ -77211,9 +77300,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter820 : struct.success) + for (Partition _iter828 : struct.success) { - _iter820.write(oprot); + _iter828.write(oprot); } } } @@ -77231,14 +77320,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list821.size); - for (int _i822 = 0; _i822 < _list821.size; ++_i822) + org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list829.size); + for (int _i830 = 0; _i830 < _list829.size; ++_i830) { - Partition _elem823; // required - _elem823 = new Partition(); - _elem823.read(iprot); - struct.success.add(_elem823); + Partition _elem831; // required + _elem831 = new Partition(); + _elem831.read(iprot); + struct.success.add(_elem831); } } struct.setSuccessIsSet(true); @@ -78788,14 +78877,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list824.size); - for (int _i825 = 0; _i825 < _list824.size; ++_i825) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list832.size); + for (int _i833 = 0; _i833 < _list832.size; ++_i833) { - Partition _elem826; // required - _elem826 = new Partition(); - _elem826.read(iprot); - struct.new_parts.add(_elem826); + Partition _elem834; // required + _elem834 = new Partition(); + _elem834.read(iprot); + struct.new_parts.add(_elem834); } iprot.readListEnd(); } @@ -78831,9 +78920,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter827 : struct.new_parts) + for (Partition _iter835 : struct.new_parts) { - _iter827.write(oprot); + _iter835.write(oprot); } oprot.writeListEnd(); } @@ -78876,9 +78965,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter828 : struct.new_parts) + for (Partition _iter836 : struct.new_parts) { - _iter828.write(oprot); + _iter836.write(oprot); } } } @@ -78898,14 +78987,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list829.size); - for (int _i830 = 0; _i830 < _list829.size; ++_i830) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list837.size); + for (int _i838 = 0; _i838 < _list837.size; ++_i838) { - Partition _elem831; // required - _elem831 = new Partition(); - _elem831.read(iprot); - struct.new_parts.add(_elem831); + Partition _elem839; // required + _elem839 = new Partition(); + _elem839.read(iprot); + struct.new_parts.add(_elem839); } } struct.setNew_partsIsSet(true); @@ -81104,13 +81193,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list832.size); - for (int _i833 = 0; _i833 < _list832.size; ++_i833) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list840.size); + for (int _i841 = 0; _i841 < _list840.size; ++_i841) { - String _elem834; // required - _elem834 = iprot.readString(); - struct.part_vals.add(_elem834); + String _elem842; // required + _elem842 = iprot.readString(); + struct.part_vals.add(_elem842); } iprot.readListEnd(); } @@ -81155,9 +81244,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter835 : struct.part_vals) + for (String _iter843 : struct.part_vals) { - oprot.writeString(_iter835); + oprot.writeString(_iter843); } oprot.writeListEnd(); } @@ -81208,9 +81297,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter836 : struct.part_vals) + for (String _iter844 : struct.part_vals) { - oprot.writeString(_iter836); + oprot.writeString(_iter844); } } } @@ -81233,13 +81322,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list837.size); - for (int _i838 = 0; _i838 < _list837.size; ++_i838) + org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list845.size); + for (int _i846 = 0; _i846 < _list845.size; ++_i846) { - String _elem839; // required - _elem839 = iprot.readString(); - struct.part_vals.add(_elem839); + String _elem847; // required + _elem847 = iprot.readString(); + struct.part_vals.add(_elem847); } } struct.setPart_valsIsSet(true); @@ -82116,13 +82205,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list840.size); - for (int _i841 = 0; _i841 < _list840.size; ++_i841) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list848.size); + for (int _i849 = 0; _i849 < _list848.size; ++_i849) { - String _elem842; // required - _elem842 = iprot.readString(); - struct.part_vals.add(_elem842); + String _elem850; // required + _elem850 = iprot.readString(); + struct.part_vals.add(_elem850); } iprot.readListEnd(); } @@ -82156,9 +82245,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter843 : struct.part_vals) + for (String _iter851 : struct.part_vals) { - oprot.writeString(_iter843); + oprot.writeString(_iter851); } oprot.writeListEnd(); } @@ -82195,9 +82284,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter844 : struct.part_vals) + for (String _iter852 : struct.part_vals) { - oprot.writeString(_iter844); + oprot.writeString(_iter852); } } } @@ -82212,13 +82301,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list845.size); - for (int _i846 = 0; _i846 < _list845.size; ++_i846) + org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list853.size); + for (int _i854 = 0; _i854 < _list853.size; ++_i854) { - String _elem847; // required - _elem847 = iprot.readString(); - struct.part_vals.add(_elem847); + String _elem855; // required + _elem855 = iprot.readString(); + struct.part_vals.add(_elem855); } } struct.setPart_valsIsSet(true); @@ -84376,13 +84465,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); - struct.success = new ArrayList(_list848.size); - for (int _i849 = 0; _i849 < _list848.size; ++_i849) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.success = new ArrayList(_list856.size); + for (int _i857 = 0; _i857 < _list856.size; ++_i857) { - String _elem850; // required - _elem850 = iprot.readString(); - struct.success.add(_elem850); + String _elem858; // required + _elem858 = iprot.readString(); + struct.success.add(_elem858); } iprot.readListEnd(); } @@ -84417,9 +84506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter851 : struct.success) + for (String _iter859 : struct.success) { - oprot.writeString(_iter851); + oprot.writeString(_iter859); } oprot.writeListEnd(); } @@ -84458,9 +84547,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter852 : struct.success) + for (String _iter860 : struct.success) { - oprot.writeString(_iter852); + oprot.writeString(_iter860); } } } @@ -84475,13 +84564,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list853.size); - for (int _i854 = 0; _i854 < _list853.size; ++_i854) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list861.size); + for (int _i862 = 0; _i862 < _list861.size; ++_i862) { - String _elem855; // required - _elem855 = iprot.readString(); - struct.success.add(_elem855); + String _elem863; // required + _elem863 = iprot.readString(); + struct.success.add(_elem863); } } struct.setSuccessIsSet(true); @@ -85255,15 +85344,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map856 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map856.size); - for (int _i857 = 0; _i857 < _map856.size; ++_i857) + org.apache.thrift.protocol.TMap _map864 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map864.size); + for (int _i865 = 0; _i865 < _map864.size; ++_i865) { - String _key858; // required - String _val859; // required - _key858 = iprot.readString(); - _val859 = iprot.readString(); - struct.success.put(_key858, _val859); + String _key866; // required + String _val867; // required + _key866 = iprot.readString(); + _val867 = iprot.readString(); + struct.success.put(_key866, _val867); } iprot.readMapEnd(); } @@ -85298,10 +85387,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter860 : struct.success.entrySet()) + for (Map.Entry _iter868 : struct.success.entrySet()) { - oprot.writeString(_iter860.getKey()); - oprot.writeString(_iter860.getValue()); + oprot.writeString(_iter868.getKey()); + oprot.writeString(_iter868.getValue()); } oprot.writeMapEnd(); } @@ -85340,10 +85429,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter861 : struct.success.entrySet()) + for (Map.Entry _iter869 : struct.success.entrySet()) { - oprot.writeString(_iter861.getKey()); - oprot.writeString(_iter861.getValue()); + oprot.writeString(_iter869.getKey()); + oprot.writeString(_iter869.getValue()); } } } @@ -85358,15 +85447,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map862 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map862.size); - for (int _i863 = 0; _i863 < _map862.size; ++_i863) + org.apache.thrift.protocol.TMap _map870 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map870.size); + for (int _i871 = 0; _i871 < _map870.size; ++_i871) { - String _key864; // required - String _val865; // required - _key864 = iprot.readString(); - _val865 = iprot.readString(); - struct.success.put(_key864, _val865); + String _key872; // required + String _val873; // required + _key872 = iprot.readString(); + _val873 = iprot.readString(); + struct.success.put(_key872, _val873); } } struct.setSuccessIsSet(true); @@ -85972,15 +86061,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map866 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map866.size); - for (int _i867 = 0; _i867 < _map866.size; ++_i867) + org.apache.thrift.protocol.TMap _map874 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map874.size); + for (int _i875 = 0; _i875 < _map874.size; ++_i875) { - String _key868; // required - String _val869; // required - _key868 = iprot.readString(); - _val869 = iprot.readString(); - struct.part_vals.put(_key868, _val869); + String _key876; // required + String _val877; // required + _key876 = iprot.readString(); + _val877 = iprot.readString(); + struct.part_vals.put(_key876, _val877); } iprot.readMapEnd(); } @@ -86024,10 +86113,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter870 : struct.part_vals.entrySet()) + for (Map.Entry _iter878 : struct.part_vals.entrySet()) { - oprot.writeString(_iter870.getKey()); - oprot.writeString(_iter870.getValue()); + oprot.writeString(_iter878.getKey()); + oprot.writeString(_iter878.getValue()); } oprot.writeMapEnd(); } @@ -86078,10 +86167,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter871 : struct.part_vals.entrySet()) + for (Map.Entry _iter879 : struct.part_vals.entrySet()) { - oprot.writeString(_iter871.getKey()); - oprot.writeString(_iter871.getValue()); + oprot.writeString(_iter879.getKey()); + oprot.writeString(_iter879.getValue()); } } } @@ -86104,15 +86193,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map872 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map872.size); - for (int _i873 = 0; _i873 < _map872.size; ++_i873) + org.apache.thrift.protocol.TMap _map880 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map880.size); + for (int _i881 = 0; _i881 < _map880.size; ++_i881) { - String _key874; // required - String _val875; // required - _key874 = iprot.readString(); - _val875 = iprot.readString(); - struct.part_vals.put(_key874, _val875); + String _key882; // required + String _val883; // required + _key882 = iprot.readString(); + _val883 = iprot.readString(); + struct.part_vals.put(_key882, _val883); } } struct.setPart_valsIsSet(true); @@ -87607,15 +87696,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map876 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map876.size); - for (int _i877 = 0; _i877 < _map876.size; ++_i877) + org.apache.thrift.protocol.TMap _map884 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map884.size); + for (int _i885 = 0; _i885 < _map884.size; ++_i885) { - String _key878; // required - String _val879; // required - _key878 = iprot.readString(); - _val879 = iprot.readString(); - struct.part_vals.put(_key878, _val879); + String _key886; // required + String _val887; // required + _key886 = iprot.readString(); + _val887 = iprot.readString(); + struct.part_vals.put(_key886, _val887); } iprot.readMapEnd(); } @@ -87659,10 +87748,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter880 : struct.part_vals.entrySet()) + for (Map.Entry _iter888 : struct.part_vals.entrySet()) { - oprot.writeString(_iter880.getKey()); - oprot.writeString(_iter880.getValue()); + oprot.writeString(_iter888.getKey()); + oprot.writeString(_iter888.getValue()); } oprot.writeMapEnd(); } @@ -87713,10 +87802,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter881 : struct.part_vals.entrySet()) + for (Map.Entry _iter889 : struct.part_vals.entrySet()) { - oprot.writeString(_iter881.getKey()); - oprot.writeString(_iter881.getValue()); + oprot.writeString(_iter889.getKey()); + oprot.writeString(_iter889.getValue()); } } } @@ -87739,15 +87828,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map882 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map882.size); - for (int _i883 = 0; _i883 < _map882.size; ++_i883) + org.apache.thrift.protocol.TMap _map890 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map890.size); + for (int _i891 = 0; _i891 < _map890.size; ++_i891) { - String _key884; // required - String _val885; // required - _key884 = iprot.readString(); - _val885 = iprot.readString(); - struct.part_vals.put(_key884, _val885); + String _key892; // required + String _val893; // required + _key892 = iprot.readString(); + _val893 = iprot.readString(); + struct.part_vals.put(_key892, _val893); } } struct.setPart_valsIsSet(true); @@ -94471,14 +94560,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); - struct.success = new ArrayList(_list886.size); - for (int _i887 = 0; _i887 < _list886.size; ++_i887) + org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); + struct.success = new ArrayList(_list894.size); + for (int _i895 = 0; _i895 < _list894.size; ++_i895) { - Index _elem888; // required - _elem888 = new Index(); - _elem888.read(iprot); - struct.success.add(_elem888); + Index _elem896; // required + _elem896 = new Index(); + _elem896.read(iprot); + struct.success.add(_elem896); } iprot.readListEnd(); } @@ -94522,9 +94611,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter889 : struct.success) + for (Index _iter897 : struct.success) { - _iter889.write(oprot); + _iter897.write(oprot); } oprot.writeListEnd(); } @@ -94571,9 +94660,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter890 : struct.success) + for (Index _iter898 : struct.success) { - _iter890.write(oprot); + _iter898.write(oprot); } } } @@ -94591,14 +94680,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list891.size); - for (int _i892 = 0; _i892 < _list891.size; ++_i892) + org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list899.size); + for (int _i900 = 0; _i900 < _list899.size; ++_i900) { - Index _elem893; // required - _elem893 = new Index(); - _elem893.read(iprot); - struct.success.add(_elem893); + Index _elem901; // required + _elem901 = new Index(); + _elem901.read(iprot); + struct.success.add(_elem901); } } struct.setSuccessIsSet(true); @@ -95580,13 +95669,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); - struct.success = new ArrayList(_list894.size); - for (int _i895 = 0; _i895 < _list894.size; ++_i895) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.success = new ArrayList(_list902.size); + for (int _i903 = 0; _i903 < _list902.size; ++_i903) { - String _elem896; // required - _elem896 = iprot.readString(); - struct.success.add(_elem896); + String _elem904; // required + _elem904 = iprot.readString(); + struct.success.add(_elem904); } iprot.readListEnd(); } @@ -95621,9 +95710,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter897 : struct.success) + for (String _iter905 : struct.success) { - oprot.writeString(_iter897); + oprot.writeString(_iter905); } oprot.writeListEnd(); } @@ -95662,9 +95751,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter898 : struct.success) + for (String _iter906 : struct.success) { - oprot.writeString(_iter898); + oprot.writeString(_iter906); } } } @@ -95679,13 +95768,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list899.size); - for (int _i900 = 0; _i900 < _list899.size; ++_i900) + org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list907.size); + for (int _i908 = 0; _i908 < _list907.size; ++_i908) { - String _elem901; // required - _elem901 = iprot.readString(); - struct.success.add(_elem901); + String _elem909; // required + _elem909 = iprot.readString(); + struct.success.add(_elem909); } } struct.setSuccessIsSet(true); @@ -111423,13 +111512,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); - struct.success = new ArrayList(_list902.size); - for (int _i903 = 0; _i903 < _list902.size; ++_i903) + org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); + struct.success = new ArrayList(_list910.size); + for (int _i911 = 0; _i911 < _list910.size; ++_i911) { - String _elem904; // required - _elem904 = iprot.readString(); - struct.success.add(_elem904); + String _elem912; // required + _elem912 = iprot.readString(); + struct.success.add(_elem912); } iprot.readListEnd(); } @@ -111464,9 +111553,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter905 : struct.success) + for (String _iter913 : struct.success) { - oprot.writeString(_iter905); + oprot.writeString(_iter913); } oprot.writeListEnd(); } @@ -111505,9 +111594,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter906 : struct.success) + for (String _iter914 : struct.success) { - oprot.writeString(_iter906); + oprot.writeString(_iter914); } } } @@ -111522,13 +111611,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list907.size); - for (int _i908 = 0; _i908 < _list907.size; ++_i908) + org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list915.size); + for (int _i916 = 0; _i916 < _list915.size; ++_i916) { - String _elem909; // required - _elem909 = iprot.readString(); - struct.success.add(_elem909); + String _elem917; // required + _elem917 = iprot.readString(); + struct.success.add(_elem917); } } struct.setSuccessIsSet(true); @@ -114871,13 +114960,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); - struct.success = new ArrayList(_list910.size); - for (int _i911 = 0; _i911 < _list910.size; ++_i911) + org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); + struct.success = new ArrayList(_list918.size); + for (int _i919 = 0; _i919 < _list918.size; ++_i919) { - String _elem912; // required - _elem912 = iprot.readString(); - struct.success.add(_elem912); + String _elem920; // required + _elem920 = iprot.readString(); + struct.success.add(_elem920); } iprot.readListEnd(); } @@ -114912,9 +115001,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter913 : struct.success) + for (String _iter921 : struct.success) { - oprot.writeString(_iter913); + oprot.writeString(_iter921); } oprot.writeListEnd(); } @@ -114953,9 +115042,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter914 : struct.success) + for (String _iter922 : struct.success) { - oprot.writeString(_iter914); + oprot.writeString(_iter922); } } } @@ -114970,13 +115059,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list915.size); - for (int _i916 = 0; _i916 < _list915.size; ++_i916) + org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list923.size); + for (int _i924 = 0; _i924 < _list923.size; ++_i924) { - String _elem917; // required - _elem917 = iprot.readString(); - struct.success.add(_elem917); + String _elem925; // required + _elem925 = iprot.readString(); + struct.success.add(_elem925); } } struct.setSuccessIsSet(true); @@ -118267,14 +118356,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); - struct.success = new ArrayList(_list918.size); - for (int _i919 = 0; _i919 < _list918.size; ++_i919) + org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); + struct.success = new ArrayList(_list926.size); + for (int _i927 = 0; _i927 < _list926.size; ++_i927) { - Role _elem920; // required - _elem920 = new Role(); - _elem920.read(iprot); - struct.success.add(_elem920); + Role _elem928; // required + _elem928 = new Role(); + _elem928.read(iprot); + struct.success.add(_elem928); } iprot.readListEnd(); } @@ -118309,9 +118398,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter921 : struct.success) + for (Role _iter929 : struct.success) { - _iter921.write(oprot); + _iter929.write(oprot); } oprot.writeListEnd(); } @@ -118350,9 +118439,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter922 : struct.success) + for (Role _iter930 : struct.success) { - _iter922.write(oprot); + _iter930.write(oprot); } } } @@ -118367,14 +118456,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list923.size); - for (int _i924 = 0; _i924 < _list923.size; ++_i924) + org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list931.size); + for (int _i932 = 0; _i932 < _list931.size; ++_i932) { - Role _elem925; // required - _elem925 = new Role(); - _elem925.read(iprot); - struct.success.add(_elem925); + Role _elem933; // required + _elem933 = new Role(); + _elem933.read(iprot); + struct.success.add(_elem933); } } struct.setSuccessIsSet(true); @@ -121382,13 +121471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list926.size); - for (int _i927 = 0; _i927 < _list926.size; ++_i927) + org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list934.size); + for (int _i935 = 0; _i935 < _list934.size; ++_i935) { - String _elem928; // required - _elem928 = iprot.readString(); - struct.group_names.add(_elem928); + String _elem936; // required + _elem936 = iprot.readString(); + struct.group_names.add(_elem936); } iprot.readListEnd(); } @@ -121424,9 +121513,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter929 : struct.group_names) + for (String _iter937 : struct.group_names) { - oprot.writeString(_iter929); + oprot.writeString(_iter937); } oprot.writeListEnd(); } @@ -121469,9 +121558,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter930 : struct.group_names) + for (String _iter938 : struct.group_names) { - oprot.writeString(_iter930); + oprot.writeString(_iter938); } } } @@ -121492,13 +121581,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list931.size); - for (int _i932 = 0; _i932 < _list931.size; ++_i932) + org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list939.size); + for (int _i940 = 0; _i940 < _list939.size; ++_i940) { - String _elem933; // required - _elem933 = iprot.readString(); - struct.group_names.add(_elem933); + String _elem941; // required + _elem941 = iprot.readString(); + struct.group_names.add(_elem941); } } struct.setGroup_namesIsSet(true); @@ -122956,14 +123045,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); - struct.success = new ArrayList(_list934.size); - for (int _i935 = 0; _i935 < _list934.size; ++_i935) + org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); + struct.success = new ArrayList(_list942.size); + for (int _i943 = 0; _i943 < _list942.size; ++_i943) { - HiveObjectPrivilege _elem936; // required - _elem936 = new HiveObjectPrivilege(); - _elem936.read(iprot); - struct.success.add(_elem936); + HiveObjectPrivilege _elem944; // required + _elem944 = new HiveObjectPrivilege(); + _elem944.read(iprot); + struct.success.add(_elem944); } iprot.readListEnd(); } @@ -122998,9 +123087,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter937 : struct.success) + for (HiveObjectPrivilege _iter945 : struct.success) { - _iter937.write(oprot); + _iter945.write(oprot); } oprot.writeListEnd(); } @@ -123039,9 +123128,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter938 : struct.success) + for (HiveObjectPrivilege _iter946 : struct.success) { - _iter938.write(oprot); + _iter946.write(oprot); } } } @@ -123056,14 +123145,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list939.size); - for (int _i940 = 0; _i940 < _list939.size; ++_i940) + org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list947.size); + for (int _i948 = 0; _i948 < _list947.size; ++_i948) { - HiveObjectPrivilege _elem941; // required - _elem941 = new HiveObjectPrivilege(); - _elem941.read(iprot); - struct.success.add(_elem941); + HiveObjectPrivilege _elem949; // required + _elem949 = new HiveObjectPrivilege(); + _elem949.read(iprot); + struct.success.add(_elem949); } } struct.setSuccessIsSet(true); @@ -125968,13 +126057,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list942.size); - for (int _i943 = 0; _i943 < _list942.size; ++_i943) + org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list950.size); + for (int _i951 = 0; _i951 < _list950.size; ++_i951) { - String _elem944; // required - _elem944 = iprot.readString(); - struct.group_names.add(_elem944); + String _elem952; // required + _elem952 = iprot.readString(); + struct.group_names.add(_elem952); } iprot.readListEnd(); } @@ -126005,9 +126094,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter945 : struct.group_names) + for (String _iter953 : struct.group_names) { - oprot.writeString(_iter945); + oprot.writeString(_iter953); } oprot.writeListEnd(); } @@ -126044,9 +126133,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter946 : struct.group_names) + for (String _iter954 : struct.group_names) { - oprot.writeString(_iter946); + oprot.writeString(_iter954); } } } @@ -126062,13 +126151,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list947.size); - for (int _i948 = 0; _i948 < _list947.size; ++_i948) + org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list955.size); + for (int _i956 = 0; _i956 < _list955.size; ++_i956) { - String _elem949; // required - _elem949 = iprot.readString(); - struct.group_names.add(_elem949); + String _elem957; // required + _elem957 = iprot.readString(); + struct.group_names.add(_elem957); } } struct.setGroup_namesIsSet(true); @@ -126474,13 +126563,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); - struct.success = new ArrayList(_list950.size); - for (int _i951 = 0; _i951 < _list950.size; ++_i951) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.success = new ArrayList(_list958.size); + for (int _i959 = 0; _i959 < _list958.size; ++_i959) { - String _elem952; // required - _elem952 = iprot.readString(); - struct.success.add(_elem952); + String _elem960; // required + _elem960 = iprot.readString(); + struct.success.add(_elem960); } iprot.readListEnd(); } @@ -126515,9 +126604,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter953 : struct.success) + for (String _iter961 : struct.success) { - oprot.writeString(_iter953); + oprot.writeString(_iter961); } oprot.writeListEnd(); } @@ -126556,9 +126645,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter954 : struct.success) + for (String _iter962 : struct.success) { - oprot.writeString(_iter954); + oprot.writeString(_iter962); } } } @@ -126573,13 +126662,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list955.size); - for (int _i956 = 0; _i956 < _list955.size; ++_i956) + org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list963.size); + for (int _i964 = 0; _i964 < _list963.size; ++_i964) { - String _elem957; // required - _elem957 = iprot.readString(); - struct.success.add(_elem957); + String _elem965; // required + _elem965 = iprot.readString(); + struct.success.add(_elem965); } } struct.setSuccessIsSet(true); @@ -138534,12 +138623,738 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof show_compact_args) - return this.equals((show_compact_args)that); + if (that instanceof show_compact_args) + return this.equals((show_compact_args)that); + return false; + } + + public boolean equals(show_compact_args that) { + if (that == null) + return false; + + boolean this_present_rqst = true && this.isSetRqst(); + boolean that_present_rqst = true && that.isSetRqst(); + if (this_present_rqst || that_present_rqst) { + if (!(this_present_rqst && that_present_rqst)) + return false; + if (!this.rqst.equals(that.rqst)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_rqst = true && (isSetRqst()); + builder.append(present_rqst); + if (present_rqst) + builder.append(rqst); + + return builder.toHashCode(); + } + + public int compareTo(show_compact_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + show_compact_args typedOther = (show_compact_args)other; + + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRqst()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("show_compact_args("); + boolean first = true; + + sb.append("rqst:"); + if (this.rqst == null) { + sb.append("null"); + } else { + sb.append(this.rqst); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if (rqst != null) { + rqst.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class show_compact_argsStandardSchemeFactory implements SchemeFactory { + public show_compact_argsStandardScheme getScheme() { + return new show_compact_argsStandardScheme(); + } + } + + private static class show_compact_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RQST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.rqst = new ShowCompactRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, show_compact_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.rqst != null) { + oprot.writeFieldBegin(RQST_FIELD_DESC); + struct.rqst.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class show_compact_argsTupleSchemeFactory implements SchemeFactory { + public show_compact_argsTupleScheme getScheme() { + return new show_compact_argsTupleScheme(); + } + } + + private static class show_compact_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, show_compact_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetRqst()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetRqst()) { + struct.rqst.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.rqst = new ShowCompactRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } + } + } + + } + + public static class show_compact_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("show_compact_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new show_compact_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new show_compact_resultTupleSchemeFactory()); + } + + private ShowCompactResponse success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ShowCompactResponse.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(show_compact_result.class, metaDataMap); + } + + public show_compact_result() { + } + + public show_compact_result( + ShowCompactResponse success) + { + this(); + this.success = success; + } + + /** + * Performs a deep copy on other. + */ + public show_compact_result(show_compact_result other) { + if (other.isSetSuccess()) { + this.success = new ShowCompactResponse(other.success); + } + } + + public show_compact_result deepCopy() { + return new show_compact_result(this); + } + + @Override + public void clear() { + this.success = null; + } + + public ShowCompactResponse getSuccess() { + return this.success; + } + + public void setSuccess(ShowCompactResponse success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((ShowCompactResponse)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof show_compact_result) + return this.equals((show_compact_result)that); + return false; + } + + public boolean equals(show_compact_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_success = true && (isSetSuccess()); + builder.append(present_success); + if (present_success) + builder.append(success); + + return builder.toHashCode(); + } + + public int compareTo(show_compact_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + show_compact_result typedOther = (show_compact_result)other; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("show_compact_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if (success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class show_compact_resultStandardSchemeFactory implements SchemeFactory { + public show_compact_resultStandardScheme getScheme() { + return new show_compact_resultStandardScheme(); + } + } + + private static class show_compact_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new ShowCompactResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, show_compact_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class show_compact_resultTupleSchemeFactory implements SchemeFactory { + public show_compact_resultTupleScheme getScheme() { + return new show_compact_resultTupleScheme(); + } + } + + private static class show_compact_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, show_compact_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + struct.success.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = new ShowCompactResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class add_dynamic_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_dynamic_partitions_args"); + + private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new add_dynamic_partitions_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new add_dynamic_partitions_argsTupleSchemeFactory()); + } + + private AddDynamicPartitions rqst; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RQST((short)1, "rqst"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // RQST + return RQST; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AddDynamicPartitions.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(add_dynamic_partitions_args.class, metaDataMap); + } + + public add_dynamic_partitions_args() { + } + + public add_dynamic_partitions_args( + AddDynamicPartitions rqst) + { + this(); + this.rqst = rqst; + } + + /** + * Performs a deep copy on other. + */ + public add_dynamic_partitions_args(add_dynamic_partitions_args other) { + if (other.isSetRqst()) { + this.rqst = new AddDynamicPartitions(other.rqst); + } + } + + public add_dynamic_partitions_args deepCopy() { + return new add_dynamic_partitions_args(this); + } + + @Override + public void clear() { + this.rqst = null; + } + + public AddDynamicPartitions getRqst() { + return this.rqst; + } + + public void setRqst(AddDynamicPartitions rqst) { + this.rqst = rqst; + } + + public void unsetRqst() { + this.rqst = null; + } + + /** Returns true if field rqst is set (has been assigned a value) and false otherwise */ + public boolean isSetRqst() { + return this.rqst != null; + } + + public void setRqstIsSet(boolean value) { + if (!value) { + this.rqst = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RQST: + if (value == null) { + unsetRqst(); + } else { + setRqst((AddDynamicPartitions)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RQST: + return getRqst(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RQST: + return isSetRqst(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof add_dynamic_partitions_args) + return this.equals((add_dynamic_partitions_args)that); return false; } - public boolean equals(show_compact_args that) { + public boolean equals(add_dynamic_partitions_args that) { if (that == null) return false; @@ -138567,13 +139382,13 @@ public int hashCode() { return builder.toHashCode(); } - public int compareTo(show_compact_args other) { + public int compareTo(add_dynamic_partitions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - show_compact_args typedOther = (show_compact_args)other; + add_dynamic_partitions_args typedOther = (add_dynamic_partitions_args)other; lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); if (lastComparison != 0) { @@ -138602,7 +139417,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("show_compact_args("); + StringBuilder sb = new StringBuilder("add_dynamic_partitions_args("); boolean first = true; sb.append("rqst:"); @@ -138640,15 +139455,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class show_compact_argsStandardSchemeFactory implements SchemeFactory { - public show_compact_argsStandardScheme getScheme() { - return new show_compact_argsStandardScheme(); + private static class add_dynamic_partitions_argsStandardSchemeFactory implements SchemeFactory { + public add_dynamic_partitions_argsStandardScheme getScheme() { + return new add_dynamic_partitions_argsStandardScheme(); } } - private static class show_compact_argsStandardScheme extends StandardScheme { + private static class add_dynamic_partitions_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, add_dynamic_partitions_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -138660,7 +139475,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_args s switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new ShowCompactRequest(); + struct.rqst = new AddDynamicPartitions(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -138676,7 +139491,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_args s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, show_compact_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, add_dynamic_partitions_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -138691,16 +139506,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, show_compact_args } - private static class show_compact_argsTupleSchemeFactory implements SchemeFactory { - public show_compact_argsTupleScheme getScheme() { - return new show_compact_argsTupleScheme(); + private static class add_dynamic_partitions_argsTupleSchemeFactory implements SchemeFactory { + public add_dynamic_partitions_argsTupleScheme getScheme() { + return new add_dynamic_partitions_argsTupleScheme(); } } - private static class show_compact_argsTupleScheme extends TupleScheme { + private static class add_dynamic_partitions_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, show_compact_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitions_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -138713,11 +139528,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, show_compact_args s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitions_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new ShowCompactRequest(); + struct.rqst = new AddDynamicPartitions(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -138726,22 +139541,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_args st } - public static class show_compact_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("show_compact_result"); + public static class add_dynamic_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_dynamic_partitions_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new show_compact_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new show_compact_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new add_dynamic_partitions_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new add_dynamic_partitions_resultTupleSchemeFactory()); } - private ShowCompactResponse success; // required + private NoSuchTxnException o1; // required + private TxnAbortedException o2; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"); + O1((short)1, "o1"), + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -138756,8 +139574,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_args st */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; + case 1: // O1 + return O1; + case 2: // O2 + return O2; default: return null; } @@ -138801,70 +139621,109 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ShowCompactResponse.class))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(show_compact_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(add_dynamic_partitions_result.class, metaDataMap); } - public show_compact_result() { + public add_dynamic_partitions_result() { } - public show_compact_result( - ShowCompactResponse success) + public add_dynamic_partitions_result( + NoSuchTxnException o1, + TxnAbortedException o2) { this(); - this.success = success; + this.o1 = o1; + this.o2 = o2; } /** * Performs a deep copy on other. */ - public show_compact_result(show_compact_result other) { - if (other.isSetSuccess()) { - this.success = new ShowCompactResponse(other.success); + public add_dynamic_partitions_result(add_dynamic_partitions_result other) { + if (other.isSetO1()) { + this.o1 = new NoSuchTxnException(other.o1); + } + if (other.isSetO2()) { + this.o2 = new TxnAbortedException(other.o2); } } - public show_compact_result deepCopy() { - return new show_compact_result(this); + public add_dynamic_partitions_result deepCopy() { + return new add_dynamic_partitions_result(this); } @Override public void clear() { - this.success = null; + this.o1 = null; + this.o2 = null; } - public ShowCompactResponse getSuccess() { - return this.success; + public NoSuchTxnException getO1() { + return this.o1; } - public void setSuccess(ShowCompactResponse success) { - this.success = success; + public void setO1(NoSuchTxnException o1) { + this.o1 = o1; } - public void unsetSuccess() { - this.success = null; + public void unsetO1() { + this.o1 = null; } - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; } - public void setSuccessIsSet(boolean value) { + public void setO1IsSet(boolean value) { if (!value) { - this.success = null; + this.o1 = null; + } + } + + public TxnAbortedException getO2() { + return this.o2; + } + + public void setO2(TxnAbortedException o2) { + this.o2 = o2; + } + + public void unsetO2() { + this.o2 = null; + } + + /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ + public boolean isSetO2() { + return this.o2 != null; + } + + public void setO2IsSet(boolean value) { + if (!value) { + this.o2 = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: + case O1: if (value == null) { - unsetSuccess(); + unsetO1(); } else { - setSuccess((ShowCompactResponse)value); + setO1((NoSuchTxnException)value); + } + break; + + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((TxnAbortedException)value); } break; @@ -138873,8 +139732,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); + case O1: + return getO1(); + + case O2: + return getO2(); } throw new IllegalStateException(); @@ -138887,8 +139749,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -138897,21 +139761,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof show_compact_result) - return this.equals((show_compact_result)that); + if (that instanceof add_dynamic_partitions_result) + return this.equals((add_dynamic_partitions_result)that); return false; } - public boolean equals(show_compact_result that) { + public boolean equals(add_dynamic_partitions_result that) { if (that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) return false; - if (!this.success.equals(that.success)) + if (!this.o1.equals(that.o1)) + return false; + } + + boolean this_present_o2 = true && this.isSetO2(); + boolean that_present_o2 = true && that.isSetO2(); + if (this_present_o2 || that_present_o2) { + if (!(this_present_o2 && that_present_o2)) + return false; + if (!this.o2.equals(that.o2)) return false; } @@ -138922,28 +139795,43 @@ public boolean equals(show_compact_result that) { public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); - boolean present_success = true && (isSetSuccess()); - builder.append(present_success); - if (present_success) - builder.append(success); + boolean present_o1 = true && (isSetO1()); + builder.append(present_o1); + if (present_o1) + builder.append(o1); + + boolean present_o2 = true && (isSetO2()); + builder.append(present_o2); + if (present_o2) + builder.append(o2); return builder.toHashCode(); } - public int compareTo(show_compact_result other) { + public int compareTo(add_dynamic_partitions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - show_compact_result typedOther = (show_compact_result)other; + add_dynamic_partitions_result typedOther = (add_dynamic_partitions_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); if (lastComparison != 0) { return lastComparison; } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); if (lastComparison != 0) { return lastComparison; } @@ -138965,14 +139853,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("show_compact_result("); + StringBuilder sb = new StringBuilder("add_dynamic_partitions_result("); boolean first = true; - sb.append("success:"); - if (this.success == null) { + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.success); + sb.append(this.o1); + } + first = false; + if (!first) sb.append(", "); + sb.append("o2:"); + if (this.o2 == null) { + sb.append("null"); + } else { + sb.append(this.o2); } first = false; sb.append(")"); @@ -138982,9 +139878,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -139003,15 +139896,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class show_compact_resultStandardSchemeFactory implements SchemeFactory { - public show_compact_resultStandardScheme getScheme() { - return new show_compact_resultStandardScheme(); + private static class add_dynamic_partitions_resultStandardSchemeFactory implements SchemeFactory { + public add_dynamic_partitions_resultStandardScheme getScheme() { + return new add_dynamic_partitions_resultStandardScheme(); } } - private static class show_compact_resultStandardScheme extends StandardScheme { + private static class add_dynamic_partitions_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, add_dynamic_partitions_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -139021,11 +139914,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_result break; } switch (schemeField.id) { - case 0: // SUCCESS + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new ShowCompactResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // O2 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o2 = new TxnAbortedException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -139039,13 +139941,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, show_compact_result struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, show_compact_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, add_dynamic_partitions_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -139054,35 +139961,46 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, show_compact_resul } - private static class show_compact_resultTupleSchemeFactory implements SchemeFactory { - public show_compact_resultTupleScheme getScheme() { - return new show_compact_resultTupleScheme(); + private static class add_dynamic_partitions_resultTupleSchemeFactory implements SchemeFactory { + public add_dynamic_partitions_resultTupleScheme getScheme() { + return new add_dynamic_partitions_resultTupleScheme(); } } - private static class show_compact_resultTupleScheme extends TupleScheme { + private static class add_dynamic_partitions_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, show_compact_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitions_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { + if (struct.isSetO1()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); - if (struct.isSetSuccess()) { - struct.success.write(oprot); + if (struct.isSetO2()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + if (struct.isSetO2()) { + struct.o2.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitions_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.success = new ShowCompactResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(1)) { + struct.o2 = new TxnAbortedException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); } } } diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 104368c..8342f6b 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -135,6 +135,7 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { public function heartbeat_txn_range(\metastore\HeartbeatTxnRangeRequest $txns); public function compact(\metastore\CompactionRequest $rqst); public function show_compact(\metastore\ShowCompactRequest $rqst); + public function add_dynamic_partitions(\metastore\AddDynamicPartitions $rqst); public function get_next_notification(\metastore\NotificationEventRequest $rqst); public function get_current_notificationEventId(); public function fire_listener_event(\metastore\FireEventRequest $rqst); @@ -7013,6 +7014,60 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("show_compact failed: unknown result"); } + public function add_dynamic_partitions(\metastore\AddDynamicPartitions $rqst) + { + $this->send_add_dynamic_partitions($rqst); + $this->recv_add_dynamic_partitions(); + } + + public function send_add_dynamic_partitions(\metastore\AddDynamicPartitions $rqst) + { + $args = new \metastore\ThriftHiveMetastore_add_dynamic_partitions_args(); + $args->rqst = $rqst; + $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'add_dynamic_partitions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('add_dynamic_partitions', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_add_dynamic_partitions() + { + $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_dynamic_partitions_result', $this->input_->isStrictRead()); + else + { + $rseqid = 0; + $fname = null; + $mtype = 0; + + $this->input_->readMessageBegin($fname, $mtype, $rseqid); + if ($mtype == TMessageType::EXCEPTION) { + $x = new TApplicationException(); + $x->read($this->input_); + $this->input_->readMessageEnd(); + throw $x; + } + $result = new \metastore\ThriftHiveMetastore_add_dynamic_partitions_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->o1 !== null) { + throw $result->o1; + } + if ($result->o2 !== null) { + throw $result->o2; + } + return; + } + public function get_next_notification(\metastore\NotificationEventRequest $rqst) { $this->send_get_next_notification($rqst); @@ -8247,14 +8302,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size458 = 0; - $_etype461 = 0; - $xfer += $input->readListBegin($_etype461, $_size458); - for ($_i462 = 0; $_i462 < $_size458; ++$_i462) + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) { - $elem463 = null; - $xfer += $input->readString($elem463); - $this->success []= $elem463; + $elem470 = null; + $xfer += $input->readString($elem470); + $this->success []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -8290,9 +8345,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter464) + foreach ($this->success as $iter471) { - $xfer += $output->writeString($iter464); + $xfer += $output->writeString($iter471); } } $output->writeListEnd(); @@ -8417,14 +8472,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size465 = 0; - $_etype468 = 0; - $xfer += $input->readListBegin($_etype468, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size472 = 0; + $_etype475 = 0; + $xfer += $input->readListBegin($_etype475, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $elem470 = null; - $xfer += $input->readString($elem470); - $this->success []= $elem470; + $elem477 = null; + $xfer += $input->readString($elem477); + $this->success []= $elem477; } $xfer += $input->readListEnd(); } else { @@ -8460,9 +8515,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter471) + foreach ($this->success as $iter478) { - $xfer += $output->writeString($iter471); + $xfer += $output->writeString($iter478); } } $output->writeListEnd(); @@ -9403,18 +9458,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size472 = 0; - $_ktype473 = 0; - $_vtype474 = 0; - $xfer += $input->readMapBegin($_ktype473, $_vtype474, $_size472); - for ($_i476 = 0; $_i476 < $_size472; ++$_i476) + $_size479 = 0; + $_ktype480 = 0; + $_vtype481 = 0; + $xfer += $input->readMapBegin($_ktype480, $_vtype481, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $key477 = ''; - $val478 = new \metastore\Type(); - $xfer += $input->readString($key477); - $val478 = new \metastore\Type(); - $xfer += $val478->read($input); - $this->success[$key477] = $val478; + $key484 = ''; + $val485 = new \metastore\Type(); + $xfer += $input->readString($key484); + $val485 = new \metastore\Type(); + $xfer += $val485->read($input); + $this->success[$key484] = $val485; } $xfer += $input->readMapEnd(); } else { @@ -9450,10 +9505,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter479 => $viter480) + foreach ($this->success as $kiter486 => $viter487) { - $xfer += $output->writeString($kiter479); - $xfer += $viter480->write($output); + $xfer += $output->writeString($kiter486); + $xfer += $viter487->write($output); } } $output->writeMapEnd(); @@ -9639,15 +9694,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size481 = 0; - $_etype484 = 0; - $xfer += $input->readListBegin($_etype484, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size488 = 0; + $_etype491 = 0; + $xfer += $input->readListBegin($_etype491, $_size488); + for ($_i492 = 0; $_i492 < $_size488; ++$_i492) { - $elem486 = null; - $elem486 = new \metastore\FieldSchema(); - $xfer += $elem486->read($input); - $this->success []= $elem486; + $elem493 = null; + $elem493 = new \metastore\FieldSchema(); + $xfer += $elem493->read($input); + $this->success []= $elem493; } $xfer += $input->readListEnd(); } else { @@ -9699,9 +9754,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter487) + foreach ($this->success as $iter494) { - $xfer += $iter487->write($output); + $xfer += $iter494->write($output); } } $output->writeListEnd(); @@ -9922,15 +9977,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem493 = null; - $elem493 = new \metastore\FieldSchema(); - $xfer += $elem493->read($input); - $this->success []= $elem493; + $elem500 = null; + $elem500 = new \metastore\FieldSchema(); + $xfer += $elem500->read($input); + $this->success []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -9982,9 +10037,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter494) + foreach ($this->success as $iter501) { - $xfer += $iter494->write($output); + $xfer += $iter501->write($output); } } $output->writeListEnd(); @@ -10180,15 +10235,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem500 = null; - $elem500 = new \metastore\FieldSchema(); - $xfer += $elem500->read($input); - $this->success []= $elem500; + $elem507 = null; + $elem507 = new \metastore\FieldSchema(); + $xfer += $elem507->read($input); + $this->success []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -10240,9 +10295,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter501) + foreach ($this->success as $iter508) { - $xfer += $iter501->write($output); + $xfer += $iter508->write($output); } } $output->writeListEnd(); @@ -10463,15 +10518,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem507 = null; - $elem507 = new \metastore\FieldSchema(); - $xfer += $elem507->read($input); - $this->success []= $elem507; + $elem514 = null; + $elem514 = new \metastore\FieldSchema(); + $xfer += $elem514->read($input); + $this->success []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -10523,9 +10578,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter508) + foreach ($this->success as $iter515) { - $xfer += $iter508->write($output); + $xfer += $iter515->write($output); } } $output->writeListEnd(); @@ -11602,14 +11657,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem514 = null; - $xfer += $input->readString($elem514); - $this->success []= $elem514; + $elem521 = null; + $xfer += $input->readString($elem521); + $this->success []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -11645,9 +11700,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter515) + foreach ($this->success as $iter522) { - $xfer += $output->writeString($iter515); + $xfer += $output->writeString($iter522); } } $output->writeListEnd(); @@ -11794,14 +11849,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readString($elem521); - $this->success []= $elem521; + $elem528 = null; + $xfer += $input->readString($elem528); + $this->success []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -11837,9 +11892,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter522) + foreach ($this->success as $iter529) { - $xfer += $output->writeString($iter522); + $xfer += $output->writeString($iter529); } } $output->writeListEnd(); @@ -12133,14 +12188,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $xfer += $input->readString($elem528); - $this->tbl_names []= $elem528; + $elem535 = null; + $xfer += $input->readString($elem535); + $this->tbl_names []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -12173,9 +12228,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter529) + foreach ($this->tbl_names as $iter536) { - $xfer += $output->writeString($iter529); + $xfer += $output->writeString($iter536); } } $output->writeListEnd(); @@ -12264,15 +12319,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $elem535 = new \metastore\Table(); - $xfer += $elem535->read($input); - $this->success []= $elem535; + $elem542 = null; + $elem542 = new \metastore\Table(); + $xfer += $elem542->read($input); + $this->success []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -12324,9 +12379,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter536) + foreach ($this->success as $iter543) { - $xfer += $iter536->write($output); + $xfer += $iter543->write($output); } } $output->writeListEnd(); @@ -12541,14 +12596,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $xfer += $input->readString($elem542); - $this->success []= $elem542; + $elem549 = null; + $xfer += $input->readString($elem549); + $this->success []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -12600,9 +12655,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter543) + foreach ($this->success as $iter550) { - $xfer += $output->writeString($iter543); + $xfer += $output->writeString($iter550); } } $output->writeListEnd(); @@ -13828,15 +13883,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $elem549 = new \metastore\Partition(); - $xfer += $elem549->read($input); - $this->new_parts []= $elem549; + $elem556 = null; + $elem556 = new \metastore\Partition(); + $xfer += $elem556->read($input); + $this->new_parts []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -13864,9 +13919,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter550) + foreach ($this->new_parts as $iter557) { - $xfer += $iter550->write($output); + $xfer += $iter557->write($output); } } $output->writeListEnd(); @@ -14066,15 +14121,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem556 = null; - $elem556 = new \metastore\PartitionSpec(); - $xfer += $elem556->read($input); - $this->new_parts []= $elem556; + $elem563 = null; + $elem563 = new \metastore\PartitionSpec(); + $xfer += $elem563->read($input); + $this->new_parts []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -14102,9 +14157,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter557) + foreach ($this->new_parts as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -14333,14 +14388,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem563 = null; - $xfer += $input->readString($elem563); - $this->part_vals []= $elem563; + $elem570 = null; + $xfer += $input->readString($elem570); + $this->part_vals []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -14378,9 +14433,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter564) + foreach ($this->part_vals as $iter571) { - $xfer += $output->writeString($iter564); + $xfer += $output->writeString($iter571); } } $output->writeListEnd(); @@ -14843,14 +14898,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readListBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem570 = null; - $xfer += $input->readString($elem570); - $this->part_vals []= $elem570; + $elem577 = null; + $xfer += $input->readString($elem577); + $this->part_vals []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -14896,9 +14951,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter571) + foreach ($this->part_vals as $iter578) { - $xfer += $output->writeString($iter571); + $xfer += $output->writeString($iter578); } } $output->writeListEnd(); @@ -15683,14 +15738,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readListBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readListBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem577 = null; - $xfer += $input->readString($elem577); - $this->part_vals []= $elem577; + $elem584 = null; + $xfer += $input->readString($elem584); + $this->part_vals []= $elem584; } $xfer += $input->readListEnd(); } else { @@ -15735,9 +15790,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter578) + foreach ($this->part_vals as $iter585) { - $xfer += $output->writeString($iter578); + $xfer += $output->writeString($iter585); } } $output->writeListEnd(); @@ -15966,14 +16021,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size579 = 0; - $_etype582 = 0; - $xfer += $input->readListBegin($_etype582, $_size579); - for ($_i583 = 0; $_i583 < $_size579; ++$_i583) + $_size586 = 0; + $_etype589 = 0; + $xfer += $input->readListBegin($_etype589, $_size586); + for ($_i590 = 0; $_i590 < $_size586; ++$_i590) { - $elem584 = null; - $xfer += $input->readString($elem584); - $this->part_vals []= $elem584; + $elem591 = null; + $xfer += $input->readString($elem591); + $this->part_vals []= $elem591; } $xfer += $input->readListEnd(); } else { @@ -16026,9 +16081,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter585) + foreach ($this->part_vals as $iter592) { - $xfer += $output->writeString($iter585); + $xfer += $output->writeString($iter592); } } $output->writeListEnd(); @@ -16967,14 +17022,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size586 = 0; - $_etype589 = 0; - $xfer += $input->readListBegin($_etype589, $_size586); - for ($_i590 = 0; $_i590 < $_size586; ++$_i590) + $_size593 = 0; + $_etype596 = 0; + $xfer += $input->readListBegin($_etype596, $_size593); + for ($_i597 = 0; $_i597 < $_size593; ++$_i597) { - $elem591 = null; - $xfer += $input->readString($elem591); - $this->part_vals []= $elem591; + $elem598 = null; + $xfer += $input->readString($elem598); + $this->part_vals []= $elem598; } $xfer += $input->readListEnd(); } else { @@ -17012,9 +17067,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter592) + foreach ($this->part_vals as $iter599) { - $xfer += $output->writeString($iter592); + $xfer += $output->writeString($iter599); } } $output->writeListEnd(); @@ -17232,17 +17287,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size593 = 0; - $_ktype594 = 0; - $_vtype595 = 0; - $xfer += $input->readMapBegin($_ktype594, $_vtype595, $_size593); - for ($_i597 = 0; $_i597 < $_size593; ++$_i597) + $_size600 = 0; + $_ktype601 = 0; + $_vtype602 = 0; + $xfer += $input->readMapBegin($_ktype601, $_vtype602, $_size600); + for ($_i604 = 0; $_i604 < $_size600; ++$_i604) { - $key598 = ''; - $val599 = ''; - $xfer += $input->readString($key598); - $xfer += $input->readString($val599); - $this->partitionSpecs[$key598] = $val599; + $key605 = ''; + $val606 = ''; + $xfer += $input->readString($key605); + $xfer += $input->readString($val606); + $this->partitionSpecs[$key605] = $val606; } $xfer += $input->readMapEnd(); } else { @@ -17298,10 +17353,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter600 => $viter601) + foreach ($this->partitionSpecs as $kiter607 => $viter608) { - $xfer += $output->writeString($kiter600); - $xfer += $output->writeString($viter601); + $xfer += $output->writeString($kiter607); + $xfer += $output->writeString($viter608); } } $output->writeMapEnd(); @@ -17597,14 +17652,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size602 = 0; - $_etype605 = 0; - $xfer += $input->readListBegin($_etype605, $_size602); - for ($_i606 = 0; $_i606 < $_size602; ++$_i606) + $_size609 = 0; + $_etype612 = 0; + $xfer += $input->readListBegin($_etype612, $_size609); + for ($_i613 = 0; $_i613 < $_size609; ++$_i613) { - $elem607 = null; - $xfer += $input->readString($elem607); - $this->part_vals []= $elem607; + $elem614 = null; + $xfer += $input->readString($elem614); + $this->part_vals []= $elem614; } $xfer += $input->readListEnd(); } else { @@ -17621,14 +17676,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size608 = 0; - $_etype611 = 0; - $xfer += $input->readListBegin($_etype611, $_size608); - for ($_i612 = 0; $_i612 < $_size608; ++$_i612) + $_size615 = 0; + $_etype618 = 0; + $xfer += $input->readListBegin($_etype618, $_size615); + for ($_i619 = 0; $_i619 < $_size615; ++$_i619) { - $elem613 = null; - $xfer += $input->readString($elem613); - $this->group_names []= $elem613; + $elem620 = null; + $xfer += $input->readString($elem620); + $this->group_names []= $elem620; } $xfer += $input->readListEnd(); } else { @@ -17666,9 +17721,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter614) + foreach ($this->part_vals as $iter621) { - $xfer += $output->writeString($iter614); + $xfer += $output->writeString($iter621); } } $output->writeListEnd(); @@ -17688,9 +17743,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter615) + foreach ($this->group_names as $iter622) { - $xfer += $output->writeString($iter615); + $xfer += $output->writeString($iter622); } } $output->writeListEnd(); @@ -18236,15 +18291,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size616 = 0; - $_etype619 = 0; - $xfer += $input->readListBegin($_etype619, $_size616); - for ($_i620 = 0; $_i620 < $_size616; ++$_i620) + $_size623 = 0; + $_etype626 = 0; + $xfer += $input->readListBegin($_etype626, $_size623); + for ($_i627 = 0; $_i627 < $_size623; ++$_i627) { - $elem621 = null; - $elem621 = new \metastore\Partition(); - $xfer += $elem621->read($input); - $this->success []= $elem621; + $elem628 = null; + $elem628 = new \metastore\Partition(); + $xfer += $elem628->read($input); + $this->success []= $elem628; } $xfer += $input->readListEnd(); } else { @@ -18288,9 +18343,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter622) + foreach ($this->success as $iter629) { - $xfer += $iter622->write($output); + $xfer += $iter629->write($output); } } $output->writeListEnd(); @@ -18421,14 +18476,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size623 = 0; - $_etype626 = 0; - $xfer += $input->readListBegin($_etype626, $_size623); - for ($_i627 = 0; $_i627 < $_size623; ++$_i627) + $_size630 = 0; + $_etype633 = 0; + $xfer += $input->readListBegin($_etype633, $_size630); + for ($_i634 = 0; $_i634 < $_size630; ++$_i634) { - $elem628 = null; - $xfer += $input->readString($elem628); - $this->group_names []= $elem628; + $elem635 = null; + $xfer += $input->readString($elem635); + $this->group_names []= $elem635; } $xfer += $input->readListEnd(); } else { @@ -18476,9 +18531,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter629) + foreach ($this->group_names as $iter636) { - $xfer += $output->writeString($iter629); + $xfer += $output->writeString($iter636); } } $output->writeListEnd(); @@ -18558,15 +18613,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size630 = 0; - $_etype633 = 0; - $xfer += $input->readListBegin($_etype633, $_size630); - for ($_i634 = 0; $_i634 < $_size630; ++$_i634) + $_size637 = 0; + $_etype640 = 0; + $xfer += $input->readListBegin($_etype640, $_size637); + for ($_i641 = 0; $_i641 < $_size637; ++$_i641) { - $elem635 = null; - $elem635 = new \metastore\Partition(); - $xfer += $elem635->read($input); - $this->success []= $elem635; + $elem642 = null; + $elem642 = new \metastore\Partition(); + $xfer += $elem642->read($input); + $this->success []= $elem642; } $xfer += $input->readListEnd(); } else { @@ -18610,9 +18665,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter636) + foreach ($this->success as $iter643) { - $xfer += $iter636->write($output); + $xfer += $iter643->write($output); } } $output->writeListEnd(); @@ -18814,15 +18869,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size637 = 0; - $_etype640 = 0; - $xfer += $input->readListBegin($_etype640, $_size637); - for ($_i641 = 0; $_i641 < $_size637; ++$_i641) + $_size644 = 0; + $_etype647 = 0; + $xfer += $input->readListBegin($_etype647, $_size644); + for ($_i648 = 0; $_i648 < $_size644; ++$_i648) { - $elem642 = null; - $elem642 = new \metastore\PartitionSpec(); - $xfer += $elem642->read($input); - $this->success []= $elem642; + $elem649 = null; + $elem649 = new \metastore\PartitionSpec(); + $xfer += $elem649->read($input); + $this->success []= $elem649; } $xfer += $input->readListEnd(); } else { @@ -18866,9 +18921,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter643) + foreach ($this->success as $iter650) { - $xfer += $iter643->write($output); + $xfer += $iter650->write($output); } } $output->writeListEnd(); @@ -19060,14 +19115,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size644 = 0; - $_etype647 = 0; - $xfer += $input->readListBegin($_etype647, $_size644); - for ($_i648 = 0; $_i648 < $_size644; ++$_i648) + $_size651 = 0; + $_etype654 = 0; + $xfer += $input->readListBegin($_etype654, $_size651); + for ($_i655 = 0; $_i655 < $_size651; ++$_i655) { - $elem649 = null; - $xfer += $input->readString($elem649); - $this->success []= $elem649; + $elem656 = null; + $xfer += $input->readString($elem656); + $this->success []= $elem656; } $xfer += $input->readListEnd(); } else { @@ -19103,9 +19158,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter650) + foreach ($this->success as $iter657) { - $xfer += $output->writeString($iter650); + $xfer += $output->writeString($iter657); } } $output->writeListEnd(); @@ -19209,14 +19264,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size651 = 0; - $_etype654 = 0; - $xfer += $input->readListBegin($_etype654, $_size651); - for ($_i655 = 0; $_i655 < $_size651; ++$_i655) + $_size658 = 0; + $_etype661 = 0; + $xfer += $input->readListBegin($_etype661, $_size658); + for ($_i662 = 0; $_i662 < $_size658; ++$_i662) { - $elem656 = null; - $xfer += $input->readString($elem656); - $this->part_vals []= $elem656; + $elem663 = null; + $xfer += $input->readString($elem663); + $this->part_vals []= $elem663; } $xfer += $input->readListEnd(); } else { @@ -19261,9 +19316,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter657) + foreach ($this->part_vals as $iter664) { - $xfer += $output->writeString($iter657); + $xfer += $output->writeString($iter664); } } $output->writeListEnd(); @@ -19348,15 +19403,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size658 = 0; - $_etype661 = 0; - $xfer += $input->readListBegin($_etype661, $_size658); - for ($_i662 = 0; $_i662 < $_size658; ++$_i662) + $_size665 = 0; + $_etype668 = 0; + $xfer += $input->readListBegin($_etype668, $_size665); + for ($_i669 = 0; $_i669 < $_size665; ++$_i669) { - $elem663 = null; - $elem663 = new \metastore\Partition(); - $xfer += $elem663->read($input); - $this->success []= $elem663; + $elem670 = null; + $elem670 = new \metastore\Partition(); + $xfer += $elem670->read($input); + $this->success []= $elem670; } $xfer += $input->readListEnd(); } else { @@ -19400,9 +19455,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter664) + foreach ($this->success as $iter671) { - $xfer += $iter664->write($output); + $xfer += $iter671->write($output); } } $output->writeListEnd(); @@ -19531,14 +19586,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size665 = 0; - $_etype668 = 0; - $xfer += $input->readListBegin($_etype668, $_size665); - for ($_i669 = 0; $_i669 < $_size665; ++$_i669) + $_size672 = 0; + $_etype675 = 0; + $xfer += $input->readListBegin($_etype675, $_size672); + for ($_i676 = 0; $_i676 < $_size672; ++$_i676) { - $elem670 = null; - $xfer += $input->readString($elem670); - $this->part_vals []= $elem670; + $elem677 = null; + $xfer += $input->readString($elem677); + $this->part_vals []= $elem677; } $xfer += $input->readListEnd(); } else { @@ -19562,14 +19617,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size671 = 0; - $_etype674 = 0; - $xfer += $input->readListBegin($_etype674, $_size671); - for ($_i675 = 0; $_i675 < $_size671; ++$_i675) + $_size678 = 0; + $_etype681 = 0; + $xfer += $input->readListBegin($_etype681, $_size678); + for ($_i682 = 0; $_i682 < $_size678; ++$_i682) { - $elem676 = null; - $xfer += $input->readString($elem676); - $this->group_names []= $elem676; + $elem683 = null; + $xfer += $input->readString($elem683); + $this->group_names []= $elem683; } $xfer += $input->readListEnd(); } else { @@ -19607,9 +19662,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter677) + foreach ($this->part_vals as $iter684) { - $xfer += $output->writeString($iter677); + $xfer += $output->writeString($iter684); } } $output->writeListEnd(); @@ -19634,9 +19689,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter678) + foreach ($this->group_names as $iter685) { - $xfer += $output->writeString($iter678); + $xfer += $output->writeString($iter685); } } $output->writeListEnd(); @@ -19716,15 +19771,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem684 = null; - $elem684 = new \metastore\Partition(); - $xfer += $elem684->read($input); - $this->success []= $elem684; + $elem691 = null; + $elem691 = new \metastore\Partition(); + $xfer += $elem691->read($input); + $this->success []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -19768,9 +19823,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter685) + foreach ($this->success as $iter692) { - $xfer += $iter685->write($output); + $xfer += $iter692->write($output); } } $output->writeListEnd(); @@ -19879,14 +19934,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $xfer += $input->readString($elem691); - $this->part_vals []= $elem691; + $elem698 = null; + $xfer += $input->readString($elem698); + $this->part_vals []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -19931,9 +19986,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter692) + foreach ($this->part_vals as $iter699) { - $xfer += $output->writeString($iter692); + $xfer += $output->writeString($iter699); } } $output->writeListEnd(); @@ -20017,14 +20072,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $xfer += $input->readString($elem698); - $this->success []= $elem698; + $elem705 = null; + $xfer += $input->readString($elem705); + $this->success []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -20068,9 +20123,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter699) + foreach ($this->success as $iter706) { - $xfer += $output->writeString($iter699); + $xfer += $output->writeString($iter706); } } $output->writeListEnd(); @@ -20292,15 +20347,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readListBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readListBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $elem705 = new \metastore\Partition(); - $xfer += $elem705->read($input); - $this->success []= $elem705; + $elem712 = null; + $elem712 = new \metastore\Partition(); + $xfer += $elem712->read($input); + $this->success []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -20344,9 +20399,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter706) + foreach ($this->success as $iter713) { - $xfer += $iter706->write($output); + $xfer += $iter713->write($output); } } $output->writeListEnd(); @@ -20568,15 +20623,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size707 = 0; - $_etype710 = 0; - $xfer += $input->readListBegin($_etype710, $_size707); - for ($_i711 = 0; $_i711 < $_size707; ++$_i711) + $_size714 = 0; + $_etype717 = 0; + $xfer += $input->readListBegin($_etype717, $_size714); + for ($_i718 = 0; $_i718 < $_size714; ++$_i718) { - $elem712 = null; - $elem712 = new \metastore\PartitionSpec(); - $xfer += $elem712->read($input); - $this->success []= $elem712; + $elem719 = null; + $elem719 = new \metastore\PartitionSpec(); + $xfer += $elem719->read($input); + $this->success []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -20620,9 +20675,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter713) + foreach ($this->success as $iter720) { - $xfer += $iter713->write($output); + $xfer += $iter720->write($output); } } $output->writeListEnd(); @@ -20921,14 +20976,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $xfer += $input->readString($elem719); - $this->names []= $elem719; + $elem726 = null; + $xfer += $input->readString($elem726); + $this->names []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -20966,9 +21021,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter720) + foreach ($this->names as $iter727) { - $xfer += $output->writeString($iter720); + $xfer += $output->writeString($iter727); } } $output->writeListEnd(); @@ -21048,15 +21103,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $elem726 = new \metastore\Partition(); - $xfer += $elem726->read($input); - $this->success []= $elem726; + $elem733 = null; + $elem733 = new \metastore\Partition(); + $xfer += $elem733->read($input); + $this->success []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -21100,9 +21155,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter727) + foreach ($this->success as $iter734) { - $xfer += $iter727->write($output); + $xfer += $iter734->write($output); } } $output->writeListEnd(); @@ -21417,15 +21472,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readListBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $elem733 = new \metastore\Partition(); - $xfer += $elem733->read($input); - $this->new_parts []= $elem733; + $elem740 = null; + $elem740 = new \metastore\Partition(); + $xfer += $elem740->read($input); + $this->new_parts []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -21463,9 +21518,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter734) + foreach ($this->new_parts as $iter741) { - $xfer += $iter734->write($output); + $xfer += $iter741->write($output); } } $output->writeListEnd(); @@ -21899,14 +21954,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readListBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $xfer += $input->readString($elem740); - $this->part_vals []= $elem740; + $elem747 = null; + $xfer += $input->readString($elem747); + $this->part_vals []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -21952,9 +22007,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter741) + foreach ($this->part_vals as $iter748) { - $xfer += $output->writeString($iter741); + $xfer += $output->writeString($iter748); } } $output->writeListEnd(); @@ -22127,14 +22182,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size742 = 0; - $_etype745 = 0; - $xfer += $input->readListBegin($_etype745, $_size742); - for ($_i746 = 0; $_i746 < $_size742; ++$_i746) + $_size749 = 0; + $_etype752 = 0; + $xfer += $input->readListBegin($_etype752, $_size749); + for ($_i753 = 0; $_i753 < $_size749; ++$_i753) { - $elem747 = null; - $xfer += $input->readString($elem747); - $this->part_vals []= $elem747; + $elem754 = null; + $xfer += $input->readString($elem754); + $this->part_vals []= $elem754; } $xfer += $input->readListEnd(); } else { @@ -22169,9 +22224,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter748) + foreach ($this->part_vals as $iter755) { - $xfer += $output->writeString($iter748); + $xfer += $output->writeString($iter755); } } $output->writeListEnd(); @@ -22598,14 +22653,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $xfer += $input->readString($elem754); - $this->success []= $elem754; + $elem761 = null; + $xfer += $input->readString($elem761); + $this->success []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -22641,9 +22696,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter755) + foreach ($this->success as $iter762) { - $xfer += $output->writeString($iter755); + $xfer += $output->writeString($iter762); } } $output->writeListEnd(); @@ -22794,17 +22849,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size756 = 0; - $_ktype757 = 0; - $_vtype758 = 0; - $xfer += $input->readMapBegin($_ktype757, $_vtype758, $_size756); - for ($_i760 = 0; $_i760 < $_size756; ++$_i760) + $_size763 = 0; + $_ktype764 = 0; + $_vtype765 = 0; + $xfer += $input->readMapBegin($_ktype764, $_vtype765, $_size763); + for ($_i767 = 0; $_i767 < $_size763; ++$_i767) { - $key761 = ''; - $val762 = ''; - $xfer += $input->readString($key761); - $xfer += $input->readString($val762); - $this->success[$key761] = $val762; + $key768 = ''; + $val769 = ''; + $xfer += $input->readString($key768); + $xfer += $input->readString($val769); + $this->success[$key768] = $val769; } $xfer += $input->readMapEnd(); } else { @@ -22840,10 +22895,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter763 => $viter764) + foreach ($this->success as $kiter770 => $viter771) { - $xfer += $output->writeString($kiter763); - $xfer += $output->writeString($viter764); + $xfer += $output->writeString($kiter770); + $xfer += $output->writeString($viter771); } } $output->writeMapEnd(); @@ -22951,17 +23006,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size765 = 0; - $_ktype766 = 0; - $_vtype767 = 0; - $xfer += $input->readMapBegin($_ktype766, $_vtype767, $_size765); - for ($_i769 = 0; $_i769 < $_size765; ++$_i769) + $_size772 = 0; + $_ktype773 = 0; + $_vtype774 = 0; + $xfer += $input->readMapBegin($_ktype773, $_vtype774, $_size772); + for ($_i776 = 0; $_i776 < $_size772; ++$_i776) { - $key770 = ''; - $val771 = ''; - $xfer += $input->readString($key770); - $xfer += $input->readString($val771); - $this->part_vals[$key770] = $val771; + $key777 = ''; + $val778 = ''; + $xfer += $input->readString($key777); + $xfer += $input->readString($val778); + $this->part_vals[$key777] = $val778; } $xfer += $input->readMapEnd(); } else { @@ -23006,10 +23061,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter772 => $viter773) + foreach ($this->part_vals as $kiter779 => $viter780) { - $xfer += $output->writeString($kiter772); - $xfer += $output->writeString($viter773); + $xfer += $output->writeString($kiter779); + $xfer += $output->writeString($viter780); } } $output->writeMapEnd(); @@ -23301,17 +23356,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size774 = 0; - $_ktype775 = 0; - $_vtype776 = 0; - $xfer += $input->readMapBegin($_ktype775, $_vtype776, $_size774); - for ($_i778 = 0; $_i778 < $_size774; ++$_i778) + $_size781 = 0; + $_ktype782 = 0; + $_vtype783 = 0; + $xfer += $input->readMapBegin($_ktype782, $_vtype783, $_size781); + for ($_i785 = 0; $_i785 < $_size781; ++$_i785) { - $key779 = ''; - $val780 = ''; - $xfer += $input->readString($key779); - $xfer += $input->readString($val780); - $this->part_vals[$key779] = $val780; + $key786 = ''; + $val787 = ''; + $xfer += $input->readString($key786); + $xfer += $input->readString($val787); + $this->part_vals[$key786] = $val787; } $xfer += $input->readMapEnd(); } else { @@ -23356,10 +23411,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter781 => $viter782) + foreach ($this->part_vals as $kiter788 => $viter789) { - $xfer += $output->writeString($kiter781); - $xfer += $output->writeString($viter782); + $xfer += $output->writeString($kiter788); + $xfer += $output->writeString($viter789); } } $output->writeMapEnd(); @@ -24719,15 +24774,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size783 = 0; - $_etype786 = 0; - $xfer += $input->readListBegin($_etype786, $_size783); - for ($_i787 = 0; $_i787 < $_size783; ++$_i787) + $_size790 = 0; + $_etype793 = 0; + $xfer += $input->readListBegin($_etype793, $_size790); + for ($_i794 = 0; $_i794 < $_size790; ++$_i794) { - $elem788 = null; - $elem788 = new \metastore\Index(); - $xfer += $elem788->read($input); - $this->success []= $elem788; + $elem795 = null; + $elem795 = new \metastore\Index(); + $xfer += $elem795->read($input); + $this->success []= $elem795; } $xfer += $input->readListEnd(); } else { @@ -24771,9 +24826,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter789) + foreach ($this->success as $iter796) { - $xfer += $iter789->write($output); + $xfer += $iter796->write($output); } } $output->writeListEnd(); @@ -24965,14 +25020,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size790 = 0; - $_etype793 = 0; - $xfer += $input->readListBegin($_etype793, $_size790); - for ($_i794 = 0; $_i794 < $_size790; ++$_i794) + $_size797 = 0; + $_etype800 = 0; + $xfer += $input->readListBegin($_etype800, $_size797); + for ($_i801 = 0; $_i801 < $_size797; ++$_i801) { - $elem795 = null; - $xfer += $input->readString($elem795); - $this->success []= $elem795; + $elem802 = null; + $xfer += $input->readString($elem802); + $this->success []= $elem802; } $xfer += $input->readListEnd(); } else { @@ -25008,9 +25063,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter796) + foreach ($this->success as $iter803) { - $xfer += $output->writeString($iter796); + $xfer += $output->writeString($iter803); } } $output->writeListEnd(); @@ -28238,14 +28293,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size797 = 0; - $_etype800 = 0; - $xfer += $input->readListBegin($_etype800, $_size797); - for ($_i801 = 0; $_i801 < $_size797; ++$_i801) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem802 = null; - $xfer += $input->readString($elem802); - $this->success []= $elem802; + $elem809 = null; + $xfer += $input->readString($elem809); + $this->success []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -28281,9 +28336,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter803) + foreach ($this->success as $iter810) { - $xfer += $output->writeString($iter803); + $xfer += $output->writeString($iter810); } } $output->writeListEnd(); @@ -28958,14 +29013,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size804 = 0; - $_etype807 = 0; - $xfer += $input->readListBegin($_etype807, $_size804); - for ($_i808 = 0; $_i808 < $_size804; ++$_i808) + $_size811 = 0; + $_etype814 = 0; + $xfer += $input->readListBegin($_etype814, $_size811); + for ($_i815 = 0; $_i815 < $_size811; ++$_i815) { - $elem809 = null; - $xfer += $input->readString($elem809); - $this->success []= $elem809; + $elem816 = null; + $xfer += $input->readString($elem816); + $this->success []= $elem816; } $xfer += $input->readListEnd(); } else { @@ -29001,9 +29056,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter810) + foreach ($this->success as $iter817) { - $xfer += $output->writeString($iter810); + $xfer += $output->writeString($iter817); } } $output->writeListEnd(); @@ -29643,15 +29698,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size818 = 0; + $_etype821 = 0; + $xfer += $input->readListBegin($_etype821, $_size818); + for ($_i822 = 0; $_i822 < $_size818; ++$_i822) { - $elem816 = null; - $elem816 = new \metastore\Role(); - $xfer += $elem816->read($input); - $this->success []= $elem816; + $elem823 = null; + $elem823 = new \metastore\Role(); + $xfer += $elem823->read($input); + $this->success []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -29687,9 +29742,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter817) + foreach ($this->success as $iter824) { - $xfer += $iter817->write($output); + $xfer += $iter824->write($output); } } $output->writeListEnd(); @@ -30315,14 +30370,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size818 = 0; - $_etype821 = 0; - $xfer += $input->readListBegin($_etype821, $_size818); - for ($_i822 = 0; $_i822 < $_size818; ++$_i822) + $_size825 = 0; + $_etype828 = 0; + $xfer += $input->readListBegin($_etype828, $_size825); + for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { - $elem823 = null; - $xfer += $input->readString($elem823); - $this->group_names []= $elem823; + $elem830 = null; + $xfer += $input->readString($elem830); + $this->group_names []= $elem830; } $xfer += $input->readListEnd(); } else { @@ -30363,9 +30418,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter824) + foreach ($this->group_names as $iter831) { - $xfer += $output->writeString($iter824); + $xfer += $output->writeString($iter831); } } $output->writeListEnd(); @@ -30652,15 +30707,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) + $_size832 = 0; + $_etype835 = 0; + $xfer += $input->readListBegin($_etype835, $_size832); + for ($_i836 = 0; $_i836 < $_size832; ++$_i836) { - $elem830 = null; - $elem830 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem830->read($input); - $this->success []= $elem830; + $elem837 = null; + $elem837 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem837->read($input); + $this->success []= $elem837; } $xfer += $input->readListEnd(); } else { @@ -30696,9 +30751,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter831) + foreach ($this->success as $iter838) { - $xfer += $iter831->write($output); + $xfer += $iter838->write($output); } } $output->writeListEnd(); @@ -31297,14 +31352,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size832 = 0; - $_etype835 = 0; - $xfer += $input->readListBegin($_etype835, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) + $_size839 = 0; + $_etype842 = 0; + $xfer += $input->readListBegin($_etype842, $_size839); + for ($_i843 = 0; $_i843 < $_size839; ++$_i843) { - $elem837 = null; - $xfer += $input->readString($elem837); - $this->group_names []= $elem837; + $elem844 = null; + $xfer += $input->readString($elem844); + $this->group_names []= $elem844; } $xfer += $input->readListEnd(); } else { @@ -31337,9 +31392,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter838) + foreach ($this->group_names as $iter845) { - $xfer += $output->writeString($iter838); + $xfer += $output->writeString($iter845); } } $output->writeListEnd(); @@ -31409,14 +31464,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size839 = 0; - $_etype842 = 0; - $xfer += $input->readListBegin($_etype842, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) + $_size846 = 0; + $_etype849 = 0; + $xfer += $input->readListBegin($_etype849, $_size846); + for ($_i850 = 0; $_i850 < $_size846; ++$_i850) { - $elem844 = null; - $xfer += $input->readString($elem844); - $this->success []= $elem844; + $elem851 = null; + $xfer += $input->readString($elem851); + $this->success []= $elem851; } $xfer += $input->readListEnd(); } else { @@ -31452,9 +31507,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter845) + foreach ($this->success as $iter852) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter852); } } $output->writeListEnd(); @@ -34078,6 +34133,179 @@ class ThriftHiveMetastore_show_compact_result { } +class ThriftHiveMetastore_add_dynamic_partitions_args { + static $_TSPEC; + + public $rqst = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'rqst', + 'type' => TType::STRUCT, + 'class' => '\metastore\AddDynamicPartitions', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['rqst'])) { + $this->rqst = $vals['rqst']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_add_dynamic_partitions_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->rqst = new \metastore\AddDynamicPartitions(); + $xfer += $this->rqst->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_dynamic_partitions_args'); + if ($this->rqst !== null) { + if (!is_object($this->rqst)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('rqst', TType::STRUCT, 1); + $xfer += $this->rqst->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_add_dynamic_partitions_result { + static $_TSPEC; + + public $o1 = null; + public $o2 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchTxnException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\TxnAbortedException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_add_dynamic_partitions_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\NoSuchTxnException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\TxnAbortedException(); + $xfer += $this->o2->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_dynamic_partitions_result'); + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_get_next_notification_args { static $_TSPEC; diff --git metastore/src/gen/thrift/gen-php/metastore/Types.php metastore/src/gen/thrift/gen-php/metastore/Types.php index e8afe4d..7f14cb7 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -11707,6 +11707,164 @@ class ShowCompactResponse { } +class AddDynamicPartitions { + static $_TSPEC; + + public $txnid = null; + public $dbname = null; + public $tablename = null; + public $partitionnames = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'txnid', + 'type' => TType::I64, + ), + 2 => array( + 'var' => 'dbname', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'tablename', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'partitionnames', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['txnid'])) { + $this->txnid = $vals['txnid']; + } + if (isset($vals['dbname'])) { + $this->dbname = $vals['dbname']; + } + if (isset($vals['tablename'])) { + $this->tablename = $vals['tablename']; + } + if (isset($vals['partitionnames'])) { + $this->partitionnames = $vals['partitionnames']; + } + } + } + + public function getName() { + return 'AddDynamicPartitions'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnid); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->dbname); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tablename); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::LST) { + $this->partitionnames = array(); + $_size437 = 0; + $_etype440 = 0; + $xfer += $input->readListBegin($_etype440, $_size437); + for ($_i441 = 0; $_i441 < $_size437; ++$_i441) + { + $elem442 = null; + $xfer += $input->readString($elem442); + $this->partitionnames []= $elem442; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('AddDynamicPartitions'); + if ($this->txnid !== null) { + $xfer += $output->writeFieldBegin('txnid', TType::I64, 1); + $xfer += $output->writeI64($this->txnid); + $xfer += $output->writeFieldEnd(); + } + if ($this->dbname !== null) { + $xfer += $output->writeFieldBegin('dbname', TType::STRING, 2); + $xfer += $output->writeString($this->dbname); + $xfer += $output->writeFieldEnd(); + } + if ($this->tablename !== null) { + $xfer += $output->writeFieldBegin('tablename', TType::STRING, 3); + $xfer += $output->writeString($this->tablename); + $xfer += $output->writeFieldEnd(); + } + if ($this->partitionnames !== null) { + if (!is_array($this->partitionnames)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partitionnames', TType::LST, 4); + { + $output->writeListBegin(TType::STRING, count($this->partitionnames)); + { + foreach ($this->partitionnames as $iter443) + { + $xfer += $output->writeString($iter443); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class NotificationEventRequest { static $_TSPEC; @@ -12019,15 +12177,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size437 = 0; - $_etype440 = 0; - $xfer += $input->readListBegin($_etype440, $_size437); - for ($_i441 = 0; $_i441 < $_size437; ++$_i441) + $_size444 = 0; + $_etype447 = 0; + $xfer += $input->readListBegin($_etype447, $_size444); + for ($_i448 = 0; $_i448 < $_size444; ++$_i448) { - $elem442 = null; - $elem442 = new \metastore\NotificationEvent(); - $xfer += $elem442->read($input); - $this->events []= $elem442; + $elem449 = null; + $elem449 = new \metastore\NotificationEvent(); + $xfer += $elem449->read($input); + $this->events []= $elem449; } $xfer += $input->readListEnd(); } else { @@ -12055,9 +12213,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter443) + foreach ($this->events as $iter450) { - $xfer += $iter443->write($output); + $xfer += $iter450->write($output); } } $output->writeListEnd(); @@ -12190,14 +12348,14 @@ class InsertEventRequestData { case 1: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size444 = 0; - $_etype447 = 0; - $xfer += $input->readListBegin($_etype447, $_size444); - for ($_i448 = 0; $_i448 < $_size444; ++$_i448) + $_size451 = 0; + $_etype454 = 0; + $xfer += $input->readListBegin($_etype454, $_size451); + for ($_i455 = 0; $_i455 < $_size451; ++$_i455) { - $elem449 = null; - $xfer += $input->readString($elem449); - $this->filesAdded []= $elem449; + $elem456 = null; + $xfer += $input->readString($elem456); + $this->filesAdded []= $elem456; } $xfer += $input->readListEnd(); } else { @@ -12225,9 +12383,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter450) + foreach ($this->filesAdded as $iter457) { - $xfer += $output->writeString($iter450); + $xfer += $output->writeString($iter457); } } $output->writeListEnd(); @@ -12427,14 +12585,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size451 = 0; - $_etype454 = 0; - $xfer += $input->readListBegin($_etype454, $_size451); - for ($_i455 = 0; $_i455 < $_size451; ++$_i455) + $_size458 = 0; + $_etype461 = 0; + $xfer += $input->readListBegin($_etype461, $_size458); + for ($_i462 = 0; $_i462 < $_size458; ++$_i462) { - $elem456 = null; - $xfer += $input->readString($elem456); - $this->partitionVals []= $elem456; + $elem463 = null; + $xfer += $input->readString($elem463); + $this->partitionVals []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -12485,9 +12643,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter457) + foreach ($this->partitionVals as $iter464) { - $xfer += $output->writeString($iter457); + $xfer += $output->writeString($iter464); } } $output->writeListEnd(); diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote old mode 100644 new mode 100755 index 8c1d2c5..36aced3 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -142,6 +142,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns)' print ' void compact(CompactionRequest rqst)' print ' ShowCompactResponse show_compact(ShowCompactRequest rqst)' + print ' void add_dynamic_partitions(AddDynamicPartitions rqst)' print ' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)' print ' CurrentNotificationEventId get_current_notificationEventId()' print ' FireEventResponse fire_listener_event(FireEventRequest rqst)' @@ -910,6 +911,12 @@ elif cmd == 'show_compact': sys.exit(1) pp.pprint(client.show_compact(eval(args[0]),)) +elif cmd == 'add_dynamic_partitions': + if len(args) != 1: + print 'add_dynamic_partitions requires 1 args' + sys.exit(1) + pp.pprint(client.add_dynamic_partitions(eval(args[0]),)) + elif cmd == 'get_next_notification': if len(args) != 1: print 'get_next_notification requires 1 args' diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 02b9451..4cc54e8 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -994,6 +994,13 @@ def show_compact(self, rqst): """ pass + def add_dynamic_partitions(self, rqst): + """ + Parameters: + - rqst + """ + pass + def get_next_notification(self, rqst): """ Parameters: @@ -5311,6 +5318,38 @@ def recv_show_compact(self, ): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result"); + def add_dynamic_partitions(self, rqst): + """ + Parameters: + - rqst + """ + self.send_add_dynamic_partitions(rqst) + self.recv_add_dynamic_partitions() + + def send_add_dynamic_partitions(self, rqst): + self._oprot.writeMessageBegin('add_dynamic_partitions', TMessageType.CALL, self._seqid) + args = add_dynamic_partitions_args() + args.rqst = rqst + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_add_dynamic_partitions(self, ): + (fname, mtype, rseqid) = self._iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(self._iprot) + self._iprot.readMessageEnd() + raise x + result = add_dynamic_partitions_result() + result.read(self._iprot) + self._iprot.readMessageEnd() + if result.o1 is not None: + raise result.o1 + if result.o2 is not None: + raise result.o2 + return + def get_next_notification(self, rqst): """ Parameters: @@ -5519,6 +5558,7 @@ def __init__(self, handler): self._processMap["heartbeat_txn_range"] = Processor.process_heartbeat_txn_range self._processMap["compact"] = Processor.process_compact self._processMap["show_compact"] = Processor.process_show_compact + self._processMap["add_dynamic_partitions"] = Processor.process_add_dynamic_partitions self._processMap["get_next_notification"] = Processor.process_get_next_notification self._processMap["get_current_notificationEventId"] = Processor.process_get_current_notificationEventId self._processMap["fire_listener_event"] = Processor.process_fire_listener_event @@ -7443,6 +7483,22 @@ def process_show_compact(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_add_dynamic_partitions(self, seqid, iprot, oprot): + args = add_dynamic_partitions_args() + args.read(iprot) + iprot.readMessageEnd() + result = add_dynamic_partitions_result() + try: + self._handler.add_dynamic_partitions(args.rqst) + except NoSuchTxnException as o1: + result.o1 = o1 + except TxnAbortedException as o2: + result.o2 = o2 + oprot.writeMessageBegin("add_dynamic_partitions", TMessageType.REPLY, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_next_notification(self, seqid, iprot, oprot): args = get_next_notification_args() args.read(iprot) @@ -8297,10 +8353,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = iprot.readString(); - self.success.append(_elem460) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = iprot.readString(); + self.success.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -8323,8 +8379,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter461 in self.success: - oprot.writeString(iter461) + for iter468 in self.success: + oprot.writeString(iter468) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8419,10 +8475,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype465, _size462) = iprot.readListBegin() - for _i466 in xrange(_size462): - _elem467 = iprot.readString(); - self.success.append(_elem467) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readString(); + self.success.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -8445,8 +8501,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter468 in self.success: - oprot.writeString(iter468) + for iter475 in self.success: + oprot.writeString(iter475) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9156,12 +9212,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype470, _vtype471, _size469 ) = iprot.readMapBegin() - for _i473 in xrange(_size469): - _key474 = iprot.readString(); - _val475 = Type() - _val475.read(iprot) - self.success[_key474] = _val475 + (_ktype477, _vtype478, _size476 ) = iprot.readMapBegin() + for _i480 in xrange(_size476): + _key481 = iprot.readString(); + _val482 = Type() + _val482.read(iprot) + self.success[_key481] = _val482 iprot.readMapEnd() else: iprot.skip(ftype) @@ -9184,9 +9240,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter476,viter477 in self.success.items(): - oprot.writeString(kiter476) - viter477.write(oprot) + for kiter483,viter484 in self.success.items(): + oprot.writeString(kiter483) + viter484.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -9317,11 +9373,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype481, _size478) = iprot.readListBegin() - for _i482 in xrange(_size478): - _elem483 = FieldSchema() - _elem483.read(iprot) - self.success.append(_elem483) + (_etype488, _size485) = iprot.readListBegin() + for _i489 in xrange(_size485): + _elem490 = FieldSchema() + _elem490.read(iprot) + self.success.append(_elem490) iprot.readListEnd() else: iprot.skip(ftype) @@ -9356,8 +9412,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter484 in self.success: - iter484.write(oprot) + for iter491 in self.success: + iter491.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9509,11 +9565,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype488, _size485) = iprot.readListBegin() - for _i489 in xrange(_size485): - _elem490 = FieldSchema() - _elem490.read(iprot) - self.success.append(_elem490) + (_etype495, _size492) = iprot.readListBegin() + for _i496 in xrange(_size492): + _elem497 = FieldSchema() + _elem497.read(iprot) + self.success.append(_elem497) iprot.readListEnd() else: iprot.skip(ftype) @@ -9548,8 +9604,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter491 in self.success: - iter491.write(oprot) + for iter498 in self.success: + iter498.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9688,11 +9744,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype495, _size492) = iprot.readListBegin() - for _i496 in xrange(_size492): - _elem497 = FieldSchema() - _elem497.read(iprot) - self.success.append(_elem497) + (_etype502, _size499) = iprot.readListBegin() + for _i503 in xrange(_size499): + _elem504 = FieldSchema() + _elem504.read(iprot) + self.success.append(_elem504) iprot.readListEnd() else: iprot.skip(ftype) @@ -9727,8 +9783,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter498 in self.success: - iter498.write(oprot) + for iter505 in self.success: + iter505.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9880,11 +9936,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = FieldSchema() - _elem504.read(iprot) - self.success.append(_elem504) + (_etype509, _size506) = iprot.readListBegin() + for _i510 in xrange(_size506): + _elem511 = FieldSchema() + _elem511.read(iprot) + self.success.append(_elem511) iprot.readListEnd() else: iprot.skip(ftype) @@ -9919,8 +9975,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter505 in self.success: - iter505.write(oprot) + for iter512 in self.success: + iter512.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10717,10 +10773,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype509, _size506) = iprot.readListBegin() - for _i510 in xrange(_size506): - _elem511 = iprot.readString(); - self.success.append(_elem511) + (_etype516, _size513) = iprot.readListBegin() + for _i517 in xrange(_size513): + _elem518 = iprot.readString(); + self.success.append(_elem518) iprot.readListEnd() else: iprot.skip(ftype) @@ -10743,8 +10799,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter512 in self.success: - oprot.writeString(iter512) + for iter519 in self.success: + oprot.writeString(iter519) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10857,10 +10913,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype516, _size513) = iprot.readListBegin() - for _i517 in xrange(_size513): - _elem518 = iprot.readString(); - self.success.append(_elem518) + (_etype523, _size520) = iprot.readListBegin() + for _i524 in xrange(_size520): + _elem525 = iprot.readString(); + self.success.append(_elem525) iprot.readListEnd() else: iprot.skip(ftype) @@ -10883,8 +10939,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter519 in self.success: - oprot.writeString(iter519) + for iter526 in self.success: + oprot.writeString(iter526) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11101,10 +11157,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = iprot.readString(); - self.tbl_names.append(_elem525) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = iprot.readString(); + self.tbl_names.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -11125,8 +11181,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter526 in self.tbl_names: - oprot.writeString(iter526) + for iter533 in self.tbl_names: + oprot.writeString(iter533) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11181,11 +11237,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype530, _size527) = iprot.readListBegin() - for _i531 in xrange(_size527): - _elem532 = Table() - _elem532.read(iprot) - self.success.append(_elem532) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = Table() + _elem539.read(iprot) + self.success.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -11220,8 +11276,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter533 in self.success: - iter533.write(oprot) + for iter540 in self.success: + iter540.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11372,10 +11428,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = iprot.readString(); - self.success.append(_elem539) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = iprot.readString(); + self.success.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -11410,8 +11466,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter540 in self.success: - oprot.writeString(iter540) + for iter547 in self.success: + oprot.writeString(iter547) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12305,11 +12361,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype544, _size541) = iprot.readListBegin() - for _i545 in xrange(_size541): - _elem546 = Partition() - _elem546.read(iprot) - self.new_parts.append(_elem546) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = Partition() + _elem553.read(iprot) + self.new_parts.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -12326,8 +12382,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter547 in self.new_parts: - iter547.write(oprot) + for iter554 in self.new_parts: + iter554.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12472,11 +12528,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype551, _size548) = iprot.readListBegin() - for _i552 in xrange(_size548): - _elem553 = PartitionSpec() - _elem553.read(iprot) - self.new_parts.append(_elem553) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = PartitionSpec() + _elem560.read(iprot) + self.new_parts.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) @@ -12493,8 +12549,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter554 in self.new_parts: - iter554.write(oprot) + for iter561 in self.new_parts: + iter561.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12655,10 +12711,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype558, _size555) = iprot.readListBegin() - for _i559 in xrange(_size555): - _elem560 = iprot.readString(); - self.part_vals.append(_elem560) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = iprot.readString(); + self.part_vals.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -12683,8 +12739,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter561 in self.part_vals: - oprot.writeString(iter561) + for iter568 in self.part_vals: + oprot.writeString(iter568) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13009,10 +13065,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype565, _size562) = iprot.readListBegin() - for _i566 in xrange(_size562): - _elem567 = iprot.readString(); - self.part_vals.append(_elem567) + (_etype572, _size569) = iprot.readListBegin() + for _i573 in xrange(_size569): + _elem574 = iprot.readString(); + self.part_vals.append(_elem574) iprot.readListEnd() else: iprot.skip(ftype) @@ -13043,8 +13099,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter568 in self.part_vals: - oprot.writeString(iter568) + for iter575 in self.part_vals: + oprot.writeString(iter575) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -13592,10 +13648,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype572, _size569) = iprot.readListBegin() - for _i573 in xrange(_size569): - _elem574 = iprot.readString(); - self.part_vals.append(_elem574) + (_etype579, _size576) = iprot.readListBegin() + for _i580 in xrange(_size576): + _elem581 = iprot.readString(); + self.part_vals.append(_elem581) iprot.readListEnd() else: iprot.skip(ftype) @@ -13625,8 +13681,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter575 in self.part_vals: - oprot.writeString(iter575) + for iter582 in self.part_vals: + oprot.writeString(iter582) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -13784,10 +13840,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype579, _size576) = iprot.readListBegin() - for _i580 in xrange(_size576): - _elem581 = iprot.readString(); - self.part_vals.append(_elem581) + (_etype586, _size583) = iprot.readListBegin() + for _i587 in xrange(_size583): + _elem588 = iprot.readString(); + self.part_vals.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) @@ -13823,8 +13879,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter582 in self.part_vals: - oprot.writeString(iter582) + for iter589 in self.part_vals: + oprot.writeString(iter589) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -14502,10 +14558,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype586, _size583) = iprot.readListBegin() - for _i587 in xrange(_size583): - _elem588 = iprot.readString(); - self.part_vals.append(_elem588) + (_etype593, _size590) = iprot.readListBegin() + for _i594 in xrange(_size590): + _elem595 = iprot.readString(); + self.part_vals.append(_elem595) iprot.readListEnd() else: iprot.skip(ftype) @@ -14530,8 +14586,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter589 in self.part_vals: - oprot.writeString(iter589) + for iter596 in self.part_vals: + oprot.writeString(iter596) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14676,11 +14732,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype591, _vtype592, _size590 ) = iprot.readMapBegin() - for _i594 in xrange(_size590): - _key595 = iprot.readString(); - _val596 = iprot.readString(); - self.partitionSpecs[_key595] = _val596 + (_ktype598, _vtype599, _size597 ) = iprot.readMapBegin() + for _i601 in xrange(_size597): + _key602 = iprot.readString(); + _val603 = iprot.readString(); + self.partitionSpecs[_key602] = _val603 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14717,9 +14773,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter597,viter598 in self.partitionSpecs.items(): - oprot.writeString(kiter597) - oprot.writeString(viter598) + for kiter604,viter605 in self.partitionSpecs.items(): + oprot.writeString(kiter604) + oprot.writeString(viter605) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -14916,10 +14972,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype602, _size599) = iprot.readListBegin() - for _i603 in xrange(_size599): - _elem604 = iprot.readString(); - self.part_vals.append(_elem604) + (_etype609, _size606) = iprot.readListBegin() + for _i610 in xrange(_size606): + _elem611 = iprot.readString(); + self.part_vals.append(_elem611) iprot.readListEnd() else: iprot.skip(ftype) @@ -14931,10 +14987,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype608, _size605) = iprot.readListBegin() - for _i609 in xrange(_size605): - _elem610 = iprot.readString(); - self.group_names.append(_elem610) + (_etype615, _size612) = iprot.readListBegin() + for _i616 in xrange(_size612): + _elem617 = iprot.readString(); + self.group_names.append(_elem617) iprot.readListEnd() else: iprot.skip(ftype) @@ -14959,8 +15015,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter611 in self.part_vals: - oprot.writeString(iter611) + for iter618 in self.part_vals: + oprot.writeString(iter618) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -14970,8 +15026,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter612 in self.group_names: - oprot.writeString(iter612) + for iter619 in self.group_names: + oprot.writeString(iter619) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15363,11 +15419,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype616, _size613) = iprot.readListBegin() - for _i617 in xrange(_size613): - _elem618 = Partition() - _elem618.read(iprot) - self.success.append(_elem618) + (_etype623, _size620) = iprot.readListBegin() + for _i624 in xrange(_size620): + _elem625 = Partition() + _elem625.read(iprot) + self.success.append(_elem625) iprot.readListEnd() else: iprot.skip(ftype) @@ -15396,8 +15452,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter619 in self.success: - iter619.write(oprot) + for iter626 in self.success: + iter626.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15484,10 +15540,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype623, _size620) = iprot.readListBegin() - for _i624 in xrange(_size620): - _elem625 = iprot.readString(); - self.group_names.append(_elem625) + (_etype630, _size627) = iprot.readListBegin() + for _i631 in xrange(_size627): + _elem632 = iprot.readString(); + self.group_names.append(_elem632) iprot.readListEnd() else: iprot.skip(ftype) @@ -15520,8 +15576,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter626 in self.group_names: - oprot.writeString(iter626) + for iter633 in self.group_names: + oprot.writeString(iter633) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15573,11 +15629,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype630, _size627) = iprot.readListBegin() - for _i631 in xrange(_size627): - _elem632 = Partition() - _elem632.read(iprot) - self.success.append(_elem632) + (_etype637, _size634) = iprot.readListBegin() + for _i638 in xrange(_size634): + _elem639 = Partition() + _elem639.read(iprot) + self.success.append(_elem639) iprot.readListEnd() else: iprot.skip(ftype) @@ -15606,8 +15662,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter633 in self.success: - iter633.write(oprot) + for iter640 in self.success: + iter640.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15751,11 +15807,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype637, _size634) = iprot.readListBegin() - for _i638 in xrange(_size634): - _elem639 = PartitionSpec() - _elem639.read(iprot) - self.success.append(_elem639) + (_etype644, _size641) = iprot.readListBegin() + for _i645 in xrange(_size641): + _elem646 = PartitionSpec() + _elem646.read(iprot) + self.success.append(_elem646) iprot.readListEnd() else: iprot.skip(ftype) @@ -15784,8 +15840,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter640 in self.success: - iter640.write(oprot) + for iter647 in self.success: + iter647.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15926,10 +15982,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype644, _size641) = iprot.readListBegin() - for _i645 in xrange(_size641): - _elem646 = iprot.readString(); - self.success.append(_elem646) + (_etype651, _size648) = iprot.readListBegin() + for _i652 in xrange(_size648): + _elem653 = iprot.readString(); + self.success.append(_elem653) iprot.readListEnd() else: iprot.skip(ftype) @@ -15952,8 +16008,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter647 in self.success: - oprot.writeString(iter647) + for iter654 in self.success: + oprot.writeString(iter654) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -16023,10 +16079,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype651, _size648) = iprot.readListBegin() - for _i652 in xrange(_size648): - _elem653 = iprot.readString(); - self.part_vals.append(_elem653) + (_etype658, _size655) = iprot.readListBegin() + for _i659 in xrange(_size655): + _elem660 = iprot.readString(); + self.part_vals.append(_elem660) iprot.readListEnd() else: iprot.skip(ftype) @@ -16056,8 +16112,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter654 in self.part_vals: - oprot.writeString(iter654) + for iter661 in self.part_vals: + oprot.writeString(iter661) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16113,11 +16169,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype658, _size655) = iprot.readListBegin() - for _i659 in xrange(_size655): - _elem660 = Partition() - _elem660.read(iprot) - self.success.append(_elem660) + (_etype665, _size662) = iprot.readListBegin() + for _i666 in xrange(_size662): + _elem667 = Partition() + _elem667.read(iprot) + self.success.append(_elem667) iprot.readListEnd() else: iprot.skip(ftype) @@ -16146,8 +16202,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter661 in self.success: - iter661.write(oprot) + for iter668 in self.success: + iter668.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16227,10 +16283,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype665, _size662) = iprot.readListBegin() - for _i666 in xrange(_size662): - _elem667 = iprot.readString(); - self.part_vals.append(_elem667) + (_etype672, _size669) = iprot.readListBegin() + for _i673 in xrange(_size669): + _elem674 = iprot.readString(); + self.part_vals.append(_elem674) iprot.readListEnd() else: iprot.skip(ftype) @@ -16247,10 +16303,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype671, _size668) = iprot.readListBegin() - for _i672 in xrange(_size668): - _elem673 = iprot.readString(); - self.group_names.append(_elem673) + (_etype678, _size675) = iprot.readListBegin() + for _i679 in xrange(_size675): + _elem680 = iprot.readString(); + self.group_names.append(_elem680) iprot.readListEnd() else: iprot.skip(ftype) @@ -16275,8 +16331,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter674 in self.part_vals: - oprot.writeString(iter674) + for iter681 in self.part_vals: + oprot.writeString(iter681) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16290,8 +16346,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter675 in self.group_names: - oprot.writeString(iter675) + for iter682 in self.group_names: + oprot.writeString(iter682) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16343,11 +16399,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = Partition() - _elem681.read(iprot) - self.success.append(_elem681) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = Partition() + _elem688.read(iprot) + self.success.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -16376,8 +16432,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter682 in self.success: - iter682.write(oprot) + for iter689 in self.success: + iter689.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16451,11 +16507,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = iprot.readString(); - self.part_vals.append(_elem688) - iprot.readListEnd() + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = iprot.readString(); + self.part_vals.append(_elem695) + iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: @@ -16484,8 +16540,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter689 in self.part_vals: - oprot.writeString(iter689) + for iter696 in self.part_vals: + oprot.writeString(iter696) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16541,10 +16597,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = iprot.readString(); - self.success.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = iprot.readString(); + self.success.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -16573,8 +16629,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter696 in self.success: - oprot.writeString(iter696) + for iter703 in self.success: + oprot.writeString(iter703) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16730,11 +16786,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = Partition() - _elem702.read(iprot) - self.success.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = Partition() + _elem709.read(iprot) + self.success.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -16763,8 +16819,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter703 in self.success: - iter703.write(oprot) + for iter710 in self.success: + iter710.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16920,11 +16976,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = PartitionSpec() - _elem709.read(iprot) - self.success.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = PartitionSpec() + _elem716.read(iprot) + self.success.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -16953,8 +17009,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter710 in self.success: - iter710.write(oprot) + for iter717 in self.success: + iter717.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17172,10 +17228,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readString(); - self.names.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readString(); + self.names.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -17200,8 +17256,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter717 in self.names: - oprot.writeString(iter717) + for iter724 in self.names: + oprot.writeString(iter724) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17253,11 +17309,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = Partition() - _elem723.read(iprot) - self.success.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = Partition() + _elem730.read(iprot) + self.success.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -17286,8 +17342,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter724 in self.success: - iter724.write(oprot) + for iter731 in self.success: + iter731.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17517,11 +17573,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = Partition() - _elem730.read(iprot) - self.new_parts.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = Partition() + _elem737.read(iprot) + self.new_parts.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) @@ -17546,8 +17602,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter731 in self.new_parts: - iter731.write(oprot) + for iter738 in self.new_parts: + iter738.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17859,10 +17915,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = iprot.readString(); - self.part_vals.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = iprot.readString(); + self.part_vals.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) @@ -17893,8 +17949,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter738 in self.part_vals: - oprot.writeString(iter738) + for iter745 in self.part_vals: + oprot.writeString(iter745) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -18022,10 +18078,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = iprot.readString(); - self.part_vals.append(_elem744) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = iprot.readString(); + self.part_vals.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) @@ -18047,8 +18103,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter745 in self.part_vals: - oprot.writeString(iter745) + for iter752 in self.part_vals: + oprot.writeString(iter752) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -18377,10 +18433,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype749, _size746) = iprot.readListBegin() - for _i750 in xrange(_size746): - _elem751 = iprot.readString(); - self.success.append(_elem751) + (_etype756, _size753) = iprot.readListBegin() + for _i757 in xrange(_size753): + _elem758 = iprot.readString(); + self.success.append(_elem758) iprot.readListEnd() else: iprot.skip(ftype) @@ -18403,8 +18459,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter752 in self.success: - oprot.writeString(iter752) + for iter759 in self.success: + oprot.writeString(iter759) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18517,11 +18573,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype754, _vtype755, _size753 ) = iprot.readMapBegin() - for _i757 in xrange(_size753): - _key758 = iprot.readString(); - _val759 = iprot.readString(); - self.success[_key758] = _val759 + (_ktype761, _vtype762, _size760 ) = iprot.readMapBegin() + for _i764 in xrange(_size760): + _key765 = iprot.readString(); + _val766 = iprot.readString(); + self.success[_key765] = _val766 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18544,9 +18600,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter760,viter761 in self.success.items(): - oprot.writeString(kiter760) - oprot.writeString(viter761) + for kiter767,viter768 in self.success.items(): + oprot.writeString(kiter767) + oprot.writeString(viter768) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18616,11 +18672,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype763, _vtype764, _size762 ) = iprot.readMapBegin() - for _i766 in xrange(_size762): - _key767 = iprot.readString(); - _val768 = iprot.readString(); - self.part_vals[_key767] = _val768 + (_ktype770, _vtype771, _size769 ) = iprot.readMapBegin() + for _i773 in xrange(_size769): + _key774 = iprot.readString(); + _val775 = iprot.readString(); + self.part_vals[_key774] = _val775 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18650,9 +18706,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter769,viter770 in self.part_vals.items(): - oprot.writeString(kiter769) - oprot.writeString(viter770) + for kiter776,viter777 in self.part_vals.items(): + oprot.writeString(kiter776) + oprot.writeString(viter777) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -18848,11 +18904,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype772, _vtype773, _size771 ) = iprot.readMapBegin() - for _i775 in xrange(_size771): - _key776 = iprot.readString(); - _val777 = iprot.readString(); - self.part_vals[_key776] = _val777 + (_ktype779, _vtype780, _size778 ) = iprot.readMapBegin() + for _i782 in xrange(_size778): + _key783 = iprot.readString(); + _val784 = iprot.readString(); + self.part_vals[_key783] = _val784 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18882,9 +18938,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter778,viter779 in self.part_vals.items(): - oprot.writeString(kiter778) - oprot.writeString(viter779) + for kiter785,viter786 in self.part_vals.items(): + oprot.writeString(kiter785) + oprot.writeString(viter786) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -19856,11 +19912,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = Index() - _elem785.read(iprot) - self.success.append(_elem785) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = Index() + _elem792.read(iprot) + self.success.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -19889,8 +19945,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter786 in self.success: - iter786.write(oprot) + for iter793 in self.success: + iter793.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20031,10 +20087,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = iprot.readString(); - self.success.append(_elem792) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in xrange(_size794): + _elem799 = iprot.readString(); + self.success.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) @@ -20057,8 +20113,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter793 in self.success: - oprot.writeString(iter793) + for iter800 in self.success: + oprot.writeString(iter800) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -22412,10 +22468,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype797, _size794) = iprot.readListBegin() - for _i798 in xrange(_size794): - _elem799 = iprot.readString(); - self.success.append(_elem799) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = iprot.readString(); + self.success.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -22438,8 +22494,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter800 in self.success: - oprot.writeString(iter800) + for iter807 in self.success: + oprot.writeString(iter807) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22957,10 +23013,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype804, _size801) = iprot.readListBegin() - for _i805 in xrange(_size801): - _elem806 = iprot.readString(); - self.success.append(_elem806) + (_etype811, _size808) = iprot.readListBegin() + for _i812 in xrange(_size808): + _elem813 = iprot.readString(); + self.success.append(_elem813) iprot.readListEnd() else: iprot.skip(ftype) @@ -22983,8 +23039,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter807 in self.success: - oprot.writeString(iter807) + for iter814 in self.success: + oprot.writeString(iter814) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23457,11 +23513,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = Role() - _elem813.read(iprot) - self.success.append(_elem813) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = Role() + _elem820.read(iprot) + self.success.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -23484,8 +23540,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter814 in self.success: - iter814.write(oprot) + for iter821 in self.success: + iter821.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23955,10 +24011,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = iprot.readString(); - self.group_names.append(_elem820) + (_etype825, _size822) = iprot.readListBegin() + for _i826 in xrange(_size822): + _elem827 = iprot.readString(); + self.group_names.append(_elem827) iprot.readListEnd() else: iprot.skip(ftype) @@ -23983,8 +24039,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter821 in self.group_names: - oprot.writeString(iter821) + for iter828 in self.group_names: + oprot.writeString(iter828) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24191,11 +24247,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = HiveObjectPrivilege() - _elem827.read(iprot) - self.success.append(_elem827) + (_etype832, _size829) = iprot.readListBegin() + for _i833 in xrange(_size829): + _elem834 = HiveObjectPrivilege() + _elem834.read(iprot) + self.success.append(_elem834) iprot.readListEnd() else: iprot.skip(ftype) @@ -24218,8 +24274,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter828 in self.success: - iter828.write(oprot) + for iter835 in self.success: + iter835.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24678,10 +24734,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in xrange(_size829): - _elem834 = iprot.readString(); - self.group_names.append(_elem834) + (_etype839, _size836) = iprot.readListBegin() + for _i840 in xrange(_size836): + _elem841 = iprot.readString(); + self.group_names.append(_elem841) iprot.readListEnd() else: iprot.skip(ftype) @@ -24702,8 +24758,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter835 in self.group_names: - oprot.writeString(iter835) + for iter842 in self.group_names: + oprot.writeString(iter842) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24752,10 +24808,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString(); - self.success.append(_elem841) + (_etype846, _size843) = iprot.readListBegin() + for _i847 in xrange(_size843): + _elem848 = iprot.readString(); + self.success.append(_elem848) iprot.readListEnd() else: iprot.skip(ftype) @@ -24778,8 +24834,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter842 in self.success: - oprot.writeString(iter842) + for iter849 in self.success: + oprot.writeString(iter849) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26839,6 +26895,141 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class add_dynamic_partitions_args: + """ + Attributes: + - rqst + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'rqst', (AddDynamicPartitions, AddDynamicPartitions.thrift_spec), None, ), # 1 + ) + + def __init__(self, rqst=None,): + self.rqst = rqst + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRUCT: + self.rqst = AddDynamicPartitions() + self.rqst.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('add_dynamic_partitions_args') + if self.rqst is not None: + oprot.writeFieldBegin('rqst', TType.STRUCT, 1) + self.rqst.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class add_dynamic_partitions_result: + """ + Attributes: + - o1 + - o2 + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'o1', (NoSuchTxnException, NoSuchTxnException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (TxnAbortedException, TxnAbortedException.thrift_spec), None, ), # 2 + ) + + def __init__(self, o1=None, o2=None,): + self.o1 = o1 + self.o2 = o2 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRUCT: + self.o1 = NoSuchTxnException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = TxnAbortedException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('add_dynamic_partitions_result') + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class get_next_notification_args: """ Attributes: diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 531c590..f5e94ee 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -8160,6 +8160,118 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class AddDynamicPartitions: + """ + Attributes: + - txnid + - dbname + - tablename + - partitionnames + """ + + thrift_spec = ( + None, # 0 + (1, TType.I64, 'txnid', None, None, ), # 1 + (2, TType.STRING, 'dbname', None, None, ), # 2 + (3, TType.STRING, 'tablename', None, None, ), # 3 + (4, TType.LIST, 'partitionnames', (TType.STRING,None), None, ), # 4 + ) + + def __init__(self, txnid=None, dbname=None, tablename=None, partitionnames=None,): + self.txnid = txnid + self.dbname = dbname + self.tablename = tablename + self.partitionnames = partitionnames + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.I64: + self.txnid = iprot.readI64(); + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.dbname = iprot.readString(); + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.tablename = iprot.readString(); + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.LIST: + self.partitionnames = [] + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = iprot.readString(); + self.partitionnames.append(_elem439) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('AddDynamicPartitions') + if self.txnid is not None: + oprot.writeFieldBegin('txnid', TType.I64, 1) + oprot.writeI64(self.txnid) + oprot.writeFieldEnd() + if self.dbname is not None: + oprot.writeFieldBegin('dbname', TType.STRING, 2) + oprot.writeString(self.dbname) + oprot.writeFieldEnd() + if self.tablename is not None: + oprot.writeFieldBegin('tablename', TType.STRING, 3) + oprot.writeString(self.tablename) + oprot.writeFieldEnd() + if self.partitionnames is not None: + oprot.writeFieldBegin('partitionnames', TType.LIST, 4) + oprot.writeListBegin(TType.STRING, len(self.partitionnames)) + for iter440 in self.partitionnames: + oprot.writeString(iter440) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.txnid is None: + raise TProtocol.TProtocolException(message='Required field txnid is unset!') + if self.dbname is None: + raise TProtocol.TProtocolException(message='Required field dbname is unset!') + if self.tablename is None: + raise TProtocol.TProtocolException(message='Required field tablename is unset!') + if self.partitionnames is None: + raise TProtocol.TProtocolException(message='Required field partitionnames is unset!') + return + + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class NotificationEventRequest: """ Attributes: @@ -8388,11 +8500,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = NotificationEvent() - _elem439.read(iprot) - self.events.append(_elem439) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = NotificationEvent() + _elem446.read(iprot) + self.events.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -8409,8 +8521,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter440 in self.events: - iter440.write(oprot) + for iter447 in self.events: + iter447.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8521,10 +8633,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.filesAdded = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = iprot.readString(); - self.filesAdded.append(_elem446) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = iprot.readString(); + self.filesAdded.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -8541,8 +8653,8 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter447 in self.filesAdded: - oprot.writeString(iter447) + for iter454 in self.filesAdded: + oprot.writeString(iter454) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8685,10 +8797,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString(); - self.partitionVals.append(_elem453) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = iprot.readString(); + self.partitionVals.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -8721,8 +8833,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter454 in self.partitionVals: - oprot.writeString(iter454) + for iter461 in self.partitionVals: + oprot.writeString(iter461) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 48bece8..4d3bccf 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1994,6 +1994,32 @@ class ShowCompactResponse ::Thrift::Struct.generate_accessors self end +class AddDynamicPartitions + include ::Thrift::Struct, ::Thrift::Struct_Union + TXNID = 1 + DBNAME = 2 + TABLENAME = 3 + PARTITIONNAMES = 4 + + FIELDS = { + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'}, + TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'}, + PARTITIONNAMES => {:type => ::Thrift::Types::LIST, :name => 'partitionnames', :element => {:type => ::Thrift::Types::STRING}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txnid is unset!') unless @txnid + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbname is unset!') unless @dbname + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tablename is unset!') unless @tablename + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partitionnames is unset!') unless @partitionnames + end + + ::Thrift::Struct.generate_accessors self +end + class NotificationEventRequest include ::Thrift::Struct, ::Thrift::Struct_Union LASTEVENT = 1 diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 410f4aa..edc00d3 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2013,6 +2013,22 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'show_compact failed: unknown result') end + def add_dynamic_partitions(rqst) + send_add_dynamic_partitions(rqst) + recv_add_dynamic_partitions() + end + + def send_add_dynamic_partitions(rqst) + send_message('add_dynamic_partitions', Add_dynamic_partitions_args, :rqst => rqst) + end + + def recv_add_dynamic_partitions() + result = receive_message(Add_dynamic_partitions_result) + raise result.o1 unless result.o1.nil? + raise result.o2 unless result.o2.nil? + return + end + def get_next_notification(rqst) send_get_next_notification(rqst) return recv_get_next_notification() @@ -3604,6 +3620,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'show_compact', seqid) end + def process_add_dynamic_partitions(seqid, iprot, oprot) + args = read_args(iprot, Add_dynamic_partitions_args) + result = Add_dynamic_partitions_result.new() + begin + @handler.add_dynamic_partitions(args.rqst) + rescue ::NoSuchTxnException => o1 + result.o1 = o1 + rescue ::TxnAbortedException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'add_dynamic_partitions', seqid) + end + def process_get_next_notification(seqid, iprot, oprot) args = read_args(iprot, Get_next_notification_args) result = Get_next_notification_result.new() @@ -8197,6 +8226,40 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Add_dynamic_partitions_args + include ::Thrift::Struct, ::Thrift::Struct_Union + RQST = 1 + + FIELDS = { + RQST => {:type => ::Thrift::Types::STRUCT, :name => 'rqst', :class => ::AddDynamicPartitions} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Add_dynamic_partitions_result + include ::Thrift::Struct, ::Thrift::Struct_Union + O1 = 1 + O2 = 2 + + FIELDS = { + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchTxnException}, + O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::TxnAbortedException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_next_notification_args include ::Thrift::Struct, ::Thrift::Struct_Union RQST = 1 diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index b91d798..cf23c13 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -66,6 +66,7 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; +import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; import org.apache.hadoop.hive.metastore.api.AddPartitionsRequest; import org.apache.hadoop.hive.metastore.api.AddPartitionsResult; import org.apache.hadoop.hive.metastore.api.AggrStats; @@ -5566,6 +5567,12 @@ public ShowCompactResponse show_compact(ShowCompactRequest rqst) throws TExcepti } @Override + public void add_dynamic_partitions(AddDynamicPartitions rqst) + throws NoSuchTxnException, TxnAbortedException, TException { + getTxnHandler().addDynamicPartitions(rqst); + } + + @Override public GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request) throws MetaException, TException { diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 41d3a62..fdc9e91 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -54,6 +54,7 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.conf.HiveConfUtil; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; +import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; import org.apache.hadoop.hive.metastore.api.AddPartitionsRequest; import org.apache.hadoop.hive.metastore.api.AddPartitionsResult; import org.apache.hadoop.hive.metastore.api.AggrStats; @@ -1915,6 +1916,12 @@ public ShowCompactResponse showCompactions() throws TException { } @Override + public void addDynamicPartitions(long txnId, String dbName, String tableName, + List partNames) throws TException { + client.add_dynamic_partitions(new AddDynamicPartitions(txnId, dbName, tableName, partNames)); + } + + @Override public NotificationEventResponse getNextNotification(long lastEventId, int maxEvents, NotificationFilter filter) throws TException { NotificationEventRequest rqst = new NotificationEventRequest(lastEventId); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 4a28b71..18c7675 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -21,6 +21,7 @@ import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; import org.apache.hadoop.hive.metastore.api.CompactionType; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.EnvironmentContext; @@ -1351,6 +1352,18 @@ void compact(String dbname, String tableName, String partitionName, CompactionT ShowCompactResponse showCompactions() throws TException; /** + * Send a list of partitions to the metastore to indicate which partitions were loaded + * dynamically. + * @param txnId id of the transaction + * @param dbName database name + * @param tableName table name + * @param partNames partition name, as constructed by Warehouse.makePartName + * @throws TException + */ + void addDynamicPartitions(long txnId, String dbName, String tableName, List partNames) + throws TException; + + /** * A filter provided by the client that determines if a given notification event should be * returned. */ diff --git metastore/src/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java metastore/src/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java index d249db0..939df3f 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java @@ -22,7 +22,7 @@ /** * Information on a possible or running compaction. */ -public class CompactionInfo { +public class CompactionInfo implements Comparable { public long id; public String dbname; public String tableName; @@ -68,4 +68,9 @@ public String getFullTableName() { public boolean isMajorCompaction() { return CompactionType.MAJOR == type; } + + @Override + public int compareTo(CompactionInfo o) { + return getFullPartitionName().compareTo(o.getFullPartitionName()); + } } diff --git metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index 581775d..216a61c 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -783,6 +783,48 @@ public ShowCompactResponse showCompact(ShowCompactRequest rqst) throws MetaExcep } } + public void addDynamicPartitions(AddDynamicPartitions rqst) + throws NoSuchTxnException, TxnAbortedException, MetaException { + Connection dbConn = null; + Statement stmt = null; + try { + try { + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + // Heartbeat this first to make sure the transaction is still valid. + heartbeatTxn(dbConn, rqst.getTxnid()); + for (String partName : rqst.getPartitionnames()) { + StringBuilder buff = new StringBuilder(); + buff.append("insert into TXN_COMPONENTS (tc_txnid, tc_database, tc_table, tc_partition) values ("); + buff.append(rqst.getTxnid()); + buff.append(", '"); + buff.append(rqst.getDbname()); + buff.append("', '"); + buff.append(rqst.getTablename()); + buff.append("', '"); + buff.append(partName); + buff.append("')"); + String s = buff.toString(); + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); + } + LOG.debug("Going to commit"); + dbConn.commit(); + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "addDynamicPartitions"); + throw new MetaException("Unable to insert into from transaction database " + + StringUtils.stringifyException(e)); + } finally { + closeStmt(stmt); + closeDbConn(dbConn); + } + } catch (RetryException e) { + addDynamicPartitions(rqst); + } + } + /** * For testing only, do not use. */ diff --git metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestCompactionTxnHandler.java metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestCompactionTxnHandler.java index 2a09882..ad99427 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestCompactionTxnHandler.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestCompactionTxnHandler.java @@ -17,6 +17,8 @@ */ package org.apache.hadoop.hive.metastore.txn; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.api.*; import org.apache.log4j.Level; @@ -26,8 +28,11 @@ import org.junit.Test; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet; import static junit.framework.Assert.*; @@ -38,6 +43,7 @@ private HiveConf conf = new HiveConf(); private CompactionTxnHandler txnHandler; + static final private Log LOG = LogFactory.getLog(TestCompactionTxnHandler.class); public TestCompactionTxnHandler() throws Exception { TxnDbUtil.setConfValues(conf); @@ -417,6 +423,40 @@ public void testMarkCleanedCleansTxnsAndTxnComponents() assertEquals(3, txnList.getOpen_txnsSize()); } + @Test + public void addDynamicPartitions() throws Exception { + String dbName = "default"; + String tableName = "adp_table"; + OpenTxnsResponse openTxns = txnHandler.openTxns(new OpenTxnRequest(1, "me", "localhost")); + long txnId = openTxns.getTxn_ids().get(0); + // lock a table, as in dynamic partitions + LockComponent lc = new LockComponent(LockType.SHARED_WRITE, LockLevel.TABLE, dbName); + lc.setTablename(tableName); + LockRequest lr = new LockRequest(Arrays.asList(lc), "me", "localhost"); + lr.setTxnid(txnId); + LockResponse lock = txnHandler.lock(new LockRequest(Arrays.asList(lc), "me", "localhost")); + assertEquals(LockState.ACQUIRED, lock.getState()); + + txnHandler.addDynamicPartitions(new AddDynamicPartitions(txnId, dbName, tableName, + Arrays.asList("ds=yesterday", "ds=today"))); + txnHandler.commitTxn(new CommitTxnRequest(txnId)); + + Set potentials = txnHandler.findPotentialCompactions(1000); + assertEquals(2, potentials.size()); + SortedSet sorted = new TreeSet(potentials); + + int i = 0; + for (CompactionInfo ci : sorted) { + assertEquals(dbName, ci.dbname); + assertEquals(tableName, ci.tableName); + switch (i++) { + case 0: assertEquals("ds=today", ci.partName); break; + case 1: assertEquals("ds=yesterday", ci.partName); break; + default: throw new RuntimeException("What?"); + } + } + } + @Before public void setUp() throws Exception { TxnDbUtil.prepDb(); diff --git metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java index e85ea34..ea5fadd 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java @@ -20,7 +20,6 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.hive.metastore.MetaStoreThread; import org.apache.hadoop.hive.metastore.api.*; import org.apache.log4j.Level; import org.apache.log4j.LogManager; @@ -33,6 +32,7 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; diff --git ql/src/java/org/apache/hadoop/hive/ql/Driver.java ql/src/java/org/apache/hadoop/hive/ql/Driver.java index b4bed7f..e4a94cd 100644 --- ql/src/java/org/apache/hadoop/hive/ql/Driver.java +++ ql/src/java/org/apache/hadoop/hive/ql/Driver.java @@ -973,6 +973,7 @@ private int acquireLocksAndOpenTxn() { if (txnId == SessionState.NO_CURRENT_TXN) { txnId = txnMgr.openTxn(userFromUGI); ss.setCurrentTxn(txnId); + LOG.debug("Setting current transaction to " + txnId); } // Set the transaction id in all of the acid file sinks if (acidSinks != null) { diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java index 05f801a..b07a37a 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java @@ -379,7 +379,8 @@ public int execute(DriverContext driverContext) { dpCtx.getNumDPCols(), tbd.getHoldDDLTime(), isSkewedStoredAsDirs(tbd), - work.getLoadTableWork().getWriteType() != AcidUtils.Operation.NOT_ACID); + work.getLoadTableWork().getWriteType() != AcidUtils.Operation.NOT_ACID, + SessionState.get().getCurrentTxn()); console.printInfo("\t Time taken for load dynamic partitions : " + (System.currentTimeMillis() - startTime)); diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index cfab99e..ec11bb3 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -1521,12 +1521,13 @@ private void constructOneLBLocationMap(FileStatus fSta, * @param holdDDLTime * @param listBucketingEnabled * @param isAcid true if this is an ACID operation + * @param txnId txnId, can be 0 unless isAcid == true * @return partition map details (PartitionSpec and Partition) * @throws HiveException */ public Map, Partition> loadDynamicPartitions(Path loadPath, String tableName, Map partSpec, boolean replace, - int numDP, boolean holdDDLTime, boolean listBucketingEnabled, boolean isAcid) + int numDP, boolean holdDDLTime, boolean listBucketingEnabled, boolean isAcid, long txnId) throws HiveException { Set validPartitions = new HashSet(); @@ -1584,9 +1585,18 @@ private void constructOneLBLocationMap(FileStatus fSta, partitionsMap.put(fullPartSpec, newPartition); LOG.info("New loading path = " + partPath + " with partSpec " + fullPartSpec); } + if (isAcid) { + List partNames = new ArrayList<>(partitionsMap.size()); + for (Partition p : partitionsMap.values()) { + partNames.add(p.getName()); + } + metaStoreClient.addDynamicPartitions(txnId, tbl.getDbName(), tbl.getTableName(), partNames); + } return partitionsMap; } catch (IOException e) { throw new HiveException(e); + } catch (TException te) { + throw new HiveException(te); } } diff --git ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java index 0249a1c..f706ac1 100644 --- ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java +++ ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java @@ -28,6 +28,7 @@ import org.apache.hadoop.hive.metastore.api.CompactionRequest; import org.apache.hadoop.hive.metastore.api.CompactionType; import org.apache.hadoop.hive.metastore.api.MetaException; +import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.ShowCompactRequest; import org.apache.hadoop.hive.metastore.api.ShowCompactResponse; @@ -87,12 +88,28 @@ public void run() { LOG.debug("Checking to see if we should compact " + ci.getFullPartitionName()); try { Table t = resolveTable(ci); + if (t == null) { + // Most likely this means it's a temp table + LOG.debug("Can't find table " + ci.getFullTableName() + ", assuming it's a temp " + + "table and moving on."); + continue; + } + // check if no compaction set for this table if (noAutoCompactSet(t)) { LOG.info("Table " + tableName(t) + " marked true so we will not compact it."); continue; } + // Check to see if this is a table level request on a partitioned table. If so, + // then it's a dynamic partitioning case and we shouldn't check the table itself. + if (t.getPartitionKeys() != null && t.getPartitionKeys().size() > 0 && + ci.partName == null) { + LOG.debug("Skipping entry for " + ci.getFullTableName() + " as it is from dynamic" + + " partitioning"); + continue; + } + // Check if we already have initiated or are working on a compaction for this partition // or table. If so, skip it. If we are just waiting on cleaning we can still check, // as it may be time to compact again even though we haven't cleaned. diff --git ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java index ab44b3c..671e122 100644 --- ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java +++ ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java @@ -99,17 +99,22 @@ protected void startCleaner(AtomicBoolean looped) throws Exception { } protected Table newTable(String dbName, String tableName, boolean partitioned) throws TException { - return newTable(dbName, tableName, partitioned, new HashMap(), null); + return newTable(dbName, tableName, partitioned, new HashMap(), null, false); } protected Table newTable(String dbName, String tableName, boolean partitioned, Map parameters) throws TException { - return newTable(dbName, tableName, partitioned, parameters, null); + return newTable(dbName, tableName, partitioned, parameters, null, false); } + protected Table newTempTable(String tableName) throws TException { + return newTable("default", tableName, false, null, null, true); + } + protected Table newTable(String dbName, String tableName, boolean partitioned, - Map parameters, List sortCols) + Map parameters, List sortCols, + boolean isTemporary) throws TException { Table table = new Table(); table.setTableName(tableName); @@ -123,6 +128,7 @@ protected Table newTable(String dbName, String tableName, boolean partitioned, } table.setParameters(parameters); + if (isTemporary) table.setTemporary(true); // drop the table first, in case some previous test created it ms.dropTable(dbName, tableName); diff --git ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestInitiator.java ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestInitiator.java index b27316d..1a9cbca 100644 --- ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestInitiator.java +++ ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestInitiator.java @@ -625,5 +625,32 @@ public void twoTxnsOnSamePartitionGenerateOneCompactionRequest() throws Exceptio Assert.assertEquals(CompactionType.MAJOR, compacts.get(0).getType()); } - // TODO test compactions with legacy file types + @Test + public void noCompactTableDynamicPartitioning() throws Exception { + Table t = newTable("default", "nctdp", true); + Partition p = newPartition(t, "today"); + + addBaseFile(t, p, 20L, 20); + addDeltaFile(t, p, 21L, 22L, 2); + addDeltaFile(t, p, 23L, 24L, 2); + + burnThroughTransactions(23); + + long txnid = openTxn(); + LockComponent comp = new LockComponent(LockType.SHARED_WRITE, LockLevel.TABLE, "default"); + comp.setTablename("nctdp"); + List components = new ArrayList(1); + components.add(comp); + LockRequest req = new LockRequest(components, "me", "localhost"); + req.setTxnid(txnid); + LockResponse res = txnHandler.lock(req); + txnHandler.commitTxn(new CommitTxnRequest(txnid)); + + startInitiator(); + + ShowCompactResponse rsp = txnHandler.showCompact(new ShowCompactRequest()); + List compacts = rsp.getCompacts(); + Assert.assertEquals(0, compacts.size()); + } + } diff --git ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestWorker.java ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestWorker.java index 3999911..78a7f9e 100644 --- ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestWorker.java +++ ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestWorker.java @@ -204,7 +204,7 @@ public void sortedTable() throws Exception { List sortCols = new ArrayList(1); sortCols.add(new Order("b", 1)); - Table t = newTable("default", "st", false, new HashMap(), sortCols); + Table t = newTable("default", "st", false, new HashMap(), sortCols, false); addBaseFile(t, null, 20L, 20); addDeltaFile(t, null, 21L, 22L, 2); @@ -229,7 +229,7 @@ public void sortedPartition() throws Exception { List sortCols = new ArrayList(1); sortCols.add(new Order("b", 1)); - Table t = newTable("default", "sp", true, new HashMap(), sortCols); + Table t = newTable("default", "sp", true, new HashMap(), sortCols, false); Partition p = newPartition(t, "today", sortCols); addBaseFile(t, p, 20L, 20); diff --git service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote old mode 100644 new mode 100755 diff --git service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote old mode 100644 new mode 100755