You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2017/12/06 00:07:31 UTC
[1/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Repository: hive
Updated Branches:
refs/heads/master fb85336f7 -> 0d8323357
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java
index dcc626c..75fbfa2 100644
--- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java
+++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java
@@ -767,7 +767,7 @@ public interface RawStore extends Configurable {
WMFullResourcePlan getActiveResourcePlan() throws MetaException;
- boolean validateResourcePlan(String name)
+ List<String> validateResourcePlan(String name)
throws NoSuchObjectException, InvalidObjectException, MetaException;
void dropResourcePlan(String name) throws NoSuchObjectException, MetaException;
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
index 1f6d900..da518ab 100644
--- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
+++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
@@ -2412,7 +2412,7 @@ public class CachedStore implements RawStore, Configurable {
}
@Override
- public boolean validateResourcePlan(String name)
+ public List<String> validateResourcePlan(String name)
throws NoSuchObjectException, InvalidObjectException, MetaException {
return rawStore.validateResourcePlan(name);
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/main/thrift/hive_metastore.thrift
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift
index 3319b1e..1085ce5 100644
--- a/standalone-metastore/src/main/thrift/hive_metastore.thrift
+++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift
@@ -1128,7 +1128,7 @@ struct WMValidateResourcePlanRequest {
}
struct WMValidateResourcePlanResponse {
- 1: optional bool isValid;
+ 1: optional list<string> errors;
}
struct WMDropResourcePlanRequest {
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
index 6121c9b..1e4fe5d 100644
--- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
+++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
@@ -982,9 +982,9 @@ public class DummyRawStoreForJdoConnection implements RawStore {
}
@Override
- public boolean validateResourcePlan(String name)
+ public List<String> validateResourcePlan(String name)
throws NoSuchObjectException, InvalidObjectException, MetaException {
- return false;
+ return Collections.emptyList();
}
@Override
[6/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
index 8524dbd..913e3cc 100644
--- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
+++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
@@ -22769,9 +22769,9 @@ WMValidateResourcePlanResponse::~WMValidateResourcePlanResponse() throw() {
}
-void WMValidateResourcePlanResponse::__set_isValid(const bool val) {
- this->isValid = val;
-__isset.isValid = true;
+void WMValidateResourcePlanResponse::__set_errors(const std::vector<std::string> & val) {
+ this->errors = val;
+__isset.errors = true;
}
uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProtocol* iprot) {
@@ -22796,9 +22796,21 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto
switch (fid)
{
case 1:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->isValid);
- this->__isset.isValid = true;
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
+ {
+ this->errors.clear();
+ uint32_t _size928;
+ ::apache::thrift::protocol::TType _etype931;
+ xfer += iprot->readListBegin(_etype931, _size928);
+ this->errors.resize(_size928);
+ uint32_t _i932;
+ for (_i932 = 0; _i932 < _size928; ++_i932)
+ {
+ xfer += iprot->readString(this->errors[_i932]);
+ }
+ xfer += iprot->readListEnd();
+ }
+ this->__isset.errors = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -22820,9 +22832,17 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("WMValidateResourcePlanResponse");
- if (this->__isset.isValid) {
- xfer += oprot->writeFieldBegin("isValid", ::apache::thrift::protocol::T_BOOL, 1);
- xfer += oprot->writeBool(this->isValid);
+ if (this->__isset.errors) {
+ xfer += oprot->writeFieldBegin("errors", ::apache::thrift::protocol::T_LIST, 1);
+ {
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->errors.size()));
+ std::vector<std::string> ::const_iterator _iter933;
+ for (_iter933 = this->errors.begin(); _iter933 != this->errors.end(); ++_iter933)
+ {
+ xfer += oprot->writeString((*_iter933));
+ }
+ xfer += oprot->writeListEnd();
+ }
xfer += oprot->writeFieldEnd();
}
xfer += oprot->writeFieldStop();
@@ -22832,23 +22852,23 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt
void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) {
using ::std::swap;
- swap(a.isValid, b.isValid);
+ swap(a.errors, b.errors);
swap(a.__isset, b.__isset);
}
-WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other928) {
- isValid = other928.isValid;
- __isset = other928.__isset;
+WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other934) {
+ errors = other934.errors;
+ __isset = other934.__isset;
}
-WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other929) {
- isValid = other929.isValid;
- __isset = other929.__isset;
+WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other935) {
+ errors = other935.errors;
+ __isset = other935.__isset;
return *this;
}
void WMValidateResourcePlanResponse::printTo(std::ostream& out) const {
using ::apache::thrift::to_string;
out << "WMValidateResourcePlanResponse(";
- out << "isValid="; (__isset.isValid ? (out << to_string(isValid)) : (out << "<null>"));
+ out << "errors="; (__isset.errors ? (out << to_string(errors)) : (out << "<null>"));
out << ")";
}
@@ -22924,13 +22944,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) {
swap(a.__isset, b.__isset);
}
-WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other930) {
- resourcePlanName = other930.resourcePlanName;
- __isset = other930.__isset;
+WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other936) {
+ resourcePlanName = other936.resourcePlanName;
+ __isset = other936.__isset;
}
-WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other931) {
- resourcePlanName = other931.resourcePlanName;
- __isset = other931.__isset;
+WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other937) {
+ resourcePlanName = other937.resourcePlanName;
+ __isset = other937.__isset;
return *this;
}
void WMDropResourcePlanRequest::printTo(std::ostream& out) const {
@@ -22989,11 +23009,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) {
(void) b;
}
-WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other932) {
- (void) other932;
+WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other938) {
+ (void) other938;
}
-WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other933) {
- (void) other933;
+WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other939) {
+ (void) other939;
return *this;
}
void WMDropResourcePlanResponse::printTo(std::ostream& out) const {
@@ -23074,13 +23094,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) {
swap(a.__isset, b.__isset);
}
-WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other934) {
- trigger = other934.trigger;
- __isset = other934.__isset;
+WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other940) {
+ trigger = other940.trigger;
+ __isset = other940.__isset;
}
-WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other935) {
- trigger = other935.trigger;
- __isset = other935.__isset;
+WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other941) {
+ trigger = other941.trigger;
+ __isset = other941.__isset;
return *this;
}
void WMCreateTriggerRequest::printTo(std::ostream& out) const {
@@ -23139,11 +23159,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) {
(void) b;
}
-WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other936) {
- (void) other936;
+WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other942) {
+ (void) other942;
}
-WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other937) {
- (void) other937;
+WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other943) {
+ (void) other943;
return *this;
}
void WMCreateTriggerResponse::printTo(std::ostream& out) const {
@@ -23224,13 +23244,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) {
swap(a.__isset, b.__isset);
}
-WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other938) {
- trigger = other938.trigger;
- __isset = other938.__isset;
+WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other944) {
+ trigger = other944.trigger;
+ __isset = other944.__isset;
}
-WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other939) {
- trigger = other939.trigger;
- __isset = other939.__isset;
+WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other945) {
+ trigger = other945.trigger;
+ __isset = other945.__isset;
return *this;
}
void WMAlterTriggerRequest::printTo(std::ostream& out) const {
@@ -23289,11 +23309,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) {
(void) b;
}
-WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other940) {
- (void) other940;
+WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other946) {
+ (void) other946;
}
-WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other941) {
- (void) other941;
+WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other947) {
+ (void) other947;
return *this;
}
void WMAlterTriggerResponse::printTo(std::ostream& out) const {
@@ -23393,15 +23413,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) {
swap(a.__isset, b.__isset);
}
-WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other942) {
- resourcePlanName = other942.resourcePlanName;
- triggerName = other942.triggerName;
- __isset = other942.__isset;
+WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other948) {
+ resourcePlanName = other948.resourcePlanName;
+ triggerName = other948.triggerName;
+ __isset = other948.__isset;
}
-WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other943) {
- resourcePlanName = other943.resourcePlanName;
- triggerName = other943.triggerName;
- __isset = other943.__isset;
+WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other949) {
+ resourcePlanName = other949.resourcePlanName;
+ triggerName = other949.triggerName;
+ __isset = other949.__isset;
return *this;
}
void WMDropTriggerRequest::printTo(std::ostream& out) const {
@@ -23461,11 +23481,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) {
(void) b;
}
-WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other944) {
- (void) other944;
+WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other950) {
+ (void) other950;
}
-WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other945) {
- (void) other945;
+WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other951) {
+ (void) other951;
return *this;
}
void WMDropTriggerResponse::printTo(std::ostream& out) const {
@@ -23546,13 +23566,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ
swap(a.__isset, b.__isset);
}
-WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other946) {
- resourcePlanName = other946.resourcePlanName;
- __isset = other946.__isset;
+WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other952) {
+ resourcePlanName = other952.resourcePlanName;
+ __isset = other952.__isset;
}
-WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other947) {
- resourcePlanName = other947.resourcePlanName;
- __isset = other947.__isset;
+WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other953) {
+ resourcePlanName = other953.resourcePlanName;
+ __isset = other953.__isset;
return *this;
}
void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const {
@@ -23597,14 +23617,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->triggers.clear();
- uint32_t _size948;
- ::apache::thrift::protocol::TType _etype951;
- xfer += iprot->readListBegin(_etype951, _size948);
- this->triggers.resize(_size948);
- uint32_t _i952;
- for (_i952 = 0; _i952 < _size948; ++_i952)
+ uint32_t _size954;
+ ::apache::thrift::protocol::TType _etype957;
+ xfer += iprot->readListBegin(_etype957, _size954);
+ this->triggers.resize(_size954);
+ uint32_t _i958;
+ for (_i958 = 0; _i958 < _size954; ++_i958)
{
- xfer += this->triggers[_i952].read(iprot);
+ xfer += this->triggers[_i958].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23634,10 +23654,10 @@ uint32_t WMGetTriggersForResourePlanResponse::write(::apache::thrift::protocol::
xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->triggers.size()));
- std::vector<WMTrigger> ::const_iterator _iter953;
- for (_iter953 = this->triggers.begin(); _iter953 != this->triggers.end(); ++_iter953)
+ std::vector<WMTrigger> ::const_iterator _iter959;
+ for (_iter959 = this->triggers.begin(); _iter959 != this->triggers.end(); ++_iter959)
{
- xfer += (*_iter953).write(oprot);
+ xfer += (*_iter959).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -23654,13 +23674,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes
swap(a.__isset, b.__isset);
}
-WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other954) {
- triggers = other954.triggers;
- __isset = other954.__isset;
+WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other960) {
+ triggers = other960.triggers;
+ __isset = other960.__isset;
}
-WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other955) {
- triggers = other955.triggers;
- __isset = other955.__isset;
+WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other961) {
+ triggers = other961.triggers;
+ __isset = other961.__isset;
return *this;
}
void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const {
@@ -23742,13 +23762,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) {
swap(a.__isset, b.__isset);
}
-WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other956) {
- pool = other956.pool;
- __isset = other956.__isset;
+WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other962) {
+ pool = other962.pool;
+ __isset = other962.__isset;
}
-WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other957) {
- pool = other957.pool;
- __isset = other957.__isset;
+WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other963) {
+ pool = other963.pool;
+ __isset = other963.__isset;
return *this;
}
void WMCreatePoolRequest::printTo(std::ostream& out) const {
@@ -23807,11 +23827,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) {
(void) b;
}
-WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other958) {
- (void) other958;
+WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other964) {
+ (void) other964;
}
-WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other959) {
- (void) other959;
+WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other965) {
+ (void) other965;
return *this;
}
void WMCreatePoolResponse::printTo(std::ostream& out) const {
@@ -23911,15 +23931,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) {
swap(a.__isset, b.__isset);
}
-WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other960) {
- pool = other960.pool;
- poolPath = other960.poolPath;
- __isset = other960.__isset;
+WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other966) {
+ pool = other966.pool;
+ poolPath = other966.poolPath;
+ __isset = other966.__isset;
}
-WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other961) {
- pool = other961.pool;
- poolPath = other961.poolPath;
- __isset = other961.__isset;
+WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other967) {
+ pool = other967.pool;
+ poolPath = other967.poolPath;
+ __isset = other967.__isset;
return *this;
}
void WMAlterPoolRequest::printTo(std::ostream& out) const {
@@ -23979,11 +23999,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) {
(void) b;
}
-WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other962) {
- (void) other962;
+WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other968) {
+ (void) other968;
}
-WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other963) {
- (void) other963;
+WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other969) {
+ (void) other969;
return *this;
}
void WMAlterPoolResponse::printTo(std::ostream& out) const {
@@ -24083,15 +24103,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) {
swap(a.__isset, b.__isset);
}
-WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other964) {
- resourcePlanName = other964.resourcePlanName;
- poolPath = other964.poolPath;
- __isset = other964.__isset;
+WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other970) {
+ resourcePlanName = other970.resourcePlanName;
+ poolPath = other970.poolPath;
+ __isset = other970.__isset;
}
-WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other965) {
- resourcePlanName = other965.resourcePlanName;
- poolPath = other965.poolPath;
- __isset = other965.__isset;
+WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other971) {
+ resourcePlanName = other971.resourcePlanName;
+ poolPath = other971.poolPath;
+ __isset = other971.__isset;
return *this;
}
void WMDropPoolRequest::printTo(std::ostream& out) const {
@@ -24151,11 +24171,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) {
(void) b;
}
-WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other966) {
- (void) other966;
+WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other972) {
+ (void) other972;
}
-WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other967) {
- (void) other967;
+WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other973) {
+ (void) other973;
return *this;
}
void WMDropPoolResponse::printTo(std::ostream& out) const {
@@ -24255,15 +24275,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b)
swap(a.__isset, b.__isset);
}
-WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other968) {
- mapping = other968.mapping;
- update = other968.update;
- __isset = other968.__isset;
+WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other974) {
+ mapping = other974.mapping;
+ update = other974.update;
+ __isset = other974.__isset;
}
-WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other969) {
- mapping = other969.mapping;
- update = other969.update;
- __isset = other969.__isset;
+WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other975) {
+ mapping = other975.mapping;
+ update = other975.update;
+ __isset = other975.__isset;
return *this;
}
void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const {
@@ -24323,11 +24343,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b
(void) b;
}
-WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other970) {
- (void) other970;
+WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other976) {
+ (void) other976;
}
-WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other971) {
- (void) other971;
+WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other977) {
+ (void) other977;
return *this;
}
void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const {
@@ -24408,13 +24428,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) {
swap(a.__isset, b.__isset);
}
-WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other972) {
- mapping = other972.mapping;
- __isset = other972.__isset;
+WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other978) {
+ mapping = other978.mapping;
+ __isset = other978.__isset;
}
-WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other973) {
- mapping = other973.mapping;
- __isset = other973.__isset;
+WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other979) {
+ mapping = other979.mapping;
+ __isset = other979.__isset;
return *this;
}
void WMDropMappingRequest::printTo(std::ostream& out) const {
@@ -24473,11 +24493,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) {
(void) b;
}
-WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other974) {
- (void) other974;
+WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other980) {
+ (void) other980;
}
-WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other975) {
- (void) other975;
+WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other981) {
+ (void) other981;
return *this;
}
void WMDropMappingResponse::printTo(std::ostream& out) const {
@@ -24615,19 +24635,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP
swap(a.__isset, b.__isset);
}
-WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other976) {
- resourcePlanName = other976.resourcePlanName;
- triggerName = other976.triggerName;
- poolPath = other976.poolPath;
- drop = other976.drop;
- __isset = other976.__isset;
+WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other982) {
+ resourcePlanName = other982.resourcePlanName;
+ triggerName = other982.triggerName;
+ poolPath = other982.poolPath;
+ drop = other982.drop;
+ __isset = other982.__isset;
}
-WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other977) {
- resourcePlanName = other977.resourcePlanName;
- triggerName = other977.triggerName;
- poolPath = other977.poolPath;
- drop = other977.drop;
- __isset = other977.__isset;
+WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other983) {
+ resourcePlanName = other983.resourcePlanName;
+ triggerName = other983.triggerName;
+ poolPath = other983.poolPath;
+ drop = other983.drop;
+ __isset = other983.__isset;
return *this;
}
void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const {
@@ -24689,11 +24709,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo
(void) b;
}
-WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other978) {
- (void) other978;
+WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other984) {
+ (void) other984;
}
-WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other979) {
- (void) other979;
+WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other985) {
+ (void) other985;
return *this;
}
void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const {
@@ -24772,13 +24792,13 @@ void swap(MetaException &a, MetaException &b) {
swap(a.__isset, b.__isset);
}
-MetaException::MetaException(const MetaException& other980) : TException() {
- message = other980.message;
- __isset = other980.__isset;
+MetaException::MetaException(const MetaException& other986) : TException() {
+ message = other986.message;
+ __isset = other986.__isset;
}
-MetaException& MetaException::operator=(const MetaException& other981) {
- message = other981.message;
- __isset = other981.__isset;
+MetaException& MetaException::operator=(const MetaException& other987) {
+ message = other987.message;
+ __isset = other987.__isset;
return *this;
}
void MetaException::printTo(std::ostream& out) const {
@@ -24869,13 +24889,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) {
swap(a.__isset, b.__isset);
}
-UnknownTableException::UnknownTableException(const UnknownTableException& other982) : TException() {
- message = other982.message;
- __isset = other982.__isset;
+UnknownTableException::UnknownTableException(const UnknownTableException& other988) : TException() {
+ message = other988.message;
+ __isset = other988.__isset;
}
-UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other983) {
- message = other983.message;
- __isset = other983.__isset;
+UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other989) {
+ message = other989.message;
+ __isset = other989.__isset;
return *this;
}
void UnknownTableException::printTo(std::ostream& out) const {
@@ -24966,13 +24986,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) {
swap(a.__isset, b.__isset);
}
-UnknownDBException::UnknownDBException(const UnknownDBException& other984) : TException() {
- message = other984.message;
- __isset = other984.__isset;
+UnknownDBException::UnknownDBException(const UnknownDBException& other990) : TException() {
+ message = other990.message;
+ __isset = other990.__isset;
}
-UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other985) {
- message = other985.message;
- __isset = other985.__isset;
+UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other991) {
+ message = other991.message;
+ __isset = other991.__isset;
return *this;
}
void UnknownDBException::printTo(std::ostream& out) const {
@@ -25063,13 +25083,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) {
swap(a.__isset, b.__isset);
}
-AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other986) : TException() {
- message = other986.message;
- __isset = other986.__isset;
+AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other992) : TException() {
+ message = other992.message;
+ __isset = other992.__isset;
}
-AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other987) {
- message = other987.message;
- __isset = other987.__isset;
+AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other993) {
+ message = other993.message;
+ __isset = other993.__isset;
return *this;
}
void AlreadyExistsException::printTo(std::ostream& out) const {
@@ -25160,13 +25180,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) {
swap(a.__isset, b.__isset);
}
-InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other988) : TException() {
- message = other988.message;
- __isset = other988.__isset;
+InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other994) : TException() {
+ message = other994.message;
+ __isset = other994.__isset;
}
-InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other989) {
- message = other989.message;
- __isset = other989.__isset;
+InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other995) {
+ message = other995.message;
+ __isset = other995.__isset;
return *this;
}
void InvalidPartitionException::printTo(std::ostream& out) const {
@@ -25257,13 +25277,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) {
swap(a.__isset, b.__isset);
}
-UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other990) : TException() {
- message = other990.message;
- __isset = other990.__isset;
+UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other996) : TException() {
+ message = other996.message;
+ __isset = other996.__isset;
}
-UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other991) {
- message = other991.message;
- __isset = other991.__isset;
+UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other997) {
+ message = other997.message;
+ __isset = other997.__isset;
return *this;
}
void UnknownPartitionException::printTo(std::ostream& out) const {
@@ -25354,13 +25374,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) {
swap(a.__isset, b.__isset);
}
-InvalidObjectException::InvalidObjectException(const InvalidObjectException& other992) : TException() {
- message = other992.message;
- __isset = other992.__isset;
+InvalidObjectException::InvalidObjectException(const InvalidObjectException& other998) : TException() {
+ message = other998.message;
+ __isset = other998.__isset;
}
-InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other993) {
- message = other993.message;
- __isset = other993.__isset;
+InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other999) {
+ message = other999.message;
+ __isset = other999.__isset;
return *this;
}
void InvalidObjectException::printTo(std::ostream& out) const {
@@ -25451,13 +25471,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) {
swap(a.__isset, b.__isset);
}
-NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other994) : TException() {
- message = other994.message;
- __isset = other994.__isset;
+NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1000) : TException() {
+ message = other1000.message;
+ __isset = other1000.__isset;
}
-NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other995) {
- message = other995.message;
- __isset = other995.__isset;
+NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1001) {
+ message = other1001.message;
+ __isset = other1001.__isset;
return *this;
}
void NoSuchObjectException::printTo(std::ostream& out) const {
@@ -25548,13 +25568,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) {
swap(a.__isset, b.__isset);
}
-IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other996) : TException() {
- message = other996.message;
- __isset = other996.__isset;
+IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other1002) : TException() {
+ message = other1002.message;
+ __isset = other1002.__isset;
}
-IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other997) {
- message = other997.message;
- __isset = other997.__isset;
+IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other1003) {
+ message = other1003.message;
+ __isset = other1003.__isset;
return *this;
}
void IndexAlreadyExistsException::printTo(std::ostream& out) const {
@@ -25645,13 +25665,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) {
swap(a.__isset, b.__isset);
}
-InvalidOperationException::InvalidOperationException(const InvalidOperationException& other998) : TException() {
- message = other998.message;
- __isset = other998.__isset;
+InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1004) : TException() {
+ message = other1004.message;
+ __isset = other1004.__isset;
}
-InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other999) {
- message = other999.message;
- __isset = other999.__isset;
+InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1005) {
+ message = other1005.message;
+ __isset = other1005.__isset;
return *this;
}
void InvalidOperationException::printTo(std::ostream& out) const {
@@ -25742,13 +25762,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) {
swap(a.__isset, b.__isset);
}
-ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1000) : TException() {
- message = other1000.message;
- __isset = other1000.__isset;
+ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1006) : TException() {
+ message = other1006.message;
+ __isset = other1006.__isset;
}
-ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1001) {
- message = other1001.message;
- __isset = other1001.__isset;
+ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1007) {
+ message = other1007.message;
+ __isset = other1007.__isset;
return *this;
}
void ConfigValSecurityException::printTo(std::ostream& out) const {
@@ -25839,13 +25859,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) {
swap(a.__isset, b.__isset);
}
-InvalidInputException::InvalidInputException(const InvalidInputException& other1002) : TException() {
- message = other1002.message;
- __isset = other1002.__isset;
+InvalidInputException::InvalidInputException(const InvalidInputException& other1008) : TException() {
+ message = other1008.message;
+ __isset = other1008.__isset;
}
-InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1003) {
- message = other1003.message;
- __isset = other1003.__isset;
+InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1009) {
+ message = other1009.message;
+ __isset = other1009.__isset;
return *this;
}
void InvalidInputException::printTo(std::ostream& out) const {
@@ -25936,13 +25956,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) {
swap(a.__isset, b.__isset);
}
-NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1004) : TException() {
- message = other1004.message;
- __isset = other1004.__isset;
+NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1010) : TException() {
+ message = other1010.message;
+ __isset = other1010.__isset;
}
-NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1005) {
- message = other1005.message;
- __isset = other1005.__isset;
+NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1011) {
+ message = other1011.message;
+ __isset = other1011.__isset;
return *this;
}
void NoSuchTxnException::printTo(std::ostream& out) const {
@@ -26033,13 +26053,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) {
swap(a.__isset, b.__isset);
}
-TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1006) : TException() {
- message = other1006.message;
- __isset = other1006.__isset;
+TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1012) : TException() {
+ message = other1012.message;
+ __isset = other1012.__isset;
}
-TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1007) {
- message = other1007.message;
- __isset = other1007.__isset;
+TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1013) {
+ message = other1013.message;
+ __isset = other1013.__isset;
return *this;
}
void TxnAbortedException::printTo(std::ostream& out) const {
@@ -26130,13 +26150,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) {
swap(a.__isset, b.__isset);
}
-TxnOpenException::TxnOpenException(const TxnOpenException& other1008) : TException() {
- message = other1008.message;
- __isset = other1008.__isset;
+TxnOpenException::TxnOpenException(const TxnOpenException& other1014) : TException() {
+ message = other1014.message;
+ __isset = other1014.__isset;
}
-TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1009) {
- message = other1009.message;
- __isset = other1009.__isset;
+TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1015) {
+ message = other1015.message;
+ __isset = other1015.__isset;
return *this;
}
void TxnOpenException::printTo(std::ostream& out) const {
@@ -26227,13 +26247,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) {
swap(a.__isset, b.__isset);
}
-NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1010) : TException() {
- message = other1010.message;
- __isset = other1010.__isset;
+NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1016) : TException() {
+ message = other1016.message;
+ __isset = other1016.__isset;
}
-NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1011) {
- message = other1011.message;
- __isset = other1011.__isset;
+NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1017) {
+ message = other1017.message;
+ __isset = other1017.__isset;
return *this;
}
void NoSuchLockException::printTo(std::ostream& out) const {
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
index 9cd7793..2219811 100644
--- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
+++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
@@ -9437,8 +9437,8 @@ inline std::ostream& operator<<(std::ostream& out, const WMValidateResourcePlanR
}
typedef struct _WMValidateResourcePlanResponse__isset {
- _WMValidateResourcePlanResponse__isset() : isValid(false) {}
- bool isValid :1;
+ _WMValidateResourcePlanResponse__isset() : errors(false) {}
+ bool errors :1;
} _WMValidateResourcePlanResponse__isset;
class WMValidateResourcePlanResponse {
@@ -9446,21 +9446,21 @@ class WMValidateResourcePlanResponse {
WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse&);
WMValidateResourcePlanResponse& operator=(const WMValidateResourcePlanResponse&);
- WMValidateResourcePlanResponse() : isValid(0) {
+ WMValidateResourcePlanResponse() {
}
virtual ~WMValidateResourcePlanResponse() throw();
- bool isValid;
+ std::vector<std::string> errors;
_WMValidateResourcePlanResponse__isset __isset;
- void __set_isValid(const bool val);
+ void __set_errors(const std::vector<std::string> & val);
bool operator == (const WMValidateResourcePlanResponse & rhs) const
{
- if (__isset.isValid != rhs.__isset.isValid)
+ if (__isset.errors != rhs.__isset.errors)
return false;
- else if (__isset.isValid && !(isValid == rhs.isValid))
+ else if (__isset.errors && !(errors == rhs.errors))
return false;
return true;
}
[8/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
HIVE-18179 : Implement validate resource plan (part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/0d832335
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/0d832335
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/0d832335
Branch: refs/heads/master
Commit: 0d8323357c9bf944f80823d8607d03f1b1f5fc52
Parents: fb85336
Author: sergey <se...@apache.org>
Authored: Tue Dec 5 15:54:14 2017 -0800
Committer: sergey <se...@apache.org>
Committed: Tue Dec 5 15:54:14 2017 -0800
----------------------------------------------------------------------
.../listener/DummyRawStoreFailEvent.java | 4 +-
.../hive/metastore/HiveMetaStoreClient.java | 4 +-
.../hadoop/hive/metastore/IMetaStoreClient.java | 2 +-
.../DummyRawStoreControlledCommit.java | 2 +-
.../org/apache/hadoop/hive/ql/exec/DDLTask.java | 8 +-
.../apache/hadoop/hive/ql/metadata/Hive.java | 2 +-
.../formatting/JsonMetaDataFormatter.java | 19 +
.../metadata/formatting/MetaDataFormatter.java | 3 +
.../formatting/TextMetaDataFormatter.java | 10 +
.../hive/ql/parse/DDLSemanticAnalyzer.java | 12 +-
.../hive/ql/plan/AlterResourcePlanDesc.java | 14 +
.../test/queries/clientpositive/resourceplan.q | 18 +-
.../clientpositive/llap/resourceplan.q.out | 131 +-
.../gen/thrift/gen-cpp/ThriftHiveMetastore.cpp | 2132 ++++++++--------
.../gen/thrift/gen-cpp/hive_metastore_types.cpp | 518 ++--
.../gen/thrift/gen-cpp/hive_metastore_types.h | 14 +-
.../hive/metastore/api/ThriftHiveMetastore.java | 2324 +++++++++---------
.../WMGetTriggersForResourePlanResponse.java | 36 +-
.../api/WMValidateResourcePlanResponse.java | 178 +-
.../gen-php/metastore/ThriftHiveMetastore.php | 1308 +++++-----
.../src/gen/thrift/gen-php/metastore/Types.php | 68 +-
.../hive_metastore/ThriftHiveMetastore.py | 882 +++----
.../gen/thrift/gen-py/hive_metastore/ttypes.py | 42 +-
.../gen/thrift/gen-rb/hive_metastore_types.rb | 4 +-
.../hadoop/hive/metastore/HiveMetaStore.java | 4 +-
.../hadoop/hive/metastore/ObjectStore.java | 85 +-
.../apache/hadoop/hive/metastore/RawStore.java | 2 +-
.../hive/metastore/cache/CachedStore.java | 2 +-
.../src/main/thrift/hive_metastore.thrift | 2 +-
.../DummyRawStoreForJdoConnection.java | 4 +-
30 files changed, 4052 insertions(+), 3782 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java
----------------------------------------------------------------------
diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java
index 7965ca3..62c9172 100644
--- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java
+++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java
@@ -1008,10 +1008,10 @@ public class DummyRawStoreFailEvent implements RawStore, Configurable {
@Override
public WMFullResourcePlan getActiveResourcePlan() throws MetaException {
return objectStore.getActiveResourcePlan();
- }
+ }
@Override
- public boolean validateResourcePlan(String name)
+ public List<String> validateResourcePlan(String name)
throws NoSuchObjectException, InvalidObjectException, MetaException {
return objectStore.validateResourcePlan(name);
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
index 4a32704..4afc03b 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
@@ -2685,11 +2685,11 @@ public class HiveMetaStoreClient implements IMetaStoreClient, AutoCloseable {
}
@Override
- public boolean validateResourcePlan(String resourcePlanName)
+ public List<String> validateResourcePlan(String resourcePlanName)
throws NoSuchObjectException, InvalidObjectException, MetaException, TException {
WMValidateResourcePlanRequest request = new WMValidateResourcePlanRequest();
request.setResourcePlanName(resourcePlanName);
- return client.validate_resource_plan(request).isIsValid();
+ return client.validate_resource_plan(request).getErrors();
}
@Override
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
index 0020136..40e7930 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
@@ -1790,7 +1790,7 @@ public interface IMetaStoreClient {
WMFullResourcePlan getActiveResourcePlan() throws MetaException, TException;
- boolean validateResourcePlan(String resourcePlanName)
+ List<String> validateResourcePlan(String resourcePlanName)
throws NoSuchObjectException, InvalidObjectException, MetaException, TException;
void createWMTrigger(WMTrigger trigger)
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
----------------------------------------------------------------------
diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
index a0a6e181..4f7b9c8 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
@@ -972,7 +972,7 @@ public class DummyRawStoreControlledCommit implements RawStore, Configurable {
}
@Override
- public boolean validateResourcePlan(String name)
+ public List<String> validateResourcePlan(String name)
throws NoSuchObjectException, InvalidObjectException, MetaException {
return objectStore.validateResourcePlan(name);
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
index a3c21fb..d6bf746 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
@@ -713,7 +713,13 @@ public class DDLTask extends Task<DDLWork> implements Serializable {
private int alterResourcePlan(Hive db, AlterResourcePlanDesc desc) throws HiveException {
if (desc.shouldValidate()) {
- return db.validateResourcePlan(desc.getResourcePlanName()) ? 0 : 1;
+ List<String> errors = db.validateResourcePlan(desc.getResourcePlanName());
+ try (DataOutputStream out = getOutputStream(desc.getResFile())) {
+ formatter.showErrors(out, errors);
+ } catch (IOException e) {
+ throw new HiveException(e);
+ };
+ return 0;
}
WMResourcePlan resourcePlan = desc.getResourcePlan();
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
index f33855d..fbcd579 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
@@ -4799,7 +4799,7 @@ private void constructOneLBLocationMap(FileStatus fSta,
}
}
- public boolean validateResourcePlan(String rpName) throws HiveException {
+ public List<String> validateResourcePlan(String rpName) throws HiveException {
try {
return getMSC().validateResourcePlan(rpName);
} catch (Exception e) {
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java
index 2a568a7..a44adf6 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java
@@ -447,4 +447,23 @@ public class JsonMetaDataFormatter implements MetaDataFormatter {
}
}
}
+
+ @Override
+ public void showErrors(DataOutputStream out, List<String> errors) throws HiveException {
+ JsonGenerator generator = null;
+ try {
+ generator = new ObjectMapper().getJsonFactory().createJsonGenerator(out);
+ generator.writeStartArray();
+ for (String error : errors) {
+ generator.writeString(error);
+ }
+ generator.writeEndArray();
+ } catch (IOException e) {
+ throw new HiveException(e);
+ } finally {
+ if (generator != null) {
+ IOUtils.closeQuietly(generator);
+ }
+ }
+ }
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java
index 405acdd..6ba474c 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java
@@ -123,5 +123,8 @@ public interface MetaDataFormatter {
public void showResourcePlans(DataOutputStream out, List<WMResourcePlan> resourcePlans)
throws HiveException;
+
+ public void showErrors(DataOutputStream out, List<String> errors)
+ throws HiveException;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java
index a57e0ce..1b7b425 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java
@@ -570,4 +570,14 @@ class TextMetaDataFormatter implements MetaDataFormatter {
}
}
+ public void showErrors(DataOutputStream out, List<String> errors) throws HiveException {
+ try {
+ for (String error : errors) {
+ out.write(error.getBytes("UTF-8"));
+ out.write(terminator);
+ }
+ } catch (IOException e) {
+ throw new HiveException(e);
+ }
+ }
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
index e5e1b53..a06a672 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
@@ -982,8 +982,16 @@ public class DDLSemanticAnalyzer extends BaseSemanticAnalyzer {
"Unexpected token in alter resource plan statement: " + child.getType());
}
}
- rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(),
- new AlterResourcePlanDesc(resourcePlan, rpName, validate, isEnableActive)), conf));
+ AlterResourcePlanDesc desc =
+ new AlterResourcePlanDesc(resourcePlan, rpName, validate, isEnableActive);
+ if (validate) {
+ ctx.setResFile(ctx.getLocalTmpPath());
+ desc.setResFile(ctx.getResFile().toString());
+ }
+ rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), desc), conf));
+ if (validate) {
+ setFetchTask(createFetchTask(AlterResourcePlanDesc.getSchema()));
+ }
}
private void analyzeDropResourcePlan(ASTNode ast) throws SemanticException {
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterResourcePlanDesc.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterResourcePlanDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterResourcePlanDesc.java
index 43e6e33..d70d520 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterResourcePlanDesc.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterResourcePlanDesc.java
@@ -32,6 +32,7 @@ public class AlterResourcePlanDesc extends DDLDesc implements Serializable {
private String rpName;
private boolean validate;
private boolean isEnableActivate;
+ private String resFile;
public AlterResourcePlanDesc() {}
@@ -80,4 +81,17 @@ public class AlterResourcePlanDesc extends DDLDesc implements Serializable {
public void setIsEnableActivate(boolean b) {
this.isEnableActivate = b;
}
+
+ @Explain(displayName = "result file", explainLevels = { Level.EXTENDED })
+ public String getResFile() {
+ return resFile;
+ }
+
+ public void setResFile(String resFile) {
+ this.resFile = resFile;
+ }
+
+ public static String getSchema() {
+ return "error#string";
+ }
}
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/test/queries/clientpositive/resourceplan.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/resourceplan.q b/ql/src/test/queries/clientpositive/resourceplan.q
index beaf8db..002b21c 100644
--- a/ql/src/test/queries/clientpositive/resourceplan.q
+++ b/ql/src/test/queries/clientpositive/resourceplan.q
@@ -27,7 +27,7 @@ SHOW RESOURCE PLAN plan_1;
SELECT * FROM SYS.WM_RESOURCEPLANS;
-- Create and show plan_2.
-CREATE RESOURCE PLAN plan_2 WITH QUERY_PARALLELISM=10;
+CREATE RESOURCE PLAN plan_2 WITH QUERY_PARALLELISM=4;
SHOW RESOURCE PLANS;
SHOW RESOURCE PLAN plan_2;
SELECT * FROM SYS.WM_RESOURCEPLANS;
@@ -48,7 +48,7 @@ ALTER RESOURCE PLAN plan_1 RENAME TO plan_3;
SELECT * FROM SYS.WM_RESOURCEPLANS;
-- Change query parallelism, success.
-ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 20;
+ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 4;
SELECT * FROM SYS.WM_RESOURCEPLANS;
-- Will fail for now; there are no pools.
@@ -194,9 +194,19 @@ CREATE POOL plan_2.default.c1 WITH
ALLOC_FRACTION=0.3, QUERY_PARALLELISM=3, SCHEDULING_POLICY='priority';
CREATE POOL plan_2.default.c2 WITH
- QUERY_PARALLELISM=2, SCHEDULING_POLICY='fair', ALLOC_FRACTION=0.7;
+ QUERY_PARALLELISM=2, SCHEDULING_POLICY='fair', ALLOC_FRACTION=0.2;
-ALTER POOL plan_2.default.c2 SET ALLOC_FRACTION = 0.2;
+-- Cannot activate c1 + c2 = 0.5
+ALTER RESOURCE PLAN plan_2 VALIDATE;
+ALTER RESOURCE PLAN plan_2 ENABLE ACTIVATE;
+
+ALTER POOL plan_2.default.c2 SET ALLOC_FRACTION = 0.7, QUERY_PARALLELISM = 1;
+
+-- Now we can activate.
+ALTER RESOURCE PLAN plan_2 VALIDATE;
+ALTER RESOURCE PLAN plan_2 ENABLE ACTIVATE;
+ALTER RESOURCE PLAN plan_1 ACTIVATE;
+ALTER RESOURCE PLAN plan_2 DISABLE;
ALTER POOL plan_2.default SET path = def;
SELECT * FROM SYS.WM_POOLS;
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/ql/src/test/results/clientpositive/llap/resourceplan.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/resourceplan.q.out b/ql/src/test/results/clientpositive/llap/resourceplan.q.out
index 3a3f5b9..093e5d5 100644
--- a/ql/src/test/results/clientpositive/llap/resourceplan.q.out
+++ b/ql/src/test/results/clientpositive/llap/resourceplan.q.out
@@ -3152,21 +3152,21 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
plan_1 DISABLED NULL default
-PREHOOK: query: CREATE RESOURCE PLAN plan_2 WITH QUERY_PARALLELISM=10
+PREHOOK: query: CREATE RESOURCE PLAN plan_2 WITH QUERY_PARALLELISM=4
PREHOOK: type: CREATE RESOURCEPLAN
-POSTHOOK: query: CREATE RESOURCE PLAN plan_2 WITH QUERY_PARALLELISM=10
+POSTHOOK: query: CREATE RESOURCE PLAN plan_2 WITH QUERY_PARALLELISM=4
POSTHOOK: type: CREATE RESOURCEPLAN
PREHOOK: query: SHOW RESOURCE PLANS
PREHOOK: type: SHOW RESOURCEPLAN
POSTHOOK: query: SHOW RESOURCE PLANS
POSTHOOK: type: SHOW RESOURCEPLAN
plan_1 DISABLED
-plan_2 DISABLED 10
+plan_2 DISABLED 4
PREHOOK: query: SHOW RESOURCE PLAN plan_2
PREHOOK: type: SHOW RESOURCEPLAN
POSTHOOK: query: SHOW RESOURCE PLAN plan_2
POSTHOOK: type: SHOW RESOURCEPLAN
-plan_2 DISABLED 10
+plan_2 DISABLED 4
PREHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
PREHOOK: type: QUERY
PREHOOK: Input: sys@wm_resourceplans
@@ -3176,7 +3176,7 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
plan_1 DISABLED NULL default
-plan_2 DISABLED 10 default
+plan_2 DISABLED 4 default
FAILED: SemanticException Invalid set in create resource plan: TOK_DEFAULT_POOL
PREHOOK: query: ALTER RESOURCE PLAN plan_1 RENAME TO plan_2
PREHOOK: type: ALTER RESOURCEPLAN
@@ -3190,7 +3190,7 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
plan_1 DISABLED NULL default
-plan_2 DISABLED 10 default
+plan_2 DISABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_1 RENAME TO plan_3
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_1 RENAME TO plan_3
@@ -3203,11 +3203,11 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
+plan_2 DISABLED 4 default
plan_3 DISABLED NULL default
-PREHOOK: query: ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 20
+PREHOOK: query: ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 4
PREHOOK: type: ALTER RESOURCEPLAN
-POSTHOOK: query: ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 20
+POSTHOOK: query: ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 4
POSTHOOK: type: ALTER RESOURCEPLAN
PREHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
PREHOOK: type: QUERY
@@ -3217,8 +3217,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 DISABLED 20 default
+plan_2 DISABLED 4 default
+plan_3 DISABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 SET QUERY_PARALLELISM = 30, DEFAULT POOL = default1
PREHOOK: type: ALTER RESOURCEPLAN
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. NoSuchObjectException(message:Cannot find pool: default1)
@@ -3230,8 +3230,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 DISABLED 20 default
+plan_2 DISABLED 4 default
+plan_3 DISABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
@@ -3254,8 +3254,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 DISABLED 20 default
+plan_2 DISABLED 4 default
+plan_3 DISABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ACTIVATE
PREHOOK: type: ALTER RESOURCEPLAN
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidOperationException(message:Resource plan plan_3 is disabled and should be enabled before activation (or in the same command))
@@ -3267,8 +3267,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 DISABLED 20 default
+plan_2 DISABLED 4 default
+plan_3 DISABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 DISABLE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 DISABLE
@@ -3281,8 +3281,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 DISABLED 20 default
+plan_2 DISABLED 4 default
+plan_3 DISABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
@@ -3295,8 +3295,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 ENABLED 20 default
+plan_2 DISABLED 4 default
+plan_3 ENABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ACTIVATE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 ACTIVATE
@@ -3309,8 +3309,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 ACTIVE 20 default
+plan_2 DISABLED 4 default
+plan_3 ACTIVE 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ACTIVATE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 ACTIVATE
@@ -3323,8 +3323,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 ACTIVE 20 default
+plan_2 DISABLED 4 default
+plan_3 ACTIVE 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
PREHOOK: type: ALTER RESOURCEPLAN
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidOperationException(message:Resource plan plan_3 is active, activate another plan first.)
@@ -3336,8 +3336,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 ACTIVE 20 default
+plan_2 DISABLED 4 default
+plan_3 ACTIVE 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 DISABLE
PREHOOK: type: ALTER RESOURCEPLAN
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidOperationException(message:Resource plan plan_3 is active, activate another plan first.)
@@ -3349,8 +3349,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 DISABLED 10 default
-plan_3 ACTIVE 20 default
+plan_2 DISABLED 4 default
+plan_3 ACTIVE 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_2 ENABLE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_2 ENABLE
@@ -3363,8 +3363,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 ENABLED 10 default
-plan_3 ACTIVE 20 default
+plan_2 ENABLED 4 default
+plan_3 ACTIVE 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_2 ACTIVATE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_2 ACTIVATE
@@ -3377,8 +3377,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 ACTIVE 10 default
-plan_3 ENABLED 20 default
+plan_2 ACTIVE 4 default
+plan_3 ENABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 ENABLE
@@ -3391,8 +3391,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 ACTIVE 10 default
-plan_3 ENABLED 20 default
+plan_2 ACTIVE 4 default
+plan_3 ENABLED 4 default
PREHOOK: query: ALTER RESOURCE PLAN plan_3 DISABLE
PREHOOK: type: ALTER RESOURCEPLAN
POSTHOOK: query: ALTER RESOURCE PLAN plan_3 DISABLE
@@ -3405,8 +3405,8 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 ACTIVE 10 default
-plan_3 DISABLED 20 default
+plan_2 ACTIVE 4 default
+plan_3 DISABLED 4 default
PREHOOK: query: DROP RESOURCE PLAN plan_2
PREHOOK: type: DROP RESOURCEPLAN
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Cannot drop an active resource plan)
@@ -3422,7 +3422,7 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 ACTIVE 10 default
+plan_2 ACTIVE 4 default
PREHOOK: query: CREATE RESOURCE PLAN `table`
PREHOOK: type: CREATE RESOURCEPLAN
POSTHOOK: query: CREATE RESOURCE PLAN `table`
@@ -3439,7 +3439,7 @@ POSTHOOK: query: SELECT * FROM SYS.WM_RESOURCEPLANS
POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
-plan_2 ACTIVE 10 default
+plan_2 ACTIVE 4 default
table DISABLED 1 default
PREHOOK: query: CREATE RESOURCE PLAN plan_1
PREHOOK: type: CREATE RESOURCEPLAN
@@ -3569,7 +3569,7 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
plan_1 ENABLED NULL default
-plan_2 ACTIVE 10 default
+plan_2 ACTIVE 4 default
table DISABLED 1 default
PREHOOK: query: DROP TRIGGER plan_1.trigger_2
PREHOOK: type: DROP TRIGGER
@@ -3590,7 +3590,7 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
plan_1 ACTIVE NULL default
-plan_2 ENABLED 10 default
+plan_2 ENABLED 4 default
table DISABLED 1 default
PREHOOK: query: DROP TRIGGER plan_1.trigger_2
PREHOOK: type: DROP TRIGGER
@@ -3646,15 +3646,40 @@ POSTHOOK: query: CREATE POOL plan_2.default.c1 WITH
ALLOC_FRACTION=0.3, QUERY_PARALLELISM=3, SCHEDULING_POLICY='priority'
POSTHOOK: type: CREATE POOL
PREHOOK: query: CREATE POOL plan_2.default.c2 WITH
- QUERY_PARALLELISM=2, SCHEDULING_POLICY='fair', ALLOC_FRACTION=0.7
+ QUERY_PARALLELISM=2, SCHEDULING_POLICY='fair', ALLOC_FRACTION=0.2
PREHOOK: type: CREATE POOL
POSTHOOK: query: CREATE POOL plan_2.default.c2 WITH
- QUERY_PARALLELISM=2, SCHEDULING_POLICY='fair', ALLOC_FRACTION=0.7
+ QUERY_PARALLELISM=2, SCHEDULING_POLICY='fair', ALLOC_FRACTION=0.2
POSTHOOK: type: CREATE POOL
-PREHOOK: query: ALTER POOL plan_2.default.c2 SET ALLOC_FRACTION = 0.2
+PREHOOK: query: ALTER RESOURCE PLAN plan_2 VALIDATE
+PREHOOK: type: ALTER RESOURCEPLAN
+POSTHOOK: query: ALTER RESOURCE PLAN plan_2 VALIDATE
+POSTHOOK: type: ALTER RESOURCEPLAN
+Sum of children pools' alloc fraction should be equal 1.0 got: 0.5 for pool: default
+Sum of children pools' query parallelism: 5 is not equal to pool parallelism: 4 for pool: default
+PREHOOK: query: ALTER RESOURCE PLAN plan_2 ENABLE ACTIVATE
+PREHOOK: type: ALTER RESOURCEPLAN
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidOperationException(message:ResourcePlan: plan_2 is invalid: [Sum of children pools' alloc fraction should be equal 1.0 got: 0.5 for pool: default, Sum of children pools' query parallelism: 5 is not equal to pool parallelism: 4 for pool: default])
+PREHOOK: query: ALTER POOL plan_2.default.c2 SET ALLOC_FRACTION = 0.7, QUERY_PARALLELISM = 1
PREHOOK: type: ALTER POOL
-POSTHOOK: query: ALTER POOL plan_2.default.c2 SET ALLOC_FRACTION = 0.2
+POSTHOOK: query: ALTER POOL plan_2.default.c2 SET ALLOC_FRACTION = 0.7, QUERY_PARALLELISM = 1
POSTHOOK: type: ALTER POOL
+PREHOOK: query: ALTER RESOURCE PLAN plan_2 VALIDATE
+PREHOOK: type: ALTER RESOURCEPLAN
+POSTHOOK: query: ALTER RESOURCE PLAN plan_2 VALIDATE
+POSTHOOK: type: ALTER RESOURCEPLAN
+PREHOOK: query: ALTER RESOURCE PLAN plan_2 ENABLE ACTIVATE
+PREHOOK: type: ALTER RESOURCEPLAN
+POSTHOOK: query: ALTER RESOURCE PLAN plan_2 ENABLE ACTIVATE
+POSTHOOK: type: ALTER RESOURCEPLAN
+PREHOOK: query: ALTER RESOURCE PLAN plan_1 ACTIVATE
+PREHOOK: type: ALTER RESOURCEPLAN
+POSTHOOK: query: ALTER RESOURCE PLAN plan_1 ACTIVATE
+POSTHOOK: type: ALTER RESOURCEPLAN
+PREHOOK: query: ALTER RESOURCE PLAN plan_2 DISABLE
+PREHOOK: type: ALTER RESOURCEPLAN
+POSTHOOK: query: ALTER RESOURCE PLAN plan_2 DISABLE
+POSTHOOK: type: ALTER RESOURCEPLAN
PREHOOK: query: ALTER POOL plan_2.default SET path = def
PREHOOK: type: ALTER POOL
POSTHOOK: query: ALTER POOL plan_2.default SET path = def
@@ -3670,7 +3695,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table default 1.0 4 NULL
PREHOOK: query: DROP POOL plan_2.default
PREHOOK: type: DROP POOL
@@ -3686,7 +3711,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table default 1.0 4 NULL
PREHOOK: query: CREATE POOL plan_2.child1.child2 WITH
QUERY_PARALLELISM=2, SCHEDULING_POLICY='fcfs', ALLOC_FRACTION=0.8
@@ -3731,7 +3756,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table default 1.0 4 NULL
table table 0.0 1 random
table table.pool1 0.9 3 priority
@@ -3752,7 +3777,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table default 1.0 4 NULL
table table 0.0 1 random
table table.pool 0.9 3 priority
@@ -3772,7 +3797,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table default 1.0 4 NULL
table table 0.0 1 random
table table.pool 0.9 3 priority
@@ -3792,7 +3817,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table default 1.0 4 NULL
table table 0.0 1 random
table table.pool 0.9 3 priority
@@ -3807,7 +3832,7 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: sys@wm_resourceplans
#### A masked pattern was here ####
plan_1 ACTIVE NULL default
-plan_2 DISABLED 10 def
+plan_2 DISABLED 4 def
table DISABLED 1 default
PREHOOK: query: ALTER RESOURCE PLAN `table` SET DEFAULT POOL = `table`.pool
PREHOOK: type: ALTER RESOURCEPLAN
@@ -3828,7 +3853,7 @@ POSTHOOK: Input: sys@wm_pools
plan_1 default 1.0 4 NULL
plan_2 def 1.0 4 NULL
plan_2 def.c1 0.3 3 priority
-plan_2 def.c2 0.2 2 fair
+plan_2 def.c2 0.7 1 fair
table table 0.0 1 random
table table.pool 0.9 3 priority
table table.pool.child1 0.3 1 random
[3/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
index b5b18f2..6ca56cb 100644
--- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
+++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
@@ -12734,14 +12734,14 @@ class ThriftHiveMetastore_get_databases_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size694 = 0;
- $_etype697 = 0;
- $xfer += $input->readListBegin($_etype697, $_size694);
- for ($_i698 = 0; $_i698 < $_size694; ++$_i698)
+ $_size701 = 0;
+ $_etype704 = 0;
+ $xfer += $input->readListBegin($_etype704, $_size701);
+ for ($_i705 = 0; $_i705 < $_size701; ++$_i705)
{
- $elem699 = null;
- $xfer += $input->readString($elem699);
- $this->success []= $elem699;
+ $elem706 = null;
+ $xfer += $input->readString($elem706);
+ $this->success []= $elem706;
}
$xfer += $input->readListEnd();
} else {
@@ -12777,9 +12777,9 @@ class ThriftHiveMetastore_get_databases_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter700)
+ foreach ($this->success as $iter707)
{
- $xfer += $output->writeString($iter700);
+ $xfer += $output->writeString($iter707);
}
}
$output->writeListEnd();
@@ -12910,14 +12910,14 @@ class ThriftHiveMetastore_get_all_databases_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size701 = 0;
- $_etype704 = 0;
- $xfer += $input->readListBegin($_etype704, $_size701);
- for ($_i705 = 0; $_i705 < $_size701; ++$_i705)
+ $_size708 = 0;
+ $_etype711 = 0;
+ $xfer += $input->readListBegin($_etype711, $_size708);
+ for ($_i712 = 0; $_i712 < $_size708; ++$_i712)
{
- $elem706 = null;
- $xfer += $input->readString($elem706);
- $this->success []= $elem706;
+ $elem713 = null;
+ $xfer += $input->readString($elem713);
+ $this->success []= $elem713;
}
$xfer += $input->readListEnd();
} else {
@@ -12953,9 +12953,9 @@ class ThriftHiveMetastore_get_all_databases_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter707)
+ foreach ($this->success as $iter714)
{
- $xfer += $output->writeString($iter707);
+ $xfer += $output->writeString($iter714);
}
}
$output->writeListEnd();
@@ -13956,18 +13956,18 @@ class ThriftHiveMetastore_get_type_all_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size708 = 0;
- $_ktype709 = 0;
- $_vtype710 = 0;
- $xfer += $input->readMapBegin($_ktype709, $_vtype710, $_size708);
- for ($_i712 = 0; $_i712 < $_size708; ++$_i712)
+ $_size715 = 0;
+ $_ktype716 = 0;
+ $_vtype717 = 0;
+ $xfer += $input->readMapBegin($_ktype716, $_vtype717, $_size715);
+ for ($_i719 = 0; $_i719 < $_size715; ++$_i719)
{
- $key713 = '';
- $val714 = new \metastore\Type();
- $xfer += $input->readString($key713);
- $val714 = new \metastore\Type();
- $xfer += $val714->read($input);
- $this->success[$key713] = $val714;
+ $key720 = '';
+ $val721 = new \metastore\Type();
+ $xfer += $input->readString($key720);
+ $val721 = new \metastore\Type();
+ $xfer += $val721->read($input);
+ $this->success[$key720] = $val721;
}
$xfer += $input->readMapEnd();
} else {
@@ -14003,10 +14003,10 @@ class ThriftHiveMetastore_get_type_all_result {
{
$output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success));
{
- foreach ($this->success as $kiter715 => $viter716)
+ foreach ($this->success as $kiter722 => $viter723)
{
- $xfer += $output->writeString($kiter715);
- $xfer += $viter716->write($output);
+ $xfer += $output->writeString($kiter722);
+ $xfer += $viter723->write($output);
}
}
$output->writeMapEnd();
@@ -14210,15 +14210,15 @@ class ThriftHiveMetastore_get_fields_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size717 = 0;
- $_etype720 = 0;
- $xfer += $input->readListBegin($_etype720, $_size717);
- for ($_i721 = 0; $_i721 < $_size717; ++$_i721)
+ $_size724 = 0;
+ $_etype727 = 0;
+ $xfer += $input->readListBegin($_etype727, $_size724);
+ for ($_i728 = 0; $_i728 < $_size724; ++$_i728)
{
- $elem722 = null;
- $elem722 = new \metastore\FieldSchema();
- $xfer += $elem722->read($input);
- $this->success []= $elem722;
+ $elem729 = null;
+ $elem729 = new \metastore\FieldSchema();
+ $xfer += $elem729->read($input);
+ $this->success []= $elem729;
}
$xfer += $input->readListEnd();
} else {
@@ -14270,9 +14270,9 @@ class ThriftHiveMetastore_get_fields_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter723)
+ foreach ($this->success as $iter730)
{
- $xfer += $iter723->write($output);
+ $xfer += $iter730->write($output);
}
}
$output->writeListEnd();
@@ -14514,15 +14514,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size724 = 0;
- $_etype727 = 0;
- $xfer += $input->readListBegin($_etype727, $_size724);
- for ($_i728 = 0; $_i728 < $_size724; ++$_i728)
+ $_size731 = 0;
+ $_etype734 = 0;
+ $xfer += $input->readListBegin($_etype734, $_size731);
+ for ($_i735 = 0; $_i735 < $_size731; ++$_i735)
{
- $elem729 = null;
- $elem729 = new \metastore\FieldSchema();
- $xfer += $elem729->read($input);
- $this->success []= $elem729;
+ $elem736 = null;
+ $elem736 = new \metastore\FieldSchema();
+ $xfer += $elem736->read($input);
+ $this->success []= $elem736;
}
$xfer += $input->readListEnd();
} else {
@@ -14574,9 +14574,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter730)
+ foreach ($this->success as $iter737)
{
- $xfer += $iter730->write($output);
+ $xfer += $iter737->write($output);
}
}
$output->writeListEnd();
@@ -14790,15 +14790,15 @@ class ThriftHiveMetastore_get_schema_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size731 = 0;
- $_etype734 = 0;
- $xfer += $input->readListBegin($_etype734, $_size731);
- for ($_i735 = 0; $_i735 < $_size731; ++$_i735)
+ $_size738 = 0;
+ $_etype741 = 0;
+ $xfer += $input->readListBegin($_etype741, $_size738);
+ for ($_i742 = 0; $_i742 < $_size738; ++$_i742)
{
- $elem736 = null;
- $elem736 = new \metastore\FieldSchema();
- $xfer += $elem736->read($input);
- $this->success []= $elem736;
+ $elem743 = null;
+ $elem743 = new \metastore\FieldSchema();
+ $xfer += $elem743->read($input);
+ $this->success []= $elem743;
}
$xfer += $input->readListEnd();
} else {
@@ -14850,9 +14850,9 @@ class ThriftHiveMetastore_get_schema_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter737)
+ foreach ($this->success as $iter744)
{
- $xfer += $iter737->write($output);
+ $xfer += $iter744->write($output);
}
}
$output->writeListEnd();
@@ -15094,15 +15094,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size738 = 0;
- $_etype741 = 0;
- $xfer += $input->readListBegin($_etype741, $_size738);
- for ($_i742 = 0; $_i742 < $_size738; ++$_i742)
+ $_size745 = 0;
+ $_etype748 = 0;
+ $xfer += $input->readListBegin($_etype748, $_size745);
+ for ($_i749 = 0; $_i749 < $_size745; ++$_i749)
{
- $elem743 = null;
- $elem743 = new \metastore\FieldSchema();
- $xfer += $elem743->read($input);
- $this->success []= $elem743;
+ $elem750 = null;
+ $elem750 = new \metastore\FieldSchema();
+ $xfer += $elem750->read($input);
+ $this->success []= $elem750;
}
$xfer += $input->readListEnd();
} else {
@@ -15154,9 +15154,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter744)
+ foreach ($this->success as $iter751)
{
- $xfer += $iter744->write($output);
+ $xfer += $iter751->write($output);
}
}
$output->writeListEnd();
@@ -15796,15 +15796,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
case 2:
if ($ftype == TType::LST) {
$this->primaryKeys = array();
- $_size745 = 0;
- $_etype748 = 0;
- $xfer += $input->readListBegin($_etype748, $_size745);
- for ($_i749 = 0; $_i749 < $_size745; ++$_i749)
+ $_size752 = 0;
+ $_etype755 = 0;
+ $xfer += $input->readListBegin($_etype755, $_size752);
+ for ($_i756 = 0; $_i756 < $_size752; ++$_i756)
{
- $elem750 = null;
- $elem750 = new \metastore\SQLPrimaryKey();
- $xfer += $elem750->read($input);
- $this->primaryKeys []= $elem750;
+ $elem757 = null;
+ $elem757 = new \metastore\SQLPrimaryKey();
+ $xfer += $elem757->read($input);
+ $this->primaryKeys []= $elem757;
}
$xfer += $input->readListEnd();
} else {
@@ -15814,15 +15814,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
case 3:
if ($ftype == TType::LST) {
$this->foreignKeys = array();
- $_size751 = 0;
- $_etype754 = 0;
- $xfer += $input->readListBegin($_etype754, $_size751);
- for ($_i755 = 0; $_i755 < $_size751; ++$_i755)
+ $_size758 = 0;
+ $_etype761 = 0;
+ $xfer += $input->readListBegin($_etype761, $_size758);
+ for ($_i762 = 0; $_i762 < $_size758; ++$_i762)
{
- $elem756 = null;
- $elem756 = new \metastore\SQLForeignKey();
- $xfer += $elem756->read($input);
- $this->foreignKeys []= $elem756;
+ $elem763 = null;
+ $elem763 = new \metastore\SQLForeignKey();
+ $xfer += $elem763->read($input);
+ $this->foreignKeys []= $elem763;
}
$xfer += $input->readListEnd();
} else {
@@ -15832,15 +15832,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
case 4:
if ($ftype == TType::LST) {
$this->uniqueConstraints = array();
- $_size757 = 0;
- $_etype760 = 0;
- $xfer += $input->readListBegin($_etype760, $_size757);
- for ($_i761 = 0; $_i761 < $_size757; ++$_i761)
+ $_size764 = 0;
+ $_etype767 = 0;
+ $xfer += $input->readListBegin($_etype767, $_size764);
+ for ($_i768 = 0; $_i768 < $_size764; ++$_i768)
{
- $elem762 = null;
- $elem762 = new \metastore\SQLUniqueConstraint();
- $xfer += $elem762->read($input);
- $this->uniqueConstraints []= $elem762;
+ $elem769 = null;
+ $elem769 = new \metastore\SQLUniqueConstraint();
+ $xfer += $elem769->read($input);
+ $this->uniqueConstraints []= $elem769;
}
$xfer += $input->readListEnd();
} else {
@@ -15850,15 +15850,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
case 5:
if ($ftype == TType::LST) {
$this->notNullConstraints = array();
- $_size763 = 0;
- $_etype766 = 0;
- $xfer += $input->readListBegin($_etype766, $_size763);
- for ($_i767 = 0; $_i767 < $_size763; ++$_i767)
+ $_size770 = 0;
+ $_etype773 = 0;
+ $xfer += $input->readListBegin($_etype773, $_size770);
+ for ($_i774 = 0; $_i774 < $_size770; ++$_i774)
{
- $elem768 = null;
- $elem768 = new \metastore\SQLNotNullConstraint();
- $xfer += $elem768->read($input);
- $this->notNullConstraints []= $elem768;
+ $elem775 = null;
+ $elem775 = new \metastore\SQLNotNullConstraint();
+ $xfer += $elem775->read($input);
+ $this->notNullConstraints []= $elem775;
}
$xfer += $input->readListEnd();
} else {
@@ -15894,9 +15894,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
{
$output->writeListBegin(TType::STRUCT, count($this->primaryKeys));
{
- foreach ($this->primaryKeys as $iter769)
+ foreach ($this->primaryKeys as $iter776)
{
- $xfer += $iter769->write($output);
+ $xfer += $iter776->write($output);
}
}
$output->writeListEnd();
@@ -15911,9 +15911,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
{
$output->writeListBegin(TType::STRUCT, count($this->foreignKeys));
{
- foreach ($this->foreignKeys as $iter770)
+ foreach ($this->foreignKeys as $iter777)
{
- $xfer += $iter770->write($output);
+ $xfer += $iter777->write($output);
}
}
$output->writeListEnd();
@@ -15928,9 +15928,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
{
$output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints));
{
- foreach ($this->uniqueConstraints as $iter771)
+ foreach ($this->uniqueConstraints as $iter778)
{
- $xfer += $iter771->write($output);
+ $xfer += $iter778->write($output);
}
}
$output->writeListEnd();
@@ -15945,9 +15945,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args {
{
$output->writeListBegin(TType::STRUCT, count($this->notNullConstraints));
{
- foreach ($this->notNullConstraints as $iter772)
+ foreach ($this->notNullConstraints as $iter779)
{
- $xfer += $iter772->write($output);
+ $xfer += $iter779->write($output);
}
}
$output->writeListEnd();
@@ -17583,14 +17583,14 @@ class ThriftHiveMetastore_truncate_table_args {
case 3:
if ($ftype == TType::LST) {
$this->partNames = array();
- $_size773 = 0;
- $_etype776 = 0;
- $xfer += $input->readListBegin($_etype776, $_size773);
- for ($_i777 = 0; $_i777 < $_size773; ++$_i777)
+ $_size780 = 0;
+ $_etype783 = 0;
+ $xfer += $input->readListBegin($_etype783, $_size780);
+ for ($_i784 = 0; $_i784 < $_size780; ++$_i784)
{
- $elem778 = null;
- $xfer += $input->readString($elem778);
- $this->partNames []= $elem778;
+ $elem785 = null;
+ $xfer += $input->readString($elem785);
+ $this->partNames []= $elem785;
}
$xfer += $input->readListEnd();
} else {
@@ -17628,9 +17628,9 @@ class ThriftHiveMetastore_truncate_table_args {
{
$output->writeListBegin(TType::STRING, count($this->partNames));
{
- foreach ($this->partNames as $iter779)
+ foreach ($this->partNames as $iter786)
{
- $xfer += $output->writeString($iter779);
+ $xfer += $output->writeString($iter786);
}
}
$output->writeListEnd();
@@ -17881,14 +17881,14 @@ class ThriftHiveMetastore_get_tables_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size780 = 0;
- $_etype783 = 0;
- $xfer += $input->readListBegin($_etype783, $_size780);
- for ($_i784 = 0; $_i784 < $_size780; ++$_i784)
+ $_size787 = 0;
+ $_etype790 = 0;
+ $xfer += $input->readListBegin($_etype790, $_size787);
+ for ($_i791 = 0; $_i791 < $_size787; ++$_i791)
{
- $elem785 = null;
- $xfer += $input->readString($elem785);
- $this->success []= $elem785;
+ $elem792 = null;
+ $xfer += $input->readString($elem792);
+ $this->success []= $elem792;
}
$xfer += $input->readListEnd();
} else {
@@ -17924,9 +17924,9 @@ class ThriftHiveMetastore_get_tables_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter786)
+ foreach ($this->success as $iter793)
{
- $xfer += $output->writeString($iter786);
+ $xfer += $output->writeString($iter793);
}
}
$output->writeListEnd();
@@ -18128,14 +18128,14 @@ class ThriftHiveMetastore_get_tables_by_type_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size787 = 0;
- $_etype790 = 0;
- $xfer += $input->readListBegin($_etype790, $_size787);
- for ($_i791 = 0; $_i791 < $_size787; ++$_i791)
+ $_size794 = 0;
+ $_etype797 = 0;
+ $xfer += $input->readListBegin($_etype797, $_size794);
+ for ($_i798 = 0; $_i798 < $_size794; ++$_i798)
{
- $elem792 = null;
- $xfer += $input->readString($elem792);
- $this->success []= $elem792;
+ $elem799 = null;
+ $xfer += $input->readString($elem799);
+ $this->success []= $elem799;
}
$xfer += $input->readListEnd();
} else {
@@ -18171,9 +18171,9 @@ class ThriftHiveMetastore_get_tables_by_type_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter793)
+ foreach ($this->success as $iter800)
{
- $xfer += $output->writeString($iter793);
+ $xfer += $output->writeString($iter800);
}
}
$output->writeListEnd();
@@ -18278,14 +18278,14 @@ class ThriftHiveMetastore_get_table_meta_args {
case 3:
if ($ftype == TType::LST) {
$this->tbl_types = array();
- $_size794 = 0;
- $_etype797 = 0;
- $xfer += $input->readListBegin($_etype797, $_size794);
- for ($_i798 = 0; $_i798 < $_size794; ++$_i798)
+ $_size801 = 0;
+ $_etype804 = 0;
+ $xfer += $input->readListBegin($_etype804, $_size801);
+ for ($_i805 = 0; $_i805 < $_size801; ++$_i805)
{
- $elem799 = null;
- $xfer += $input->readString($elem799);
- $this->tbl_types []= $elem799;
+ $elem806 = null;
+ $xfer += $input->readString($elem806);
+ $this->tbl_types []= $elem806;
}
$xfer += $input->readListEnd();
} else {
@@ -18323,9 +18323,9 @@ class ThriftHiveMetastore_get_table_meta_args {
{
$output->writeListBegin(TType::STRING, count($this->tbl_types));
{
- foreach ($this->tbl_types as $iter800)
+ foreach ($this->tbl_types as $iter807)
{
- $xfer += $output->writeString($iter800);
+ $xfer += $output->writeString($iter807);
}
}
$output->writeListEnd();
@@ -18402,15 +18402,15 @@ class ThriftHiveMetastore_get_table_meta_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size801 = 0;
- $_etype804 = 0;
- $xfer += $input->readListBegin($_etype804, $_size801);
- for ($_i805 = 0; $_i805 < $_size801; ++$_i805)
+ $_size808 = 0;
+ $_etype811 = 0;
+ $xfer += $input->readListBegin($_etype811, $_size808);
+ for ($_i812 = 0; $_i812 < $_size808; ++$_i812)
{
- $elem806 = null;
- $elem806 = new \metastore\TableMeta();
- $xfer += $elem806->read($input);
- $this->success []= $elem806;
+ $elem813 = null;
+ $elem813 = new \metastore\TableMeta();
+ $xfer += $elem813->read($input);
+ $this->success []= $elem813;
}
$xfer += $input->readListEnd();
} else {
@@ -18446,9 +18446,9 @@ class ThriftHiveMetastore_get_table_meta_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter807)
+ foreach ($this->success as $iter814)
{
- $xfer += $iter807->write($output);
+ $xfer += $iter814->write($output);
}
}
$output->writeListEnd();
@@ -18604,14 +18604,14 @@ class ThriftHiveMetastore_get_all_tables_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size808 = 0;
- $_etype811 = 0;
- $xfer += $input->readListBegin($_etype811, $_size808);
- for ($_i812 = 0; $_i812 < $_size808; ++$_i812)
+ $_size815 = 0;
+ $_etype818 = 0;
+ $xfer += $input->readListBegin($_etype818, $_size815);
+ for ($_i819 = 0; $_i819 < $_size815; ++$_i819)
{
- $elem813 = null;
- $xfer += $input->readString($elem813);
- $this->success []= $elem813;
+ $elem820 = null;
+ $xfer += $input->readString($elem820);
+ $this->success []= $elem820;
}
$xfer += $input->readListEnd();
} else {
@@ -18647,9 +18647,9 @@ class ThriftHiveMetastore_get_all_tables_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter814)
+ foreach ($this->success as $iter821)
{
- $xfer += $output->writeString($iter814);
+ $xfer += $output->writeString($iter821);
}
}
$output->writeListEnd();
@@ -18964,14 +18964,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args {
case 2:
if ($ftype == TType::LST) {
$this->tbl_names = array();
- $_size815 = 0;
- $_etype818 = 0;
- $xfer += $input->readListBegin($_etype818, $_size815);
- for ($_i819 = 0; $_i819 < $_size815; ++$_i819)
+ $_size822 = 0;
+ $_etype825 = 0;
+ $xfer += $input->readListBegin($_etype825, $_size822);
+ for ($_i826 = 0; $_i826 < $_size822; ++$_i826)
{
- $elem820 = null;
- $xfer += $input->readString($elem820);
- $this->tbl_names []= $elem820;
+ $elem827 = null;
+ $xfer += $input->readString($elem827);
+ $this->tbl_names []= $elem827;
}
$xfer += $input->readListEnd();
} else {
@@ -19004,9 +19004,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args {
{
$output->writeListBegin(TType::STRING, count($this->tbl_names));
{
- foreach ($this->tbl_names as $iter821)
+ foreach ($this->tbl_names as $iter828)
{
- $xfer += $output->writeString($iter821);
+ $xfer += $output->writeString($iter828);
}
}
$output->writeListEnd();
@@ -19071,15 +19071,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size822 = 0;
- $_etype825 = 0;
- $xfer += $input->readListBegin($_etype825, $_size822);
- for ($_i826 = 0; $_i826 < $_size822; ++$_i826)
+ $_size829 = 0;
+ $_etype832 = 0;
+ $xfer += $input->readListBegin($_etype832, $_size829);
+ for ($_i833 = 0; $_i833 < $_size829; ++$_i833)
{
- $elem827 = null;
- $elem827 = new \metastore\Table();
- $xfer += $elem827->read($input);
- $this->success []= $elem827;
+ $elem834 = null;
+ $elem834 = new \metastore\Table();
+ $xfer += $elem834->read($input);
+ $this->success []= $elem834;
}
$xfer += $input->readListEnd();
} else {
@@ -19107,9 +19107,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter828)
+ foreach ($this->success as $iter835)
{
- $xfer += $iter828->write($output);
+ $xfer += $iter835->write($output);
}
}
$output->writeListEnd();
@@ -19775,14 +19775,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size829 = 0;
- $_etype832 = 0;
- $xfer += $input->readListBegin($_etype832, $_size829);
- for ($_i833 = 0; $_i833 < $_size829; ++$_i833)
+ $_size836 = 0;
+ $_etype839 = 0;
+ $xfer += $input->readListBegin($_etype839, $_size836);
+ for ($_i840 = 0; $_i840 < $_size836; ++$_i840)
{
- $elem834 = null;
- $xfer += $input->readString($elem834);
- $this->success []= $elem834;
+ $elem841 = null;
+ $xfer += $input->readString($elem841);
+ $this->success []= $elem841;
}
$xfer += $input->readListEnd();
} else {
@@ -19834,9 +19834,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter835)
+ foreach ($this->success as $iter842)
{
- $xfer += $output->writeString($iter835);
+ $xfer += $output->writeString($iter842);
}
}
$output->writeListEnd();
@@ -21149,15 +21149,15 @@ class ThriftHiveMetastore_add_partitions_args {
case 1:
if ($ftype == TType::LST) {
$this->new_parts = array();
- $_size836 = 0;
- $_etype839 = 0;
- $xfer += $input->readListBegin($_etype839, $_size836);
- for ($_i840 = 0; $_i840 < $_size836; ++$_i840)
+ $_size843 = 0;
+ $_etype846 = 0;
+ $xfer += $input->readListBegin($_etype846, $_size843);
+ for ($_i847 = 0; $_i847 < $_size843; ++$_i847)
{
- $elem841 = null;
- $elem841 = new \metastore\Partition();
- $xfer += $elem841->read($input);
- $this->new_parts []= $elem841;
+ $elem848 = null;
+ $elem848 = new \metastore\Partition();
+ $xfer += $elem848->read($input);
+ $this->new_parts []= $elem848;
}
$xfer += $input->readListEnd();
} else {
@@ -21185,9 +21185,9 @@ class ThriftHiveMetastore_add_partitions_args {
{
$output->writeListBegin(TType::STRUCT, count($this->new_parts));
{
- foreach ($this->new_parts as $iter842)
+ foreach ($this->new_parts as $iter849)
{
- $xfer += $iter842->write($output);
+ $xfer += $iter849->write($output);
}
}
$output->writeListEnd();
@@ -21402,15 +21402,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args {
case 1:
if ($ftype == TType::LST) {
$this->new_parts = array();
- $_size843 = 0;
- $_etype846 = 0;
- $xfer += $input->readListBegin($_etype846, $_size843);
- for ($_i847 = 0; $_i847 < $_size843; ++$_i847)
+ $_size850 = 0;
+ $_etype853 = 0;
+ $xfer += $input->readListBegin($_etype853, $_size850);
+ for ($_i854 = 0; $_i854 < $_size850; ++$_i854)
{
- $elem848 = null;
- $elem848 = new \metastore\PartitionSpec();
- $xfer += $elem848->read($input);
- $this->new_parts []= $elem848;
+ $elem855 = null;
+ $elem855 = new \metastore\PartitionSpec();
+ $xfer += $elem855->read($input);
+ $this->new_parts []= $elem855;
}
$xfer += $input->readListEnd();
} else {
@@ -21438,9 +21438,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args {
{
$output->writeListBegin(TType::STRUCT, count($this->new_parts));
{
- foreach ($this->new_parts as $iter849)
+ foreach ($this->new_parts as $iter856)
{
- $xfer += $iter849->write($output);
+ $xfer += $iter856->write($output);
}
}
$output->writeListEnd();
@@ -21690,14 +21690,14 @@ class ThriftHiveMetastore_append_partition_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size850 = 0;
- $_etype853 = 0;
- $xfer += $input->readListBegin($_etype853, $_size850);
- for ($_i854 = 0; $_i854 < $_size850; ++$_i854)
+ $_size857 = 0;
+ $_etype860 = 0;
+ $xfer += $input->readListBegin($_etype860, $_size857);
+ for ($_i861 = 0; $_i861 < $_size857; ++$_i861)
{
- $elem855 = null;
- $xfer += $input->readString($elem855);
- $this->part_vals []= $elem855;
+ $elem862 = null;
+ $xfer += $input->readString($elem862);
+ $this->part_vals []= $elem862;
}
$xfer += $input->readListEnd();
} else {
@@ -21735,9 +21735,9 @@ class ThriftHiveMetastore_append_partition_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter856)
+ foreach ($this->part_vals as $iter863)
{
- $xfer += $output->writeString($iter856);
+ $xfer += $output->writeString($iter863);
}
}
$output->writeListEnd();
@@ -22239,14 +22239,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size857 = 0;
- $_etype860 = 0;
- $xfer += $input->readListBegin($_etype860, $_size857);
- for ($_i861 = 0; $_i861 < $_size857; ++$_i861)
+ $_size864 = 0;
+ $_etype867 = 0;
+ $xfer += $input->readListBegin($_etype867, $_size864);
+ for ($_i868 = 0; $_i868 < $_size864; ++$_i868)
{
- $elem862 = null;
- $xfer += $input->readString($elem862);
- $this->part_vals []= $elem862;
+ $elem869 = null;
+ $xfer += $input->readString($elem869);
+ $this->part_vals []= $elem869;
}
$xfer += $input->readListEnd();
} else {
@@ -22292,9 +22292,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter863)
+ foreach ($this->part_vals as $iter870)
{
- $xfer += $output->writeString($iter863);
+ $xfer += $output->writeString($iter870);
}
}
$output->writeListEnd();
@@ -23148,14 +23148,14 @@ class ThriftHiveMetastore_drop_partition_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size864 = 0;
- $_etype867 = 0;
- $xfer += $input->readListBegin($_etype867, $_size864);
- for ($_i868 = 0; $_i868 < $_size864; ++$_i868)
+ $_size871 = 0;
+ $_etype874 = 0;
+ $xfer += $input->readListBegin($_etype874, $_size871);
+ for ($_i875 = 0; $_i875 < $_size871; ++$_i875)
{
- $elem869 = null;
- $xfer += $input->readString($elem869);
- $this->part_vals []= $elem869;
+ $elem876 = null;
+ $xfer += $input->readString($elem876);
+ $this->part_vals []= $elem876;
}
$xfer += $input->readListEnd();
} else {
@@ -23200,9 +23200,9 @@ class ThriftHiveMetastore_drop_partition_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter870)
+ foreach ($this->part_vals as $iter877)
{
- $xfer += $output->writeString($iter870);
+ $xfer += $output->writeString($iter877);
}
}
$output->writeListEnd();
@@ -23455,14 +23455,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size871 = 0;
- $_etype874 = 0;
- $xfer += $input->readListBegin($_etype874, $_size871);
- for ($_i875 = 0; $_i875 < $_size871; ++$_i875)
+ $_size878 = 0;
+ $_etype881 = 0;
+ $xfer += $input->readListBegin($_etype881, $_size878);
+ for ($_i882 = 0; $_i882 < $_size878; ++$_i882)
{
- $elem876 = null;
- $xfer += $input->readString($elem876);
- $this->part_vals []= $elem876;
+ $elem883 = null;
+ $xfer += $input->readString($elem883);
+ $this->part_vals []= $elem883;
}
$xfer += $input->readListEnd();
} else {
@@ -23515,9 +23515,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter877)
+ foreach ($this->part_vals as $iter884)
{
- $xfer += $output->writeString($iter877);
+ $xfer += $output->writeString($iter884);
}
}
$output->writeListEnd();
@@ -24531,14 +24531,14 @@ class ThriftHiveMetastore_get_partition_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size878 = 0;
- $_etype881 = 0;
- $xfer += $input->readListBegin($_etype881, $_size878);
- for ($_i882 = 0; $_i882 < $_size878; ++$_i882)
+ $_size885 = 0;
+ $_etype888 = 0;
+ $xfer += $input->readListBegin($_etype888, $_size885);
+ for ($_i889 = 0; $_i889 < $_size885; ++$_i889)
{
- $elem883 = null;
- $xfer += $input->readString($elem883);
- $this->part_vals []= $elem883;
+ $elem890 = null;
+ $xfer += $input->readString($elem890);
+ $this->part_vals []= $elem890;
}
$xfer += $input->readListEnd();
} else {
@@ -24576,9 +24576,9 @@ class ThriftHiveMetastore_get_partition_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter884)
+ foreach ($this->part_vals as $iter891)
{
- $xfer += $output->writeString($iter884);
+ $xfer += $output->writeString($iter891);
}
}
$output->writeListEnd();
@@ -24820,17 +24820,17 @@ class ThriftHiveMetastore_exchange_partition_args {
case 1:
if ($ftype == TType::MAP) {
$this->partitionSpecs = array();
- $_size885 = 0;
- $_ktype886 = 0;
- $_vtype887 = 0;
- $xfer += $input->readMapBegin($_ktype886, $_vtype887, $_size885);
- for ($_i889 = 0; $_i889 < $_size885; ++$_i889)
+ $_size892 = 0;
+ $_ktype893 = 0;
+ $_vtype894 = 0;
+ $xfer += $input->readMapBegin($_ktype893, $_vtype894, $_size892);
+ for ($_i896 = 0; $_i896 < $_size892; ++$_i896)
{
- $key890 = '';
- $val891 = '';
- $xfer += $input->readString($key890);
- $xfer += $input->readString($val891);
- $this->partitionSpecs[$key890] = $val891;
+ $key897 = '';
+ $val898 = '';
+ $xfer += $input->readString($key897);
+ $xfer += $input->readString($val898);
+ $this->partitionSpecs[$key897] = $val898;
}
$xfer += $input->readMapEnd();
} else {
@@ -24886,10 +24886,10 @@ class ThriftHiveMetastore_exchange_partition_args {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs));
{
- foreach ($this->partitionSpecs as $kiter892 => $viter893)
+ foreach ($this->partitionSpecs as $kiter899 => $viter900)
{
- $xfer += $output->writeString($kiter892);
- $xfer += $output->writeString($viter893);
+ $xfer += $output->writeString($kiter899);
+ $xfer += $output->writeString($viter900);
}
}
$output->writeMapEnd();
@@ -25201,17 +25201,17 @@ class ThriftHiveMetastore_exchange_partitions_args {
case 1:
if ($ftype == TType::MAP) {
$this->partitionSpecs = array();
- $_size894 = 0;
- $_ktype895 = 0;
- $_vtype896 = 0;
- $xfer += $input->readMapBegin($_ktype895, $_vtype896, $_size894);
- for ($_i898 = 0; $_i898 < $_size894; ++$_i898)
+ $_size901 = 0;
+ $_ktype902 = 0;
+ $_vtype903 = 0;
+ $xfer += $input->readMapBegin($_ktype902, $_vtype903, $_size901);
+ for ($_i905 = 0; $_i905 < $_size901; ++$_i905)
{
- $key899 = '';
- $val900 = '';
- $xfer += $input->readString($key899);
- $xfer += $input->readString($val900);
- $this->partitionSpecs[$key899] = $val900;
+ $key906 = '';
+ $val907 = '';
+ $xfer += $input->readString($key906);
+ $xfer += $input->readString($val907);
+ $this->partitionSpecs[$key906] = $val907;
}
$xfer += $input->readMapEnd();
} else {
@@ -25267,10 +25267,10 @@ class ThriftHiveMetastore_exchange_partitions_args {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs));
{
- foreach ($this->partitionSpecs as $kiter901 => $viter902)
+ foreach ($this->partitionSpecs as $kiter908 => $viter909)
{
- $xfer += $output->writeString($kiter901);
- $xfer += $output->writeString($viter902);
+ $xfer += $output->writeString($kiter908);
+ $xfer += $output->writeString($viter909);
}
}
$output->writeMapEnd();
@@ -25403,15 +25403,15 @@ class ThriftHiveMetastore_exchange_partitions_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size903 = 0;
- $_etype906 = 0;
- $xfer += $input->readListBegin($_etype906, $_size903);
- for ($_i907 = 0; $_i907 < $_size903; ++$_i907)
+ $_size910 = 0;
+ $_etype913 = 0;
+ $xfer += $input->readListBegin($_etype913, $_size910);
+ for ($_i914 = 0; $_i914 < $_size910; ++$_i914)
{
- $elem908 = null;
- $elem908 = new \metastore\Partition();
- $xfer += $elem908->read($input);
- $this->success []= $elem908;
+ $elem915 = null;
+ $elem915 = new \metastore\Partition();
+ $xfer += $elem915->read($input);
+ $this->success []= $elem915;
}
$xfer += $input->readListEnd();
} else {
@@ -25471,9 +25471,9 @@ class ThriftHiveMetastore_exchange_partitions_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter909)
+ foreach ($this->success as $iter916)
{
- $xfer += $iter909->write($output);
+ $xfer += $iter916->write($output);
}
}
$output->writeListEnd();
@@ -25619,14 +25619,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size910 = 0;
- $_etype913 = 0;
- $xfer += $input->readListBegin($_etype913, $_size910);
- for ($_i914 = 0; $_i914 < $_size910; ++$_i914)
+ $_size917 = 0;
+ $_etype920 = 0;
+ $xfer += $input->readListBegin($_etype920, $_size917);
+ for ($_i921 = 0; $_i921 < $_size917; ++$_i921)
{
- $elem915 = null;
- $xfer += $input->readString($elem915);
- $this->part_vals []= $elem915;
+ $elem922 = null;
+ $xfer += $input->readString($elem922);
+ $this->part_vals []= $elem922;
}
$xfer += $input->readListEnd();
} else {
@@ -25643,14 +25643,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args {
case 5:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size916 = 0;
- $_etype919 = 0;
- $xfer += $input->readListBegin($_etype919, $_size916);
- for ($_i920 = 0; $_i920 < $_size916; ++$_i920)
+ $_size923 = 0;
+ $_etype926 = 0;
+ $xfer += $input->readListBegin($_etype926, $_size923);
+ for ($_i927 = 0; $_i927 < $_size923; ++$_i927)
{
- $elem921 = null;
- $xfer += $input->readString($elem921);
- $this->group_names []= $elem921;
+ $elem928 = null;
+ $xfer += $input->readString($elem928);
+ $this->group_names []= $elem928;
}
$xfer += $input->readListEnd();
} else {
@@ -25688,9 +25688,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter922)
+ foreach ($this->part_vals as $iter929)
{
- $xfer += $output->writeString($iter922);
+ $xfer += $output->writeString($iter929);
}
}
$output->writeListEnd();
@@ -25710,9 +25710,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args {
{
$output->writeListBegin(TType::STRING, count($this->group_names));
{
- foreach ($this->group_names as $iter923)
+ foreach ($this->group_names as $iter930)
{
- $xfer += $output->writeString($iter923);
+ $xfer += $output->writeString($iter930);
}
}
$output->writeListEnd();
@@ -26303,15 +26303,15 @@ class ThriftHiveMetastore_get_partitions_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size924 = 0;
- $_etype927 = 0;
- $xfer += $input->readListBegin($_etype927, $_size924);
- for ($_i928 = 0; $_i928 < $_size924; ++$_i928)
+ $_size931 = 0;
+ $_etype934 = 0;
+ $xfer += $input->readListBegin($_etype934, $_size931);
+ for ($_i935 = 0; $_i935 < $_size931; ++$_i935)
{
- $elem929 = null;
- $elem929 = new \metastore\Partition();
- $xfer += $elem929->read($input);
- $this->success []= $elem929;
+ $elem936 = null;
+ $elem936 = new \metastore\Partition();
+ $xfer += $elem936->read($input);
+ $this->success []= $elem936;
}
$xfer += $input->readListEnd();
} else {
@@ -26355,9 +26355,9 @@ class ThriftHiveMetastore_get_partitions_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter930)
+ foreach ($this->success as $iter937)
{
- $xfer += $iter930->write($output);
+ $xfer += $iter937->write($output);
}
}
$output->writeListEnd();
@@ -26503,14 +26503,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args {
case 5:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size931 = 0;
- $_etype934 = 0;
- $xfer += $input->readListBegin($_etype934, $_size931);
- for ($_i935 = 0; $_i935 < $_size931; ++$_i935)
+ $_size938 = 0;
+ $_etype941 = 0;
+ $xfer += $input->readListBegin($_etype941, $_size938);
+ for ($_i942 = 0; $_i942 < $_size938; ++$_i942)
{
- $elem936 = null;
- $xfer += $input->readString($elem936);
- $this->group_names []= $elem936;
+ $elem943 = null;
+ $xfer += $input->readString($elem943);
+ $this->group_names []= $elem943;
}
$xfer += $input->readListEnd();
} else {
@@ -26558,9 +26558,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args {
{
$output->writeListBegin(TType::STRING, count($this->group_names));
{
- foreach ($this->group_names as $iter937)
+ foreach ($this->group_names as $iter944)
{
- $xfer += $output->writeString($iter937);
+ $xfer += $output->writeString($iter944);
}
}
$output->writeListEnd();
@@ -26649,15 +26649,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size938 = 0;
- $_etype941 = 0;
- $xfer += $input->readListBegin($_etype941, $_size938);
- for ($_i942 = 0; $_i942 < $_size938; ++$_i942)
+ $_size945 = 0;
+ $_etype948 = 0;
+ $xfer += $input->readListBegin($_etype948, $_size945);
+ for ($_i949 = 0; $_i949 < $_size945; ++$_i949)
{
- $elem943 = null;
- $elem943 = new \metastore\Partition();
- $xfer += $elem943->read($input);
- $this->success []= $elem943;
+ $elem950 = null;
+ $elem950 = new \metastore\Partition();
+ $xfer += $elem950->read($input);
+ $this->success []= $elem950;
}
$xfer += $input->readListEnd();
} else {
@@ -26701,9 +26701,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter944)
+ foreach ($this->success as $iter951)
{
- $xfer += $iter944->write($output);
+ $xfer += $iter951->write($output);
}
}
$output->writeListEnd();
@@ -26923,15 +26923,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size945 = 0;
- $_etype948 = 0;
- $xfer += $input->readListBegin($_etype948, $_size945);
- for ($_i949 = 0; $_i949 < $_size945; ++$_i949)
+ $_size952 = 0;
+ $_etype955 = 0;
+ $xfer += $input->readListBegin($_etype955, $_size952);
+ for ($_i956 = 0; $_i956 < $_size952; ++$_i956)
{
- $elem950 = null;
- $elem950 = new \metastore\PartitionSpec();
- $xfer += $elem950->read($input);
- $this->success []= $elem950;
+ $elem957 = null;
+ $elem957 = new \metastore\PartitionSpec();
+ $xfer += $elem957->read($input);
+ $this->success []= $elem957;
}
$xfer += $input->readListEnd();
} else {
@@ -26975,9 +26975,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter951)
+ foreach ($this->success as $iter958)
{
- $xfer += $iter951->write($output);
+ $xfer += $iter958->write($output);
}
}
$output->writeListEnd();
@@ -27196,14 +27196,14 @@ class ThriftHiveMetastore_get_partition_names_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size952 = 0;
- $_etype955 = 0;
- $xfer += $input->readListBegin($_etype955, $_size952);
- for ($_i956 = 0; $_i956 < $_size952; ++$_i956)
+ $_size959 = 0;
+ $_etype962 = 0;
+ $xfer += $input->readListBegin($_etype962, $_size959);
+ for ($_i963 = 0; $_i963 < $_size959; ++$_i963)
{
- $elem957 = null;
- $xfer += $input->readString($elem957);
- $this->success []= $elem957;
+ $elem964 = null;
+ $xfer += $input->readString($elem964);
+ $this->success []= $elem964;
}
$xfer += $input->readListEnd();
} else {
@@ -27247,9 +27247,9 @@ class ThriftHiveMetastore_get_partition_names_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter958)
+ foreach ($this->success as $iter965)
{
- $xfer += $output->writeString($iter958);
+ $xfer += $output->writeString($iter965);
}
}
$output->writeListEnd();
@@ -27580,14 +27580,14 @@ class ThriftHiveMetastore_get_partitions_ps_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size959 = 0;
- $_etype962 = 0;
- $xfer += $input->readListBegin($_etype962, $_size959);
- for ($_i963 = 0; $_i963 < $_size959; ++$_i963)
+ $_size966 = 0;
+ $_etype969 = 0;
+ $xfer += $input->readListBegin($_etype969, $_size966);
+ for ($_i970 = 0; $_i970 < $_size966; ++$_i970)
{
- $elem964 = null;
- $xfer += $input->readString($elem964);
- $this->part_vals []= $elem964;
+ $elem971 = null;
+ $xfer += $input->readString($elem971);
+ $this->part_vals []= $elem971;
}
$xfer += $input->readListEnd();
} else {
@@ -27632,9 +27632,9 @@ class ThriftHiveMetastore_get_partitions_ps_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter965)
+ foreach ($this->part_vals as $iter972)
{
- $xfer += $output->writeString($iter965);
+ $xfer += $output->writeString($iter972);
}
}
$output->writeListEnd();
@@ -27728,15 +27728,15 @@ class ThriftHiveMetastore_get_partitions_ps_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size966 = 0;
- $_etype969 = 0;
- $xfer += $input->readListBegin($_etype969, $_size966);
- for ($_i970 = 0; $_i970 < $_size966; ++$_i970)
+ $_size973 = 0;
+ $_etype976 = 0;
+ $xfer += $input->readListBegin($_etype976, $_size973);
+ for ($_i977 = 0; $_i977 < $_size973; ++$_i977)
{
- $elem971 = null;
- $elem971 = new \metastore\Partition();
- $xfer += $elem971->read($input);
- $this->success []= $elem971;
+ $elem978 = null;
+ $elem978 = new \metastore\Partition();
+ $xfer += $elem978->read($input);
+ $this->success []= $elem978;
}
$xfer += $input->readListEnd();
} else {
@@ -27780,9 +27780,9 @@ class ThriftHiveMetastore_get_partitions_ps_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter972)
+ foreach ($this->success as $iter979)
{
- $xfer += $iter972->write($output);
+ $xfer += $iter979->write($output);
}
}
$output->writeListEnd();
@@ -27929,14 +27929,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size973 = 0;
- $_etype976 = 0;
- $xfer += $input->readListBegin($_etype976, $_size973);
- for ($_i977 = 0; $_i977 < $_size973; ++$_i977)
+ $_size980 = 0;
+ $_etype983 = 0;
+ $xfer += $input->readListBegin($_etype983, $_size980);
+ for ($_i984 = 0; $_i984 < $_size980; ++$_i984)
{
- $elem978 = null;
- $xfer += $input->readString($elem978);
- $this->part_vals []= $elem978;
+ $elem985 = null;
+ $xfer += $input->readString($elem985);
+ $this->part_vals []= $elem985;
}
$xfer += $input->readListEnd();
} else {
@@ -27960,14 +27960,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args {
case 6:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size979 = 0;
- $_etype982 = 0;
- $xfer += $input->readListBegin($_etype982, $_size979);
- for ($_i983 = 0; $_i983 < $_size979; ++$_i983)
+ $_size986 = 0;
+ $_etype989 = 0;
+ $xfer += $input->readListBegin($_etype989, $_size986);
+ for ($_i990 = 0; $_i990 < $_size986; ++$_i990)
{
- $elem984 = null;
- $xfer += $input->readString($elem984);
- $this->group_names []= $elem984;
+ $elem991 = null;
+ $xfer += $input->readString($elem991);
+ $this->group_names []= $elem991;
}
$xfer += $input->readListEnd();
} else {
@@ -28005,9 +28005,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter985)
+ foreach ($this->part_vals as $iter992)
{
- $xfer += $output->writeString($iter985);
+ $xfer += $output->writeString($iter992);
}
}
$output->writeListEnd();
@@ -28032,9 +28032,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args {
{
$output->writeListBegin(TType::STRING, count($this->group_names));
{
- foreach ($this->group_names as $iter986)
+ foreach ($this->group_names as $iter993)
{
- $xfer += $output->writeString($iter986);
+ $xfer += $output->writeString($iter993);
}
}
$output->writeListEnd();
@@ -28123,15 +28123,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size987 = 0;
- $_etype990 = 0;
- $xfer += $input->readListBegin($_etype990, $_size987);
- for ($_i991 = 0; $_i991 < $_size987; ++$_i991)
+ $_size994 = 0;
+ $_etype997 = 0;
+ $xfer += $input->readListBegin($_etype997, $_size994);
+ for ($_i998 = 0; $_i998 < $_size994; ++$_i998)
{
- $elem992 = null;
- $elem992 = new \metastore\Partition();
- $xfer += $elem992->read($input);
- $this->success []= $elem992;
+ $elem999 = null;
+ $elem999 = new \metastore\Partition();
+ $xfer += $elem999->read($input);
+ $this->success []= $elem999;
}
$xfer += $input->readListEnd();
} else {
@@ -28175,9 +28175,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter993)
+ foreach ($this->success as $iter1000)
{
- $xfer += $iter993->write($output);
+ $xfer += $iter1000->write($output);
}
}
$output->writeListEnd();
@@ -28298,14 +28298,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size994 = 0;
- $_etype997 = 0;
- $xfer += $input->readListBegin($_etype997, $_size994);
- for ($_i998 = 0; $_i998 < $_size994; ++$_i998)
+ $_size1001 = 0;
+ $_etype1004 = 0;
+ $xfer += $input->readListBegin($_etype1004, $_size1001);
+ for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005)
{
- $elem999 = null;
- $xfer += $input->readString($elem999);
- $this->part_vals []= $elem999;
+ $elem1006 = null;
+ $xfer += $input->readString($elem1006);
+ $this->part_vals []= $elem1006;
}
$xfer += $input->readListEnd();
} else {
@@ -28350,9 +28350,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter1000)
+ foreach ($this->part_vals as $iter1007)
{
- $xfer += $output->writeString($iter1000);
+ $xfer += $output->writeString($iter1007);
}
}
$output->writeListEnd();
@@ -28445,14 +28445,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1001 = 0;
- $_etype1004 = 0;
- $xfer += $input->readListBegin($_etype1004, $_size1001);
- for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005)
+ $_size1008 = 0;
+ $_etype1011 = 0;
+ $xfer += $input->readListBegin($_etype1011, $_size1008);
+ for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012)
{
- $elem1006 = null;
- $xfer += $input->readString($elem1006);
- $this->success []= $elem1006;
+ $elem1013 = null;
+ $xfer += $input->readString($elem1013);
+ $this->success []= $elem1013;
}
$xfer += $input->readListEnd();
} else {
@@ -28496,9 +28496,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter1007)
+ foreach ($this->success as $iter1014)
{
- $xfer += $output->writeString($iter1007);
+ $xfer += $output->writeString($iter1014);
}
}
$output->writeListEnd();
@@ -28741,15 +28741,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1008 = 0;
- $_etype1011 = 0;
- $xfer += $input->readListBegin($_etype1011, $_size1008);
- for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012)
+ $_size1015 = 0;
+ $_etype1018 = 0;
+ $xfer += $input->readListBegin($_etype1018, $_size1015);
+ for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019)
{
- $elem1013 = null;
- $elem1013 = new \metastore\Partition();
- $xfer += $elem1013->read($input);
- $this->success []= $elem1013;
+ $elem1020 = null;
+ $elem1020 = new \metastore\Partition();
+ $xfer += $elem1020->read($input);
+ $this->success []= $elem1020;
}
$xfer += $input->readListEnd();
} else {
@@ -28793,9 +28793,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter1014)
+ foreach ($this->success as $iter1021)
{
- $xfer += $iter1014->write($output);
+ $xfer += $iter1021->write($output);
}
}
$output->writeListEnd();
@@ -29038,15 +29038,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1015 = 0;
- $_etype1018 = 0;
- $xfer += $input->readListBegin($_etype1018, $_size1015);
- for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019)
+ $_size1022 = 0;
+ $_etype1025 = 0;
+ $xfer += $input->readListBegin($_etype1025, $_size1022);
+ for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026)
{
- $elem1020 = null;
- $elem1020 = new \metastore\PartitionSpec();
- $xfer += $elem1020->read($input);
- $this->success []= $elem1020;
+ $elem1027 = null;
+ $elem1027 = new \metastore\PartitionSpec();
+ $xfer += $elem1027->read($input);
+ $this->success []= $elem1027;
}
$xfer += $input->readListEnd();
} else {
@@ -29090,9 +29090,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter1021)
+ foreach ($this->success as $iter1028)
{
- $xfer += $iter1021->write($output);
+ $xfer += $iter1028->write($output);
}
}
$output->writeListEnd();
@@ -29658,14 +29658,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args {
case 3:
if ($ftype == TType::LST) {
$this->names = array();
- $_size1022 = 0;
- $_etype1025 = 0;
- $xfer += $input->readListBegin($_etype1025, $_size1022);
- for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026)
+ $_size1029 = 0;
+ $_etype1032 = 0;
+ $xfer += $input->readListBegin($_etype1032, $_size1029);
+ for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033)
{
- $elem1027 = null;
- $xfer += $input->readString($elem1027);
- $this->names []= $elem1027;
+ $elem1034 = null;
+ $xfer += $input->readString($elem1034);
+ $this->names []= $elem1034;
}
$xfer += $input->readListEnd();
} else {
@@ -29703,9 +29703,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args {
{
$output->writeListBegin(TType::STRING, count($this->names));
{
- foreach ($this->names as $iter1028)
+ foreach ($this->names as $iter1035)
{
- $xfer += $output->writeString($iter1028);
+ $xfer += $output->writeString($iter1035);
}
}
$output->writeListEnd();
@@ -29794,15 +29794,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1029 = 0;
- $_etype1032 = 0;
- $xfer += $input->readListBegin($_etype1032, $_size1029);
- for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033)
+ $_size1036 = 0;
+ $_etype1039 = 0;
+ $xfer += $input->readListBegin($_etype1039, $_size1036);
+ for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040)
{
- $elem1034 = null;
- $elem1034 = new \metastore\Partition();
- $xfer += $elem1034->read($input);
- $this->success []= $elem1034;
+ $elem1041 = null;
+ $elem1041 = new \metastore\Partition();
+ $xfer += $elem1041->read($input);
+ $this->success []= $elem1041;
}
$xfer += $input->readListEnd();
} else {
@@ -29846,9 +29846,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter1035)
+ foreach ($this->success as $iter1042)
{
- $xfer += $iter1035->write($output);
+ $xfer += $iter1042->write($output);
}
}
$output->writeListEnd();
@@ -30187,15 +30187,15 @@ class ThriftHiveMetastore_alter_partitions_args {
case 3:
if ($ftype == TType::LST) {
$this->new_parts = array();
- $_size1036 = 0;
- $_etype1039 = 0;
- $xfer += $input->readListBegin($_etype1039, $_size1036);
- for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040)
+ $_size1043 = 0;
+ $_etype1046 = 0;
+ $xfer += $input->readListBegin($_etype1046, $_size1043);
+ for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047)
{
- $elem1041 = null;
- $elem1041 = new \metastore\Partition();
- $xfer += $elem1041->read($input);
- $this->new_parts []= $elem1041;
+ $elem1048 = null;
+ $elem1048 = new \metastore\Partition();
+ $xfer += $elem1048->read($input);
+ $this->new_parts []= $elem1048;
}
$xfer += $input->readListEnd();
} else {
@@ -30233,9 +30233,9 @@ class ThriftHiveMetastore_alter_partitions_args {
{
$output->writeListBegin(TType::STRUCT, count($this->new_parts));
{
- foreach ($this->new_parts as $iter1042)
+ foreach ($this->new_parts as $iter1049)
{
- $xfer += $iter1042->write($output);
+ $xfer += $iter1049->write($output);
}
}
$output->writeListEnd();
@@ -30450,15 +30450,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args {
case 3:
if ($ftype == TType::LST) {
$this->new_parts = array();
- $_size1043 = 0;
- $_etype1046 = 0;
- $xfer += $input->readListBegin($_etype1046, $_size1043);
- for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047)
+ $_size1050 = 0;
+ $_etype1053 = 0;
+ $xfer += $input->readListBegin($_etype1053, $_size1050);
+ for ($_i1054 = 0; $_i1054 < $_size1050; ++$_i1054)
{
- $elem1048 = null;
- $elem1048 = new \metastore\Partition();
- $xfer += $elem1048->read($input);
- $this->new_parts []= $elem1048;
+ $elem1055 = null;
+ $elem1055 = new \metastore\Partition();
+ $xfer += $elem1055->read($input);
+ $this->new_parts []= $elem1055;
}
$xfer += $input->readListEnd();
} else {
@@ -30504,9 +30504,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args {
{
$output->writeListBegin(TType::STRUCT, count($this->new_parts));
{
- foreach ($this->new_parts as $iter1049)
+ foreach ($this->new_parts as $iter1056)
{
- $xfer += $iter1049->write($output);
+ $xfer += $iter1056->write($output);
}
}
$output->writeListEnd();
@@ -30984,14 +30984,14 @@ class ThriftHiveMetastore_rename_partition_args {
case 3:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size1050 = 0;
- $_etype1053 = 0;
- $xfer += $input->readListBegin($_etype1053, $_size1050);
- for ($_i1054 = 0; $_i1054 < $_size1050; ++$_i1054)
+ $_size1057 = 0;
+ $_etype1060 = 0;
+ $xfer += $input->readListBegin($_etype1060, $_size1057);
+ for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061)
{
- $elem1055 = null;
- $xfer += $input->readString($elem1055);
- $this->part_vals []= $elem1055;
+ $elem1062 = null;
+ $xfer += $input->readString($elem1062);
+ $this->part_vals []= $elem1062;
}
$xfer += $input->readListEnd();
} else {
@@ -31037,9 +31037,9 @@ class ThriftHiveMetastore_rename_partition_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter1056)
+ foreach ($this->part_vals as $iter1063)
{
- $xfer += $output->writeString($iter1056);
+ $xfer += $output->writeString($iter1063);
}
}
$output->writeListEnd();
@@ -31224,14 +31224,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args {
case 1:
if ($ftype == TType::LST) {
$this->part_vals = array();
- $_size1057 = 0;
- $_etype1060 = 0;
- $xfer += $input->readListBegin($_etype1060, $_size1057);
- for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061)
+ $_size1064 = 0;
+ $_etype1067 = 0;
+ $xfer += $input->readListBegin($_etype1067, $_size1064);
+ for ($_i1068 = 0; $_i1068 < $_size1064; ++$_i1068)
{
- $elem1062 = null;
- $xfer += $input->readString($elem1062);
- $this->part_vals []= $elem1062;
+ $elem1069 = null;
+ $xfer += $input->readString($elem1069);
+ $this->part_vals []= $elem1069;
}
$xfer += $input->readListEnd();
} else {
@@ -31266,9 +31266,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args {
{
$output->writeListBegin(TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $iter1063)
+ foreach ($this->part_vals as $iter1070)
{
- $xfer += $output->writeString($iter1063);
+ $xfer += $output->writeString($iter1070);
}
}
$output->writeListEnd();
@@ -31722,14 +31722,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1064 = 0;
- $_etype1067 = 0;
- $xfer += $input->readListBegin($_etype1067, $_size1064);
- for ($_i1068 = 0; $_i1068 < $_size1064; ++$_i1068)
+ $_size1071 = 0;
+ $_etype1074 = 0;
+ $xfer += $input->readListBegin($_etype1074, $_size1071);
+ for ($_i1075 = 0; $_i1075 < $_size1071; ++$_i1075)
{
- $elem1069 = null;
- $xfer += $input->readString($elem1069);
- $this->success []= $elem1069;
+ $elem1076 = null;
+ $xfer += $input->readString($elem1076);
+ $this->success []= $elem1076;
}
$xfer += $input->readListEnd();
} else {
@@ -31765,9 +31765,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter1070)
+ foreach ($this->success as $iter1077)
{
- $xfer += $output->writeString($iter1070);
+ $xfer += $output->writeString($iter1077);
}
}
$output->writeListEnd();
@@ -31927,17 +31927,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size1071 = 0;
- $_ktype1072 = 0;
- $_vtype1073 = 0;
- $xfer += $input->readMapBegin($_ktype1072, $_vtype1073, $_size1071);
- for ($_i1075 = 0; $_i1075 < $_size1071; ++$_i1075)
+ $_size1078 = 0;
+ $_ktype1079 = 0;
+ $_vtype1080 = 0;
+ $xfer += $input->readMapBegin($_ktype1079, $_vtype1080, $_size1078);
+ for ($_i1082 = 0; $_i1082 < $_size1078; ++$_i1082)
{
- $key1076 = '';
- $val1077 = '';
- $xfer += $input->readString($key1076);
- $xfer += $input->readString($val1077);
- $this->success[$key1076] = $val1077;
+ $key1083 = '';
+ $val1084 = '';
+ $xfer += $input->readString($key1083);
+ $xfer += $input->readString($val1084);
+ $this->success[$key1083] = $val1084;
}
$xfer += $input->readMapEnd();
} else {
@@ -31973,10 +31973,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter1078 => $viter1079)
+ foreach ($this->success as $kiter1085 => $viter1086)
{
- $xfer += $output->writeString($kiter1078);
- $xfer += $output->writeString($viter1079);
+ $xfer += $output->writeString($kiter1085);
+ $xfer += $output->writeString($viter1086);
}
}
$output->writeMapEnd();
@@ -32096,17 +32096,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args {
case 3:
if ($ftype == TType::MAP) {
$this->part_vals = array();
- $_size1080 = 0;
- $_ktype1081 = 0;
- $_vtype1082 = 0;
- $xfer += $input->readMapBegin($_ktype1081, $_vtype1082, $_size1080);
- for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084)
+ $_size1087 = 0;
+ $_ktype1088 = 0;
+ $_vtype1089 = 0;
+ $xfer += $input->readMapBegin($_ktype1088, $_vtype1089, $_size1087);
+ for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091)
{
- $key1085 = '';
- $val1086 = '';
- $xfer += $input->readString($key1085);
- $xfer += $input->readString($val1086);
- $this->part_vals[$key1085] = $val1086;
+ $key1092 = '';
+ $val1093 = '';
+ $xfer += $input->readString($key1092);
+ $xfer += $input->readString($val1093);
+ $this->part_vals[$key1092] = $val1093;
}
$xfer += $input->readMapEnd();
} else {
@@ -32151,10 +32151,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $kiter1087 => $viter1088)
+ foreach ($this->part_vals as $kiter1094 => $viter1095)
{
- $xfer += $output->writeString($kiter1087);
- $xfer += $output->writeString($viter1088);
+ $xfer += $output->writeString($kiter1094);
+ $xfer += $output->writeString($viter1095);
}
}
$output->writeMapEnd();
@@ -32476,17 +32476,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args {
case 3:
if ($ftype == TType::MAP) {
$this->part_vals = array();
- $_size1089 = 0;
- $_ktype1090 = 0;
- $_vtype1091 = 0;
- $xfer += $input->readMapBegin($_ktype1090, $_vtype1091, $_size1089);
- for ($_i1093 = 0; $_i1093 < $_size1089; ++$_i1093)
+ $_size1096 = 0;
+ $_ktype1097 = 0;
+ $_vtype1098 = 0;
+ $xfer += $input->readMapBegin($_ktype1097, $_vtype1098, $_size1096);
+ for ($_i1100 = 0; $_i1100 < $_size1096; ++$_i1100)
{
- $key1094 = '';
- $val1095 = '';
- $xfer += $input->readString($key1094);
- $xfer += $input->readString($val1095);
- $this->part_vals[$key1094] = $val1095;
+ $key1101 = '';
+ $val1102 = '';
+ $xfer += $input->readString($key1101);
+ $xfer += $input->readString($val1102);
+ $this->part_vals[$key1101] = $val1102;
}
$xfer += $input->readMapEnd();
} else {
@@ -32531,10 +32531,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals));
{
- foreach ($this->part_vals as $kiter1096 => $viter1097)
+ foreach ($this->part_vals as $kiter1103 => $viter1104)
{
- $xfer += $output->writeString($kiter1096);
- $xfer += $output->writeString($viter1097);
+ $xfer += $output->writeString($kiter1103);
+ $xfer += $output->writeString($viter1104);
}
}
$output->writeMapEnd();
@@ -34008,15 +34008,15 @@ class ThriftHiveMetastore_get_indexes_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1098 = 0;
- $_etype1101 = 0;
- $xfer += $input->readListBegin($_etype1101, $_size1098);
- for ($_i1102 = 0; $_i1102 < $_size1098; ++$_i1102)
+ $_size1105 = 0;
+ $_etype1108 = 0;
+ $xfer += $input->readListBegin($_etype1108, $_size1105);
+ for ($_i1109 = 0; $_i1109 < $_size1105; ++$_i1109)
{
- $elem1103 = null;
- $elem1103 = new \metastore\Index();
- $xfer += $elem1103->read($input);
- $this->success []= $elem1103;
+ $elem1110 = null;
+ $elem1110 = new \metastore\Index();
+ $xfer += $elem1110->read($input);
+ $this->success []= $elem1110;
}
$xfer += $input->readListEnd();
} else {
@@ -34060,9 +34060,9 @@ class ThriftHiveMetastore_get_indexes_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter1104)
+ foreach ($this->success as $iter1111)
{
- $xfer += $iter1104->write($output);
+ $xfer += $iter1111->write($output);
}
}
$output->writeListEnd();
@@ -34269,14 +34269,14 @@ class ThriftHiveMetastore_get_index_names_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1105 = 0;
- $_etype1108 = 0;
- $xfer += $input->readListBegin($_etype1108, $_size1105);
- for ($_i1109 = 0; $_i1109 < $_size1105; ++$_i1109)
+ $_size1112 = 0;
+ $_etype1115 = 0;
+ $xfer += $input->readListBegin($_etype1115, $_size1112);
+ for ($_i1116 = 0; $_i1116 < $_size1112; ++$_i1116)
{
- $elem1110 = null;
- $xfer += $input->readString($elem1110);
- $this->success []= $elem1110;
+ $elem1117 = null;
+ $xfer += $input->readString($elem1117);
+ $this->success []= $elem1117;
}
$xfer += $input->readListEnd();
} else {
@@ -34312,9 +34312,9 @@ class ThriftHiveMetastore_get_index_names_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter1111)
+ foreach ($this->success as $iter1118)
{
- $xfer += $output->writeString($iter1111);
+ $xfer += $output->writeString($iter1118);
}
}
$output->writeListEnd();
@@ -38628,14 +38628,14 @@ class ThriftHiveMetastore_get_functions_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1112 = 0;
- $_etype1115 = 0;
- $xfer += $input->readListBegin($_etype1115, $_size1112);
- for ($_i1116 = 0; $_i1116 < $_size1112; ++$_i1116)
+ $_size1119 = 0;
+ $_etype1122 = 0;
+ $xfer += $input->readListBegin($_etype1122, $_size1119);
+ for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123)
{
- $elem1117 = null;
- $xfer += $input->readString($elem1117);
- $this->success []= $elem1117;
+ $elem1124 = null;
+ $xfer += $input->readString($elem1124);
+ $this->success []= $elem1124;
}
$xfer += $input->readListEnd();
} else {
@@ -38671,9 +38671,9 @@ class ThriftHiveMetastore_get_functions_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter1118)
+ foreach ($this->success as $iter1125)
{
- $xfer += $output->writeString($iter1118);
+ $xfer += $output->writeString($iter1125);
}
}
$output->writeListEnd();
@@ -39542,14 +39542,14 @@ class ThriftHiveMetastore_get_role_names_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1119 = 0;
- $_etype1122 = 0;
- $xfer += $input->readListBegin($_etype1122, $_size1119);
- for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123)
+ $_size1126 = 0;
+ $_etype1129 = 0;
+ $xfer += $input->readListBegin($_etype1129, $_size1126);
+ for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130)
{
- $elem1124 = null;
- $xfer += $input->readString($elem1124);
- $this->success []= $elem1124;
+ $elem1131 = null;
+ $xfer += $input->readString($elem1131);
+ $this->success []= $elem1131;
}
$xfer += $input->readListEnd();
} else {
@@ -39585,9 +39585,9 @@ class ThriftHiveMetastore_get_role_names_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter1125)
+ foreach ($this->success as $iter1132)
{
- $xfer += $output->writeString($iter1125);
+ $xfer += $output->writeString($iter1132);
}
}
$output->writeListEnd();
@@ -40278,15 +40278,15 @@ class ThriftHiveMetastore_list_roles_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size1126 = 0;
- $_etype1129 = 0;
- $xfer += $input->readListBegin($_etype1129, $_size1126);
- for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130)
+ $_size1133 = 0;
+ $_etype1136 = 0;
+ $xfer += $input->readListBegin($_etype1136, $_size1133);
+ for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137)
{
- $elem1131 = null;
- $elem1131 = new \metastore\Role();
- $xfer += $elem1131->read($input);
- $this->success []= $elem1131;
+ $elem1138 = null;
+ $elem1138 = new \metastore\Role();
+ $xfer += $elem1138->read($input);
+ $this->success []= $elem1138;
}
$xfer += $input->readListEnd();
} else {
@@ -40322,9 +40322,9 @@ class ThriftHiveMetastore_list_roles_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter1132)
+ foreach ($this->success as $iter1139)
{
- $xfer += $iter1132->write($output);
+ $xfer += $iter1139->write($output);
}
}
$output->writeListEnd();
@@ -40986,14 +40986,14 @@ class ThriftHiveMetastore_get_privilege_set_args {
case 3:
if ($ftype == TType::LST) {
$this->group_names = array();
- $_size1133 = 0;
- $_etype1136 = 0;
- $xfer += $input->readListBegin($_etype1136, $_size1133);
- for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137)
+ $_size1140 = 0;
+ $_etype1143 = 0;
+ $xfer += $input->readListBegin($_etype1143, $_size1140);
+ for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144)
{
- $elem1138 = null;
- $xfer += $input->readString($elem1138);
- $this->group_names []= $elem1138;
+ $elem1145 = null;
+ $xfer += $input->readString($elem1145);
+ $this->grou
<TRUNCATED>
[7/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
index ecf2509..dede79b 100644
--- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
+++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
@@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1012;
- ::apache::thrift::protocol::TType _etype1015;
- xfer += iprot->readListBegin(_etype1015, _size1012);
- this->success.resize(_size1012);
- uint32_t _i1016;
- for (_i1016 = 0; _i1016 < _size1012; ++_i1016)
+ uint32_t _size1018;
+ ::apache::thrift::protocol::TType _etype1021;
+ xfer += iprot->readListBegin(_etype1021, _size1018);
+ this->success.resize(_size1018);
+ uint32_t _i1022;
+ for (_i1022 = 0; _i1022 < _size1018; ++_i1022)
{
- xfer += iprot->readString(this->success[_i1016]);
+ xfer += iprot->readString(this->success[_i1022]);
}
xfer += iprot->readListEnd();
}
@@ -1286,10 +1286,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<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1017;
- for (_iter1017 = this->success.begin(); _iter1017 != this->success.end(); ++_iter1017)
+ std::vector<std::string> ::const_iterator _iter1023;
+ for (_iter1023 = this->success.begin(); _iter1023 != this->success.end(); ++_iter1023)
{
- xfer += oprot->writeString((*_iter1017));
+ xfer += oprot->writeString((*_iter1023));
}
xfer += oprot->writeListEnd();
}
@@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1018;
- ::apache::thrift::protocol::TType _etype1021;
- xfer += iprot->readListBegin(_etype1021, _size1018);
- (*(this->success)).resize(_size1018);
- uint32_t _i1022;
- for (_i1022 = 0; _i1022 < _size1018; ++_i1022)
+ uint32_t _size1024;
+ ::apache::thrift::protocol::TType _etype1027;
+ xfer += iprot->readListBegin(_etype1027, _size1024);
+ (*(this->success)).resize(_size1024);
+ uint32_t _i1028;
+ for (_i1028 = 0; _i1028 < _size1024; ++_i1028)
{
- xfer += iprot->readString((*(this->success))[_i1022]);
+ xfer += iprot->readString((*(this->success))[_i1028]);
}
xfer += iprot->readListEnd();
}
@@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1023;
- ::apache::thrift::protocol::TType _etype1026;
- xfer += iprot->readListBegin(_etype1026, _size1023);
- this->success.resize(_size1023);
- uint32_t _i1027;
- for (_i1027 = 0; _i1027 < _size1023; ++_i1027)
+ uint32_t _size1029;
+ ::apache::thrift::protocol::TType _etype1032;
+ xfer += iprot->readListBegin(_etype1032, _size1029);
+ this->success.resize(_size1029);
+ uint32_t _i1033;
+ for (_i1033 = 0; _i1033 < _size1029; ++_i1033)
{
- xfer += iprot->readString(this->success[_i1027]);
+ xfer += iprot->readString(this->success[_i1033]);
}
xfer += iprot->readListEnd();
}
@@ -1504,10 +1504,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<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1028;
- for (_iter1028 = this->success.begin(); _iter1028 != this->success.end(); ++_iter1028)
+ std::vector<std::string> ::const_iterator _iter1034;
+ for (_iter1034 = this->success.begin(); _iter1034 != this->success.end(); ++_iter1034)
{
- xfer += oprot->writeString((*_iter1028));
+ xfer += oprot->writeString((*_iter1034));
}
xfer += oprot->writeListEnd();
}
@@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1029;
- ::apache::thrift::protocol::TType _etype1032;
- xfer += iprot->readListBegin(_etype1032, _size1029);
- (*(this->success)).resize(_size1029);
- uint32_t _i1033;
- for (_i1033 = 0; _i1033 < _size1029; ++_i1033)
+ uint32_t _size1035;
+ ::apache::thrift::protocol::TType _etype1038;
+ xfer += iprot->readListBegin(_etype1038, _size1035);
+ (*(this->success)).resize(_size1035);
+ uint32_t _i1039;
+ for (_i1039 = 0; _i1039 < _size1035; ++_i1039)
{
- xfer += iprot->readString((*(this->success))[_i1033]);
+ xfer += iprot->readString((*(this->success))[_i1039]);
}
xfer += iprot->readListEnd();
}
@@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size1034;
- ::apache::thrift::protocol::TType _ktype1035;
- ::apache::thrift::protocol::TType _vtype1036;
- xfer += iprot->readMapBegin(_ktype1035, _vtype1036, _size1034);
- uint32_t _i1038;
- for (_i1038 = 0; _i1038 < _size1034; ++_i1038)
+ uint32_t _size1040;
+ ::apache::thrift::protocol::TType _ktype1041;
+ ::apache::thrift::protocol::TType _vtype1042;
+ xfer += iprot->readMapBegin(_ktype1041, _vtype1042, _size1040);
+ uint32_t _i1044;
+ for (_i1044 = 0; _i1044 < _size1040; ++_i1044)
{
- std::string _key1039;
- xfer += iprot->readString(_key1039);
- Type& _val1040 = this->success[_key1039];
- xfer += _val1040.read(iprot);
+ std::string _key1045;
+ xfer += iprot->readString(_key1045);
+ Type& _val1046 = this->success[_key1045];
+ xfer += _val1046.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -2670,11 +2670,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<uint32_t>(this->success.size()));
- std::map<std::string, Type> ::const_iterator _iter1041;
- for (_iter1041 = this->success.begin(); _iter1041 != this->success.end(); ++_iter1041)
+ std::map<std::string, Type> ::const_iterator _iter1047;
+ for (_iter1047 = this->success.begin(); _iter1047 != this->success.end(); ++_iter1047)
{
- xfer += oprot->writeString(_iter1041->first);
- xfer += _iter1041->second.write(oprot);
+ xfer += oprot->writeString(_iter1047->first);
+ xfer += _iter1047->second.write(oprot);
}
xfer += oprot->writeMapEnd();
}
@@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
- uint32_t _size1042;
- ::apache::thrift::protocol::TType _ktype1043;
- ::apache::thrift::protocol::TType _vtype1044;
- xfer += iprot->readMapBegin(_ktype1043, _vtype1044, _size1042);
- uint32_t _i1046;
- for (_i1046 = 0; _i1046 < _size1042; ++_i1046)
+ uint32_t _size1048;
+ ::apache::thrift::protocol::TType _ktype1049;
+ ::apache::thrift::protocol::TType _vtype1050;
+ xfer += iprot->readMapBegin(_ktype1049, _vtype1050, _size1048);
+ uint32_t _i1052;
+ for (_i1052 = 0; _i1052 < _size1048; ++_i1052)
{
- std::string _key1047;
- xfer += iprot->readString(_key1047);
- Type& _val1048 = (*(this->success))[_key1047];
- xfer += _val1048.read(iprot);
+ std::string _key1053;
+ xfer += iprot->readString(_key1053);
+ Type& _val1054 = (*(this->success))[_key1053];
+ xfer += _val1054.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1049;
- ::apache::thrift::protocol::TType _etype1052;
- xfer += iprot->readListBegin(_etype1052, _size1049);
- this->success.resize(_size1049);
- uint32_t _i1053;
- for (_i1053 = 0; _i1053 < _size1049; ++_i1053)
+ uint32_t _size1055;
+ ::apache::thrift::protocol::TType _etype1058;
+ xfer += iprot->readListBegin(_etype1058, _size1055);
+ this->success.resize(_size1055);
+ uint32_t _i1059;
+ for (_i1059 = 0; _i1059 < _size1055; ++_i1059)
{
- xfer += this->success[_i1053].read(iprot);
+ xfer += this->success[_i1059].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -2945,10 +2945,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<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter1054;
- for (_iter1054 = this->success.begin(); _iter1054 != this->success.end(); ++_iter1054)
+ std::vector<FieldSchema> ::const_iterator _iter1060;
+ for (_iter1060 = this->success.begin(); _iter1060 != this->success.end(); ++_iter1060)
{
- xfer += (*_iter1054).write(oprot);
+ xfer += (*_iter1060).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1055;
- ::apache::thrift::protocol::TType _etype1058;
- xfer += iprot->readListBegin(_etype1058, _size1055);
- (*(this->success)).resize(_size1055);
- uint32_t _i1059;
- for (_i1059 = 0; _i1059 < _size1055; ++_i1059)
+ uint32_t _size1061;
+ ::apache::thrift::protocol::TType _etype1064;
+ xfer += iprot->readListBegin(_etype1064, _size1061);
+ (*(this->success)).resize(_size1061);
+ uint32_t _i1065;
+ for (_i1065 = 0; _i1065 < _size1061; ++_i1065)
{
- xfer += (*(this->success))[_i1059].read(iprot);
+ xfer += (*(this->success))[_i1065].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1060;
- ::apache::thrift::protocol::TType _etype1063;
- xfer += iprot->readListBegin(_etype1063, _size1060);
- this->success.resize(_size1060);
- uint32_t _i1064;
- for (_i1064 = 0; _i1064 < _size1060; ++_i1064)
+ uint32_t _size1066;
+ ::apache::thrift::protocol::TType _etype1069;
+ xfer += iprot->readListBegin(_etype1069, _size1066);
+ this->success.resize(_size1066);
+ uint32_t _i1070;
+ for (_i1070 = 0; _i1070 < _size1066; ++_i1070)
{
- xfer += this->success[_i1064].read(iprot);
+ xfer += this->success[_i1070].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3256,10 +3256,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<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter1065;
- for (_iter1065 = this->success.begin(); _iter1065 != this->success.end(); ++_iter1065)
+ std::vector<FieldSchema> ::const_iterator _iter1071;
+ for (_iter1071 = this->success.begin(); _iter1071 != this->success.end(); ++_iter1071)
{
- xfer += (*_iter1065).write(oprot);
+ xfer += (*_iter1071).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1066;
- ::apache::thrift::protocol::TType _etype1069;
- xfer += iprot->readListBegin(_etype1069, _size1066);
- (*(this->success)).resize(_size1066);
- uint32_t _i1070;
- for (_i1070 = 0; _i1070 < _size1066; ++_i1070)
+ uint32_t _size1072;
+ ::apache::thrift::protocol::TType _etype1075;
+ xfer += iprot->readListBegin(_etype1075, _size1072);
+ (*(this->success)).resize(_size1072);
+ uint32_t _i1076;
+ for (_i1076 = 0; _i1076 < _size1072; ++_i1076)
{
- xfer += (*(this->success))[_i1070].read(iprot);
+ xfer += (*(this->success))[_i1076].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1071;
- ::apache::thrift::protocol::TType _etype1074;
- xfer += iprot->readListBegin(_etype1074, _size1071);
- this->success.resize(_size1071);
- uint32_t _i1075;
- for (_i1075 = 0; _i1075 < _size1071; ++_i1075)
+ uint32_t _size1077;
+ ::apache::thrift::protocol::TType _etype1080;
+ xfer += iprot->readListBegin(_etype1080, _size1077);
+ this->success.resize(_size1077);
+ uint32_t _i1081;
+ for (_i1081 = 0; _i1081 < _size1077; ++_i1081)
{
- xfer += this->success[_i1075].read(iprot);
+ xfer += this->success[_i1081].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3551,10 +3551,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<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter1076;
- for (_iter1076 = this->success.begin(); _iter1076 != this->success.end(); ++_iter1076)
+ std::vector<FieldSchema> ::const_iterator _iter1082;
+ for (_iter1082 = this->success.begin(); _iter1082 != this->success.end(); ++_iter1082)
{
- xfer += (*_iter1076).write(oprot);
+ xfer += (*_iter1082).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1077;
- ::apache::thrift::protocol::TType _etype1080;
- xfer += iprot->readListBegin(_etype1080, _size1077);
- (*(this->success)).resize(_size1077);
- uint32_t _i1081;
- for (_i1081 = 0; _i1081 < _size1077; ++_i1081)
+ uint32_t _size1083;
+ ::apache::thrift::protocol::TType _etype1086;
+ xfer += iprot->readListBegin(_etype1086, _size1083);
+ (*(this->success)).resize(_size1083);
+ uint32_t _i1087;
+ for (_i1087 = 0; _i1087 < _size1083; ++_i1087)
{
- xfer += (*(this->success))[_i1081].read(iprot);
+ xfer += (*(this->success))[_i1087].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1082;
- ::apache::thrift::protocol::TType _etype1085;
- xfer += iprot->readListBegin(_etype1085, _size1082);
- this->success.resize(_size1082);
- uint32_t _i1086;
- for (_i1086 = 0; _i1086 < _size1082; ++_i1086)
+ uint32_t _size1088;
+ ::apache::thrift::protocol::TType _etype1091;
+ xfer += iprot->readListBegin(_etype1091, _size1088);
+ this->success.resize(_size1088);
+ uint32_t _i1092;
+ for (_i1092 = 0; _i1092 < _size1088; ++_i1092)
{
- xfer += this->success[_i1086].read(iprot);
+ xfer += this->success[_i1092].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3862,10 +3862,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<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter1087;
- for (_iter1087 = this->success.begin(); _iter1087 != this->success.end(); ++_iter1087)
+ std::vector<FieldSchema> ::const_iterator _iter1093;
+ for (_iter1093 = this->success.begin(); _iter1093 != this->success.end(); ++_iter1093)
{
- xfer += (*_iter1087).write(oprot);
+ xfer += (*_iter1093).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1088;
- ::apache::thrift::protocol::TType _etype1091;
- xfer += iprot->readListBegin(_etype1091, _size1088);
- (*(this->success)).resize(_size1088);
- uint32_t _i1092;
- for (_i1092 = 0; _i1092 < _size1088; ++_i1092)
+ uint32_t _size1094;
+ ::apache::thrift::protocol::TType _etype1097;
+ xfer += iprot->readListBegin(_etype1097, _size1094);
+ (*(this->success)).resize(_size1094);
+ uint32_t _i1098;
+ for (_i1098 = 0; _i1098 < _size1094; ++_i1098)
{
- xfer += (*(this->success))[_i1092].read(iprot);
+ xfer += (*(this->success))[_i1098].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->primaryKeys.clear();
- uint32_t _size1093;
- ::apache::thrift::protocol::TType _etype1096;
- xfer += iprot->readListBegin(_etype1096, _size1093);
- this->primaryKeys.resize(_size1093);
- uint32_t _i1097;
- for (_i1097 = 0; _i1097 < _size1093; ++_i1097)
+ uint32_t _size1099;
+ ::apache::thrift::protocol::TType _etype1102;
+ xfer += iprot->readListBegin(_etype1102, _size1099);
+ this->primaryKeys.resize(_size1099);
+ uint32_t _i1103;
+ for (_i1103 = 0; _i1103 < _size1099; ++_i1103)
{
- xfer += this->primaryKeys[_i1097].read(iprot);
+ xfer += this->primaryKeys[_i1103].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->foreignKeys.clear();
- uint32_t _size1098;
- ::apache::thrift::protocol::TType _etype1101;
- xfer += iprot->readListBegin(_etype1101, _size1098);
- this->foreignKeys.resize(_size1098);
- uint32_t _i1102;
- for (_i1102 = 0; _i1102 < _size1098; ++_i1102)
+ uint32_t _size1104;
+ ::apache::thrift::protocol::TType _etype1107;
+ xfer += iprot->readListBegin(_etype1107, _size1104);
+ this->foreignKeys.resize(_size1104);
+ uint32_t _i1108;
+ for (_i1108 = 0; _i1108 < _size1104; ++_i1108)
{
- xfer += this->foreignKeys[_i1102].read(iprot);
+ xfer += this->foreignKeys[_i1108].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->uniqueConstraints.clear();
- uint32_t _size1103;
- ::apache::thrift::protocol::TType _etype1106;
- xfer += iprot->readListBegin(_etype1106, _size1103);
- this->uniqueConstraints.resize(_size1103);
- uint32_t _i1107;
- for (_i1107 = 0; _i1107 < _size1103; ++_i1107)
+ uint32_t _size1109;
+ ::apache::thrift::protocol::TType _etype1112;
+ xfer += iprot->readListBegin(_etype1112, _size1109);
+ this->uniqueConstraints.resize(_size1109);
+ uint32_t _i1113;
+ for (_i1113 = 0; _i1113 < _size1109; ++_i1113)
{
- xfer += this->uniqueConstraints[_i1107].read(iprot);
+ xfer += this->uniqueConstraints[_i1113].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->notNullConstraints.clear();
- uint32_t _size1108;
- ::apache::thrift::protocol::TType _etype1111;
- xfer += iprot->readListBegin(_etype1111, _size1108);
- this->notNullConstraints.resize(_size1108);
- uint32_t _i1112;
- for (_i1112 = 0; _i1112 < _size1108; ++_i1112)
+ uint32_t _size1114;
+ ::apache::thrift::protocol::TType _etype1117;
+ xfer += iprot->readListBegin(_etype1117, _size1114);
+ this->notNullConstraints.resize(_size1114);
+ uint32_t _i1118;
+ for (_i1118 = 0; _i1118 < _size1114; ++_i1118)
{
- xfer += this->notNullConstraints[_i1112].read(iprot);
+ xfer += this->notNullConstraints[_i1118].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4618,10 +4618,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->primaryKeys.size()));
- std::vector<SQLPrimaryKey> ::const_iterator _iter1113;
- for (_iter1113 = this->primaryKeys.begin(); _iter1113 != this->primaryKeys.end(); ++_iter1113)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter1119;
+ for (_iter1119 = this->primaryKeys.begin(); _iter1119 != this->primaryKeys.end(); ++_iter1119)
{
- xfer += (*_iter1113).write(oprot);
+ xfer += (*_iter1119).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4630,10 +4630,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->foreignKeys.size()));
- std::vector<SQLForeignKey> ::const_iterator _iter1114;
- for (_iter1114 = this->foreignKeys.begin(); _iter1114 != this->foreignKeys.end(); ++_iter1114)
+ std::vector<SQLForeignKey> ::const_iterator _iter1120;
+ for (_iter1120 = this->foreignKeys.begin(); _iter1120 != this->foreignKeys.end(); ++_iter1120)
{
- xfer += (*_iter1114).write(oprot);
+ xfer += (*_iter1120).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4642,10 +4642,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->uniqueConstraints.size()));
- std::vector<SQLUniqueConstraint> ::const_iterator _iter1115;
- for (_iter1115 = this->uniqueConstraints.begin(); _iter1115 != this->uniqueConstraints.end(); ++_iter1115)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter1121;
+ for (_iter1121 = this->uniqueConstraints.begin(); _iter1121 != this->uniqueConstraints.end(); ++_iter1121)
{
- xfer += (*_iter1115).write(oprot);
+ xfer += (*_iter1121).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4654,10 +4654,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->notNullConstraints.size()));
- std::vector<SQLNotNullConstraint> ::const_iterator _iter1116;
- for (_iter1116 = this->notNullConstraints.begin(); _iter1116 != this->notNullConstraints.end(); ++_iter1116)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter1122;
+ for (_iter1122 = this->notNullConstraints.begin(); _iter1122 != this->notNullConstraints.end(); ++_iter1122)
{
- xfer += (*_iter1116).write(oprot);
+ xfer += (*_iter1122).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4685,10 +4685,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->primaryKeys)).size()));
- std::vector<SQLPrimaryKey> ::const_iterator _iter1117;
- for (_iter1117 = (*(this->primaryKeys)).begin(); _iter1117 != (*(this->primaryKeys)).end(); ++_iter1117)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter1123;
+ for (_iter1123 = (*(this->primaryKeys)).begin(); _iter1123 != (*(this->primaryKeys)).end(); ++_iter1123)
{
- xfer += (*_iter1117).write(oprot);
+ xfer += (*_iter1123).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4697,10 +4697,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->foreignKeys)).size()));
- std::vector<SQLForeignKey> ::const_iterator _iter1118;
- for (_iter1118 = (*(this->foreignKeys)).begin(); _iter1118 != (*(this->foreignKeys)).end(); ++_iter1118)
+ std::vector<SQLForeignKey> ::const_iterator _iter1124;
+ for (_iter1124 = (*(this->foreignKeys)).begin(); _iter1124 != (*(this->foreignKeys)).end(); ++_iter1124)
{
- xfer += (*_iter1118).write(oprot);
+ xfer += (*_iter1124).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4709,10 +4709,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->uniqueConstraints)).size()));
- std::vector<SQLUniqueConstraint> ::const_iterator _iter1119;
- for (_iter1119 = (*(this->uniqueConstraints)).begin(); _iter1119 != (*(this->uniqueConstraints)).end(); ++_iter1119)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter1125;
+ for (_iter1125 = (*(this->uniqueConstraints)).begin(); _iter1125 != (*(this->uniqueConstraints)).end(); ++_iter1125)
{
- xfer += (*_iter1119).write(oprot);
+ xfer += (*_iter1125).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4721,10 +4721,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->notNullConstraints)).size()));
- std::vector<SQLNotNullConstraint> ::const_iterator _iter1120;
- for (_iter1120 = (*(this->notNullConstraints)).begin(); _iter1120 != (*(this->notNullConstraints)).end(); ++_iter1120)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter1126;
+ for (_iter1126 = (*(this->notNullConstraints)).begin(); _iter1126 != (*(this->notNullConstraints)).end(); ++_iter1126)
{
- xfer += (*_iter1120).write(oprot);
+ xfer += (*_iter1126).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -6478,14 +6478,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partNames.clear();
- uint32_t _size1121;
- ::apache::thrift::protocol::TType _etype1124;
- xfer += iprot->readListBegin(_etype1124, _size1121);
- this->partNames.resize(_size1121);
- uint32_t _i1125;
- for (_i1125 = 0; _i1125 < _size1121; ++_i1125)
+ uint32_t _size1127;
+ ::apache::thrift::protocol::TType _etype1130;
+ xfer += iprot->readListBegin(_etype1130, _size1127);
+ this->partNames.resize(_size1127);
+ uint32_t _i1131;
+ for (_i1131 = 0; _i1131 < _size1127; ++_i1131)
{
- xfer += iprot->readString(this->partNames[_i1125]);
+ xfer += iprot->readString(this->partNames[_i1131]);
}
xfer += iprot->readListEnd();
}
@@ -6522,10 +6522,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->partNames.size()));
- std::vector<std::string> ::const_iterator _iter1126;
- for (_iter1126 = this->partNames.begin(); _iter1126 != this->partNames.end(); ++_iter1126)
+ std::vector<std::string> ::const_iterator _iter1132;
+ for (_iter1132 = this->partNames.begin(); _iter1132 != this->partNames.end(); ++_iter1132)
{
- xfer += oprot->writeString((*_iter1126));
+ xfer += oprot->writeString((*_iter1132));
}
xfer += oprot->writeListEnd();
}
@@ -6557,10 +6557,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->partNames)).size()));
- std::vector<std::string> ::const_iterator _iter1127;
- for (_iter1127 = (*(this->partNames)).begin(); _iter1127 != (*(this->partNames)).end(); ++_iter1127)
+ std::vector<std::string> ::const_iterator _iter1133;
+ for (_iter1133 = (*(this->partNames)).begin(); _iter1133 != (*(this->partNames)).end(); ++_iter1133)
{
- xfer += oprot->writeString((*_iter1127));
+ xfer += oprot->writeString((*_iter1133));
}
xfer += oprot->writeListEnd();
}
@@ -6804,14 +6804,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1128;
- ::apache::thrift::protocol::TType _etype1131;
- xfer += iprot->readListBegin(_etype1131, _size1128);
- this->success.resize(_size1128);
- uint32_t _i1132;
- for (_i1132 = 0; _i1132 < _size1128; ++_i1132)
+ uint32_t _size1134;
+ ::apache::thrift::protocol::TType _etype1137;
+ xfer += iprot->readListBegin(_etype1137, _size1134);
+ this->success.resize(_size1134);
+ uint32_t _i1138;
+ for (_i1138 = 0; _i1138 < _size1134; ++_i1138)
{
- xfer += iprot->readString(this->success[_i1132]);
+ xfer += iprot->readString(this->success[_i1138]);
}
xfer += iprot->readListEnd();
}
@@ -6850,10 +6850,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<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1133;
- for (_iter1133 = this->success.begin(); _iter1133 != this->success.end(); ++_iter1133)
+ std::vector<std::string> ::const_iterator _iter1139;
+ for (_iter1139 = this->success.begin(); _iter1139 != this->success.end(); ++_iter1139)
{
- xfer += oprot->writeString((*_iter1133));
+ xfer += oprot->writeString((*_iter1139));
}
xfer += oprot->writeListEnd();
}
@@ -6898,14 +6898,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1134;
- ::apache::thrift::protocol::TType _etype1137;
- xfer += iprot->readListBegin(_etype1137, _size1134);
- (*(this->success)).resize(_size1134);
- uint32_t _i1138;
- for (_i1138 = 0; _i1138 < _size1134; ++_i1138)
+ uint32_t _size1140;
+ ::apache::thrift::protocol::TType _etype1143;
+ xfer += iprot->readListBegin(_etype1143, _size1140);
+ (*(this->success)).resize(_size1140);
+ uint32_t _i1144;
+ for (_i1144 = 0; _i1144 < _size1140; ++_i1144)
{
- xfer += iprot->readString((*(this->success))[_i1138]);
+ xfer += iprot->readString((*(this->success))[_i1144]);
}
xfer += iprot->readListEnd();
}
@@ -7075,14 +7075,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1139;
- ::apache::thrift::protocol::TType _etype1142;
- xfer += iprot->readListBegin(_etype1142, _size1139);
- this->success.resize(_size1139);
- uint32_t _i1143;
- for (_i1143 = 0; _i1143 < _size1139; ++_i1143)
+ uint32_t _size1145;
+ ::apache::thrift::protocol::TType _etype1148;
+ xfer += iprot->readListBegin(_etype1148, _size1145);
+ this->success.resize(_size1145);
+ uint32_t _i1149;
+ for (_i1149 = 0; _i1149 < _size1145; ++_i1149)
{
- xfer += iprot->readString(this->success[_i1143]);
+ xfer += iprot->readString(this->success[_i1149]);
}
xfer += iprot->readListEnd();
}
@@ -7121,10 +7121,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift::
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1144;
- for (_iter1144 = this->success.begin(); _iter1144 != this->success.end(); ++_iter1144)
+ std::vector<std::string> ::const_iterator _iter1150;
+ for (_iter1150 = this->success.begin(); _iter1150 != this->success.end(); ++_iter1150)
{
- xfer += oprot->writeString((*_iter1144));
+ xfer += oprot->writeString((*_iter1150));
}
xfer += oprot->writeListEnd();
}
@@ -7169,14 +7169,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1145;
- ::apache::thrift::protocol::TType _etype1148;
- xfer += iprot->readListBegin(_etype1148, _size1145);
- (*(this->success)).resize(_size1145);
- uint32_t _i1149;
- for (_i1149 = 0; _i1149 < _size1145; ++_i1149)
+ uint32_t _size1151;
+ ::apache::thrift::protocol::TType _etype1154;
+ xfer += iprot->readListBegin(_etype1154, _size1151);
+ (*(this->success)).resize(_size1151);
+ uint32_t _i1155;
+ for (_i1155 = 0; _i1155 < _size1151; ++_i1155)
{
- xfer += iprot->readString((*(this->success))[_i1149]);
+ xfer += iprot->readString((*(this->success))[_i1155]);
}
xfer += iprot->readListEnd();
}
@@ -7251,14 +7251,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->tbl_types.clear();
- uint32_t _size1150;
- ::apache::thrift::protocol::TType _etype1153;
- xfer += iprot->readListBegin(_etype1153, _size1150);
- this->tbl_types.resize(_size1150);
- uint32_t _i1154;
- for (_i1154 = 0; _i1154 < _size1150; ++_i1154)
+ uint32_t _size1156;
+ ::apache::thrift::protocol::TType _etype1159;
+ xfer += iprot->readListBegin(_etype1159, _size1156);
+ this->tbl_types.resize(_size1156);
+ uint32_t _i1160;
+ for (_i1160 = 0; _i1160 < _size1156; ++_i1160)
{
- xfer += iprot->readString(this->tbl_types[_i1154]);
+ xfer += iprot->readString(this->tbl_types[_i1160]);
}
xfer += iprot->readListEnd();
}
@@ -7295,10 +7295,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->tbl_types.size()));
- std::vector<std::string> ::const_iterator _iter1155;
- for (_iter1155 = this->tbl_types.begin(); _iter1155 != this->tbl_types.end(); ++_iter1155)
+ std::vector<std::string> ::const_iterator _iter1161;
+ for (_iter1161 = this->tbl_types.begin(); _iter1161 != this->tbl_types.end(); ++_iter1161)
{
- xfer += oprot->writeString((*_iter1155));
+ xfer += oprot->writeString((*_iter1161));
}
xfer += oprot->writeListEnd();
}
@@ -7330,10 +7330,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->tbl_types)).size()));
- std::vector<std::string> ::const_iterator _iter1156;
- for (_iter1156 = (*(this->tbl_types)).begin(); _iter1156 != (*(this->tbl_types)).end(); ++_iter1156)
+ std::vector<std::string> ::const_iterator _iter1162;
+ for (_iter1162 = (*(this->tbl_types)).begin(); _iter1162 != (*(this->tbl_types)).end(); ++_iter1162)
{
- xfer += oprot->writeString((*_iter1156));
+ xfer += oprot->writeString((*_iter1162));
}
xfer += oprot->writeListEnd();
}
@@ -7374,14 +7374,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1157;
- ::apache::thrift::protocol::TType _etype1160;
- xfer += iprot->readListBegin(_etype1160, _size1157);
- this->success.resize(_size1157);
- uint32_t _i1161;
- for (_i1161 = 0; _i1161 < _size1157; ++_i1161)
+ uint32_t _size1163;
+ ::apache::thrift::protocol::TType _etype1166;
+ xfer += iprot->readListBegin(_etype1166, _size1163);
+ this->success.resize(_size1163);
+ uint32_t _i1167;
+ for (_i1167 = 0; _i1167 < _size1163; ++_i1167)
{
- xfer += this->success[_i1161].read(iprot);
+ xfer += this->success[_i1167].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7420,10 +7420,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_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<uint32_t>(this->success.size()));
- std::vector<TableMeta> ::const_iterator _iter1162;
- for (_iter1162 = this->success.begin(); _iter1162 != this->success.end(); ++_iter1162)
+ std::vector<TableMeta> ::const_iterator _iter1168;
+ for (_iter1168 = this->success.begin(); _iter1168 != this->success.end(); ++_iter1168)
{
- xfer += (*_iter1162).write(oprot);
+ xfer += (*_iter1168).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7468,14 +7468,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1163;
- ::apache::thrift::protocol::TType _etype1166;
- xfer += iprot->readListBegin(_etype1166, _size1163);
- (*(this->success)).resize(_size1163);
- uint32_t _i1167;
- for (_i1167 = 0; _i1167 < _size1163; ++_i1167)
+ uint32_t _size1169;
+ ::apache::thrift::protocol::TType _etype1172;
+ xfer += iprot->readListBegin(_etype1172, _size1169);
+ (*(this->success)).resize(_size1169);
+ uint32_t _i1173;
+ for (_i1173 = 0; _i1173 < _size1169; ++_i1173)
{
- xfer += (*(this->success))[_i1167].read(iprot);
+ xfer += (*(this->success))[_i1173].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7613,14 +7613,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1168;
- ::apache::thrift::protocol::TType _etype1171;
- xfer += iprot->readListBegin(_etype1171, _size1168);
- this->success.resize(_size1168);
- uint32_t _i1172;
- for (_i1172 = 0; _i1172 < _size1168; ++_i1172)
+ uint32_t _size1174;
+ ::apache::thrift::protocol::TType _etype1177;
+ xfer += iprot->readListBegin(_etype1177, _size1174);
+ this->success.resize(_size1174);
+ uint32_t _i1178;
+ for (_i1178 = 0; _i1178 < _size1174; ++_i1178)
{
- xfer += iprot->readString(this->success[_i1172]);
+ xfer += iprot->readString(this->success[_i1178]);
}
xfer += iprot->readListEnd();
}
@@ -7659,10 +7659,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<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1173;
- for (_iter1173 = this->success.begin(); _iter1173 != this->success.end(); ++_iter1173)
+ std::vector<std::string> ::const_iterator _iter1179;
+ for (_iter1179 = this->success.begin(); _iter1179 != this->success.end(); ++_iter1179)
{
- xfer += oprot->writeString((*_iter1173));
+ xfer += oprot->writeString((*_iter1179));
}
xfer += oprot->writeListEnd();
}
@@ -7707,14 +7707,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1174;
- ::apache::thrift::protocol::TType _etype1177;
- xfer += iprot->readListBegin(_etype1177, _size1174);
- (*(this->success)).resize(_size1174);
- uint32_t _i1178;
- for (_i1178 = 0; _i1178 < _size1174; ++_i1178)
+ uint32_t _size1180;
+ ::apache::thrift::protocol::TType _etype1183;
+ xfer += iprot->readListBegin(_etype1183, _size1180);
+ (*(this->success)).resize(_size1180);
+ uint32_t _i1184;
+ for (_i1184 = 0; _i1184 < _size1180; ++_i1184)
{
- xfer += iprot->readString((*(this->success))[_i1178]);
+ xfer += iprot->readString((*(this->success))[_i1184]);
}
xfer += iprot->readListEnd();
}
@@ -8024,14 +8024,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 _size1179;
- ::apache::thrift::protocol::TType _etype1182;
- xfer += iprot->readListBegin(_etype1182, _size1179);
- this->tbl_names.resize(_size1179);
- uint32_t _i1183;
- for (_i1183 = 0; _i1183 < _size1179; ++_i1183)
+ uint32_t _size1185;
+ ::apache::thrift::protocol::TType _etype1188;
+ xfer += iprot->readListBegin(_etype1188, _size1185);
+ this->tbl_names.resize(_size1185);
+ uint32_t _i1189;
+ for (_i1189 = 0; _i1189 < _size1185; ++_i1189)
{
- xfer += iprot->readString(this->tbl_names[_i1183]);
+ xfer += iprot->readString(this->tbl_names[_i1189]);
}
xfer += iprot->readListEnd();
}
@@ -8064,10 +8064,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<uint32_t>(this->tbl_names.size()));
- std::vector<std::string> ::const_iterator _iter1184;
- for (_iter1184 = this->tbl_names.begin(); _iter1184 != this->tbl_names.end(); ++_iter1184)
+ std::vector<std::string> ::const_iterator _iter1190;
+ for (_iter1190 = this->tbl_names.begin(); _iter1190 != this->tbl_names.end(); ++_iter1190)
{
- xfer += oprot->writeString((*_iter1184));
+ xfer += oprot->writeString((*_iter1190));
}
xfer += oprot->writeListEnd();
}
@@ -8095,10 +8095,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<uint32_t>((*(this->tbl_names)).size()));
- std::vector<std::string> ::const_iterator _iter1185;
- for (_iter1185 = (*(this->tbl_names)).begin(); _iter1185 != (*(this->tbl_names)).end(); ++_iter1185)
+ std::vector<std::string> ::const_iterator _iter1191;
+ for (_iter1191 = (*(this->tbl_names)).begin(); _iter1191 != (*(this->tbl_names)).end(); ++_iter1191)
{
- xfer += oprot->writeString((*_iter1185));
+ xfer += oprot->writeString((*_iter1191));
}
xfer += oprot->writeListEnd();
}
@@ -8139,14 +8139,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 _size1186;
- ::apache::thrift::protocol::TType _etype1189;
- xfer += iprot->readListBegin(_etype1189, _size1186);
- this->success.resize(_size1186);
- uint32_t _i1190;
- for (_i1190 = 0; _i1190 < _size1186; ++_i1190)
+ uint32_t _size1192;
+ ::apache::thrift::protocol::TType _etype1195;
+ xfer += iprot->readListBegin(_etype1195, _size1192);
+ this->success.resize(_size1192);
+ uint32_t _i1196;
+ for (_i1196 = 0; _i1196 < _size1192; ++_i1196)
{
- xfer += this->success[_i1190].read(iprot);
+ xfer += this->success[_i1196].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8177,10 +8177,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<uint32_t>(this->success.size()));
- std::vector<Table> ::const_iterator _iter1191;
- for (_iter1191 = this->success.begin(); _iter1191 != this->success.end(); ++_iter1191)
+ std::vector<Table> ::const_iterator _iter1197;
+ for (_iter1197 = this->success.begin(); _iter1197 != this->success.end(); ++_iter1197)
{
- xfer += (*_iter1191).write(oprot);
+ xfer += (*_iter1197).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -8221,14 +8221,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 _size1192;
- ::apache::thrift::protocol::TType _etype1195;
- xfer += iprot->readListBegin(_etype1195, _size1192);
- (*(this->success)).resize(_size1192);
- uint32_t _i1196;
- for (_i1196 = 0; _i1196 < _size1192; ++_i1196)
+ uint32_t _size1198;
+ ::apache::thrift::protocol::TType _etype1201;
+ xfer += iprot->readListBegin(_etype1201, _size1198);
+ (*(this->success)).resize(_size1198);
+ uint32_t _i1202;
+ for (_i1202 = 0; _i1202 < _size1198; ++_i1202)
{
- xfer += (*(this->success))[_i1196].read(iprot);
+ xfer += (*(this->success))[_i1202].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8864,14 +8864,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 _size1197;
- ::apache::thrift::protocol::TType _etype1200;
- xfer += iprot->readListBegin(_etype1200, _size1197);
- this->success.resize(_size1197);
- uint32_t _i1201;
- for (_i1201 = 0; _i1201 < _size1197; ++_i1201)
+ uint32_t _size1203;
+ ::apache::thrift::protocol::TType _etype1206;
+ xfer += iprot->readListBegin(_etype1206, _size1203);
+ this->success.resize(_size1203);
+ uint32_t _i1207;
+ for (_i1207 = 0; _i1207 < _size1203; ++_i1207)
{
- xfer += iprot->readString(this->success[_i1201]);
+ xfer += iprot->readString(this->success[_i1207]);
}
xfer += iprot->readListEnd();
}
@@ -8926,10 +8926,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<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1202;
- for (_iter1202 = this->success.begin(); _iter1202 != this->success.end(); ++_iter1202)
+ std::vector<std::string> ::const_iterator _iter1208;
+ for (_iter1208 = this->success.begin(); _iter1208 != this->success.end(); ++_iter1208)
{
- xfer += oprot->writeString((*_iter1202));
+ xfer += oprot->writeString((*_iter1208));
}
xfer += oprot->writeListEnd();
}
@@ -8982,14 +8982,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 _size1203;
- ::apache::thrift::protocol::TType _etype1206;
- xfer += iprot->readListBegin(_etype1206, _size1203);
- (*(this->success)).resize(_size1203);
- uint32_t _i1207;
- for (_i1207 = 0; _i1207 < _size1203; ++_i1207)
+ uint32_t _size1209;
+ ::apache::thrift::protocol::TType _etype1212;
+ xfer += iprot->readListBegin(_etype1212, _size1209);
+ (*(this->success)).resize(_size1209);
+ uint32_t _i1213;
+ for (_i1213 = 0; _i1213 < _size1209; ++_i1213)
{
- xfer += iprot->readString((*(this->success))[_i1207]);
+ xfer += iprot->readString((*(this->success))[_i1213]);
}
xfer += iprot->readListEnd();
}
@@ -10323,14 +10323,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->new_parts.clear();
- uint32_t _size1208;
- ::apache::thrift::protocol::TType _etype1211;
- xfer += iprot->readListBegin(_etype1211, _size1208);
- this->new_parts.resize(_size1208);
- uint32_t _i1212;
- for (_i1212 = 0; _i1212 < _size1208; ++_i1212)
+ uint32_t _size1214;
+ ::apache::thrift::protocol::TType _etype1217;
+ xfer += iprot->readListBegin(_etype1217, _size1214);
+ this->new_parts.resize(_size1214);
+ uint32_t _i1218;
+ for (_i1218 = 0; _i1218 < _size1214; ++_i1218)
{
- xfer += this->new_parts[_i1212].read(iprot);
+ xfer += this->new_parts[_i1218].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10359,10 +10359,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<uint32_t>(this->new_parts.size()));
- std::vector<Partition> ::const_iterator _iter1213;
- for (_iter1213 = this->new_parts.begin(); _iter1213 != this->new_parts.end(); ++_iter1213)
+ std::vector<Partition> ::const_iterator _iter1219;
+ for (_iter1219 = this->new_parts.begin(); _iter1219 != this->new_parts.end(); ++_iter1219)
{
- xfer += (*_iter1213).write(oprot);
+ xfer += (*_iter1219).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10386,10 +10386,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<uint32_t>((*(this->new_parts)).size()));
- std::vector<Partition> ::const_iterator _iter1214;
- for (_iter1214 = (*(this->new_parts)).begin(); _iter1214 != (*(this->new_parts)).end(); ++_iter1214)
+ std::vector<Partition> ::const_iterator _iter1220;
+ for (_iter1220 = (*(this->new_parts)).begin(); _iter1220 != (*(this->new_parts)).end(); ++_iter1220)
{
- xfer += (*_iter1214).write(oprot);
+ xfer += (*_iter1220).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10598,14 +10598,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 _size1215;
- ::apache::thrift::protocol::TType _etype1218;
- xfer += iprot->readListBegin(_etype1218, _size1215);
- this->new_parts.resize(_size1215);
- uint32_t _i1219;
- for (_i1219 = 0; _i1219 < _size1215; ++_i1219)
+ uint32_t _size1221;
+ ::apache::thrift::protocol::TType _etype1224;
+ xfer += iprot->readListBegin(_etype1224, _size1221);
+ this->new_parts.resize(_size1221);
+ uint32_t _i1225;
+ for (_i1225 = 0; _i1225 < _size1221; ++_i1225)
{
- xfer += this->new_parts[_i1219].read(iprot);
+ xfer += this->new_parts[_i1225].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10634,10 +10634,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<uint32_t>(this->new_parts.size()));
- std::vector<PartitionSpec> ::const_iterator _iter1220;
- for (_iter1220 = this->new_parts.begin(); _iter1220 != this->new_parts.end(); ++_iter1220)
+ std::vector<PartitionSpec> ::const_iterator _iter1226;
+ for (_iter1226 = this->new_parts.begin(); _iter1226 != this->new_parts.end(); ++_iter1226)
{
- xfer += (*_iter1220).write(oprot);
+ xfer += (*_iter1226).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10661,10 +10661,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<uint32_t>((*(this->new_parts)).size()));
- std::vector<PartitionSpec> ::const_iterator _iter1221;
- for (_iter1221 = (*(this->new_parts)).begin(); _iter1221 != (*(this->new_parts)).end(); ++_iter1221)
+ std::vector<PartitionSpec> ::const_iterator _iter1227;
+ for (_iter1227 = (*(this->new_parts)).begin(); _iter1227 != (*(this->new_parts)).end(); ++_iter1227)
{
- xfer += (*_iter1221).write(oprot);
+ xfer += (*_iter1227).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10889,14 +10889,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size1222;
- ::apache::thrift::protocol::TType _etype1225;
- xfer += iprot->readListBegin(_etype1225, _size1222);
- this->part_vals.resize(_size1222);
- uint32_t _i1226;
- for (_i1226 = 0; _i1226 < _size1222; ++_i1226)
+ uint32_t _size1228;
+ ::apache::thrift::protocol::TType _etype1231;
+ xfer += iprot->readListBegin(_etype1231, _size1228);
+ this->part_vals.resize(_size1228);
+ uint32_t _i1232;
+ for (_i1232 = 0; _i1232 < _size1228; ++_i1232)
{
- xfer += iprot->readString(this->part_vals[_i1226]);
+ xfer += iprot->readString(this->part_vals[_i1232]);
}
xfer += iprot->readListEnd();
}
@@ -10933,10 +10933,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<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter1227;
- for (_iter1227 = this->part_vals.begin(); _iter1227 != this->part_vals.end(); ++_iter1227)
+ std::vector<std::string> ::const_iterator _iter1233;
+ for (_iter1233 = this->part_vals.begin(); _iter1233 != this->part_vals.end(); ++_iter1233)
{
- xfer += oprot->writeString((*_iter1227));
+ xfer += oprot->writeString((*_iter1233));
}
xfer += oprot->writeListEnd();
}
@@ -10968,10 +10968,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<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter1228;
- for (_iter1228 = (*(this->part_vals)).begin(); _iter1228 != (*(this->part_vals)).end(); ++_iter1228)
+ std::vector<std::string> ::const_iterator _iter1234;
+ for (_iter1234 = (*(this->part_vals)).begin(); _iter1234 != (*(this->part_vals)).end(); ++_iter1234)
{
- xfer += oprot->writeString((*_iter1228));
+ xfer += oprot->writeString((*_iter1234));
}
xfer += oprot->writeListEnd();
}
@@ -11443,14 +11443,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size1229;
- ::apache::thrift::protocol::TType _etype1232;
- xfer += iprot->readListBegin(_etype1232, _size1229);
- this->part_vals.resize(_size1229);
- uint32_t _i1233;
- for (_i1233 = 0; _i1233 < _size1229; ++_i1233)
+ uint32_t _size1235;
+ ::apache::thrift::protocol::TType _etype1238;
+ xfer += iprot->readListBegin(_etype1238, _size1235);
+ this->part_vals.resize(_size1235);
+ uint32_t _i1239;
+ for (_i1239 = 0; _i1239 < _size1235; ++_i1239)
{
- xfer += iprot->readString(this->part_vals[_i1233]);
+ xfer += iprot->readString(this->part_vals[_i1239]);
}
xfer += iprot->readListEnd();
}
@@ -11495,10 +11495,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<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter1234;
- for (_iter1234 = this->part_vals.begin(); _iter1234 != this->part_vals.end(); ++_iter1234)
+ std::vector<std::string> ::const_iterator _iter1240;
+ for (_iter1240 = this->part_vals.begin(); _iter1240 != this->part_vals.end(); ++_iter1240)
{
- xfer += oprot->writeString((*_iter1234));
+ xfer += oprot->writeString((*_iter1240));
}
xfer += oprot->writeListEnd();
}
@@ -11534,10 +11534,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<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter1235;
- for (_iter1235 = (*(this->part_vals)).begin(); _iter1235 != (*(this->part_vals)).end(); ++_iter1235)
+ std::vector<std::string> ::const_iterator _iter1241;
+ for (_iter1241 = (*(this->part_vals)).begin(); _iter1241 != (*(this->part_vals)).end(); ++_iter1241)
{
- xfer += oprot->writeString((*_iter1235));
+ xfer += oprot->writeString((*_iter1241));
}
xfer += oprot->writeListEnd();
}
@@ -12340,14 +12340,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size1236;
- ::apache::thrift::protocol::TType _etype1239;
- xfer += iprot->readListBegin(_etype1239, _size1236);
- this->part_vals.resize(_size1236);
- uint32_t _i1240;
- for (_i1240 = 0; _i1240 < _size1236; ++_i1240)
+ uint32_t _size1242;
+ ::apache::thrift::protocol::TType _etype1245;
+ xfer += iprot->readListBegin(_etype1245, _size1242);
+ this->part_vals.resize(_size1242);
+ uint32_t _i1246;
+ for (_i1246 = 0; _i1246 < _size1242; ++_i1246)
{
- xfer += iprot->readString(this->part_vals[_i1240]);
+ xfer += iprot->readString(this->part_vals[_i1246]);
}
xfer += iprot->readListEnd();
}
@@ -12392,10 +12392,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<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter1241;
- for (_iter1241 = this->part_vals.begin(); _iter1241 != this->part_vals.end(); ++_iter1241)
+ std::vector<std::string> ::const_iterator _iter1247;
+ for (_iter1247 = this->part_vals.begin(); _iter1247 != this->part_vals.end(); ++_iter1247)
{
- xfer += oprot->writeString((*_iter1241));
+ xfer += oprot->writeString((*_iter1247));
}
xfer += oprot->writeListEnd();
}
@@ -12431,10 +12431,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<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter1242;
- for (_iter1242 = (*(this->part_vals)).begin(); _iter1242 != (*(this->part_vals)).end(); ++_iter1242)
+ std::vector<std::string> ::const_iterator _iter1248;
+ for (_iter1248 = (*(this->part_vals)).begin(); _iter1248 != (*(this->part_vals)).end(); ++_iter1248)
{
- xfer += oprot->writeString((*_iter1242));
+ xfer += oprot->writeString((*_iter1248));
}
xfer += oprot->writeListEnd();
}
@@ -12643,14 +12643,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read(
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size1243;
- ::apache::thrift::protocol::TType _etype1246;
- xfer += iprot->readListBegin(_etype1246, _size1243);
- this->part_vals.resize(_size1243);
- uint32_t _i1247;
- for (_i1247 = 0; _i1247 < _size1243; ++_i1247)
+ uint32_t _size1249;
+ ::apache::thrift::protocol::TType _etype1252;
+ xfer += iprot->readListBegin(_etype1252, _size1249);
+ this->part_vals.resize(_size1249);
+ uint32_t _i1253;
+ for (_i1253 = 0; _i1253 < _size1249; ++_i1253)
{
- xfer += iprot->readString(this->part_vals[_i1247]);
+ xfer += iprot->readString(this->part_vals[_i1253]);
}
xfer += iprot->readListEnd();
}
@@ -12703,10 +12703,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<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter1248;
- for (_iter1248 = this->part_vals.begin(); _iter1248 != this->part_vals.end(); ++_iter1248)
+ std::vector<std::string> ::const_iterator _iter1254;
+ for (_iter1254 = this->part_vals.begin(); _iter1254 != this->part_vals.end(); ++_iter1254)
{
- xfer += oprot->writeString((*_iter1248));
+ xfer += oprot->writeString((*_iter1254));
}
xfer += oprot->writeListEnd();
}
@@ -12746,10 +12746,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<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter1249;
- for (_iter1249 = (*(this->part_vals)).begin(); _iter1249 != (*(this->part_vals)).end(); ++_iter1249)
+ std::vector<std::string> ::const_iterator _iter1255;
+ for (_iter1255 = (*(this->part_vals)).begin(); _iter1255 != (*(this->part_vals)).end(); ++_iter1255)
{
- xfer += oprot->writeString((*_iter1249));
+ xfer += oprot->writeString((*_iter1255));
}
xfer += oprot->writeListEnd();
}
@@ -13755,14 +13755,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size1250;
- ::apache::thrift::protocol::TType _etype1253;
- xfer += iprot->readListBegin(_etype1253, _size1250);
- this->part_vals.resize(_size1250);
- uint32_t _i1254;
- for (_i1254 = 0; _i1254 < _size1250; ++_i1254)
+ uint32_t _size1256;
+ ::apache::thrift::protocol::TType _etype1259;
+ xfer += iprot->readListBegin(_etype1259, _size1256);
+ this->part_vals.resize(_size1256);
+ uint32_t _i1260;
+ for (_i1260 = 0; _i1260 < _size1256; ++_i1260)
{
- xfer += iprot->readString(this->part_vals[_i1254]);
+ xfer += iprot->readString(this->part_vals[_i1260]);
}
xfer += iprot->readListEnd();
}
@@ -13799,10 +13799,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<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter1255;
- for (_iter1255 = this->part_vals.begin(); _iter1255 != this->part_vals.end(); ++_iter1255)
+ std::vector<std::string> ::const_iterator _iter1261;
+ for (_iter1261 = this->part_vals.begin(); _iter1261 != this->part_vals.end(); ++_iter1261)
{
- xfer += oprot->writeString((*_iter1255));
+ xfer += oprot->writeString((*_iter1261));
}
xfer += oprot->writeListEnd();
}
@@ -13834,10 +13834,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<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter1256;
- for (_iter1256 = (*(this->part_vals)).begin(); _iter1256 != (*(this->part_vals)).end(); ++_iter1256)
+ std::vector<std::string> ::const_iterator _iter1262;
+ for (_iter1262 = (*(this->part_vals)).begin(); _iter1262 != (*(this->part_vals)).end(); ++_iter1262)
{
- xfer += oprot->writeString((*_iter1256));
+ xfer += oprot->writeString((*_iter1262));
}
xfer += oprot->writeListEnd();
}
@@ -14026,17 +14026,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->partitionSpecs.clear();
- uint32_t _size1257;
- ::apache::thrift::protocol::TType _ktype1258;
- ::apache::thrift::protocol::TType _vtype1259;
- xfer += iprot->readMapBegin(_ktype1258, _vtype1259, _size1257);
- uint32_t _i1261;
- for (_i1261 = 0; _i1261 < _size1257; ++_i1261)
+ uint32_t _size1263;
+ ::apache::thrift::protocol::TType _ktype1264;
+ ::apache::thrift::protocol::TType _vtype1265;
+ xfer += iprot->readMapBegin(_ktype1264, _vtype1265, _size1263);
+ uint32_t _i1267;
+ for (_i1267 = 0; _i1267 < _size1263; ++_i1267)
{
- std::string _key1262;
- xfer += iprot->readString(_key1262);
- std::string& _val1263 = this->partitionSpecs[_key1262];
- xfer += iprot->readString(_val1263);
+ std::string _key1268;
+ xfer += iprot->readString(_key1268);
+ std::string& _val1269 = this->partitionSpecs[_key1268];
+ xfer += iprot->readString(_val1269);
}
xfer += iprot->readMapEnd();
}
@@ -14097,11 +14097,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<uint32_t>(this->partitionSpecs.size()));
- std::map<std::string, std::string> ::const_iterator _iter1264;
- for (_iter1264 = this->partitionSpecs.begin(); _iter1264 != this->partitionSpecs.end(); ++_iter1264)
+ std::map<std::string, std::string> ::const_iterator _iter1270;
+ for (_iter1270 = this->partitionSpecs.begin(); _iter1270 != this->partitionSpecs.end(); ++_iter1270)
{
- xfer += oprot->writeString(_iter1264->first);
- xfer += oprot->writeString(_iter1264->second);
+ xfer += oprot->writeString(_iter1270->first);
+ xfer += oprot->writeString(_iter1270->second);
}
xfer += oprot->writeMapEnd();
}
@@ -14141,11 +14141,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<uint32_t>((*(this->partitionSpecs)).size()));
- std::map<std::string, std::string> ::const_iterator _iter1265;
- for (_iter1265 = (*(this->partitionSpecs)).begin(); _iter1265 != (*(this->partitionSpecs)).end(); ++_iter1265)
+ std::map<std::string, std::string> ::const_iterator _iter1271;
+ for (_iter1271 = (*(this->partitionSpecs)).begin(); _iter1271 != (*(this->partitionSpecs)).end(); ++_iter1271)
{
- xfer += oprot->writeString(_iter1265->first);
- xfer += oprot->writeString(_iter1265->second);
+ xfer += oprot->writeString(_iter1271->first);
+ xfer += oprot->writeString(_iter1271->second);
}
xfer += oprot->writeMapEnd();
}
@@ -14390,17 +14390,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->partitionSpecs.clear();
- uint32_t _size1266;
- ::apache::thrift::protocol::TType _ktype1267;
- ::apache::thrift::protocol::TType _vtype1268;
- xfer += iprot->readMapBegin(_ktype1267, _vtype1268, _size1266);
- uint32_t _i1270;
- for (_i1270 = 0; _i1270 < _size1266; ++_i1270)
+ uint32_t _size1272;
+ ::apache::thrift::protocol::TType _ktype1273;
+ ::apache::thrift::protocol::TType _vtype1274;
+ xfer += iprot->readMapBegin(_ktype1273, _vtype1274, _size1272);
+ uint32_t _i1276;
+ for (_i1276 = 0; _i1276 < _size1272; ++_i1276)
{
- std::string _key1271;
- xfer += iprot->readString(_key1271);
- std::string& _val1272 = this->partitionSpecs[_key1271];
- xfer += iprot->readString(_val1272);
+ std::string _key1277;
+ xfer += iprot->readString(_key1277);
+ std::string& _val1278 = this->partitionSpecs[_key1277];
+ xfer += iprot->readString(_val1278);
}
xfer += iprot->readMapEnd();
}
@@ -14461,11 +14461,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::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<uint32_t>(this->partitionSpecs.size()));
- std::map<std::string, std::string> ::const_iterator _iter1273;
- for (_iter1273 = this->partitionSpecs.begin(); _iter1273 != this->partitionSpecs.end(); ++_iter1273)
+ std::map<std::string, std::string> ::const_iterator _iter1279;
+ for (_iter1279 = this->partitionSpecs.begin(); _iter1279 != this->partitionSpecs.end(); ++_iter1279)
{
- xfer += oprot->writeString(_iter1273->first);
- xfer += oprot->writeString(_iter1273->second);
+ xfer += oprot->writeString(_iter1279->first);
+ xfer += oprot->writeString(_iter1279->second);
}
xfer += oprot->writeMapEnd();
}
@@ -14505,11 +14505,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift::
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<uint32_t>((*(this->partitionSpecs)).size()));
- std::map<std::string, std::string> ::const_iterator _iter1274;
- for (_iter1274 = (*(this->partitionSpecs)).begin(); _iter1274 != (*(this->partitionSpecs)).end(); ++_iter1274)
+ std::map<std::string, std::string> ::const_iterator _iter1280;
+ for (_iter1280 = (*(this->partitionSpecs)).begin(); _iter1280 != (*(this->partitionSpecs)).end(); ++_iter1280)
{
- xfer += oprot->writeString(_iter1274->first);
- xfer += oprot->writeString(_iter1274->second);
+ xfer += oprot->writeString(_iter1280->first);
+ xfer += oprot->writeString(_iter1280->second);
}
xfer += oprot->writeMapEnd();
}
@@ -14566,14 +14566,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1275;
- ::apache::thrift::protocol::TType _etype1278;
- xfer += iprot->readListBegin(_etype1278, _size1275);
- this->success.resize(_size1275);
- uint32_t _i1279;
- for (_i1279 = 0; _i1279 < _size1275; ++_i1279)
+ uint32_t _size1281;
+ ::apache::thrift::protocol::TType _etype1284;
+ xfer += iprot->readListBegin(_etype1284, _size1281);
+ this->success.resize(_size1281);
+ uint32_t _i1285;
+ for (_i1285 = 0; _i1285 < _size1281; ++_i1285)
{
- xfer += this->success[_i1279].read(iprot);
+ xfer += this->success[_i1285].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -14636,10 +14636,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift:
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter1280;
- for (_iter1280 = this->success.begin(); _iter1280 != this->success.end(); ++_iter1280)
+ std::vector<Partition> ::const_iterator _iter1286;
+ for (_iter1286 = this->success.begin(); _iter1286 != this->success.end(); ++_iter1286)
{
- xfer += (*_iter1280).write(oprot);
+ xfer += (*_iter1286).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -14696,14 +14696,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1281;
- ::apache::thrift::protocol::TType _etype1284;
- xfer += iprot->readListBegin(_etype1284, _size1281);
- (*(this->success)).resize(_size1281);
- uint32_t _i1285;
- for (_i1285 = 0; _i1285 < _size1281; ++_i1285)
+ uint32_t _size1287;
+ ::apache::thrift::protocol::TType _etype1290;
+ xfer += iprot->readListBegin(_etype1290, _size1287);
+ (*(this->success)).resize(_size1287);
+ uint32_t _i1291;
+ for (_i1291 = 0; _i1291 < _size1287; ++_i1291)
{
- xfer += (*(this->success))[_i1285].read(iprot);
+ xfer += (*(this->success))[_i1291].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -14802,14 +14802,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 _size1286;
- ::apache::thrift::protocol::TType _etype1289;
- xfer += iprot->readListBegin(_etype1289, _size1286);
- this->part_vals.resize(_size1286);
- uint32_t _i1290;
- for (_i1290 = 0; _i1290 < _size1286; ++_i1290)
+ uint32_t _size1292;
+ ::apache::thrift::protocol::TType _etype1295;
+ xfer += iprot->readListBegin(_etype1295, _size1292);
+ this->part_vals.resize(_size1292);
+ uint32_t _i1296;
+ for (_i1296 = 0; _i1296 < _size1292; ++_i1296)
{
- xfer += iprot->readString(this->part_vals[_i1290]);
+ xfer += iprot->readString(this->part_vals[_i1296]);
}
xfer += iprot->readListEnd();
}
@@ -14830,14 +14830,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 _size1291;
- ::apache::thrift::protocol::TType _etype1294;
- xfer += iprot->readListBegin(_etype1294, _size1291);
- this->group_names.resize(_size1291);
- uint32_t _i1295;
- for (_i1295 = 0; _i1295 < _size1291; ++_i1295)
+ uint32_t _size1297;
+ ::apache::thrift::protocol::TType _etype1300;
+ xfer += iprot->readListBegin(_etype1300, _size1297);
+ this->group_names.resize(_size1297);
+ uint32_t _i1301;
+ for (_i1301 = 0; _i1301 < _size1297; ++_i1301)
{
- xfer += iprot->readString(this->group_names[_i1295]);
+ xfer += iprot->readString(this->group_names[_i1301]);
}
xfer += iprot->readListEnd();
}
@@ -14874,10 +14874,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<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter1296;
- for (_iter1296 = this->part_vals.begin(); _iter1296 != this->part_vals.end(); ++_iter1296)
+ std::vector<std::string> ::const_iterator _iter1302;
+ for (_iter1302 = this->part_vals.begin(); _iter1302 != this->part_vals.end(); ++_iter1302)
{
- xfer += oprot->writeString((*_iter1296));
+ xfer += oprot->writeString((*_iter1302));
}
xfer += oprot->writeListEnd();
}
@@ -14890,10 +14890,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<uint32_t>(this->group_names.size()));
- std::vector<std::string> ::const_iterator _iter1297;
- for (_iter1297 = this->group_names.begin(); _iter1297 != this->group_names.end(); ++_iter1297)
+ std::vector<std::string> ::const_iterator _iter1303;
+ for (_iter1303 = this->group_names.begin(); _iter1303 != this->group_names.end(); ++_iter1303)
{
- xfer += oprot->writeString((*_iter1297));
+ xfer += oprot->writeString((*_iter1303));
}
xfer += oprot->writeListEnd();
}
@@ -14925,10 +14925,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<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter1298;
- for (_iter1298 = (*(this->part_vals)).begin(); _iter1298 != (*(this->part_vals)).end(); ++_iter1298)
+ std::vector<std::string> ::const_iterator _iter1304;
+ for (_iter1304 = (*(this->part_vals)).begin(); _iter1304 != (*(this->part_vals)).end(); ++_iter1304)
{
- xfer += oprot->writeString((*_iter1298));
+ xfer += oprot->writeString((*_iter1304));
}
xfer += oprot->writeListEnd();
}
@@ -14941,10 +14941,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<uint32_t>((*(this->group_names)).size()));
- std::vector<std::string> ::const_iterator _iter1299;
- for (_iter1299 = (*(this->group_names)).begin(); _iter1299 != (*(this->group_names)).end(); ++_iter1299)
+ std::vector<std::string> ::const_iterator _iter1305;
+ for (_iter1305 = (*(this->group_names)).begin(); _iter1305 != (*(this->gro
<TRUNCATED>
[5/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
index 1e51e37..fc57141 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
@@ -33551,13 +33551,13 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list786 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list786.size);
- String _elem787;
- for (int _i788 = 0; _i788 < _list786.size; ++_i788)
+ org.apache.thrift.protocol.TList _list794 = iprot.readListBegin();
+ struct.success = new ArrayList<String>(_list794.size);
+ String _elem795;
+ for (int _i796 = 0; _i796 < _list794.size; ++_i796)
{
- _elem787 = iprot.readString();
- struct.success.add(_elem787);
+ _elem795 = iprot.readString();
+ struct.success.add(_elem795);
}
iprot.readListEnd();
}
@@ -33592,9 +33592,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
- for (String _iter789 : struct.success)
+ for (String _iter797 : struct.success)
{
- oprot.writeString(_iter789);
+ oprot.writeString(_iter797);
}
oprot.writeListEnd();
}
@@ -33633,9 +33633,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter790 : struct.success)
+ for (String _iter798 : struct.success)
{
- oprot.writeString(_iter790);
+ oprot.writeString(_iter798);
}
}
}
@@ -33650,13 +33650,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list791.size);
- String _elem792;
- for (int _i793 = 0; _i793 < _list791.size; ++_i793)
+ org.apache.thrift.protocol.TList _list799 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.success = new ArrayList<String>(_list799.size);
+ String _elem800;
+ for (int _i801 = 0; _i801 < _list799.size; ++_i801)
{
- _elem792 = iprot.readString();
- struct.success.add(_elem792);
+ _elem800 = iprot.readString();
+ struct.success.add(_elem800);
}
}
struct.setSuccessIsSet(true);
@@ -34310,13 +34310,13 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list794 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list794.size);
- String _elem795;
- for (int _i796 = 0; _i796 < _list794.size; ++_i796)
+ org.apache.thrift.protocol.TList _list802 = iprot.readListBegin();
+ struct.success = new ArrayList<String>(_list802.size);
+ String _elem803;
+ for (int _i804 = 0; _i804 < _list802.size; ++_i804)
{
- _elem795 = iprot.readString();
- struct.success.add(_elem795);
+ _elem803 = iprot.readString();
+ struct.success.add(_elem803);
}
iprot.readListEnd();
}
@@ -34351,9 +34351,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
- for (String _iter797 : struct.success)
+ for (String _iter805 : struct.success)
{
- oprot.writeString(_iter797);
+ oprot.writeString(_iter805);
}
oprot.writeListEnd();
}
@@ -34392,9 +34392,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter798 : struct.success)
+ for (String _iter806 : struct.success)
{
- oprot.writeString(_iter798);
+ oprot.writeString(_iter806);
}
}
}
@@ -34409,13 +34409,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list799 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list799.size);
- String _elem800;
- for (int _i801 = 0; _i801 < _list799.size; ++_i801)
+ org.apache.thrift.protocol.TList _list807 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.success = new ArrayList<String>(_list807.size);
+ String _elem808;
+ for (int _i809 = 0; _i809 < _list807.size; ++_i809)
{
- _elem800 = iprot.readString();
- struct.success.add(_elem800);
+ _elem808 = iprot.readString();
+ struct.success.add(_elem808);
}
}
struct.setSuccessIsSet(true);
@@ -39022,16 +39022,16 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map802 = iprot.readMapBegin();
- struct.success = new HashMap<String,Type>(2*_map802.size);
- String _key803;
- Type _val804;
- for (int _i805 = 0; _i805 < _map802.size; ++_i805)
+ org.apache.thrift.protocol.TMap _map810 = iprot.readMapBegin();
+ struct.success = new HashMap<String,Type>(2*_map810.size);
+ String _key811;
+ Type _val812;
+ for (int _i813 = 0; _i813 < _map810.size; ++_i813)
{
- _key803 = iprot.readString();
- _val804 = new Type();
- _val804.read(iprot);
- struct.success.put(_key803, _val804);
+ _key811 = iprot.readString();
+ _val812 = new Type();
+ _val812.read(iprot);
+ struct.success.put(_key811, _val812);
}
iprot.readMapEnd();
}
@@ -39066,10 +39066,10 @@ import org.slf4j.LoggerFactory;
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<String, Type> _iter806 : struct.success.entrySet())
+ for (Map.Entry<String, Type> _iter814 : struct.success.entrySet())
{
- oprot.writeString(_iter806.getKey());
- _iter806.getValue().write(oprot);
+ oprot.writeString(_iter814.getKey());
+ _iter814.getValue().write(oprot);
}
oprot.writeMapEnd();
}
@@ -39108,10 +39108,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (Map.Entry<String, Type> _iter807 : struct.success.entrySet())
+ for (Map.Entry<String, Type> _iter815 : struct.success.entrySet())
{
- oprot.writeString(_iter807.getKey());
- _iter807.getValue().write(oprot);
+ oprot.writeString(_iter815.getKey());
+ _iter815.getValue().write(oprot);
}
}
}
@@ -39126,16 +39126,16 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TMap _map808 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new HashMap<String,Type>(2*_map808.size);
- String _key809;
- Type _val810;
- for (int _i811 = 0; _i811 < _map808.size; ++_i811)
+ org.apache.thrift.protocol.TMap _map816 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new HashMap<String,Type>(2*_map816.size);
+ String _key817;
+ Type _val818;
+ for (int _i819 = 0; _i819 < _map816.size; ++_i819)
{
- _key809 = iprot.readString();
- _val810 = new Type();
- _val810.read(iprot);
- struct.success.put(_key809, _val810);
+ _key817 = iprot.readString();
+ _val818 = new Type();
+ _val818.read(iprot);
+ struct.success.put(_key817, _val818);
}
}
struct.setSuccessIsSet(true);
@@ -40170,14 +40170,14 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list812 = iprot.readListBegin();
- struct.success = new ArrayList<FieldSchema>(_list812.size);
- FieldSchema _elem813;
- for (int _i814 = 0; _i814 < _list812.size; ++_i814)
+ org.apache.thrift.protocol.TList _list820 = iprot.readListBegin();
+ struct.success = new ArrayList<FieldSchema>(_list820.size);
+ FieldSchema _elem821;
+ for (int _i822 = 0; _i822 < _list820.size; ++_i822)
{
- _elem813 = new FieldSchema();
- _elem813.read(iprot);
- struct.success.add(_elem813);
+ _elem821 = new FieldSchema();
+ _elem821.read(iprot);
+ struct.success.add(_elem821);
}
iprot.readListEnd();
}
@@ -40230,9 +40230,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (FieldSchema _iter815 : struct.success)
+ for (FieldSchema _iter823 : struct.success)
{
- _iter815.write(oprot);
+ _iter823.write(oprot);
}
oprot.writeListEnd();
}
@@ -40287,9 +40287,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (FieldSchema _iter816 : struct.success)
+ for (FieldSchema _iter824 : struct.success)
{
- _iter816.write(oprot);
+ _iter824.write(oprot);
}
}
}
@@ -40310,14 +40310,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<FieldSchema>(_list817.size);
- FieldSchema _elem818;
- for (int _i819 = 0; _i819 < _list817.size; ++_i819)
+ org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<FieldSchema>(_list825.size);
+ FieldSchema _elem826;
+ for (int _i827 = 0; _i827 < _list825.size; ++_i827)
{
- _elem818 = new FieldSchema();
- _elem818.read(iprot);
- struct.success.add(_elem818);
+ _elem826 = new FieldSchema();
+ _elem826.read(iprot);
+ struct.success.add(_elem826);
}
}
struct.setSuccessIsSet(true);
@@ -41471,14 +41471,14 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list820 = iprot.readListBegin();
- struct.success = new ArrayList<FieldSchema>(_list820.size);
- FieldSchema _elem821;
- for (int _i822 = 0; _i822 < _list820.size; ++_i822)
+ org.apache.thrift.protocol.TList _list828 = iprot.readListBegin();
+ struct.success = new ArrayList<FieldSchema>(_list828.size);
+ FieldSchema _elem829;
+ for (int _i830 = 0; _i830 < _list828.size; ++_i830)
{
- _elem821 = new FieldSchema();
- _elem821.read(iprot);
- struct.success.add(_elem821);
+ _elem829 = new FieldSchema();
+ _elem829.read(iprot);
+ struct.success.add(_elem829);
}
iprot.readListEnd();
}
@@ -41531,9 +41531,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (FieldSchema _iter823 : struct.success)
+ for (FieldSchema _iter831 : struct.success)
{
- _iter823.write(oprot);
+ _iter831.write(oprot);
}
oprot.writeListEnd();
}
@@ -41588,9 +41588,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (FieldSchema _iter824 : struct.success)
+ for (FieldSchema _iter832 : struct.success)
{
- _iter824.write(oprot);
+ _iter832.write(oprot);
}
}
}
@@ -41611,14 +41611,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<FieldSchema>(_list825.size);
- FieldSchema _elem826;
- for (int _i827 = 0; _i827 < _list825.size; ++_i827)
+ org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<FieldSchema>(_list833.size);
+ FieldSchema _elem834;
+ for (int _i835 = 0; _i835 < _list833.size; ++_i835)
{
- _elem826 = new FieldSchema();
- _elem826.read(iprot);
- struct.success.add(_elem826);
+ _elem834 = new FieldSchema();
+ _elem834.read(iprot);
+ struct.success.add(_elem834);
}
}
struct.setSuccessIsSet(true);
@@ -42663,14 +42663,14 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list828 = iprot.readListBegin();
- struct.success = new ArrayList<FieldSchema>(_list828.size);
- FieldSchema _elem829;
- for (int _i830 = 0; _i830 < _list828.size; ++_i830)
+ org.apache.thrift.protocol.TList _list836 = iprot.readListBegin();
+ struct.success = new ArrayList<FieldSchema>(_list836.size);
+ FieldSchema _elem837;
+ for (int _i838 = 0; _i838 < _list836.size; ++_i838)
{
- _elem829 = new FieldSchema();
- _elem829.read(iprot);
- struct.success.add(_elem829);
+ _elem837 = new FieldSchema();
+ _elem837.read(iprot);
+ struct.success.add(_elem837);
}
iprot.readListEnd();
}
@@ -42723,9 +42723,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (FieldSchema _iter831 : struct.success)
+ for (FieldSchema _iter839 : struct.success)
{
- _iter831.write(oprot);
+ _iter839.write(oprot);
}
oprot.writeListEnd();
}
@@ -42780,9 +42780,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (FieldSchema _iter832 : struct.success)
+ for (FieldSchema _iter840 : struct.success)
{
- _iter832.write(oprot);
+ _iter840.write(oprot);
}
}
}
@@ -42803,14 +42803,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<FieldSchema>(_list833.size);
- FieldSchema _elem834;
- for (int _i835 = 0; _i835 < _list833.size; ++_i835)
+ org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<FieldSchema>(_list841.size);
+ FieldSchema _elem842;
+ for (int _i843 = 0; _i843 < _list841.size; ++_i843)
{
- _elem834 = new FieldSchema();
- _elem834.read(iprot);
- struct.success.add(_elem834);
+ _elem842 = new FieldSchema();
+ _elem842.read(iprot);
+ struct.success.add(_elem842);
}
}
struct.setSuccessIsSet(true);
@@ -43964,14 +43964,14 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list836 = iprot.readListBegin();
- struct.success = new ArrayList<FieldSchema>(_list836.size);
- FieldSchema _elem837;
- for (int _i838 = 0; _i838 < _list836.size; ++_i838)
+ org.apache.thrift.protocol.TList _list844 = iprot.readListBegin();
+ struct.success = new ArrayList<FieldSchema>(_list844.size);
+ FieldSchema _elem845;
+ for (int _i846 = 0; _i846 < _list844.size; ++_i846)
{
- _elem837 = new FieldSchema();
- _elem837.read(iprot);
- struct.success.add(_elem837);
+ _elem845 = new FieldSchema();
+ _elem845.read(iprot);
+ struct.success.add(_elem845);
}
iprot.readListEnd();
}
@@ -44024,9 +44024,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (FieldSchema _iter839 : struct.success)
+ for (FieldSchema _iter847 : struct.success)
{
- _iter839.write(oprot);
+ _iter847.write(oprot);
}
oprot.writeListEnd();
}
@@ -44081,9 +44081,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (FieldSchema _iter840 : struct.success)
+ for (FieldSchema _iter848 : struct.success)
{
- _iter840.write(oprot);
+ _iter848.write(oprot);
}
}
}
@@ -44104,14 +44104,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<FieldSchema>(_list841.size);
- FieldSchema _elem842;
- for (int _i843 = 0; _i843 < _list841.size; ++_i843)
+ org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<FieldSchema>(_list849.size);
+ FieldSchema _elem850;
+ for (int _i851 = 0; _i851 < _list849.size; ++_i851)
{
- _elem842 = new FieldSchema();
- _elem842.read(iprot);
- struct.success.add(_elem842);
+ _elem850 = new FieldSchema();
+ _elem850.read(iprot);
+ struct.success.add(_elem850);
}
}
struct.setSuccessIsSet(true);
@@ -47038,14 +47038,14 @@ import org.slf4j.LoggerFactory;
case 2: // PRIMARY_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list844 = iprot.readListBegin();
- struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list844.size);
- SQLPrimaryKey _elem845;
- for (int _i846 = 0; _i846 < _list844.size; ++_i846)
+ org.apache.thrift.protocol.TList _list852 = iprot.readListBegin();
+ struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list852.size);
+ SQLPrimaryKey _elem853;
+ for (int _i854 = 0; _i854 < _list852.size; ++_i854)
{
- _elem845 = new SQLPrimaryKey();
- _elem845.read(iprot);
- struct.primaryKeys.add(_elem845);
+ _elem853 = new SQLPrimaryKey();
+ _elem853.read(iprot);
+ struct.primaryKeys.add(_elem853);
}
iprot.readListEnd();
}
@@ -47057,14 +47057,14 @@ import org.slf4j.LoggerFactory;
case 3: // FOREIGN_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list847 = iprot.readListBegin();
- struct.foreignKeys = new ArrayList<SQLForeignKey>(_list847.size);
- SQLForeignKey _elem848;
- for (int _i849 = 0; _i849 < _list847.size; ++_i849)
+ org.apache.thrift.protocol.TList _list855 = iprot.readListBegin();
+ struct.foreignKeys = new ArrayList<SQLForeignKey>(_list855.size);
+ SQLForeignKey _elem856;
+ for (int _i857 = 0; _i857 < _list855.size; ++_i857)
{
- _elem848 = new SQLForeignKey();
- _elem848.read(iprot);
- struct.foreignKeys.add(_elem848);
+ _elem856 = new SQLForeignKey();
+ _elem856.read(iprot);
+ struct.foreignKeys.add(_elem856);
}
iprot.readListEnd();
}
@@ -47076,14 +47076,14 @@ import org.slf4j.LoggerFactory;
case 4: // UNIQUE_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list850 = iprot.readListBegin();
- struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list850.size);
- SQLUniqueConstraint _elem851;
- for (int _i852 = 0; _i852 < _list850.size; ++_i852)
+ org.apache.thrift.protocol.TList _list858 = iprot.readListBegin();
+ struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list858.size);
+ SQLUniqueConstraint _elem859;
+ for (int _i860 = 0; _i860 < _list858.size; ++_i860)
{
- _elem851 = new SQLUniqueConstraint();
- _elem851.read(iprot);
- struct.uniqueConstraints.add(_elem851);
+ _elem859 = new SQLUniqueConstraint();
+ _elem859.read(iprot);
+ struct.uniqueConstraints.add(_elem859);
}
iprot.readListEnd();
}
@@ -47095,14 +47095,14 @@ import org.slf4j.LoggerFactory;
case 5: // NOT_NULL_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list853 = iprot.readListBegin();
- struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list853.size);
- SQLNotNullConstraint _elem854;
- for (int _i855 = 0; _i855 < _list853.size; ++_i855)
+ org.apache.thrift.protocol.TList _list861 = iprot.readListBegin();
+ struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list861.size);
+ SQLNotNullConstraint _elem862;
+ for (int _i863 = 0; _i863 < _list861.size; ++_i863)
{
- _elem854 = new SQLNotNullConstraint();
- _elem854.read(iprot);
- struct.notNullConstraints.add(_elem854);
+ _elem862 = new SQLNotNullConstraint();
+ _elem862.read(iprot);
+ struct.notNullConstraints.add(_elem862);
}
iprot.readListEnd();
}
@@ -47133,9 +47133,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size()));
- for (SQLPrimaryKey _iter856 : struct.primaryKeys)
+ for (SQLPrimaryKey _iter864 : struct.primaryKeys)
{
- _iter856.write(oprot);
+ _iter864.write(oprot);
}
oprot.writeListEnd();
}
@@ -47145,9 +47145,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size()));
- for (SQLForeignKey _iter857 : struct.foreignKeys)
+ for (SQLForeignKey _iter865 : struct.foreignKeys)
{
- _iter857.write(oprot);
+ _iter865.write(oprot);
}
oprot.writeListEnd();
}
@@ -47157,9 +47157,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size()));
- for (SQLUniqueConstraint _iter858 : struct.uniqueConstraints)
+ for (SQLUniqueConstraint _iter866 : struct.uniqueConstraints)
{
- _iter858.write(oprot);
+ _iter866.write(oprot);
}
oprot.writeListEnd();
}
@@ -47169,9 +47169,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size()));
- for (SQLNotNullConstraint _iter859 : struct.notNullConstraints)
+ for (SQLNotNullConstraint _iter867 : struct.notNullConstraints)
{
- _iter859.write(oprot);
+ _iter867.write(oprot);
}
oprot.writeListEnd();
}
@@ -47217,36 +47217,36 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPrimaryKeys()) {
{
oprot.writeI32(struct.primaryKeys.size());
- for (SQLPrimaryKey _iter860 : struct.primaryKeys)
+ for (SQLPrimaryKey _iter868 : struct.primaryKeys)
{
- _iter860.write(oprot);
+ _iter868.write(oprot);
}
}
}
if (struct.isSetForeignKeys()) {
{
oprot.writeI32(struct.foreignKeys.size());
- for (SQLForeignKey _iter861 : struct.foreignKeys)
+ for (SQLForeignKey _iter869 : struct.foreignKeys)
{
- _iter861.write(oprot);
+ _iter869.write(oprot);
}
}
}
if (struct.isSetUniqueConstraints()) {
{
oprot.writeI32(struct.uniqueConstraints.size());
- for (SQLUniqueConstraint _iter862 : struct.uniqueConstraints)
+ for (SQLUniqueConstraint _iter870 : struct.uniqueConstraints)
{
- _iter862.write(oprot);
+ _iter870.write(oprot);
}
}
}
if (struct.isSetNotNullConstraints()) {
{
oprot.writeI32(struct.notNullConstraints.size());
- for (SQLNotNullConstraint _iter863 : struct.notNullConstraints)
+ for (SQLNotNullConstraint _iter871 : struct.notNullConstraints)
{
- _iter863.write(oprot);
+ _iter871.write(oprot);
}
}
}
@@ -47263,56 +47263,56 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TList _list864 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list864.size);
- SQLPrimaryKey _elem865;
- for (int _i866 = 0; _i866 < _list864.size; ++_i866)
+ org.apache.thrift.protocol.TList _list872 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list872.size);
+ SQLPrimaryKey _elem873;
+ for (int _i874 = 0; _i874 < _list872.size; ++_i874)
{
- _elem865 = new SQLPrimaryKey();
- _elem865.read(iprot);
- struct.primaryKeys.add(_elem865);
+ _elem873 = new SQLPrimaryKey();
+ _elem873.read(iprot);
+ struct.primaryKeys.add(_elem873);
}
}
struct.setPrimaryKeysIsSet(true);
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.foreignKeys = new ArrayList<SQLForeignKey>(_list867.size);
- SQLForeignKey _elem868;
- for (int _i869 = 0; _i869 < _list867.size; ++_i869)
+ org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.foreignKeys = new ArrayList<SQLForeignKey>(_list875.size);
+ SQLForeignKey _elem876;
+ for (int _i877 = 0; _i877 < _list875.size; ++_i877)
{
- _elem868 = new SQLForeignKey();
- _elem868.read(iprot);
- struct.foreignKeys.add(_elem868);
+ _elem876 = new SQLForeignKey();
+ _elem876.read(iprot);
+ struct.foreignKeys.add(_elem876);
}
}
struct.setForeignKeysIsSet(true);
}
if (incoming.get(3)) {
{
- org.apache.thrift.protocol.TList _list870 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list870.size);
- SQLUniqueConstraint _elem871;
- for (int _i872 = 0; _i872 < _list870.size; ++_i872)
+ org.apache.thrift.protocol.TList _list878 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list878.size);
+ SQLUniqueConstraint _elem879;
+ for (int _i880 = 0; _i880 < _list878.size; ++_i880)
{
- _elem871 = new SQLUniqueConstraint();
- _elem871.read(iprot);
- struct.uniqueConstraints.add(_elem871);
+ _elem879 = new SQLUniqueConstraint();
+ _elem879.read(iprot);
+ struct.uniqueConstraints.add(_elem879);
}
}
struct.setUniqueConstraintsIsSet(true);
}
if (incoming.get(4)) {
{
- org.apache.thrift.protocol.TList _list873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list873.size);
- SQLNotNullConstraint _elem874;
- for (int _i875 = 0; _i875 < _list873.size; ++_i875)
+ org.apache.thrift.protocol.TList _list881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list881.size);
+ SQLNotNullConstraint _elem882;
+ for (int _i883 = 0; _i883 < _list881.size; ++_i883)
{
- _elem874 = new SQLNotNullConstraint();
- _elem874.read(iprot);
- struct.notNullConstraints.add(_elem874);
+ _elem882 = new SQLNotNullConstraint();
+ _elem882.read(iprot);
+ struct.notNullConstraints.add(_elem882);
}
}
struct.setNotNullConstraintsIsSet(true);
@@ -54804,13 +54804,13 @@ import org.slf4j.LoggerFactory;
case 3: // PART_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list876 = iprot.readListBegin();
- struct.partNames = new ArrayList<String>(_list876.size);
- String _elem877;
- for (int _i878 = 0; _i878 < _list876.size; ++_i878)
+ org.apache.thrift.protocol.TList _list884 = iprot.readListBegin();
+ struct.partNames = new ArrayList<String>(_list884.size);
+ String _elem885;
+ for (int _i886 = 0; _i886 < _list884.size; ++_i886)
{
- _elem877 = iprot.readString();
- struct.partNames.add(_elem877);
+ _elem885 = iprot.readString();
+ struct.partNames.add(_elem885);
}
iprot.readListEnd();
}
@@ -54846,9 +54846,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PART_NAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size()));
- for (String _iter879 : struct.partNames)
+ for (String _iter887 : struct.partNames)
{
- oprot.writeString(_iter879);
+ oprot.writeString(_iter887);
}
oprot.writeListEnd();
}
@@ -54891,9 +54891,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartNames()) {
{
oprot.writeI32(struct.partNames.size());
- for (String _iter880 : struct.partNames)
+ for (String _iter888 : struct.partNames)
{
- oprot.writeString(_iter880);
+ oprot.writeString(_iter888);
}
}
}
@@ -54913,13 +54913,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partNames = new ArrayList<String>(_list881.size);
- String _elem882;
- for (int _i883 = 0; _i883 < _list881.size; ++_i883)
+ org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partNames = new ArrayList<String>(_list889.size);
+ String _elem890;
+ for (int _i891 = 0; _i891 < _list889.size; ++_i891)
{
- _elem882 = iprot.readString();
- struct.partNames.add(_elem882);
+ _elem890 = iprot.readString();
+ struct.partNames.add(_elem890);
}
}
struct.setPartNamesIsSet(true);
@@ -56144,13 +56144,13 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list884 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list884.size);
- String _elem885;
- for (int _i886 = 0; _i886 < _list884.size; ++_i886)
+ org.apache.thrift.protocol.TList _list892 = iprot.readListBegin();
+ struct.success = new ArrayList<String>(_list892.size);
+ String _elem893;
+ for (int _i894 = 0; _i894 < _list892.size; ++_i894)
{
- _elem885 = iprot.readString();
- struct.success.add(_elem885);
+ _elem893 = iprot.readString();
+ struct.success.add(_elem893);
}
iprot.readListEnd();
}
@@ -56185,9 +56185,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
- for (String _iter887 : struct.success)
+ for (String _iter895 : struct.success)
{
- oprot.writeString(_iter887);
+ oprot.writeString(_iter895);
}
oprot.writeListEnd();
}
@@ -56226,9 +56226,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter888 : struct.success)
+ for (String _iter896 : struct.success)
{
- oprot.writeString(_iter888);
+ oprot.writeString(_iter896);
}
}
}
@@ -56243,13 +56243,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list889.size);
- String _elem890;
- for (int _i891 = 0; _i891 < _list889.size; ++_i891)
+ org.apache.thrift.protocol.TList _list897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.success = new ArrayList<String>(_list897.size);
+ String _elem898;
+ for (int _i899 = 0; _i899 < _list897.size; ++_i899)
{
- _elem890 = iprot.readString();
- struct.success.add(_elem890);
+ _elem898 = iprot.readString();
+ struct.success.add(_elem898);
}
}
struct.setSuccessIsSet(true);
@@ -57223,13 +57223,13 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list892 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list892.size);
- String _elem893;
- for (int _i894 = 0; _i894 < _list892.size; ++_i894)
+ org.apache.thrift.protocol.TList _list900 = iprot.readListBegin();
+ struct.success = new ArrayList<String>(_list900.size);
+ String _elem901;
+ for (int _i902 = 0; _i902 < _list900.size; ++_i902)
{
- _elem893 = iprot.readString();
- struct.success.add(_elem893);
+ _elem901 = iprot.readString();
+ struct.success.add(_elem901);
}
iprot.readListEnd();
}
@@ -57264,9 +57264,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
- for (String _iter895 : struct.success)
+ for (String _iter903 : struct.success)
{
- oprot.writeString(_iter895);
+ oprot.writeString(_iter903);
}
oprot.writeListEnd();
}
@@ -57305,9 +57305,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter896 : struct.success)
+ for (String _iter904 : struct.success)
{
- oprot.writeString(_iter896);
+ oprot.writeString(_iter904);
}
}
}
@@ -57322,13 +57322,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list897.size);
- String _elem898;
- for (int _i899 = 0; _i899 < _list897.size; ++_i899)
+ org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.success = new ArrayList<String>(_list905.size);
+ String _elem906;
+ for (int _i907 = 0; _i907 < _list905.size; ++_i907)
{
- _elem898 = iprot.readString();
- struct.success.add(_elem898);
+ _elem906 = iprot.readString();
+ struct.success.add(_elem906);
}
}
struct.setSuccessIsSet(true);
@@ -57833,13 +57833,13 @@ import org.slf4j.LoggerFactory;
case 3: // TBL_TYPES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list900 = iprot.readListBegin();
- struct.tbl_types = new ArrayList<String>(_list900.size);
- String _elem901;
- for (int _i902 = 0; _i902 < _list900.size; ++_i902)
+ org.apache.thrift.protocol.TList _list908 = iprot.readListBegin();
+ struct.tbl_types = new ArrayList<String>(_list908.size);
+ String _elem909;
+ for (int _i910 = 0; _i910 < _list908.size; ++_i910)
{
- _elem901 = iprot.readString();
- struct.tbl_types.add(_elem901);
+ _elem909 = iprot.readString();
+ struct.tbl_types.add(_elem909);
}
iprot.readListEnd();
}
@@ -57875,9 +57875,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size()));
- for (String _iter903 : struct.tbl_types)
+ for (String _iter911 : struct.tbl_types)
{
- oprot.writeString(_iter903);
+ oprot.writeString(_iter911);
}
oprot.writeListEnd();
}
@@ -57920,9 +57920,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetTbl_types()) {
{
oprot.writeI32(struct.tbl_types.size());
- for (String _iter904 : struct.tbl_types)
+ for (String _iter912 : struct.tbl_types)
{
- oprot.writeString(_iter904);
+ oprot.writeString(_iter912);
}
}
}
@@ -57942,13 +57942,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.tbl_types = new ArrayList<String>(_list905.size);
- String _elem906;
- for (int _i907 = 0; _i907 < _list905.size; ++_i907)
+ org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.tbl_types = new ArrayList<String>(_list913.size);
+ String _elem914;
+ for (int _i915 = 0; _i915 < _list913.size; ++_i915)
{
- _elem906 = iprot.readString();
- struct.tbl_types.add(_elem906);
+ _elem914 = iprot.readString();
+ struct.tbl_types.add(_elem914);
}
}
struct.setTbl_typesIsSet(true);
@@ -58354,14 +58354,14 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list908 = iprot.readListBegin();
- struct.success = new ArrayList<TableMeta>(_list908.size);
- TableMeta _elem909;
- for (int _i910 = 0; _i910 < _list908.size; ++_i910)
+ org.apache.thrift.protocol.TList _list916 = iprot.readListBegin();
+ struct.success = new ArrayList<TableMeta>(_list916.size);
+ TableMeta _elem917;
+ for (int _i918 = 0; _i918 < _list916.size; ++_i918)
{
- _elem909 = new TableMeta();
- _elem909.read(iprot);
- struct.success.add(_elem909);
+ _elem917 = new TableMeta();
+ _elem917.read(iprot);
+ struct.success.add(_elem917);
}
iprot.readListEnd();
}
@@ -58396,9 +58396,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (TableMeta _iter911 : struct.success)
+ for (TableMeta _iter919 : struct.success)
{
- _iter911.write(oprot);
+ _iter919.write(oprot);
}
oprot.writeListEnd();
}
@@ -58437,9 +58437,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (TableMeta _iter912 : struct.success)
+ for (TableMeta _iter920 : struct.success)
{
- _iter912.write(oprot);
+ _iter920.write(oprot);
}
}
}
@@ -58454,14 +58454,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<TableMeta>(_list913.size);
- TableMeta _elem914;
- for (int _i915 = 0; _i915 < _list913.size; ++_i915)
+ org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<TableMeta>(_list921.size);
+ TableMeta _elem922;
+ for (int _i923 = 0; _i923 < _list921.size; ++_i923)
{
- _elem914 = new TableMeta();
- _elem914.read(iprot);
- struct.success.add(_elem914);
+ _elem922 = new TableMeta();
+ _elem922.read(iprot);
+ struct.success.add(_elem922);
}
}
struct.setSuccessIsSet(true);
@@ -59227,13 +59227,13 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list916 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list916.size);
- String _elem917;
- for (int _i918 = 0; _i918 < _list916.size; ++_i918)
+ org.apache.thrift.protocol.TList _list924 = iprot.readListBegin();
+ struct.success = new ArrayList<String>(_list924.size);
+ String _elem925;
+ for (int _i926 = 0; _i926 < _list924.size; ++_i926)
{
- _elem917 = iprot.readString();
- struct.success.add(_elem917);
+ _elem925 = iprot.readString();
+ struct.success.add(_elem925);
}
iprot.readListEnd();
}
@@ -59268,9 +59268,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
- for (String _iter919 : struct.success)
+ for (String _iter927 : struct.success)
{
- oprot.writeString(_iter919);
+ oprot.writeString(_iter927);
}
oprot.writeListEnd();
}
@@ -59309,9 +59309,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter920 : struct.success)
+ for (String _iter928 : struct.success)
{
- oprot.writeString(_iter920);
+ oprot.writeString(_iter928);
}
}
}
@@ -59326,13 +59326,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list921.size);
- String _elem922;
- for (int _i923 = 0; _i923 < _list921.size; ++_i923)
+ org.apache.thrift.protocol.TList _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.success = new ArrayList<String>(_list929.size);
+ String _elem930;
+ for (int _i931 = 0; _i931 < _list929.size; ++_i931)
{
- _elem922 = iprot.readString();
- struct.success.add(_elem922);
+ _elem930 = iprot.readString();
+ struct.success.add(_elem930);
}
}
struct.setSuccessIsSet(true);
@@ -60785,13 +60785,13 @@ import org.slf4j.LoggerFactory;
case 2: // TBL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list924 = iprot.readListBegin();
- struct.tbl_names = new ArrayList<String>(_list924.size);
- String _elem925;
- for (int _i926 = 0; _i926 < _list924.size; ++_i926)
+ org.apache.thrift.protocol.TList _list932 = iprot.readListBegin();
+ struct.tbl_names = new ArrayList<String>(_list932.size);
+ String _elem933;
+ for (int _i934 = 0; _i934 < _list932.size; ++_i934)
{
- _elem925 = iprot.readString();
- struct.tbl_names.add(_elem925);
+ _elem933 = iprot.readString();
+ struct.tbl_names.add(_elem933);
}
iprot.readListEnd();
}
@@ -60822,9 +60822,9 @@ import org.slf4j.LoggerFactory;
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 _iter927 : struct.tbl_names)
+ for (String _iter935 : struct.tbl_names)
{
- oprot.writeString(_iter927);
+ oprot.writeString(_iter935);
}
oprot.writeListEnd();
}
@@ -60861,9 +60861,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetTbl_names()) {
{
oprot.writeI32(struct.tbl_names.size());
- for (String _iter928 : struct.tbl_names)
+ for (String _iter936 : struct.tbl_names)
{
- oprot.writeString(_iter928);
+ oprot.writeString(_iter936);
}
}
}
@@ -60879,13 +60879,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TList _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.tbl_names = new ArrayList<String>(_list929.size);
- String _elem930;
- for (int _i931 = 0; _i931 < _list929.size; ++_i931)
+ org.apache.thrift.protocol.TList _list937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.tbl_names = new ArrayList<String>(_list937.size);
+ String _elem938;
+ for (int _i939 = 0; _i939 < _list937.size; ++_i939)
{
- _elem930 = iprot.readString();
- struct.tbl_names.add(_elem930);
+ _elem938 = iprot.readString();
+ struct.tbl_names.add(_elem938);
}
}
struct.setTbl_namesIsSet(true);
@@ -61210,14 +61210,14 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list932 = iprot.readListBegin();
- struct.success = new ArrayList<Table>(_list932.size);
- Table _elem933;
- for (int _i934 = 0; _i934 < _list932.size; ++_i934)
+ org.apache.thrift.protocol.TList _list940 = iprot.readListBegin();
+ struct.success = new ArrayList<Table>(_list940.size);
+ Table _elem941;
+ for (int _i942 = 0; _i942 < _list940.size; ++_i942)
{
- _elem933 = new Table();
- _elem933.read(iprot);
- struct.success.add(_elem933);
+ _elem941 = new Table();
+ _elem941.read(iprot);
+ struct.success.add(_elem941);
}
iprot.readListEnd();
}
@@ -61243,9 +61243,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (Table _iter935 : struct.success)
+ for (Table _iter943 : struct.success)
{
- _iter935.write(oprot);
+ _iter943.write(oprot);
}
oprot.writeListEnd();
}
@@ -61276,9 +61276,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (Table _iter936 : struct.success)
+ for (Table _iter944 : struct.success)
{
- _iter936.write(oprot);
+ _iter944.write(oprot);
}
}
}
@@ -61290,14 +61290,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<Table>(_list937.size);
- Table _elem938;
- for (int _i939 = 0; _i939 < _list937.size; ++_i939)
+ org.apache.thrift.protocol.TList _list945 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<Table>(_list945.size);
+ Table _elem946;
+ for (int _i947 = 0; _i947 < _list945.size; ++_i947)
{
- _elem938 = new Table();
- _elem938.read(iprot);
- struct.success.add(_elem938);
+ _elem946 = new Table();
+ _elem946.read(iprot);
+ struct.success.add(_elem946);
}
}
struct.setSuccessIsSet(true);
@@ -64410,13 +64410,13 @@ import org.slf4j.LoggerFactory;
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list940 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list940.size);
- String _elem941;
- for (int _i942 = 0; _i942 < _list940.size; ++_i942)
+ org.apache.thrift.protocol.TList _list948 = iprot.readListBegin();
+ struct.success = new ArrayList<String>(_list948.size);
+ String _elem949;
+ for (int _i950 = 0; _i950 < _list948.size; ++_i950)
{
- _elem941 = iprot.readString();
- struct.success.add(_elem941);
+ _elem949 = iprot.readString();
+ struct.success.add(_elem949);
}
iprot.readListEnd();
}
@@ -64469,9 +64469,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
- for (String _iter943 : struct.success)
+ for (String _iter951 : struct.success)
{
- oprot.writeString(_iter943);
+ oprot.writeString(_iter951);
}
oprot.writeListEnd();
}
@@ -64526,9 +64526,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter944 : struct.success)
+ for (String _iter952 : struct.success)
{
- oprot.writeString(_iter944);
+ oprot.writeString(_iter952);
}
}
}
@@ -64549,13 +64549,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list945 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list945.size);
- String _elem946;
- for (int _i947 = 0; _i947 < _list945.size; ++_i947)
+ org.apache.thrift.protocol.TList _list953 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.success = new ArrayList<String>(_list953.size);
+ String _elem954;
+ for (int _i955 = 0; _i955 < _list953.size; ++_i955)
{
- _elem946 = iprot.readString();
- struct.success.add(_elem946);
+ _elem954 = iprot.readString();
+ struct.success.add(_elem954);
}
}
struct.setSuccessIsSet(true);
@@ -70414,14 +70414,14 @@ import org.slf4j.LoggerFactory;
case 1: // NEW_PARTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list948 = iprot.readListBegin();
- struct.new_parts = new ArrayList<Partition>(_list948.size);
- Partition _elem949;
- for (int _i950 = 0; _i950 < _list948.size; ++_i950)
+ org.apache.thrift.protocol.TList _list956 = iprot.readListBegin();
+ struct.new_parts = new ArrayList<Partition>(_list956.size);
+ Partition _elem957;
+ for (int _i958 = 0; _i958 < _list956.size; ++_i958)
{
- _elem949 = new Partition();
- _elem949.read(iprot);
- struct.new_parts.add(_elem949);
+ _elem957 = new Partition();
+ _elem957.read(iprot);
+ struct.new_parts.add(_elem957);
}
iprot.readListEnd();
}
@@ -70447,9 +70447,9 @@ import org.slf4j.LoggerFactory;
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 _iter951 : struct.new_parts)
+ for (Partition _iter959 : struct.new_parts)
{
- _iter951.write(oprot);
+ _iter959.write(oprot);
}
oprot.writeListEnd();
}
@@ -70480,9 +70480,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetNew_parts()) {
{
oprot.writeI32(struct.new_parts.size());
- for (Partition _iter952 : struct.new_parts)
+ for (Partition _iter960 : struct.new_parts)
{
- _iter952.write(oprot);
+ _iter960.write(oprot);
}
}
}
@@ -70494,14 +70494,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list953 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.new_parts = new ArrayList<Partition>(_list953.size);
- Partition _elem954;
- for (int _i955 = 0; _i955 < _list953.size; ++_i955)
+ org.apache.thrift.protocol.TList _list961 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.new_parts = new ArrayList<Partition>(_list961.size);
+ Partition _elem962;
+ for (int _i963 = 0; _i963 < _list961.size; ++_i963)
{
- _elem954 = new Partition();
- _elem954.read(iprot);
- struct.new_parts.add(_elem954);
+ _elem962 = new Partition();
+ _elem962.read(iprot);
+ struct.new_parts.add(_elem962);
}
}
struct.setNew_partsIsSet(true);
@@ -71502,14 +71502,14 @@ import org.slf4j.LoggerFactory;
case 1: // NEW_PARTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list956 = iprot.readListBegin();
- struct.new_parts = new ArrayList<PartitionSpec>(_list956.size);
- PartitionSpec _elem957;
- for (int _i958 = 0; _i958 < _list956.size; ++_i958)
+ org.apache.thrift.protocol.TList _list964 = iprot.readListBegin();
+ struct.new_parts = new ArrayList<PartitionSpec>(_list964.size);
+ PartitionSpec _elem965;
+ for (int _i966 = 0; _i966 < _list964.size; ++_i966)
{
- _elem957 = new PartitionSpec();
- _elem957.read(iprot);
- struct.new_parts.add(_elem957);
+ _elem965 = new PartitionSpec();
+ _elem965.read(iprot);
+ struct.new_parts.add(_elem965);
}
iprot.readListEnd();
}
@@ -71535,9 +71535,9 @@ import org.slf4j.LoggerFactory;
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 _iter959 : struct.new_parts)
+ for (PartitionSpec _iter967 : struct.new_parts)
{
- _iter959.write(oprot);
+ _iter967.write(oprot);
}
oprot.writeListEnd();
}
@@ -71568,9 +71568,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetNew_parts()) {
{
oprot.writeI32(struct.new_parts.size());
- for (PartitionSpec _iter960 : struct.new_parts)
+ for (PartitionSpec _iter968 : struct.new_parts)
{
- _iter960.write(oprot);
+ _iter968.write(oprot);
}
}
}
@@ -71582,14 +71582,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list961 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.new_parts = new ArrayList<PartitionSpec>(_list961.size);
- PartitionSpec _elem962;
- for (int _i963 = 0; _i963 < _list961.size; ++_i963)
+ org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.new_parts = new ArrayList<PartitionSpec>(_list969.size);
+ PartitionSpec _elem970;
+ for (int _i971 = 0; _i971 < _list969.size; ++_i971)
{
- _elem962 = new PartitionSpec();
- _elem962.read(iprot);
- struct.new_parts.add(_elem962);
+ _elem970 = new PartitionSpec();
+ _elem970.read(iprot);
+ struct.new_parts.add(_elem970);
}
}
struct.setNew_partsIsSet(true);
@@ -72765,13 +72765,13 @@ import org.slf4j.LoggerFactory;
case 3: // PART_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list964 = iprot.readListBegin();
- struct.part_vals = new ArrayList<String>(_list964.size);
- String _elem965;
- for (int _i966 = 0; _i966 < _list964.size; ++_i966)
+ org.apache.thrift.protocol.TList _list972 = iprot.readListBegin();
+ struct.part_vals = new ArrayList<String>(_list972.size);
+ String _elem973;
+ for (int _i974 = 0; _i974 < _list972.size; ++_i974)
{
- _elem965 = iprot.readString();
- struct.part_vals.add(_elem965);
+ _elem973 = iprot.readString();
+ struct.part_vals.add(_elem973);
}
iprot.readListEnd();
}
@@ -72807,9 +72807,9 @@ import org.slf4j.LoggerFactory;
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 _iter967 : struct.part_vals)
+ for (String _iter975 : struct.part_vals)
{
- oprot.writeString(_iter967);
+ oprot.writeString(_iter975);
}
oprot.writeListEnd();
}
@@ -72852,9 +72852,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPart_vals()) {
{
oprot.writeI32(struct.part_vals.size());
- for (String _iter968 : struct.part_vals)
+ for (String _iter976 : struct.part_vals)
{
- oprot.writeString(_iter968);
+ oprot.writeString(_iter976);
}
}
}
@@ -72874,13 +72874,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.part_vals = new ArrayList<String>(_list969.size);
- String _elem970;
- for (int _i971 = 0; _i971 < _list969.size; ++_i971)
+ org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.part_vals = new ArrayList<String>(_list977.size);
+ String _elem978;
+ for (int _i979 = 0; _i979 < _list977.size; ++_i979)
{
- _elem970 = iprot.readString();
- struct.part_vals.add(_elem970);
+ _elem978 = iprot.readString();
+ struct.part_vals.add(_elem978);
}
}
struct.setPart_valsIsSet(true);
@@ -75189,13 +75189,13 @@ import org.slf4j.LoggerFactory;
case 3: // PART_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list972 = iprot.readListBegin();
- struct.part_vals = new ArrayList<String>(_list972.size);
- String _elem973;
- for (int _i974 = 0; _i974 < _list972.size; ++_i974)
+ org.apache.thrift.protocol.TList _list980 = iprot.readListBegin();
+ struct.part_vals = new ArrayList<String>(_list980.size);
+ String _elem981;
+ for (int _i982 = 0; _i982 < _list980.size; ++_i982)
{
- _elem973 = iprot.readString();
- struct.part_vals.add(_elem973);
+ _elem981 = iprot.readString();
+ struct.part_vals.add(_elem981);
}
iprot.readListEnd();
}
@@ -75240,9 +75240,9 @@ import org.slf4j.LoggerFactory;
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 _iter975 : struct.part_vals)
+ for (String _iter983 : struct.part_vals)
{
- oprot.writeString(_iter975);
+ oprot.writeString(_iter983);
}
oprot.writeListEnd();
}
@@ -75293,9 +75293,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPart_vals()) {
{
oprot.writeI32(struct.part_vals.size());
- for (String _iter976 : struct.part_vals)
+ for (String _iter984 : struct.part_vals)
{
- oprot.writeString(_iter976);
+ oprot.writeString(_iter984);
}
}
}
@@ -75318,13 +75318,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.part_vals = new ArrayList<String>(_list977.size);
- String _elem978;
- for (int _i979 = 0; _i979 < _list977.size; ++_i979)
+ org.apache.thrift.protocol.TList _list985 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.part_vals = new ArrayList<String>(_list985.size);
+ String _elem986;
+ for (int _i987 = 0; _i987 < _list985.size; ++_i987)
{
- _elem978 = iprot.readString();
- struct.part_vals.add(_elem978);
+ _elem986 = iprot.readString();
+ struct.part_vals.add(_elem986);
}
}
struct.setPart_valsIsSet(true);
@@ -79194,13 +79194,13 @@ import org.slf4j.LoggerFactory;
case 3: // PART_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list980 = iprot.readListBegin();
- struct.part_vals = new ArrayList<String>(_list980.size);
- String _elem981;
- for (int _i982 = 0; _i982 < _list980.size; ++_i982)
+ org.apache.thrift.protocol.TList _list988 = iprot.readListBegin();
+ struct.part_vals = new ArrayList<String>(_list988.size);
+ String _elem989;
+ for (int _i990 = 0; _i990 < _list988.size; ++_i990)
{
- _elem981 = iprot.readString();
- struct.part_vals.add(_elem981);
+ _elem989 = iprot.readString();
+ struct.part_vals.add(_elem989);
}
iprot.readListEnd();
}
@@ -79244,9 +79244,9 @@ import org.slf4j.LoggerFactory;
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 _iter983 : struct.part_vals)
+ for (String _iter991 : struct.part_vals)
{
- oprot.writeString(_iter983);
+ oprot.writeString(_iter991);
}
oprot.writeListEnd();
}
@@ -79295,9 +79295,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPart_vals()) {
{
oprot.writeI32(struct.part_vals.size());
- for (String _iter984 : struct.part_vals)
+ for (String _iter992 : struct.part_vals)
{
- oprot.writeString(_iter984);
+ oprot.writeString(_iter992);
}
}
}
@@ -79320,13 +79320,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list985 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.part_vals = new ArrayList<String>(_list985.size);
- String _elem986;
- for (int _i987 = 0; _i987 < _list985.size; ++_i987)
+ org.apache.thrift.protocol.TList _list993 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.part_vals = new ArrayList<String>(_list993.size);
+ String _elem994;
+ for (int _i995 = 0; _i995 < _list993.size; ++_i995)
{
- _elem986 = iprot.readString();
- struct.part_vals.add(_elem986);
+ _elem994 = iprot.readString();
+ struct.part_vals.add(_elem994);
}
}
struct.setPart_valsIsSet(true);
@@ -80565,13 +80565,13 @@ import org.slf4j.LoggerFactory;
case 3: // PART_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list988 = iprot.readListBegin();
- struct.part_vals = new ArrayList<String>(_list988.size);
- String _elem989;
- for (int _i990 = 0; _i990 < _list988.size; ++_i990)
+ org.apache.thrift.protocol.TList _list996 = iprot.readListBegin();
+ struct.part_vals = new ArrayList<String>(_list996.size);
+ String _elem997;
+ for (int _i998 = 0; _i998 < _list996.size; ++_i998)
{
- _elem989 = iprot.readString();
- struct.part_vals.add(_elem989);
+ _elem997 = iprot.readString();
+ struct.part_vals.add(_elem997);
}
iprot.readListEnd();
}
@@ -80624,9 +80624,9 @@ import org.slf4j.LoggerFactory;
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 _iter991 : struct.part_vals)
+ for (String _iter999 : struct.part_vals)
{
- oprot.writeString(_iter991);
+ oprot.writeString(_iter999);
}
oprot.writeListEnd();
}
@@ -80683,9 +80683,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPart_vals()) {
{
oprot.writeI32(struct.part_vals.size());
- for (String _iter992 : struct.part_vals)
+ for (String _iter1000 : struct.part_vals)
{
- oprot.writeString(_iter992);
+ oprot.writeString(_iter1000);
}
}
}
@@ -80711,13 +80711,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list993 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.part_vals = new ArrayList<String>(_list993.size);
- String _elem994;
- for (int _i995 = 0; _i995 < _list993.size; ++_i995)
+ org.apache.thrift.protocol.TList _list1001 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.part_vals = new ArrayList<String>(_list1001.size);
+ String _elem1002;
+ for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003)
{
- _elem994 = iprot.readString();
- struct.part_vals.add(_elem994);
+ _elem1002 = iprot.readString();
+ struct.part_vals.add(_elem1002);
}
}
struct.setPart_valsIsSet(true);
@@ -85319,13 +85319,13 @@ import org.slf4j.LoggerFactory;
case 3: // PART_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list996 = iprot.readListBegin();
- struct.part_vals = new ArrayList<String>(_list996.size);
- String _elem997;
- for (int _i998 = 0; _i998 < _list996.size; ++_i998)
+ org.apache.thrift.protocol.TList _list1004 = iprot.readListBegin();
+ struct.part_vals = new ArrayList<String>(_list1004.size);
+ String _elem1005;
+ for (int _i1006 = 0; _i1006 < _list1004.size; ++_i1006)
{
- _elem997 = iprot.readString();
- struct.part_vals.add(_elem997);
+ _elem1005 = iprot.readString();
+ struct.part_vals.add(_elem1005);
}
iprot.readListEnd();
}
@@ -85361,9 +85361,9 @@ import org.slf4j.LoggerFactory;
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 _iter999 : struct.part_vals)
+ for (String _iter1007 : struct.part_vals)
{
- oprot.writeString(_iter999);
+ oprot.writeString(_iter1007);
}
oprot.writeListEnd();
}
@@ -85406,9 +85406,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPart_vals()) {
{
oprot.writeI32(struct.part_vals.size());
- for (String _iter1000 : struct.part_vals)
+ for (String _iter1008 : struct.part_vals)
{
- oprot.writeString(_iter1000);
+ oprot.writeString(_iter1008);
}
}
}
@@ -85428,13 +85428,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list1001 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.part_vals = new ArrayList<String>(_list1001.size);
- String _elem1002;
- for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003)
+ org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.part_vals = new ArrayList<String>(_list1009.size);
+ String _elem1010;
+ for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011)
{
- _elem1002 = iprot.readString();
- struct.part_vals.add(_elem1002);
+ _elem1010 = iprot.readString();
+ struct.part_vals.add(_elem1010);
}
}
struct.setPart_valsIsSet(true);
@@ -86652,15 +86652,15 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITION_SPECS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map1004 = iprot.readMapBegin();
- struct.partitionSpecs = new HashMap<String,String>(2*_map1004.size);
- String _key1005;
- String _val1006;
- for (int _i1007 = 0; _i1007 < _map1004.size; ++_i1007)
+ org.apache.thrift.protocol.TMap _map1012 = iprot.readMapBegin();
+ struct.partitionSpecs = new HashMap<String,String>(2*_map1012.size);
+ String _key1013;
+ String _val1014;
+ for (int _i1015 = 0; _i1015 < _map1012.size; ++_i1015)
{
- _key1005 = iprot.readString();
- _val1006 = iprot.readString();
- struct.partitionSpecs.put(_key1005, _val1006);
+ _key1013 = iprot.readString();
+ _val1014 = iprot.readString();
+ struct.partitionSpecs.put(_key1013, _val1014);
}
iprot.readMapEnd();
}
@@ -86718,10 +86718,10 @@ import org.slf4j.LoggerFactory;
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<String, String> _iter1008 : struct.partitionSpecs.entrySet())
+ for (Map.Entry<String, String> _iter1016 : struct.partitionSpecs.entrySet())
{
- oprot.writeString(_iter1008.getKey());
- oprot.writeString(_iter1008.getValue());
+ oprot.writeString(_iter1016.getKey());
+ oprot.writeString(_iter1016.getValue());
}
oprot.writeMapEnd();
}
@@ -86784,10 +86784,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitionSpecs()) {
{
oprot.writeI32(struct.partitionSpecs.size());
- for (Map.Entry<String, String> _iter1009 : struct.partitionSpecs.entrySet())
+ for (Map.Entry<String, String> _iter1017 : struct.partitionSpecs.entrySet())
{
- oprot.writeString(_iter1009.getKey());
- oprot.writeString(_iter1009.getValue());
+ oprot.writeString(_iter1017.getKey());
+ oprot.writeString(_iter1017.getValue());
}
}
}
@@ -86811,15 +86811,15 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(5);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TMap _map1010 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partitionSpecs = new HashMap<String,String>(2*_map1010.size);
- String _key1011;
- String _val1012;
- for (int _i1013 = 0; _i1013 < _map1010.size; ++_i1013)
+ org.apache.thrift.protocol.TMap _map1018 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partitionSpecs = new HashMap<String,String>(2*_map1018.size);
+ String _key1019;
+ String _val1020;
+ for (int _i1021 = 0; _i1021 < _map1018.size; ++_i1021)
{
- _key1011 = iprot.readString();
- _val1012 = iprot.readString();
- st
<TRUNCATED>
[4/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
index 63b1c9a..b274250 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java
@@ -346,14 +346,14 @@ import org.slf4j.LoggerFactory;
case 1: // TRIGGERS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list778 = iprot.readListBegin();
- struct.triggers = new ArrayList<WMTrigger>(_list778.size);
- WMTrigger _elem779;
- for (int _i780 = 0; _i780 < _list778.size; ++_i780)
+ org.apache.thrift.protocol.TList _list786 = iprot.readListBegin();
+ struct.triggers = new ArrayList<WMTrigger>(_list786.size);
+ WMTrigger _elem787;
+ for (int _i788 = 0; _i788 < _list786.size; ++_i788)
{
- _elem779 = new WMTrigger();
- _elem779.read(iprot);
- struct.triggers.add(_elem779);
+ _elem787 = new WMTrigger();
+ _elem787.read(iprot);
+ struct.triggers.add(_elem787);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TRIGGERS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size()));
- for (WMTrigger _iter781 : struct.triggers)
+ for (WMTrigger _iter789 : struct.triggers)
{
- _iter781.write(oprot);
+ _iter789.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetTriggers()) {
{
oprot.writeI32(struct.triggers.size());
- for (WMTrigger _iter782 : struct.triggers)
+ for (WMTrigger _iter790 : struct.triggers)
{
- _iter782.write(oprot);
+ _iter790.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.triggers = new ArrayList<WMTrigger>(_list783.size);
- WMTrigger _elem784;
- for (int _i785 = 0; _i785 < _list783.size; ++_i785)
+ org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.triggers = new ArrayList<WMTrigger>(_list791.size);
+ WMTrigger _elem792;
+ for (int _i793 = 0; _i793 < _list791.size; ++_i793)
{
- _elem784 = new WMTrigger();
- _elem784.read(iprot);
- struct.triggers.add(_elem784);
+ _elem792 = new WMTrigger();
+ _elem792.read(iprot);
+ struct.triggers.add(_elem792);
}
}
struct.setTriggersIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
index 17938ae..b69cd4c 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java
@@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class WMValidateResourcePlanResponse implements org.apache.thrift.TBase<WMValidateResourcePlanResponse, WMValidateResourcePlanResponse._Fields>, java.io.Serializable, Cloneable, Comparable<WMValidateResourcePlanResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("WMValidateResourcePlanResponse");
- private static final org.apache.thrift.protocol.TField IS_VALID_FIELD_DESC = new org.apache.thrift.protocol.TField("isValid", org.apache.thrift.protocol.TType.BOOL, (short)1);
+ private static final org.apache.thrift.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift.protocol.TField("errors", org.apache.thrift.protocol.TType.LIST, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
@@ -46,11 +46,11 @@ import org.slf4j.LoggerFactory;
schemes.put(TupleScheme.class, new WMValidateResourcePlanResponseTupleSchemeFactory());
}
- private boolean isValid; // optional
+ private List<String> errors; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- IS_VALID((short)1, "isValid");
+ ERRORS((short)1, "errors");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -65,8 +65,8 @@ import org.slf4j.LoggerFactory;
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // IS_VALID
- return IS_VALID;
+ case 1: // ERRORS
+ return ERRORS;
default:
return null;
}
@@ -107,14 +107,13 @@ import org.slf4j.LoggerFactory;
}
// isset id assignments
- private static final int __ISVALID_ISSET_ID = 0;
- private byte __isset_bitfield = 0;
- private static final _Fields optionals[] = {_Fields.IS_VALID};
+ private static final _Fields optionals[] = {_Fields.ERRORS};
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.IS_VALID, new org.apache.thrift.meta_data.FieldMetaData("isValid", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+ tmpMap.put(_Fields.ERRORS, new org.apache.thrift.meta_data.FieldMetaData("errors", org.apache.thrift.TFieldRequirementType.OPTIONAL,
+ 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(WMValidateResourcePlanResponse.class, metaDataMap);
}
@@ -126,8 +125,10 @@ import org.slf4j.LoggerFactory;
* Performs a deep copy on <i>other</i>.
*/
public WMValidateResourcePlanResponse(WMValidateResourcePlanResponse other) {
- __isset_bitfield = other.__isset_bitfield;
- this.isValid = other.isValid;
+ if (other.isSetErrors()) {
+ List<String> __this__errors = new ArrayList<String>(other.errors);
+ this.errors = __this__errors;
+ }
}
public WMValidateResourcePlanResponse deepCopy() {
@@ -136,39 +137,54 @@ import org.slf4j.LoggerFactory;
@Override
public void clear() {
- setIsValidIsSet(false);
- this.isValid = false;
+ this.errors = null;
+ }
+
+ public int getErrorsSize() {
+ return (this.errors == null) ? 0 : this.errors.size();
+ }
+
+ public java.util.Iterator<String> getErrorsIterator() {
+ return (this.errors == null) ? null : this.errors.iterator();
}
- public boolean isIsValid() {
- return this.isValid;
+ public void addToErrors(String elem) {
+ if (this.errors == null) {
+ this.errors = new ArrayList<String>();
+ }
+ this.errors.add(elem);
}
- public void setIsValid(boolean isValid) {
- this.isValid = isValid;
- setIsValidIsSet(true);
+ public List<String> getErrors() {
+ return this.errors;
}
- public void unsetIsValid() {
- __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISVALID_ISSET_ID);
+ public void setErrors(List<String> errors) {
+ this.errors = errors;
}
- /** Returns true if field isValid is set (has been assigned a value) and false otherwise */
- public boolean isSetIsValid() {
- return EncodingUtils.testBit(__isset_bitfield, __ISVALID_ISSET_ID);
+ public void unsetErrors() {
+ this.errors = null;
}
- public void setIsValidIsSet(boolean value) {
- __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISVALID_ISSET_ID, value);
+ /** Returns true if field errors is set (has been assigned a value) and false otherwise */
+ public boolean isSetErrors() {
+ return this.errors != null;
+ }
+
+ public void setErrorsIsSet(boolean value) {
+ if (!value) {
+ this.errors = null;
+ }
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
- case IS_VALID:
+ case ERRORS:
if (value == null) {
- unsetIsValid();
+ unsetErrors();
} else {
- setIsValid((Boolean)value);
+ setErrors((List<String>)value);
}
break;
@@ -177,8 +193,8 @@ import org.slf4j.LoggerFactory;
public Object getFieldValue(_Fields field) {
switch (field) {
- case IS_VALID:
- return isIsValid();
+ case ERRORS:
+ return getErrors();
}
throw new IllegalStateException();
@@ -191,8 +207,8 @@ import org.slf4j.LoggerFactory;
}
switch (field) {
- case IS_VALID:
- return isSetIsValid();
+ case ERRORS:
+ return isSetErrors();
}
throw new IllegalStateException();
}
@@ -210,12 +226,12 @@ import org.slf4j.LoggerFactory;
if (that == null)
return false;
- boolean this_present_isValid = true && this.isSetIsValid();
- boolean that_present_isValid = true && that.isSetIsValid();
- if (this_present_isValid || that_present_isValid) {
- if (!(this_present_isValid && that_present_isValid))
+ boolean this_present_errors = true && this.isSetErrors();
+ boolean that_present_errors = true && that.isSetErrors();
+ if (this_present_errors || that_present_errors) {
+ if (!(this_present_errors && that_present_errors))
return false;
- if (this.isValid != that.isValid)
+ if (!this.errors.equals(that.errors))
return false;
}
@@ -226,10 +242,10 @@ import org.slf4j.LoggerFactory;
public int hashCode() {
List<Object> list = new ArrayList<Object>();
- boolean present_isValid = true && (isSetIsValid());
- list.add(present_isValid);
- if (present_isValid)
- list.add(isValid);
+ boolean present_errors = true && (isSetErrors());
+ list.add(present_errors);
+ if (present_errors)
+ list.add(errors);
return list.hashCode();
}
@@ -242,12 +258,12 @@ import org.slf4j.LoggerFactory;
int lastComparison = 0;
- lastComparison = Boolean.valueOf(isSetIsValid()).compareTo(other.isSetIsValid());
+ lastComparison = Boolean.valueOf(isSetErrors()).compareTo(other.isSetErrors());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetIsValid()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isValid, other.isValid);
+ if (isSetErrors()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errors, other.errors);
if (lastComparison != 0) {
return lastComparison;
}
@@ -272,9 +288,13 @@ import org.slf4j.LoggerFactory;
StringBuilder sb = new StringBuilder("WMValidateResourcePlanResponse(");
boolean first = true;
- if (isSetIsValid()) {
- sb.append("isValid:");
- sb.append(this.isValid);
+ if (isSetErrors()) {
+ sb.append("errors:");
+ if (this.errors == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.errors);
+ }
first = false;
}
sb.append(")");
@@ -296,8 +316,6 @@ import org.slf4j.LoggerFactory;
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);
@@ -322,10 +340,20 @@ import org.slf4j.LoggerFactory;
break;
}
switch (schemeField.id) {
- case 1: // IS_VALID
- if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
- struct.isValid = iprot.readBool();
- struct.setIsValidIsSet(true);
+ case 1: // ERRORS
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list778 = iprot.readListBegin();
+ struct.errors = new ArrayList<String>(_list778.size);
+ String _elem779;
+ for (int _i780 = 0; _i780 < _list778.size; ++_i780)
+ {
+ _elem779 = iprot.readString();
+ struct.errors.add(_elem779);
+ }
+ iprot.readListEnd();
+ }
+ struct.setErrorsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -343,10 +371,19 @@ import org.slf4j.LoggerFactory;
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.isSetIsValid()) {
- oprot.writeFieldBegin(IS_VALID_FIELD_DESC);
- oprot.writeBool(struct.isValid);
- oprot.writeFieldEnd();
+ if (struct.errors != null) {
+ if (struct.isSetErrors()) {
+ oprot.writeFieldBegin(ERRORS_FIELD_DESC);
+ {
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size()));
+ for (String _iter781 : struct.errors)
+ {
+ oprot.writeString(_iter781);
+ }
+ oprot.writeListEnd();
+ }
+ oprot.writeFieldEnd();
+ }
}
oprot.writeFieldStop();
oprot.writeStructEnd();
@@ -366,12 +403,18 @@ import org.slf4j.LoggerFactory;
public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePlanResponse struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
- if (struct.isSetIsValid()) {
+ if (struct.isSetErrors()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
- if (struct.isSetIsValid()) {
- oprot.writeBool(struct.isValid);
+ if (struct.isSetErrors()) {
+ {
+ oprot.writeI32(struct.errors.size());
+ for (String _iter782 : struct.errors)
+ {
+ oprot.writeString(_iter782);
+ }
+ }
}
}
@@ -380,8 +423,17 @@ import org.slf4j.LoggerFactory;
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.isValid = iprot.readBool();
- struct.setIsValidIsSet(true);
+ {
+ org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.errors = new ArrayList<String>(_list783.size);
+ String _elem784;
+ for (int _i785 = 0; _i785 < _list783.size; ++_i785)
+ {
+ _elem784 = iprot.readString();
+ struct.errors.add(_elem784);
+ }
+ }
+ struct.setErrorsIsSet(true);
}
}
}
[2/8] hive git commit: HIVE-18179 : Implement validate resource plan
(part 1) (Harish Jaiprakash, reviewed by Sergey Shelukhin)
Posted by se...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php
index 997e1f7..e78a851 100644
--- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php
+++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php
@@ -22300,22 +22300,26 @@ class WMValidateResourcePlanResponse {
static $_TSPEC;
/**
- * @var bool
+ * @var string[]
*/
- public $isValid = null;
+ public $errors = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
- 'var' => 'isValid',
- 'type' => TType::BOOL,
+ 'var' => 'errors',
+ 'type' => TType::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
),
);
}
if (is_array($vals)) {
- if (isset($vals['isValid'])) {
- $this->isValid = $vals['isValid'];
+ if (isset($vals['errors'])) {
+ $this->errors = $vals['errors'];
}
}
}
@@ -22340,8 +22344,18 @@ class WMValidateResourcePlanResponse {
switch ($fid)
{
case 1:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->isValid);
+ if ($ftype == TType::LST) {
+ $this->errors = array();
+ $_size687 = 0;
+ $_etype690 = 0;
+ $xfer += $input->readListBegin($_etype690, $_size687);
+ for ($_i691 = 0; $_i691 < $_size687; ++$_i691)
+ {
+ $elem692 = null;
+ $xfer += $input->readString($elem692);
+ $this->errors []= $elem692;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -22359,9 +22373,21 @@ class WMValidateResourcePlanResponse {
public function write($output) {
$xfer = 0;
$xfer += $output->writeStructBegin('WMValidateResourcePlanResponse');
- if ($this->isValid !== null) {
- $xfer += $output->writeFieldBegin('isValid', TType::BOOL, 1);
- $xfer += $output->writeBool($this->isValid);
+ if ($this->errors !== null) {
+ if (!is_array($this->errors)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('errors', TType::LST, 1);
+ {
+ $output->writeListBegin(TType::STRING, count($this->errors));
+ {
+ foreach ($this->errors as $iter693)
+ {
+ $xfer += $output->writeString($iter693);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -23030,15 +23056,15 @@ class WMGetTriggersForResourePlanResponse {
case 1:
if ($ftype == TType::LST) {
$this->triggers = array();
- $_size687 = 0;
- $_etype690 = 0;
- $xfer += $input->readListBegin($_etype690, $_size687);
- for ($_i691 = 0; $_i691 < $_size687; ++$_i691)
+ $_size694 = 0;
+ $_etype697 = 0;
+ $xfer += $input->readListBegin($_etype697, $_size694);
+ for ($_i698 = 0; $_i698 < $_size694; ++$_i698)
{
- $elem692 = null;
- $elem692 = new \metastore\WMTrigger();
- $xfer += $elem692->read($input);
- $this->triggers []= $elem692;
+ $elem699 = null;
+ $elem699 = new \metastore\WMTrigger();
+ $xfer += $elem699->read($input);
+ $this->triggers []= $elem699;
}
$xfer += $input->readListEnd();
} else {
@@ -23066,9 +23092,9 @@ class WMGetTriggersForResourePlanResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->triggers));
{
- foreach ($this->triggers as $iter693)
+ foreach ($this->triggers as $iter700)
{
- $xfer += $iter693->write($output);
+ $xfer += $iter700->write($output);
}
}
$output->writeListEnd();
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
index 807e6b7..808ee09 100644
--- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
+++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
@@ -13371,10 +13371,10 @@ class get_databases_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype695, _size692) = iprot.readListBegin()
- for _i696 in xrange(_size692):
- _elem697 = iprot.readString()
- self.success.append(_elem697)
+ (_etype702, _size699) = iprot.readListBegin()
+ for _i703 in xrange(_size699):
+ _elem704 = iprot.readString()
+ self.success.append(_elem704)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -13397,8 +13397,8 @@ class get_databases_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter698 in self.success:
- oprot.writeString(iter698)
+ for iter705 in self.success:
+ oprot.writeString(iter705)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -13503,10 +13503,10 @@ class get_all_databases_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype702, _size699) = iprot.readListBegin()
- for _i703 in xrange(_size699):
- _elem704 = iprot.readString()
- self.success.append(_elem704)
+ (_etype709, _size706) = iprot.readListBegin()
+ for _i710 in xrange(_size706):
+ _elem711 = iprot.readString()
+ self.success.append(_elem711)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -13529,8 +13529,8 @@ class get_all_databases_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter705 in self.success:
- oprot.writeString(iter705)
+ for iter712 in self.success:
+ oprot.writeString(iter712)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -14300,12 +14300,12 @@ class get_type_all_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype707, _vtype708, _size706 ) = iprot.readMapBegin()
- for _i710 in xrange(_size706):
- _key711 = iprot.readString()
- _val712 = Type()
- _val712.read(iprot)
- self.success[_key711] = _val712
+ (_ktype714, _vtype715, _size713 ) = iprot.readMapBegin()
+ for _i717 in xrange(_size713):
+ _key718 = iprot.readString()
+ _val719 = Type()
+ _val719.read(iprot)
+ self.success[_key718] = _val719
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -14328,9 +14328,9 @@ class get_type_all_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
- for kiter713,viter714 in self.success.items():
- oprot.writeString(kiter713)
- viter714.write(oprot)
+ for kiter720,viter721 in self.success.items():
+ oprot.writeString(kiter720)
+ viter721.write(oprot)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.o2 is not None:
@@ -14473,11 +14473,11 @@ class get_fields_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype718, _size715) = iprot.readListBegin()
- for _i719 in xrange(_size715):
- _elem720 = FieldSchema()
- _elem720.read(iprot)
- self.success.append(_elem720)
+ (_etype725, _size722) = iprot.readListBegin()
+ for _i726 in xrange(_size722):
+ _elem727 = FieldSchema()
+ _elem727.read(iprot)
+ self.success.append(_elem727)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -14512,8 +14512,8 @@ class get_fields_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter721 in self.success:
- iter721.write(oprot)
+ for iter728 in self.success:
+ iter728.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -14680,11 +14680,11 @@ class get_fields_with_environment_context_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype725, _size722) = iprot.readListBegin()
- for _i726 in xrange(_size722):
- _elem727 = FieldSchema()
- _elem727.read(iprot)
- self.success.append(_elem727)
+ (_etype732, _size729) = iprot.readListBegin()
+ for _i733 in xrange(_size729):
+ _elem734 = FieldSchema()
+ _elem734.read(iprot)
+ self.success.append(_elem734)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -14719,8 +14719,8 @@ class get_fields_with_environment_context_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter728 in self.success:
- iter728.write(oprot)
+ for iter735 in self.success:
+ iter735.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -14873,11 +14873,11 @@ class get_schema_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype732, _size729) = iprot.readListBegin()
- for _i733 in xrange(_size729):
- _elem734 = FieldSchema()
- _elem734.read(iprot)
- self.success.append(_elem734)
+ (_etype739, _size736) = iprot.readListBegin()
+ for _i740 in xrange(_size736):
+ _elem741 = FieldSchema()
+ _elem741.read(iprot)
+ self.success.append(_elem741)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -14912,8 +14912,8 @@ class get_schema_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter735 in self.success:
- iter735.write(oprot)
+ for iter742 in self.success:
+ iter742.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -15080,11 +15080,11 @@ class get_schema_with_environment_context_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype739, _size736) = iprot.readListBegin()
- for _i740 in xrange(_size736):
- _elem741 = FieldSchema()
- _elem741.read(iprot)
- self.success.append(_elem741)
+ (_etype746, _size743) = iprot.readListBegin()
+ for _i747 in xrange(_size743):
+ _elem748 = FieldSchema()
+ _elem748.read(iprot)
+ self.success.append(_elem748)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -15119,8 +15119,8 @@ class get_schema_with_environment_context_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter742 in self.success:
- iter742.write(oprot)
+ for iter749 in self.success:
+ iter749.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -15567,44 +15567,44 @@ class create_table_with_constraints_args:
elif fid == 2:
if ftype == TType.LIST:
self.primaryKeys = []
- (_etype746, _size743) = iprot.readListBegin()
- for _i747 in xrange(_size743):
- _elem748 = SQLPrimaryKey()
- _elem748.read(iprot)
- self.primaryKeys.append(_elem748)
+ (_etype753, _size750) = iprot.readListBegin()
+ for _i754 in xrange(_size750):
+ _elem755 = SQLPrimaryKey()
+ _elem755.read(iprot)
+ self.primaryKeys.append(_elem755)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.LIST:
self.foreignKeys = []
- (_etype752, _size749) = iprot.readListBegin()
- for _i753 in xrange(_size749):
- _elem754 = SQLForeignKey()
- _elem754.read(iprot)
- self.foreignKeys.append(_elem754)
+ (_etype759, _size756) = iprot.readListBegin()
+ for _i760 in xrange(_size756):
+ _elem761 = SQLForeignKey()
+ _elem761.read(iprot)
+ self.foreignKeys.append(_elem761)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.LIST:
self.uniqueConstraints = []
- (_etype758, _size755) = iprot.readListBegin()
- for _i759 in xrange(_size755):
- _elem760 = SQLUniqueConstraint()
- _elem760.read(iprot)
- self.uniqueConstraints.append(_elem760)
+ (_etype765, _size762) = iprot.readListBegin()
+ for _i766 in xrange(_size762):
+ _elem767 = SQLUniqueConstraint()
+ _elem767.read(iprot)
+ self.uniqueConstraints.append(_elem767)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.LIST:
self.notNullConstraints = []
- (_etype764, _size761) = iprot.readListBegin()
- for _i765 in xrange(_size761):
- _elem766 = SQLNotNullConstraint()
- _elem766.read(iprot)
- self.notNullConstraints.append(_elem766)
+ (_etype771, _size768) = iprot.readListBegin()
+ for _i772 in xrange(_size768):
+ _elem773 = SQLNotNullConstraint()
+ _elem773.read(iprot)
+ self.notNullConstraints.append(_elem773)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -15625,29 +15625,29 @@ class create_table_with_constraints_args:
if self.primaryKeys is not None:
oprot.writeFieldBegin('primaryKeys', TType.LIST, 2)
oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys))
- for iter767 in self.primaryKeys:
- iter767.write(oprot)
+ for iter774 in self.primaryKeys:
+ iter774.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.foreignKeys is not None:
oprot.writeFieldBegin('foreignKeys', TType.LIST, 3)
oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys))
- for iter768 in self.foreignKeys:
- iter768.write(oprot)
+ for iter775 in self.foreignKeys:
+ iter775.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.uniqueConstraints is not None:
oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4)
oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints))
- for iter769 in self.uniqueConstraints:
- iter769.write(oprot)
+ for iter776 in self.uniqueConstraints:
+ iter776.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.notNullConstraints is not None:
oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5)
oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints))
- for iter770 in self.notNullConstraints:
- iter770.write(oprot)
+ for iter777 in self.notNullConstraints:
+ iter777.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -16913,10 +16913,10 @@ class truncate_table_args:
elif fid == 3:
if ftype == TType.LIST:
self.partNames = []
- (_etype774, _size771) = iprot.readListBegin()
- for _i775 in xrange(_size771):
- _elem776 = iprot.readString()
- self.partNames.append(_elem776)
+ (_etype781, _size778) = iprot.readListBegin()
+ for _i782 in xrange(_size778):
+ _elem783 = iprot.readString()
+ self.partNames.append(_elem783)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -16941,8 +16941,8 @@ class truncate_table_args:
if self.partNames is not None:
oprot.writeFieldBegin('partNames', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.partNames))
- for iter777 in self.partNames:
- oprot.writeString(iter777)
+ for iter784 in self.partNames:
+ oprot.writeString(iter784)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -17142,10 +17142,10 @@ class get_tables_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype781, _size778) = iprot.readListBegin()
- for _i782 in xrange(_size778):
- _elem783 = iprot.readString()
- self.success.append(_elem783)
+ (_etype788, _size785) = iprot.readListBegin()
+ for _i789 in xrange(_size785):
+ _elem790 = iprot.readString()
+ self.success.append(_elem790)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -17168,8 +17168,8 @@ class get_tables_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter784 in self.success:
- oprot.writeString(iter784)
+ for iter791 in self.success:
+ oprot.writeString(iter791)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -17319,10 +17319,10 @@ class get_tables_by_type_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype788, _size785) = iprot.readListBegin()
- for _i789 in xrange(_size785):
- _elem790 = iprot.readString()
- self.success.append(_elem790)
+ (_etype795, _size792) = iprot.readListBegin()
+ for _i796 in xrange(_size792):
+ _elem797 = iprot.readString()
+ self.success.append(_elem797)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -17345,8 +17345,8 @@ class get_tables_by_type_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter791 in self.success:
- oprot.writeString(iter791)
+ for iter798 in self.success:
+ oprot.writeString(iter798)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -17419,10 +17419,10 @@ class get_table_meta_args:
elif fid == 3:
if ftype == TType.LIST:
self.tbl_types = []
- (_etype795, _size792) = iprot.readListBegin()
- for _i796 in xrange(_size792):
- _elem797 = iprot.readString()
- self.tbl_types.append(_elem797)
+ (_etype802, _size799) = iprot.readListBegin()
+ for _i803 in xrange(_size799):
+ _elem804 = iprot.readString()
+ self.tbl_types.append(_elem804)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -17447,8 +17447,8 @@ class get_table_meta_args:
if self.tbl_types is not None:
oprot.writeFieldBegin('tbl_types', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.tbl_types))
- for iter798 in self.tbl_types:
- oprot.writeString(iter798)
+ for iter805 in self.tbl_types:
+ oprot.writeString(iter805)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -17504,11 +17504,11 @@ class get_table_meta_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype802, _size799) = iprot.readListBegin()
- for _i803 in xrange(_size799):
- _elem804 = TableMeta()
- _elem804.read(iprot)
- self.success.append(_elem804)
+ (_etype809, _size806) = iprot.readListBegin()
+ for _i810 in xrange(_size806):
+ _elem811 = TableMeta()
+ _elem811.read(iprot)
+ self.success.append(_elem811)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -17531,8 +17531,8 @@ class get_table_meta_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter805 in self.success:
- iter805.write(oprot)
+ for iter812 in self.success:
+ iter812.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -17656,10 +17656,10 @@ class get_all_tables_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype809, _size806) = iprot.readListBegin()
- for _i810 in xrange(_size806):
- _elem811 = iprot.readString()
- self.success.append(_elem811)
+ (_etype816, _size813) = iprot.readListBegin()
+ for _i817 in xrange(_size813):
+ _elem818 = iprot.readString()
+ self.success.append(_elem818)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -17682,8 +17682,8 @@ class get_all_tables_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter812 in self.success:
- oprot.writeString(iter812)
+ for iter819 in self.success:
+ oprot.writeString(iter819)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -17919,10 +17919,10 @@ class get_table_objects_by_name_args:
elif fid == 2:
if ftype == TType.LIST:
self.tbl_names = []
- (_etype816, _size813) = iprot.readListBegin()
- for _i817 in xrange(_size813):
- _elem818 = iprot.readString()
- self.tbl_names.append(_elem818)
+ (_etype823, _size820) = iprot.readListBegin()
+ for _i824 in xrange(_size820):
+ _elem825 = iprot.readString()
+ self.tbl_names.append(_elem825)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -17943,8 +17943,8 @@ class get_table_objects_by_name_args:
if self.tbl_names is not None:
oprot.writeFieldBegin('tbl_names', TType.LIST, 2)
oprot.writeListBegin(TType.STRING, len(self.tbl_names))
- for iter819 in self.tbl_names:
- oprot.writeString(iter819)
+ for iter826 in self.tbl_names:
+ oprot.writeString(iter826)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -17996,11 +17996,11 @@ class get_table_objects_by_name_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype823, _size820) = iprot.readListBegin()
- for _i824 in xrange(_size820):
- _elem825 = Table()
- _elem825.read(iprot)
- self.success.append(_elem825)
+ (_etype830, _size827) = iprot.readListBegin()
+ for _i831 in xrange(_size827):
+ _elem832 = Table()
+ _elem832.read(iprot)
+ self.success.append(_elem832)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -18017,8 +18017,8 @@ class get_table_objects_by_name_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter826 in self.success:
- iter826.write(oprot)
+ for iter833 in self.success:
+ iter833.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -18501,10 +18501,10 @@ class get_table_names_by_filter_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype830, _size827) = iprot.readListBegin()
- for _i831 in xrange(_size827):
- _elem832 = iprot.readString()
- self.success.append(_elem832)
+ (_etype837, _size834) = iprot.readListBegin()
+ for _i838 in xrange(_size834):
+ _elem839 = iprot.readString()
+ self.success.append(_elem839)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -18539,8 +18539,8 @@ class get_table_names_by_filter_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter833 in self.success:
- oprot.writeString(iter833)
+ for iter840 in self.success:
+ oprot.writeString(iter840)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -19510,11 +19510,11 @@ class add_partitions_args:
if fid == 1:
if ftype == TType.LIST:
self.new_parts = []
- (_etype837, _size834) = iprot.readListBegin()
- for _i838 in xrange(_size834):
- _elem839 = Partition()
- _elem839.read(iprot)
- self.new_parts.append(_elem839)
+ (_etype844, _size841) = iprot.readListBegin()
+ for _i845 in xrange(_size841):
+ _elem846 = Partition()
+ _elem846.read(iprot)
+ self.new_parts.append(_elem846)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -19531,8 +19531,8 @@ class add_partitions_args:
if self.new_parts is not None:
oprot.writeFieldBegin('new_parts', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.new_parts))
- for iter840 in self.new_parts:
- iter840.write(oprot)
+ for iter847 in self.new_parts:
+ iter847.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -19690,11 +19690,11 @@ class add_partitions_pspec_args:
if fid == 1:
if ftype == TType.LIST:
self.new_parts = []
- (_etype844, _size841) = iprot.readListBegin()
- for _i845 in xrange(_size841):
- _elem846 = PartitionSpec()
- _elem846.read(iprot)
- self.new_parts.append(_elem846)
+ (_etype851, _size848) = iprot.readListBegin()
+ for _i852 in xrange(_size848):
+ _elem853 = PartitionSpec()
+ _elem853.read(iprot)
+ self.new_parts.append(_elem853)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -19711,8 +19711,8 @@ class add_partitions_pspec_args:
if self.new_parts is not None:
oprot.writeFieldBegin('new_parts', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.new_parts))
- for iter847 in self.new_parts:
- iter847.write(oprot)
+ for iter854 in self.new_parts:
+ iter854.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -19886,10 +19886,10 @@ class append_partition_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype851, _size848) = iprot.readListBegin()
- for _i852 in xrange(_size848):
- _elem853 = iprot.readString()
- self.part_vals.append(_elem853)
+ (_etype858, _size855) = iprot.readListBegin()
+ for _i859 in xrange(_size855):
+ _elem860 = iprot.readString()
+ self.part_vals.append(_elem860)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -19914,8 +19914,8 @@ class append_partition_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter854 in self.part_vals:
- oprot.writeString(iter854)
+ for iter861 in self.part_vals:
+ oprot.writeString(iter861)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -20268,10 +20268,10 @@ class append_partition_with_environment_context_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype858, _size855) = iprot.readListBegin()
- for _i859 in xrange(_size855):
- _elem860 = iprot.readString()
- self.part_vals.append(_elem860)
+ (_etype865, _size862) = iprot.readListBegin()
+ for _i866 in xrange(_size862):
+ _elem867 = iprot.readString()
+ self.part_vals.append(_elem867)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -20302,8 +20302,8 @@ class append_partition_with_environment_context_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter861 in self.part_vals:
- oprot.writeString(iter861)
+ for iter868 in self.part_vals:
+ oprot.writeString(iter868)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.environment_context is not None:
@@ -20898,10 +20898,10 @@ class drop_partition_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype865, _size862) = iprot.readListBegin()
- for _i866 in xrange(_size862):
- _elem867 = iprot.readString()
- self.part_vals.append(_elem867)
+ (_etype872, _size869) = iprot.readListBegin()
+ for _i873 in xrange(_size869):
+ _elem874 = iprot.readString()
+ self.part_vals.append(_elem874)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -20931,8 +20931,8 @@ class drop_partition_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter868 in self.part_vals:
- oprot.writeString(iter868)
+ for iter875 in self.part_vals:
+ oprot.writeString(iter875)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.deleteData is not None:
@@ -21105,10 +21105,10 @@ class drop_partition_with_environment_context_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype872, _size869) = iprot.readListBegin()
- for _i873 in xrange(_size869):
- _elem874 = iprot.readString()
- self.part_vals.append(_elem874)
+ (_etype879, _size876) = iprot.readListBegin()
+ for _i880 in xrange(_size876):
+ _elem881 = iprot.readString()
+ self.part_vals.append(_elem881)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -21144,8 +21144,8 @@ class drop_partition_with_environment_context_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter875 in self.part_vals:
- oprot.writeString(iter875)
+ for iter882 in self.part_vals:
+ oprot.writeString(iter882)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.deleteData is not None:
@@ -21882,10 +21882,10 @@ class get_partition_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype879, _size876) = iprot.readListBegin()
- for _i880 in xrange(_size876):
- _elem881 = iprot.readString()
- self.part_vals.append(_elem881)
+ (_etype886, _size883) = iprot.readListBegin()
+ for _i887 in xrange(_size883):
+ _elem888 = iprot.readString()
+ self.part_vals.append(_elem888)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -21910,8 +21910,8 @@ class get_partition_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter882 in self.part_vals:
- oprot.writeString(iter882)
+ for iter889 in self.part_vals:
+ oprot.writeString(iter889)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -22070,11 +22070,11 @@ class exchange_partition_args:
if fid == 1:
if ftype == TType.MAP:
self.partitionSpecs = {}
- (_ktype884, _vtype885, _size883 ) = iprot.readMapBegin()
- for _i887 in xrange(_size883):
- _key888 = iprot.readString()
- _val889 = iprot.readString()
- self.partitionSpecs[_key888] = _val889
+ (_ktype891, _vtype892, _size890 ) = iprot.readMapBegin()
+ for _i894 in xrange(_size890):
+ _key895 = iprot.readString()
+ _val896 = iprot.readString()
+ self.partitionSpecs[_key895] = _val896
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -22111,9 +22111,9 @@ class exchange_partition_args:
if self.partitionSpecs is not None:
oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs))
- for kiter890,viter891 in self.partitionSpecs.items():
- oprot.writeString(kiter890)
- oprot.writeString(viter891)
+ for kiter897,viter898 in self.partitionSpecs.items():
+ oprot.writeString(kiter897)
+ oprot.writeString(viter898)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.source_db is not None:
@@ -22318,11 +22318,11 @@ class exchange_partitions_args:
if fid == 1:
if ftype == TType.MAP:
self.partitionSpecs = {}
- (_ktype893, _vtype894, _size892 ) = iprot.readMapBegin()
- for _i896 in xrange(_size892):
- _key897 = iprot.readString()
- _val898 = iprot.readString()
- self.partitionSpecs[_key897] = _val898
+ (_ktype900, _vtype901, _size899 ) = iprot.readMapBegin()
+ for _i903 in xrange(_size899):
+ _key904 = iprot.readString()
+ _val905 = iprot.readString()
+ self.partitionSpecs[_key904] = _val905
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -22359,9 +22359,9 @@ class exchange_partitions_args:
if self.partitionSpecs is not None:
oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs))
- for kiter899,viter900 in self.partitionSpecs.items():
- oprot.writeString(kiter899)
- oprot.writeString(viter900)
+ for kiter906,viter907 in self.partitionSpecs.items():
+ oprot.writeString(kiter906)
+ oprot.writeString(viter907)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.source_db is not None:
@@ -22444,11 +22444,11 @@ class exchange_partitions_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype904, _size901) = iprot.readListBegin()
- for _i905 in xrange(_size901):
- _elem906 = Partition()
- _elem906.read(iprot)
- self.success.append(_elem906)
+ (_etype911, _size908) = iprot.readListBegin()
+ for _i912 in xrange(_size908):
+ _elem913 = Partition()
+ _elem913.read(iprot)
+ self.success.append(_elem913)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22489,8 +22489,8 @@ class exchange_partitions_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter907 in self.success:
- iter907.write(oprot)
+ for iter914 in self.success:
+ iter914.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -22584,10 +22584,10 @@ class get_partition_with_auth_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype911, _size908) = iprot.readListBegin()
- for _i912 in xrange(_size908):
- _elem913 = iprot.readString()
- self.part_vals.append(_elem913)
+ (_etype918, _size915) = iprot.readListBegin()
+ for _i919 in xrange(_size915):
+ _elem920 = iprot.readString()
+ self.part_vals.append(_elem920)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22599,10 +22599,10 @@ class get_partition_with_auth_args:
elif fid == 5:
if ftype == TType.LIST:
self.group_names = []
- (_etype917, _size914) = iprot.readListBegin()
- for _i918 in xrange(_size914):
- _elem919 = iprot.readString()
- self.group_names.append(_elem919)
+ (_etype924, _size921) = iprot.readListBegin()
+ for _i925 in xrange(_size921):
+ _elem926 = iprot.readString()
+ self.group_names.append(_elem926)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22627,8 +22627,8 @@ class get_partition_with_auth_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter920 in self.part_vals:
- oprot.writeString(iter920)
+ for iter927 in self.part_vals:
+ oprot.writeString(iter927)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.user_name is not None:
@@ -22638,8 +22638,8 @@ class get_partition_with_auth_args:
if self.group_names is not None:
oprot.writeFieldBegin('group_names', TType.LIST, 5)
oprot.writeListBegin(TType.STRING, len(self.group_names))
- for iter921 in self.group_names:
- oprot.writeString(iter921)
+ for iter928 in self.group_names:
+ oprot.writeString(iter928)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -23068,11 +23068,11 @@ class get_partitions_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype925, _size922) = iprot.readListBegin()
- for _i926 in xrange(_size922):
- _elem927 = Partition()
- _elem927.read(iprot)
- self.success.append(_elem927)
+ (_etype932, _size929) = iprot.readListBegin()
+ for _i933 in xrange(_size929):
+ _elem934 = Partition()
+ _elem934.read(iprot)
+ self.success.append(_elem934)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23101,8 +23101,8 @@ class get_partitions_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter928 in self.success:
- iter928.write(oprot)
+ for iter935 in self.success:
+ iter935.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -23196,10 +23196,10 @@ class get_partitions_with_auth_args:
elif fid == 5:
if ftype == TType.LIST:
self.group_names = []
- (_etype932, _size929) = iprot.readListBegin()
- for _i933 in xrange(_size929):
- _elem934 = iprot.readString()
- self.group_names.append(_elem934)
+ (_etype939, _size936) = iprot.readListBegin()
+ for _i940 in xrange(_size936):
+ _elem941 = iprot.readString()
+ self.group_names.append(_elem941)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23232,8 +23232,8 @@ class get_partitions_with_auth_args:
if self.group_names is not None:
oprot.writeFieldBegin('group_names', TType.LIST, 5)
oprot.writeListBegin(TType.STRING, len(self.group_names))
- for iter935 in self.group_names:
- oprot.writeString(iter935)
+ for iter942 in self.group_names:
+ oprot.writeString(iter942)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -23294,11 +23294,11 @@ class get_partitions_with_auth_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype939, _size936) = iprot.readListBegin()
- for _i940 in xrange(_size936):
- _elem941 = Partition()
- _elem941.read(iprot)
- self.success.append(_elem941)
+ (_etype946, _size943) = iprot.readListBegin()
+ for _i947 in xrange(_size943):
+ _elem948 = Partition()
+ _elem948.read(iprot)
+ self.success.append(_elem948)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23327,8 +23327,8 @@ class get_partitions_with_auth_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter942 in self.success:
- iter942.write(oprot)
+ for iter949 in self.success:
+ iter949.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -23486,11 +23486,11 @@ class get_partitions_pspec_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype946, _size943) = iprot.readListBegin()
- for _i947 in xrange(_size943):
- _elem948 = PartitionSpec()
- _elem948.read(iprot)
- self.success.append(_elem948)
+ (_etype953, _size950) = iprot.readListBegin()
+ for _i954 in xrange(_size950):
+ _elem955 = PartitionSpec()
+ _elem955.read(iprot)
+ self.success.append(_elem955)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23519,8 +23519,8 @@ class get_partitions_pspec_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter949 in self.success:
- iter949.write(oprot)
+ for iter956 in self.success:
+ iter956.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -23678,10 +23678,10 @@ class get_partition_names_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype953, _size950) = iprot.readListBegin()
- for _i954 in xrange(_size950):
- _elem955 = iprot.readString()
- self.success.append(_elem955)
+ (_etype960, _size957) = iprot.readListBegin()
+ for _i961 in xrange(_size957):
+ _elem962 = iprot.readString()
+ self.success.append(_elem962)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23710,8 +23710,8 @@ class get_partition_names_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter956 in self.success:
- oprot.writeString(iter956)
+ for iter963 in self.success:
+ oprot.writeString(iter963)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -23951,10 +23951,10 @@ class get_partitions_ps_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype960, _size957) = iprot.readListBegin()
- for _i961 in xrange(_size957):
- _elem962 = iprot.readString()
- self.part_vals.append(_elem962)
+ (_etype967, _size964) = iprot.readListBegin()
+ for _i968 in xrange(_size964):
+ _elem969 = iprot.readString()
+ self.part_vals.append(_elem969)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23984,8 +23984,8 @@ class get_partitions_ps_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter963 in self.part_vals:
- oprot.writeString(iter963)
+ for iter970 in self.part_vals:
+ oprot.writeString(iter970)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.max_parts is not None:
@@ -24049,11 +24049,11 @@ class get_partitions_ps_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype967, _size964) = iprot.readListBegin()
- for _i968 in xrange(_size964):
- _elem969 = Partition()
- _elem969.read(iprot)
- self.success.append(_elem969)
+ (_etype974, _size971) = iprot.readListBegin()
+ for _i975 in xrange(_size971):
+ _elem976 = Partition()
+ _elem976.read(iprot)
+ self.success.append(_elem976)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24082,8 +24082,8 @@ class get_partitions_ps_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter970 in self.success:
- iter970.write(oprot)
+ for iter977 in self.success:
+ iter977.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -24170,10 +24170,10 @@ class get_partitions_ps_with_auth_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype974, _size971) = iprot.readListBegin()
- for _i975 in xrange(_size971):
- _elem976 = iprot.readString()
- self.part_vals.append(_elem976)
+ (_etype981, _size978) = iprot.readListBegin()
+ for _i982 in xrange(_size978):
+ _elem983 = iprot.readString()
+ self.part_vals.append(_elem983)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24190,10 +24190,10 @@ class get_partitions_ps_with_auth_args:
elif fid == 6:
if ftype == TType.LIST:
self.group_names = []
- (_etype980, _size977) = iprot.readListBegin()
- for _i981 in xrange(_size977):
- _elem982 = iprot.readString()
- self.group_names.append(_elem982)
+ (_etype987, _size984) = iprot.readListBegin()
+ for _i988 in xrange(_size984):
+ _elem989 = iprot.readString()
+ self.group_names.append(_elem989)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24218,8 +24218,8 @@ class get_partitions_ps_with_auth_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter983 in self.part_vals:
- oprot.writeString(iter983)
+ for iter990 in self.part_vals:
+ oprot.writeString(iter990)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.max_parts is not None:
@@ -24233,8 +24233,8 @@ class get_partitions_ps_with_auth_args:
if self.group_names is not None:
oprot.writeFieldBegin('group_names', TType.LIST, 6)
oprot.writeListBegin(TType.STRING, len(self.group_names))
- for iter984 in self.group_names:
- oprot.writeString(iter984)
+ for iter991 in self.group_names:
+ oprot.writeString(iter991)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -24296,11 +24296,11 @@ class get_partitions_ps_with_auth_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype988, _size985) = iprot.readListBegin()
- for _i989 in xrange(_size985):
- _elem990 = Partition()
- _elem990.read(iprot)
- self.success.append(_elem990)
+ (_etype995, _size992) = iprot.readListBegin()
+ for _i996 in xrange(_size992):
+ _elem997 = Partition()
+ _elem997.read(iprot)
+ self.success.append(_elem997)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24329,8 +24329,8 @@ class get_partitions_ps_with_auth_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter991 in self.success:
- iter991.write(oprot)
+ for iter998 in self.success:
+ iter998.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -24411,10 +24411,10 @@ class get_partition_names_ps_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype995, _size992) = iprot.readListBegin()
- for _i996 in xrange(_size992):
- _elem997 = iprot.readString()
- self.part_vals.append(_elem997)
+ (_etype1002, _size999) = iprot.readListBegin()
+ for _i1003 in xrange(_size999):
+ _elem1004 = iprot.readString()
+ self.part_vals.append(_elem1004)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24444,8 +24444,8 @@ class get_partition_names_ps_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter998 in self.part_vals:
- oprot.writeString(iter998)
+ for iter1005 in self.part_vals:
+ oprot.writeString(iter1005)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.max_parts is not None:
@@ -24509,10 +24509,10 @@ class get_partition_names_ps_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1002, _size999) = iprot.readListBegin()
- for _i1003 in xrange(_size999):
- _elem1004 = iprot.readString()
- self.success.append(_elem1004)
+ (_etype1009, _size1006) = iprot.readListBegin()
+ for _i1010 in xrange(_size1006):
+ _elem1011 = iprot.readString()
+ self.success.append(_elem1011)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24541,8 +24541,8 @@ class get_partition_names_ps_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1005 in self.success:
- oprot.writeString(iter1005)
+ for iter1012 in self.success:
+ oprot.writeString(iter1012)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -24713,11 +24713,11 @@ class get_partitions_by_filter_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1009, _size1006) = iprot.readListBegin()
- for _i1010 in xrange(_size1006):
- _elem1011 = Partition()
- _elem1011.read(iprot)
- self.success.append(_elem1011)
+ (_etype1016, _size1013) = iprot.readListBegin()
+ for _i1017 in xrange(_size1013):
+ _elem1018 = Partition()
+ _elem1018.read(iprot)
+ self.success.append(_elem1018)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24746,8 +24746,8 @@ class get_partitions_by_filter_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter1012 in self.success:
- iter1012.write(oprot)
+ for iter1019 in self.success:
+ iter1019.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -24918,11 +24918,11 @@ class get_part_specs_by_filter_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1016, _size1013) = iprot.readListBegin()
- for _i1017 in xrange(_size1013):
- _elem1018 = PartitionSpec()
- _elem1018.read(iprot)
- self.success.append(_elem1018)
+ (_etype1023, _size1020) = iprot.readListBegin()
+ for _i1024 in xrange(_size1020):
+ _elem1025 = PartitionSpec()
+ _elem1025.read(iprot)
+ self.success.append(_elem1025)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24951,8 +24951,8 @@ class get_part_specs_by_filter_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter1019 in self.success:
- iter1019.write(oprot)
+ for iter1026 in self.success:
+ iter1026.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -25372,10 +25372,10 @@ class get_partitions_by_names_args:
elif fid == 3:
if ftype == TType.LIST:
self.names = []
- (_etype1023, _size1020) = iprot.readListBegin()
- for _i1024 in xrange(_size1020):
- _elem1025 = iprot.readString()
- self.names.append(_elem1025)
+ (_etype1030, _size1027) = iprot.readListBegin()
+ for _i1031 in xrange(_size1027):
+ _elem1032 = iprot.readString()
+ self.names.append(_elem1032)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -25400,8 +25400,8 @@ class get_partitions_by_names_args:
if self.names is not None:
oprot.writeFieldBegin('names', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.names))
- for iter1026 in self.names:
- oprot.writeString(iter1026)
+ for iter1033 in self.names:
+ oprot.writeString(iter1033)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -25460,11 +25460,11 @@ class get_partitions_by_names_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1030, _size1027) = iprot.readListBegin()
- for _i1031 in xrange(_size1027):
- _elem1032 = Partition()
- _elem1032.read(iprot)
- self.success.append(_elem1032)
+ (_etype1037, _size1034) = iprot.readListBegin()
+ for _i1038 in xrange(_size1034):
+ _elem1039 = Partition()
+ _elem1039.read(iprot)
+ self.success.append(_elem1039)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -25493,8 +25493,8 @@ class get_partitions_by_names_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter1033 in self.success:
- iter1033.write(oprot)
+ for iter1040 in self.success:
+ iter1040.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -25744,11 +25744,11 @@ class alter_partitions_args:
elif fid == 3:
if ftype == TType.LIST:
self.new_parts = []
- (_etype1037, _size1034) = iprot.readListBegin()
- for _i1038 in xrange(_size1034):
- _elem1039 = Partition()
- _elem1039.read(iprot)
- self.new_parts.append(_elem1039)
+ (_etype1044, _size1041) = iprot.readListBegin()
+ for _i1045 in xrange(_size1041):
+ _elem1046 = Partition()
+ _elem1046.read(iprot)
+ self.new_parts.append(_elem1046)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -25773,8 +25773,8 @@ class alter_partitions_args:
if self.new_parts is not None:
oprot.writeFieldBegin('new_parts', TType.LIST, 3)
oprot.writeListBegin(TType.STRUCT, len(self.new_parts))
- for iter1040 in self.new_parts:
- iter1040.write(oprot)
+ for iter1047 in self.new_parts:
+ iter1047.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -25927,11 +25927,11 @@ class alter_partitions_with_environment_context_args:
elif fid == 3:
if ftype == TType.LIST:
self.new_parts = []
- (_etype1044, _size1041) = iprot.readListBegin()
- for _i1045 in xrange(_size1041):
- _elem1046 = Partition()
- _elem1046.read(iprot)
- self.new_parts.append(_elem1046)
+ (_etype1051, _size1048) = iprot.readListBegin()
+ for _i1052 in xrange(_size1048):
+ _elem1053 = Partition()
+ _elem1053.read(iprot)
+ self.new_parts.append(_elem1053)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -25962,8 +25962,8 @@ class alter_partitions_with_environment_context_args:
if self.new_parts is not None:
oprot.writeFieldBegin('new_parts', TType.LIST, 3)
oprot.writeListBegin(TType.STRUCT, len(self.new_parts))
- for iter1047 in self.new_parts:
- iter1047.write(oprot)
+ for iter1054 in self.new_parts:
+ iter1054.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.environment_context is not None:
@@ -26307,10 +26307,10 @@ class rename_partition_args:
elif fid == 3:
if ftype == TType.LIST:
self.part_vals = []
- (_etype1051, _size1048) = iprot.readListBegin()
- for _i1052 in xrange(_size1048):
- _elem1053 = iprot.readString()
- self.part_vals.append(_elem1053)
+ (_etype1058, _size1055) = iprot.readListBegin()
+ for _i1059 in xrange(_size1055):
+ _elem1060 = iprot.readString()
+ self.part_vals.append(_elem1060)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -26341,8 +26341,8 @@ class rename_partition_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter1054 in self.part_vals:
- oprot.writeString(iter1054)
+ for iter1061 in self.part_vals:
+ oprot.writeString(iter1061)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.new_part is not None:
@@ -26484,10 +26484,10 @@ class partition_name_has_valid_characters_args:
if fid == 1:
if ftype == TType.LIST:
self.part_vals = []
- (_etype1058, _size1055) = iprot.readListBegin()
- for _i1059 in xrange(_size1055):
- _elem1060 = iprot.readString()
- self.part_vals.append(_elem1060)
+ (_etype1065, _size1062) = iprot.readListBegin()
+ for _i1066 in xrange(_size1062):
+ _elem1067 = iprot.readString()
+ self.part_vals.append(_elem1067)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -26509,8 +26509,8 @@ class partition_name_has_valid_characters_args:
if self.part_vals is not None:
oprot.writeFieldBegin('part_vals', TType.LIST, 1)
oprot.writeListBegin(TType.STRING, len(self.part_vals))
- for iter1061 in self.part_vals:
- oprot.writeString(iter1061)
+ for iter1068 in self.part_vals:
+ oprot.writeString(iter1068)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.throw_exception is not None:
@@ -26868,10 +26868,10 @@ class partition_name_to_vals_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1065, _size1062) = iprot.readListBegin()
- for _i1066 in xrange(_size1062):
- _elem1067 = iprot.readString()
- self.success.append(_elem1067)
+ (_etype1072, _size1069) = iprot.readListBegin()
+ for _i1073 in xrange(_size1069):
+ _elem1074 = iprot.readString()
+ self.success.append(_elem1074)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -26894,8 +26894,8 @@ class partition_name_to_vals_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1068 in self.success:
- oprot.writeString(iter1068)
+ for iter1075 in self.success:
+ oprot.writeString(iter1075)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -27019,11 +27019,11 @@ class partition_name_to_spec_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype1070, _vtype1071, _size1069 ) = iprot.readMapBegin()
- for _i1073 in xrange(_size1069):
- _key1074 = iprot.readString()
- _val1075 = iprot.readString()
- self.success[_key1074] = _val1075
+ (_ktype1077, _vtype1078, _size1076 ) = iprot.readMapBegin()
+ for _i1080 in xrange(_size1076):
+ _key1081 = iprot.readString()
+ _val1082 = iprot.readString()
+ self.success[_key1081] = _val1082
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -27046,9 +27046,9 @@ class partition_name_to_spec_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter1076,viter1077 in self.success.items():
- oprot.writeString(kiter1076)
- oprot.writeString(viter1077)
+ for kiter1083,viter1084 in self.success.items():
+ oprot.writeString(kiter1083)
+ oprot.writeString(viter1084)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -27124,11 +27124,11 @@ class markPartitionForEvent_args:
elif fid == 3:
if ftype == TType.MAP:
self.part_vals = {}
- (_ktype1079, _vtype1080, _size1078 ) = iprot.readMapBegin()
- for _i1082 in xrange(_size1078):
- _key1083 = iprot.readString()
- _val1084 = iprot.readString()
- self.part_vals[_key1083] = _val1084
+ (_ktype1086, _vtype1087, _size1085 ) = iprot.readMapBegin()
+ for _i1089 in xrange(_size1085):
+ _key1090 = iprot.readString()
+ _val1091 = iprot.readString()
+ self.part_vals[_key1090] = _val1091
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -27158,9 +27158,9 @@ class markPartitionForEvent_args:
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 kiter1085,viter1086 in self.part_vals.items():
- oprot.writeString(kiter1085)
- oprot.writeString(viter1086)
+ for kiter1092,viter1093 in self.part_vals.items():
+ oprot.writeString(kiter1092)
+ oprot.writeString(viter1093)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.eventType is not None:
@@ -27374,11 +27374,11 @@ class isPartitionMarkedForEvent_args:
elif fid == 3:
if ftype == TType.MAP:
self.part_vals = {}
- (_ktype1088, _vtype1089, _size1087 ) = iprot.readMapBegin()
- for _i1091 in xrange(_size1087):
- _key1092 = iprot.readString()
- _val1093 = iprot.readString()
- self.part_vals[_key1092] = _val1093
+ (_ktype1095, _vtype1096, _size1094 ) = iprot.readMapBegin()
+ for _i1098 in xrange(_size1094):
+ _key1099 = iprot.readString()
+ _val1100 = iprot.readString()
+ self.part_vals[_key1099] = _val1100
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -27408,9 +27408,9 @@ class isPartitionMarkedForEvent_args:
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 kiter1094,viter1095 in self.part_vals.items():
- oprot.writeString(kiter1094)
- oprot.writeString(viter1095)
+ for kiter1101,viter1102 in self.part_vals.items():
+ oprot.writeString(kiter1101)
+ oprot.writeString(viter1102)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.eventType is not None:
@@ -28465,11 +28465,11 @@ class get_indexes_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1099, _size1096) = iprot.readListBegin()
- for _i1100 in xrange(_size1096):
- _elem1101 = Index()
- _elem1101.read(iprot)
- self.success.append(_elem1101)
+ (_etype1106, _size1103) = iprot.readListBegin()
+ for _i1107 in xrange(_size1103):
+ _elem1108 = Index()
+ _elem1108.read(iprot)
+ self.success.append(_elem1108)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -28498,8 +28498,8 @@ class get_indexes_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter1102 in self.success:
- iter1102.write(oprot)
+ for iter1109 in self.success:
+ iter1109.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -28654,10 +28654,10 @@ class get_index_names_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1106, _size1103) = iprot.readListBegin()
- for _i1107 in xrange(_size1103):
- _elem1108 = iprot.readString()
- self.success.append(_elem1108)
+ (_etype1113, _size1110) = iprot.readListBegin()
+ for _i1114 in xrange(_size1110):
+ _elem1115 = iprot.readString()
+ self.success.append(_elem1115)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -28680,8 +28680,8 @@ class get_index_names_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1109 in self.success:
- oprot.writeString(iter1109)
+ for iter1116 in self.success:
+ oprot.writeString(iter1116)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o2 is not None:
@@ -31865,10 +31865,10 @@ class get_functions_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1113, _size1110) = iprot.readListBegin()
- for _i1114 in xrange(_size1110):
- _elem1115 = iprot.readString()
- self.success.append(_elem1115)
+ (_etype1120, _size1117) = iprot.readListBegin()
+ for _i1121 in xrange(_size1117):
+ _elem1122 = iprot.readString()
+ self.success.append(_elem1122)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -31891,8 +31891,8 @@ class get_functions_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1116 in self.success:
- oprot.writeString(iter1116)
+ for iter1123 in self.success:
+ oprot.writeString(iter1123)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -32580,10 +32580,10 @@ class get_role_names_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1120, _size1117) = iprot.readListBegin()
- for _i1121 in xrange(_size1117):
- _elem1122 = iprot.readString()
- self.success.append(_elem1122)
+ (_etype1127, _size1124) = iprot.readListBegin()
+ for _i1128 in xrange(_size1124):
+ _elem1129 = iprot.readString()
+ self.success.append(_elem1129)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -32606,8 +32606,8 @@ class get_role_names_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1123 in self.success:
- oprot.writeString(iter1123)
+ for iter1130 in self.success:
+ oprot.writeString(iter1130)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -33121,11 +33121,11 @@ class list_roles_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1127, _size1124) = iprot.readListBegin()
- for _i1128 in xrange(_size1124):
- _elem1129 = Role()
- _elem1129.read(iprot)
- self.success.append(_elem1129)
+ (_etype1134, _size1131) = iprot.readListBegin()
+ for _i1135 in xrange(_size1131):
+ _elem1136 = Role()
+ _elem1136.read(iprot)
+ self.success.append(_elem1136)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -33148,8 +33148,8 @@ class list_roles_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter1130 in self.success:
- iter1130.write(oprot)
+ for iter1137 in self.success:
+ iter1137.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -33658,10 +33658,10 @@ class get_privilege_set_args:
elif fid == 3:
if ftype == TType.LIST:
self.group_names = []
- (_etype1134, _size1131) = iprot.readListBegin()
- for _i1135 in xrange(_size1131):
- _elem1136 = iprot.readString()
- self.group_names.append(_elem1136)
+ (_etype1141, _size1138) = iprot.readListBegin()
+ for _i1142 in xrange(_size1138):
+ _elem1143 = iprot.readString()
+ self.group_names.append(_elem1143)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -33686,8 +33686,8 @@ class get_privilege_set_args:
if self.group_names is not None:
oprot.writeFieldBegin('group_names', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.group_names))
- for iter1137 in self.group_names:
- oprot.writeString(iter1137)
+ for iter1144 in self.group_names:
+ oprot.writeString(iter1144)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -33914,11 +33914,11 @@ class list_privileges_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1141, _size1138) = iprot.readListBegin()
- for _i1142 in xrange(_size1138):
- _elem1143 = HiveObjectPrivilege()
- _elem1143.read(iprot)
- self.success.append(_elem1143)
+ (_etype1148, _size1145) = iprot.readListBegin()
+ for _i1149 in xrange(_size1145):
+ _elem1150 = HiveObjectPrivilege()
+ _elem1150.read(iprot)
+ self.success.append(_elem1150)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -33941,8 +33941,8 @@ class list_privileges_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter1144 in self.success:
- iter1144.write(oprot)
+ for iter1151 in self.success:
+ iter1151.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -34440,10 +34440,10 @@ class set_ugi_args:
elif fid == 2:
if ftype == TType.LIST:
self.group_names = []
- (_etype1148, _size1145) = iprot.readListBegin()
- for _i1149 in xrange(_size1145):
- _elem1150 = iprot.readString()
- self.group_names.append(_elem1150)
+ (_etype1155, _size1152) = iprot.readListBegin()
+ for _i1156 in xrange(_size1152):
+ _elem1157 = iprot.readString()
+ self.group_names.append(_elem1157)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -34464,8 +34464,8 @@ class set_ugi_args:
if self.group_names is not None:
oprot.writeFieldBegin('group_names', TType.LIST, 2)
oprot.writeListBegin(TType.STRING, len(self.group_names))
- for iter1151 in self.group_names:
- oprot.writeString(iter1151)
+ for iter1158 in self.group_names:
+ oprot.writeString(iter1158)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -34520,10 +34520,10 @@ class set_ugi_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1155, _size1152) = iprot.readListBegin()
- for _i1156 in xrange(_size1152):
- _elem1157 = iprot.readString()
- self.success.append(_elem1157)
+ (_etype1162, _size1159) = iprot.readListBegin()
+ for _i1163 in xrange(_size1159):
+ _elem1164 = iprot.readString()
+ self.success.append(_elem1164)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -34546,8 +34546,8 @@ class set_ugi_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1158 in self.success:
- oprot.writeString(iter1158)
+ for iter1165 in self.success:
+ oprot.writeString(iter1165)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.o1 is not None:
@@ -35479,10 +35479,10 @@ class get_all_token_identifiers_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1162, _size1159) = iprot.readListBegin()
- for _i1163 in xrange(_size1159):
- _elem1164 = iprot.readString()
- self.success.append(_elem1164)
+ (_etype1169, _size1166) = iprot.readListBegin()
+ for _i1170 in xrange(_size1166):
+ _elem1171 = iprot.readString()
+ self.success.append(_elem1171)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -35499,8 +35499,8 @@ class get_all_token_identifiers_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1165 in self.success:
- oprot.writeString(iter1165)
+ for iter1172 in self.success:
+ oprot.writeString(iter1172)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -36027,10 +36027,10 @@ class get_master_keys_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype1169, _size1166) = iprot.readListBegin()
- for _i1170 in xrange(_size1166):
- _elem1171 = iprot.readString()
- self.success.append(_elem1171)
+ (_etype1176, _size1173) = iprot.readListBegin()
+ for _i1177 in xrange(_size1173):
+ _elem1178 = iprot.readString()
+ self.success.append(_elem1178)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -36047,8 +36047,8 @@ class get_master_keys_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter1172 in self.success:
- oprot.writeString(iter1172)
+ for iter1179 in self.success:
+ oprot.writeString(iter1179)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
index 68d6c9c..863031d 100644
--- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
+++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
@@ -15821,16 +15821,16 @@ class WMValidateResourcePlanRequest:
class WMValidateResourcePlanResponse:
"""
Attributes:
- - isValid
+ - errors
"""
thrift_spec = (
None, # 0
- (1, TType.BOOL, 'isValid', None, None, ), # 1
+ (1, TType.LIST, 'errors', (TType.STRING,None), None, ), # 1
)
- def __init__(self, isValid=None,):
- self.isValid = isValid
+ def __init__(self, errors=None,):
+ self.errors = errors
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:
@@ -15842,8 +15842,13 @@ class WMValidateResourcePlanResponse:
if ftype == TType.STOP:
break
if fid == 1:
- if ftype == TType.BOOL:
- self.isValid = iprot.readBool()
+ if ftype == TType.LIST:
+ self.errors = []
+ (_etype688, _size685) = iprot.readListBegin()
+ for _i689 in xrange(_size685):
+ _elem690 = iprot.readString()
+ self.errors.append(_elem690)
+ iprot.readListEnd()
else:
iprot.skip(ftype)
else:
@@ -15856,9 +15861,12 @@ class WMValidateResourcePlanResponse:
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
return
oprot.writeStructBegin('WMValidateResourcePlanResponse')
- if self.isValid is not None:
- oprot.writeFieldBegin('isValid', TType.BOOL, 1)
- oprot.writeBool(self.isValid)
+ if self.errors is not None:
+ oprot.writeFieldBegin('errors', TType.LIST, 1)
+ oprot.writeListBegin(TType.STRING, len(self.errors))
+ for iter691 in self.errors:
+ oprot.writeString(iter691)
+ oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
@@ -15869,7 +15877,7 @@ class WMValidateResourcePlanResponse:
def __hash__(self):
value = 17
- value = (value * 31) ^ hash(self.isValid)
+ value = (value * 31) ^ hash(self.errors)
return value
def __repr__(self):
@@ -16433,11 +16441,11 @@ class WMGetTriggersForResourePlanResponse:
if fid == 1:
if ftype == TType.LIST:
self.triggers = []
- (_etype688, _size685) = iprot.readListBegin()
- for _i689 in xrange(_size685):
- _elem690 = WMTrigger()
- _elem690.read(iprot)
- self.triggers.append(_elem690)
+ (_etype695, _size692) = iprot.readListBegin()
+ for _i696 in xrange(_size692):
+ _elem697 = WMTrigger()
+ _elem697.read(iprot)
+ self.triggers.append(_elem697)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -16454,8 +16462,8 @@ class WMGetTriggersForResourePlanResponse:
if self.triggers is not None:
oprot.writeFieldBegin('triggers', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.triggers))
- for iter691 in self.triggers:
- iter691.write(oprot)
+ for iter698 in self.triggers:
+ iter698.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
index cc57c85..ec967a6 100644
--- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
+++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
@@ -3581,10 +3581,10 @@ end
class WMValidateResourcePlanResponse
include ::Thrift::Struct, ::Thrift::Struct_Union
- ISVALID = 1
+ ERRORS = 1
FIELDS = {
- ISVALID => {:type => ::Thrift::Types::BOOL, :name => 'isValid', :optional => true}
+ ERRORS => {:type => ::Thrift::Types::LIST, :name => 'errors', :element => {:type => ::Thrift::Types::STRING}, :optional => true}
}
def struct_fields; FIELDS; end
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
index 78efe38..6e0da57 100644
--- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
+++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
@@ -7342,9 +7342,9 @@ public class HiveMetaStore extends ThriftHiveMetastore {
public WMValidateResourcePlanResponse validate_resource_plan(WMValidateResourcePlanRequest request)
throws NoSuchObjectException, MetaException, TException {
try {
- boolean isValid = getMS().validateResourcePlan(request.getResourcePlanName());
+ List<String> errors = getMS().validateResourcePlan(request.getResourcePlanName());
WMValidateResourcePlanResponse resp = new WMValidateResourcePlanResponse();
- resp.setIsValid(isValid);
+ resp.setErrors(errors);
return resp;
} catch (MetaException e) {
LOG.error("Exception while trying to validate resource plan", e);
http://git-wip-us.apache.org/repos/asf/hive/blob/0d832335/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
index fcd06a8..0818704 100644
--- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
+++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
@@ -9799,8 +9799,8 @@ public class ObjectStore implements RawStore, Configurable {
if (doValidate) {
// Note: this may use additional inputs from the caller, e.g. maximum query
// parallelism in the cluster based on physical constraints.
- String planErrors = getResourcePlanErrors(mResourcePlan);
- if (planErrors != null) {
+ List<String> planErrors = getResourcePlanErrors(mResourcePlan);
+ if (!planErrors.isEmpty()) {
throw new InvalidOperationException(
"ResourcePlan: " + name + " is invalid: " + planErrors);
}
@@ -9834,12 +9834,74 @@ public class ObjectStore implements RawStore, Configurable {
}
}
- private String getResourcePlanErrors(MWMResourcePlan mResourcePlan) {
- return null;
+ private static class PoolData {
+ int queryParallelism = 0;
+ int totalChildrenQueryParallelism = 0;
+ double totalChildrenAllocFraction = 0;
+ boolean found = false;
+ boolean hasChildren = false;
+ }
+
+ private PoolData getPoolData(Map<String, PoolData> poolInfo, String poolPath) {
+ PoolData poolData = poolInfo.get(poolPath);
+ if (poolData == null) {
+ poolData = new PoolData();
+ poolInfo.put(poolPath, poolData);
+ }
+ return poolData;
+ }
+
+ private List<String> getResourcePlanErrors(MWMResourcePlan mResourcePlan) {
+ List<String> errors = new ArrayList<>();
+ if (mResourcePlan.getQueryParallelism() != null && mResourcePlan.getQueryParallelism() < 1) {
+ errors.add("Query parallelism should for resource plan be positive. Got: " +
+ mResourcePlan.getQueryParallelism());
+ }
+ Map<String, PoolData> poolInfo = new HashMap<>();
+ for (MWMPool pool : mResourcePlan.getPools()) {
+ PoolData currentPoolData = getPoolData(poolInfo, pool.getPath());
+ currentPoolData.found = true;
+ String parent = getParentPath(pool.getPath(), "");
+ PoolData parentPoolData = getPoolData(poolInfo, parent);
+ parentPoolData.hasChildren = true;
+ parentPoolData.totalChildrenAllocFraction += pool.getAllocFraction();
+ if (pool.getQueryParallelism() != null && pool.getQueryParallelism() < 1) {
+ errors.add("Invalid query parallelism for pool: " + pool.getPath());
+ } else {
+ currentPoolData.queryParallelism = pool.getQueryParallelism();
+ parentPoolData.totalChildrenQueryParallelism += pool.getQueryParallelism();
+ }
+ // Check for valid pool.getSchedulingPolicy();
+ }
+ for (Entry<String, PoolData> entry : poolInfo.entrySet()) {
+ PoolData poolData = entry.getValue();
+ // Special case for root parent
+ if (entry.getKey().equals("")) {
+ poolData.found = true;
+ poolData.queryParallelism = mResourcePlan.getQueryParallelism() == null ?
+ poolData.totalChildrenQueryParallelism : mResourcePlan.getQueryParallelism();
+ }
+ if (!poolData.found) {
+ errors.add("Pool does not exists but has children: " + entry.getKey());
+ }
+ if (poolData.hasChildren) {
+ if (Math.abs(1.0 - poolData.totalChildrenAllocFraction) > 0.001) {
+ errors.add("Sum of children pools' alloc fraction should be equal 1.0 got: " +
+ poolData.totalChildrenAllocFraction + " for pool: " + entry.getKey());
+ }
+ if (poolData.queryParallelism != poolData.totalChildrenQueryParallelism) {
+ errors.add("Sum of children pools' query parallelism: " +
+ poolData.totalChildrenQueryParallelism + " is not equal to pool parallelism: " +
+ poolData.queryParallelism + " for pool: " + entry.getKey());
+ }
+ }
+ }
+ // TODO: validate trigger and action expressions. mResourcePlan.getTriggers()
+ return errors;
}
@Override
- public boolean validateResourcePlan(String name)
+ public List<String> validateResourcePlan(String name)
throws NoSuchObjectException, InvalidObjectException, MetaException {
name = normalizeIdentifier(name);
Query query = null;
@@ -9852,7 +9914,7 @@ public class ObjectStore implements RawStore, Configurable {
throw new NoSuchObjectException("Cannot find resourcePlan: " + name);
}
// Validate resource plan.
- return getResourcePlanErrors(mResourcePlan) == null; // TODO: propagate errors?
+ return getResourcePlanErrors(mResourcePlan);
} finally {
rollbackAndCleanup(true, query);
}
@@ -10107,12 +10169,19 @@ public class ObjectStore implements RawStore, Configurable {
}
}
- private boolean poolParentExists(MWMResourcePlan resourcePlan, String poolPath) {
+ private String getParentPath(String poolPath, String defValue) {
int idx = poolPath.lastIndexOf('.');
if (idx == -1) {
+ return defValue;
+ }
+ return poolPath.substring(0, idx);
+ }
+
+ private boolean poolParentExists(MWMResourcePlan resourcePlan, String poolPath) {
+ String parent = getParentPath(poolPath, null);
+ if (parent == null) {
return true;
}
- String parent = poolPath.substring(0, idx);
try {
getPool(resourcePlan, parent);
return true;