You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kr...@apache.org on 2021/11/23 18:43:01 UTC
[hive] branch master updated: HIVE-25656: Get materialized view state based on number of affected rows of transactions (Krisztian Kasa, reviewed by Zoltan Haindrich, Stephen Carlin)
This is an automated email from the ASF dual-hosted git repository.
krisztiankasa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new cc4c3b7 HIVE-25656: Get materialized view state based on number of affected rows of transactions (Krisztian Kasa, reviewed by Zoltan Haindrich, Stephen Carlin)
cc4c3b7 is described below
commit cc4c3b7b4d23b2e54e8817e37d04a5d990dc28f3
Author: Krisztian Kasa <ka...@gmail.com>
AuthorDate: Tue Nov 23 19:42:46 2021 +0100
HIVE-25656: Get materialized view state based on number of affected rows of transactions (Krisztian Kasa, reviewed by Zoltan Haindrich, Stephen Carlin)
---
.../txn/compactor/TestMaterializedViewRebuild.java | 51 +-
.../ql/ddl/table/info/desc/DescTableOperation.java | 4 +-
.../view/create/CreateMaterializedViewDesc.java | 8 +-
.../create/CreateMaterializedViewOperation.java | 15 +-
.../AlterMaterializedViewRebuildAnalyzer.java | 3 +-
.../AlterMaterializedViewRewriteAnalyzer.java | 6 +-
.../update/MaterializedViewUpdateOperation.java | 7 +
.../hadoop/hive/ql/exec/FileSinkOperator.java | 3 +
.../hadoop/hive/ql/io/orc/OrcRecordUpdater.java | 9 +
.../org/apache/hadoop/hive/ql/metadata/Hive.java | 36 +-
.../org/apache/hadoop/hive/ql/metadata/Table.java | 16 +
.../rules/views/HiveMaterializedViewUtils.java | 39 +-
.../hadoop/hive/ql/parse/CalcitePlanner.java | 16 +-
.../apache/hadoop/hive/ql/parse/ParseContext.java | 12 +
.../hadoop/hive/ql/parse/SemanticAnalyzer.java | 27 +-
.../hadoop/hive/ql/stats/BasicStatsTask.java | 93 +-
.../hadoop/hive/metastore/txn/TestTxnHandler.java | 26 +-
.../TestDbTxnManagerIsolationProperties.java | 45 +
.../org/apache/hadoop/hive/serde2/SerDeStats.java | 29 +
.../src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp | 2903 ++++---
.../src/gen/thrift/gen-cpp/ThriftHiveMetastore.h | 154 +-
.../ThriftHiveMetastore_server.skeleton.cpp | 7 +-
.../gen/thrift/gen-cpp/hive_metastore_types.cpp | 8998 ++++++++++----------
.../src/gen/thrift/gen-cpp/hive_metastore_types.h | 110 +-
.../hive/metastore/api/CreationMetadata.java | 49 +-
.../hadoop/hive/metastore/api/SourceTable.java | 648 ++
.../hive/metastore/api/ThriftHiveMetastore.java | 1469 +++-
.../api/UpdateTransactionalStatsRequest.java | 637 ++
.../thrift/gen-php/metastore/CreationMetadata.php | 16 +-
.../gen/thrift/gen-php/metastore/SourceTable.php | 171 +
.../metastore/ThriftHiveMetastoreClient.php | 66 +-
.../gen-php/metastore/ThriftHiveMetastoreIf.php | 8 +-
..._get_materialization_invalidation_info_args.php | 24 -
...tastore_update_transaction_statistics_args.php} | 54 +-
...store_update_transaction_statistics_result.php} | 55 +-
.../metastore/UpdateTransactionalStatsRequest.php | 166 +
.../hive_metastore/ThriftHiveMetastore-remote | 15 +-
.../gen-py/hive_metastore/ThriftHiveMetastore.py | 219 +-
.../src/gen/thrift/gen-py/hive_metastore/ttypes.py | 222 +-
.../src/gen/thrift/gen-rb/hive_metastore_types.rb | 58 +-
.../src/gen/thrift/gen-rb/thrift_hive_metastore.rb | 72 +-
.../apache/hadoop/hive/common/StatsSetupConst.java | 4 +
.../metastore/AbstractThriftHiveMetastore.java | 4 +-
.../hadoop/hive/metastore/HiveMetaStoreClient.java | 9 +-
.../hadoop/hive/metastore/IMetaStoreClient.java | 4 +-
.../src/main/thrift/hive_metastore.thrift | 20 +-
.../apache/hadoop/hive/metastore/HMSHandler.java | 9 +-
.../apache/hadoop/hive/metastore/ObjectStore.java | 43 +-
.../metastore/client/builder/TableBuilder.java | 13 +-
.../hive/metastore/model/MCreationMetadata.java | 39 +-
.../hadoop/hive/metastore/model/MMVSource.java | 95 +
.../hadoop/hive/metastore/txn/TxnHandler.java | 134 +-
.../apache/hadoop/hive/metastore/txn/TxnStore.java | 8 +-
.../src/main/resources/package.jdo | 33 +-
.../src/main/sql/derby/hive-schema-4.0.0.derby.sql | 7 +-
.../sql/derby/upgrade-3.2.0-to-4.0.0.derby.sql | 5 +
.../src/main/sql/mssql/hive-schema-4.0.0.mssql.sql | 6 +-
.../sql/mssql/upgrade-3.2.0-to-4.0.0.mssql.sql | 6 +
.../src/main/sql/mysql/hive-schema-4.0.0.mysql.sql | 4 +
.../sql/mysql/upgrade-3.2.0-to-4.0.0.mysql.sql | 6 +
.../main/sql/oracle/hive-schema-4.0.0.oracle.sql | 7 +-
.../sql/oracle/upgrade-3.2.0-to-4.0.0.oracle.sql | 6 +
.../sql/postgres/hive-schema-4.0.0.postgres.sql | 6 +-
.../postgres/upgrade-3.2.0-to-4.0.0.postgres.sql | 6 +
.../metastore/HiveMetaStoreClientPreCatalog.java | 9 +-
.../hadoop/hive/metastore/TestHiveMetaStore.java | 36 +-
.../hadoop/hive/metastore/TestObjectStore.java | 4 +-
.../client/TestTablesCreateDropAlterTruncate.java | 27 +-
68 files changed, 10721 insertions(+), 6395 deletions(-)
diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMaterializedViewRebuild.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMaterializedViewRebuild.java
index 11a80ec..1ddf22e 100644
--- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMaterializedViewRebuild.java
+++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMaterializedViewRebuild.java
@@ -23,6 +23,8 @@ import java.util.Collections;
import java.util.List;
import org.apache.hadoop.hive.metastore.api.CompactionType;
+import org.apache.hadoop.hive.metastore.txn.TxnStore;
+import org.apache.hadoop.hive.metastore.txn.TxnUtils;
import org.junit.Assert;
import org.junit.Test;
@@ -46,7 +48,7 @@ public class TestMaterializedViewRebuild extends CompactorOnTezTest {
private static final List<String> INCREMENTAL_REBUILD_PLAN = Arrays.asList(
"CBO PLAN:",
"HiveProject(a=[$0], b=[$1], c=[$2])",
- " HiveFilter(condition=[AND(<(2, $5.writeid), OR(>($0, 0), IS NULL($0)))])",
+ " HiveFilter(condition=[AND(<(1, $5.writeid), OR(>($0, 0), IS NULL($0)))])",
" HiveTableScan(table=[[default, t1]], table:alias=[t1])",
""
);
@@ -62,10 +64,15 @@ public class TestMaterializedViewRebuild extends CompactorOnTezTest {
@Override
public void setup() throws Exception {
super.setup();
+ }
- executeStatementOnDriver("create table " + TABLE1 + "(a int, b varchar(128), c float) stored as orc TBLPROPERTIES ('transactional'='true')", driver);
- executeStatementOnDriver("insert into " + TABLE1 + "(a,b, c) values (1, 'one', 1.1), (2, 'two', 2.2), (NULL, NULL, NULL)", driver);
- executeStatementOnDriver("create materialized view " + MV1 + " stored as orc TBLPROPERTIES ('transactional'='true') as " +
+ private void createTestSchema(String tblproperties) throws Exception {
+ executeStatementOnDriver("create table " + TABLE1 + "(a int, b varchar(128), c float) stored as orc " +
+ "TBLPROPERTIES ('transactional'='true'" + tblproperties + ")", driver);
+ executeStatementOnDriver("insert into " + TABLE1 + "(a,b, c) values " +
+ "(1, 'one', 1.1), (2, 'two', 2.2), (NULL, NULL, NULL)", driver);
+ executeStatementOnDriver("create materialized view " + MV1 + " stored as orc " +
+ "TBLPROPERTIES ('transactional'='true') as " +
"select a,b,c from " + TABLE1 + " where a > 0 or a is null", driver);
}
@@ -78,16 +85,19 @@ public class TestMaterializedViewRebuild extends CompactorOnTezTest {
}
@Test
- public void testWhenMajorCompactionThenIncrementalMVRebuildNotUsed() throws Exception {
+ public void testWhenMajorCompactionThenIncrementalMVRebuildIsStillAvailable() throws Exception {
+ createTestSchema("");
executeStatementOnDriver("insert into " + TABLE1 + "(a,b,c) values (3, 'three', 3.3)", driver);
CompactorTestUtil.runCompaction(conf, "default", TABLE1 , CompactionType.MAJOR, true);
CompactorTestUtil.runCleaner(conf);
verifySuccessfulCompaction(1);
+ TxnStore txnHandler = TxnUtils.getTxnStore(conf);
+ txnHandler.cleanTxnToWriteIdTable();
List<String> result = execSelectAndDumpData("explain cbo alter materialized view " + MV1 + " rebuild", driver, "");
- Assert.assertEquals(FULL_REBUILD_PLAN, result);
+ Assert.assertEquals(INCREMENTAL_REBUILD_PLAN, result);
executeStatementOnDriver("alter materialized view " + MV1 + " rebuild", driver);
result = execSelectAndDumpData("select * from " + MV1 , driver, "");
@@ -98,37 +108,16 @@ public class TestMaterializedViewRebuild extends CompactorOnTezTest {
}
@Test
- public void testSecondRebuildCanBeIncrementalAfterMajorCompaction() throws Exception {
+ public void testWhenCompactInsertOnlySourceTableThenIncrementalMVRebuildIsNotAvailable() throws Exception {
+ createTestSchema(", 'transactional_properties'='insert_only'");
executeStatementOnDriver("insert into " + TABLE1 + "(a,b,c) values (3, 'three', 3.3)", driver);
CompactorTestUtil.runCompaction(conf, "default", TABLE1 , CompactionType.MAJOR, true);
CompactorTestUtil.runCleaner(conf);
verifySuccessfulCompaction(1);
-
- executeStatementOnDriver("alter materialized view " + MV1 + " rebuild", driver);
-
- // Insert after first rebuild.
- executeStatementOnDriver("insert into " + TABLE1 + "(a,b,c) values (4, 'four', 4.4)", driver);
-
- List<String> result = execSelectAndDumpData("explain cbo alter materialized view " + MV1 + " rebuild", driver, "");
- Assert.assertEquals(INCREMENTAL_REBUILD_PLAN, result);
- executeStatementOnDriver("alter materialized view " + MV1 + " rebuild", driver);
-
- result = execSelectAndDumpData("select * from " + MV1 , driver, "");
- List<String> expected = new ArrayList(EXPECTED_RESULT);
- expected.add("4\tfour\t4.4");
- assertResult(expected, result);
-
- result = execSelectAndDumpData("explain cbo select a,b,c from " + TABLE1 + " where a > 0 or a is null", driver, "");
- Assert.assertEquals(Arrays.asList("CBO PLAN:", "HiveTableScan(table=[[default, " + MV1 + "]], table:alias=[default." + MV1 + "])", ""), result);
- }
-
- @Test
- public void testWhenCleanUpOfMajorCompactionHasNotFinishedIncrementalMVRebuildNotUsed() throws Exception {
- executeStatementOnDriver("insert into " + TABLE1 + "(a,b,c) values (3, 'three', 3.3)", driver);
-
- CompactorTestUtil.runCompaction(conf, "default", TABLE1 , CompactionType.MAJOR, true);
+ TxnStore txnHandler = TxnUtils.getTxnStore(conf);
+ txnHandler.cleanTxnToWriteIdTable();
List<String> result = execSelectAndDumpData("explain cbo alter materialized view " + MV1 + " rebuild", driver, "");
Assert.assertEquals(FULL_REBUILD_PLAN, result);
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableOperation.java
index d78e513..a312c6d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableOperation.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableOperation.java
@@ -65,6 +65,8 @@ import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils;
import com.google.common.collect.Lists;
+import static org.apache.hadoop.hive.ql.optimizer.calcite.rules.views.HiveMaterializedViewUtils.asTableNames;
+
/**
* Operation process of describing a table.
*/
@@ -297,7 +299,7 @@ public class DescTableOperation extends DDLOperation<DescTableDesc> {
if (table.isMaterializedView()) {
table.setOutdatedForRewriting(context.getDb().isOutdatedMaterializedView(
table,
- new ArrayList<>(table.getCreationMetadata().getTablesUsed()),
+ asTableNames(table.getCreationMetadata().getTablesUsed()),
false,
SessionState.get().getTxnMgr()));
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewDesc.java
index 52c7bb9..5f34b8b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewDesc.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewDesc.java
@@ -26,10 +26,12 @@ import java.util.Set;
import org.apache.commons.collections.CollectionUtils;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hive.common.StatsSetupConst;
+import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.conf.Constants;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.metastore.TableType;
import org.apache.hadoop.hive.metastore.api.FieldSchema;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.ql.ddl.DDLDesc;
import org.apache.hadoop.hive.ql.ddl.DDLUtils;
import org.apache.hadoop.hive.ql.exec.Utilities;
@@ -68,7 +70,7 @@ public class CreateMaterializedViewDesc implements DDLDesc, Serializable {
private String serde;
private String storageHandler;
private Map<String, String> serdeProps;
- private Set<String> tablesUsed;
+ private Set<TableName> tablesUsed;
private List<String> sortColNames;
private List<FieldSchema> sortCols;
private List<String> distributeColNames;
@@ -249,11 +251,11 @@ public class CreateMaterializedViewDesc implements DDLDesc, Serializable {
this.ifNotExists = ifNotExists;
}
- public Set<String> getTablesUsed() {
+ public Set<TableName> getTablesUsed() {
return tablesUsed;
}
- public void setTablesUsed(Set<String> tablesUsed) {
+ public void setTablesUsed(Set<TableName> tablesUsed) {
this.tablesUsed = tablesUsed;
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewOperation.java
index 6ce5230..a568ed7 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewOperation.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateMaterializedViewOperation.java
@@ -20,9 +20,11 @@ package org.apache.hadoop.hive.ql.ddl.view.create;
import com.google.common.collect.ImmutableSet;
import org.apache.hadoop.fs.Path;
+import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.common.ValidTxnWriteIdList;
import org.apache.hadoop.hive.metastore.api.CreationMetadata;
import org.apache.hadoop.hive.metastore.api.MetaException;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils;
import org.apache.hadoop.hive.ql.ErrorMsg;
import org.apache.hadoop.hive.ql.ddl.DDLOperation;
@@ -33,7 +35,11 @@ import org.apache.hadoop.hive.ql.hooks.WriteEntity;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import org.apache.hadoop.hive.ql.metadata.Table;
import org.apache.hadoop.hive.metastore.Warehouse;
+
+import java.util.HashSet;
import java.util.Map;
+import java.util.Set;
+
import org.apache.hadoop.hive.ql.io.AcidUtils;
/**
@@ -60,9 +66,12 @@ public class CreateMaterializedViewOperation extends DDLOperation<CreateMaterial
Table tbl = desc.toTable(context.getConf());
// We set the signature for the view if it is a materialized view
if (tbl.isMaterializedView()) {
- CreationMetadata cm =
- new CreationMetadata(MetaStoreUtils.getDefaultCatalog(context.getConf()), tbl.getDbName(),
- tbl.getTableName(), ImmutableSet.copyOf(desc.getTablesUsed()));
+ Set<SourceTable> sourceTables = new HashSet<>(desc.getTablesUsed().size());
+ for (TableName tableName : desc.getTablesUsed()) {
+ sourceTables.add(context.getDb().getTable(tableName).createSourceTable());
+ }
+ CreationMetadata cm = new CreationMetadata(MetaStoreUtils.getDefaultCatalog(context.getConf()),
+ tbl.getDbName(), tbl.getTableName(), sourceTables);
cm.setValidTxnList(context.getConf().get(ValidTxnWriteIdList.VALID_TABLES_WRITEIDS_KEY));
tbl.getTTable().setCreationMetadata(cm);
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rebuild/AlterMaterializedViewRebuildAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rebuild/AlterMaterializedViewRebuildAnalyzer.java
index d6ff263..fc6a3c0 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rebuild/AlterMaterializedViewRebuildAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rebuild/AlterMaterializedViewRebuildAnalyzer.java
@@ -33,6 +33,7 @@ import org.apache.calcite.tools.Frameworks;
import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.metastore.api.LockState;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.ql.Context;
import org.apache.hadoop.hive.ql.ErrorMsg;
import org.apache.hadoop.hive.ql.QueryState;
@@ -199,7 +200,7 @@ public class AlterMaterializedViewRebuildAnalyzer extends CalcitePlanner {
final RelOptCluster optCluster = basePlan.getCluster();
final PerfLogger perfLogger = SessionState.getPerfLogger();
final RelNode calcitePreMVRewritingPlan = basePlan;
- final List<String> tablesUsedQuery = getTablesUsed(basePlan);
+ final Set<TableName> tablesUsedQuery = getTablesUsed(basePlan);
// Add views to planner
HiveRelOptMaterialization materialization;
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rewrite/AlterMaterializedViewRewriteAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rewrite/AlterMaterializedViewRewriteAnalyzer.java
index 5c57340..40309b0 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rewrite/AlterMaterializedViewRewriteAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rewrite/AlterMaterializedViewRewriteAnalyzer.java
@@ -19,6 +19,7 @@
package org.apache.hadoop.hive.ql.ddl.view.materialized.alter.rewrite;
import org.apache.hadoop.hive.common.TableName;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.ql.QueryState;
import org.apache.hadoop.hive.ql.ddl.DDLWork;
import org.apache.hadoop.hive.ql.ddl.DDLDesc.DDLDescWithWriteId;
@@ -69,9 +70,8 @@ public class AlterMaterializedViewRewriteAnalyzer extends BaseSemanticAnalyzer {
// One last test: if we are enabling the rewrite, we need to check that query
// only uses transactional (MM and ACID) tables
if (rewriteEnable) {
- for (String sourceTableName : materializedViewTable.getCreationMetadata().getTablesUsed()) {
- Table table = getTable(sourceTableName, true);
- if (!AcidUtils.isTransactionalTable(table)) {
+ for (SourceTable sourceTable : materializedViewTable.getCreationMetadata().getTablesUsed()) {
+ if (!AcidUtils.isTransactionalTable(sourceTable.getTable())) {
throw new SemanticException("Automatic rewriting for materialized view cannot be enabled if the " +
"materialized view uses non-transactional tables");
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/update/MaterializedViewUpdateOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/update/MaterializedViewUpdateOperation.java
index 5c9ad4c..212276e 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/update/MaterializedViewUpdateOperation.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/update/MaterializedViewUpdateOperation.java
@@ -20,6 +20,7 @@ package org.apache.hadoop.hive.ql.ddl.view.materialized.update;
import org.apache.hadoop.hive.common.ValidTxnWriteIdList;
import org.apache.hadoop.hive.metastore.api.CreationMetadata;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils;
import org.apache.hadoop.hive.ql.ddl.DDLOperation;
import org.apache.hadoop.hive.ql.ddl.DDLOperationContext;
@@ -59,6 +60,12 @@ public class MaterializedViewUpdateOperation extends DDLOperation<MaterializedVi
mvTable.getDbName(), mvTable.getTableName(),
ImmutableSet.copyOf(mvTable.getCreationMetadata().getTablesUsed()));
cm.setValidTxnList(context.getConf().get(ValidTxnWriteIdList.VALID_TABLES_WRITEIDS_KEY));
+ // Reset source table stats
+ for (SourceTable sourceTable : cm.getTablesUsed()) {
+ sourceTable.setInsertedCount(0L);
+ sourceTable.setUpdatedCount(0L);
+ sourceTable.setDeletedCount(0L);
+ }
context.getDb().updateCreationMetadata(mvTable.getDbName(), mvTable.getTableName(), cm);
mvTable.setCreationMetadata(cm);
HiveMaterializedViewsRegistry.get().createMaterializedView(context.getDb().getConf(), mvTable);
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java
index f61d77e..13cc8fc 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java
@@ -1517,6 +1517,9 @@ public class FileSinkOperator extends TerminalOperator<FileSinkDesc> implements
if (stats != null) {
fsp.addToStat(StatsSetupConst.RAW_DATA_SIZE, stats.getRawDataSize());
fsp.addToStat(StatsSetupConst.ROW_COUNT, stats.getRowCount());
+ fsp.addToStat(StatsSetupConst.INSERT_COUNT, stats.getInsertCount());
+ fsp.addToStat(StatsSetupConst.UPDATE_COUNT, stats.getUpdateCount());
+ fsp.addToStat(StatsSetupConst.DELETE_COUNT, stats.getDeleteCount());
}
}
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRecordUpdater.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRecordUpdater.java
index c256f12..5abae74 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRecordUpdater.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRecordUpdater.java
@@ -131,6 +131,9 @@ public class OrcRecordUpdater implements RecordUpdater {
// This records how many rows have been inserted or deleted. It is separate from insertedRows
// because that is monotonically increasing to give new unique row ids.
private long rowCountDelta = 0;
+ private long insertCount = 0;
+ private long updateCount = 0;
+ private long deleteCount = 0;
// used only for insert events, this is the number of rows held in memory before flush() is invoked
private long bufferedRows = 0;
private final KeyIndexBuilder indexBuilder = new KeyIndexBuilder("insert");
@@ -507,6 +510,7 @@ public class OrcRecordUpdater implements RecordUpdater {
addSimpleEvent(INSERT_OPERATION, currentWriteId, insertedRows++, row);
}
rowCountDelta++;
+ insertCount++;
bufferedRows++;
}
@@ -520,6 +524,7 @@ public class OrcRecordUpdater implements RecordUpdater {
} else {
addSimpleEvent(UPDATE_OPERATION, currentWriteId, -1L, row);
}
+ updateCount++;
}
@Override
@@ -532,6 +537,7 @@ public class OrcRecordUpdater implements RecordUpdater {
} else {
addSimpleEvent(DELETE_OPERATION, currentWriteId, -1L, row);
}
+ deleteCount++;
rowCountDelta--;
}
@@ -629,6 +635,9 @@ public class OrcRecordUpdater implements RecordUpdater {
public SerDeStats getStats() {
SerDeStats stats = new SerDeStats();
stats.setRowCount(rowCountDelta);
+ stats.setInsertCount(insertCount);
+ stats.setUpdateCount(updateCount);
+ stats.setDeleteCount(deleteCount);
// Don't worry about setting raw data size diff. I have no idea how to calculate that
// without finding the row we are updating or deleting, which would be a mess.
return stats;
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 727f4ef..13c0514 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
@@ -35,6 +35,7 @@ import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultCa
import static org.apache.hadoop.hive.ql.io.AcidUtils.getFullTableName;
import static org.apache.hadoop.hive.ql.metadata.HiveRelOptMaterialization.RewriteAlgorithm.CALCITE;
import static org.apache.hadoop.hive.ql.metadata.HiveRelOptMaterialization.RewriteAlgorithm.ALL;
+import static org.apache.hadoop.hive.ql.optimizer.calcite.rules.views.HiveMaterializedViewUtils.asTableNames;
import static org.apache.hadoop.hive.ql.optimizer.calcite.rules.views.HiveMaterializedViewUtils.extractTable;
import static org.apache.hadoop.hive.serde.serdeConstants.SERIALIZATION_FORMAT;
import static org.apache.hadoop.hive.serde.serdeConstants.STRING_TYPE_NAME;
@@ -103,6 +104,8 @@ import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
import org.apache.hadoop.hive.metastore.api.GetPartitionsByNamesRequest;
import org.apache.hadoop.hive.metastore.api.GetTableRequest;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
+import org.apache.hadoop.hive.metastore.api.UpdateTransactionalStatsRequest;
import org.apache.hadoop.hive.ql.io.HdfsUtils;
import org.apache.hadoop.hive.metastore.HiveMetaException;
import org.apache.hadoop.hive.metastore.HiveMetaHook;
@@ -1865,7 +1868,7 @@ public class Hive {
* @throws HiveException
*/
public List<HiveRelOptMaterialization> getPreprocessedMaterializedViewsFromRegistry(
- List<String> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
+ Set<TableName> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
// From cache
List<HiveRelOptMaterialization> materializedViews =
HiveMaterializedViewsRegistry.get().getRewritingMaterializedViews();
@@ -1877,7 +1880,7 @@ public class Hive {
}
private List<HiveRelOptMaterialization> filterAugmentMaterializedViews(List<HiveRelOptMaterialization> materializedViews,
- List<String> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
+ Set<TableName> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
final String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY);
final boolean tryIncrementalRewriting =
HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_INCREMENTAL);
@@ -1925,7 +1928,7 @@ public class Hive {
* This method checks invalidation time window defined in materialization.
*/
public Boolean isOutdatedMaterializedView(
- Table materializedViewTable, List<String> tablesUsed,
+ Table materializedViewTable, Set<TableName> tablesUsed,
boolean forceMVContentsUpToDate, HiveTxnManager txnMgr) throws LockException {
String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY);
@@ -1973,7 +1976,7 @@ public class Hive {
}
return HiveMaterializedViewUtils.isOutdatedMaterializedView(
- validTxnsList, txnManager, new ArrayList<>(table.getCreationMetadata().getTablesUsed()), table);
+ validTxnsList, txnManager, asTableNames(table.getCreationMetadata().getTablesUsed()), table);
}
/**
@@ -1984,8 +1987,7 @@ public class Hive {
* @throws HiveException
*/
public boolean validateMaterializedViewsFromRegistry(List<Table> cachedMaterializedViewTables,
- List<String> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
- final String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY);
+ Set<TableName> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
try {
// Final result
boolean result = true;
@@ -2021,7 +2023,7 @@ public class Hive {
// Obtain additional information if we should try incremental rewriting / rebuild
// We will not try partial rewriting if there were update/delete/compaction operations on source tables
Materialization invalidationInfo = getMSC().getMaterializationInvalidationInfo(
- materializedViewTable.getCreationMetadata(), conf.get(ValidTxnList.VALID_TXNS_KEY));
+ materializedViewTable.getCreationMetadata());
if (invalidationInfo == null || invalidationInfo.isSourceTablesUpdateDeleteModified() ||
invalidationInfo.isSourceTablesCompacted()) {
// We ignore (as it did not meet the requirements), but we do not need to update it in the
@@ -2053,7 +2055,7 @@ public class Hive {
* @throws HiveException
*/
public List<HiveRelOptMaterialization> getPreprocessedMaterializedViews(
- List<String> tablesUsed, HiveTxnManager txnMgr)
+ Set<TableName> tablesUsed, HiveTxnManager txnMgr)
throws HiveException {
// From metastore
List<Table> materializedViewTables =
@@ -2074,7 +2076,7 @@ public class Hive {
* @throws HiveException
*/
public HiveRelOptMaterialization getMaterializedViewForRebuild(String dbName, String materializedViewName,
- List<String> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
+ Set<TableName> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
List<HiveRelOptMaterialization> validMaterializedViews = getValidMaterializedViews(
ImmutableList.of(getTable(dbName, materializedViewName)), tablesUsed, true, false, txnMgr, ALL);
if (validMaterializedViews.isEmpty()) {
@@ -2086,7 +2088,7 @@ public class Hive {
}
private List<HiveRelOptMaterialization> getValidMaterializedViews(List<Table> materializedViewTables,
- List<String> tablesUsed, boolean forceMVContentsUpToDate, boolean expandGroupingSets,
+ Set<TableName> tablesUsed, boolean forceMVContentsUpToDate, boolean expandGroupingSets,
HiveTxnManager txnMgr, EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> scope)
throws HiveException {
final String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY);
@@ -2118,8 +2120,7 @@ public class Hive {
} else {
// Obtain additional information if we should try incremental rewriting / rebuild
// We will not try partial rewriting if there were update/delete/compaction operations on source tables
- invalidationInfo = getMSC().getMaterializationInvalidationInfo(
- creationMetadata, conf.get(ValidTxnList.VALID_TXNS_KEY));
+ invalidationInfo = getMSC().getMaterializationInvalidationInfo(creationMetadata);
ignore = invalidationInfo == null || invalidationInfo.isSourceTablesCompacted();
}
if (ignore) {
@@ -2217,7 +2218,7 @@ public class Hive {
* @throws HiveException - an exception is thrown during validation or unable to pull transaction ids
*/
public List<HiveRelOptMaterialization> getMaterializedViewsBySql(
- String querySql, List<String> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
+ String querySql, Set<TableName> tablesUsed, HiveTxnManager txnMgr) throws HiveException {
List<HiveRelOptMaterialization> materializedViews =
HiveMaterializedViewsRegistry.get().getRewritingMaterializedViews(querySql);
@@ -5700,6 +5701,15 @@ private void constructOneLBLocationMap(FileStatus fSta,
}
}
+ public void updateTransactionalStatistics(UpdateTransactionalStatsRequest req) throws HiveException {
+ try {
+ getMSC().updateTransactionalStatistics(req);
+ } catch(Exception e) {
+ LOG.debug("Failed updateTransactionalStatistics", e);
+ throw new HiveException(e);
+ }
+ }
+
public Table newTable(String tableName) throws HiveException {
String[] names = Utilities.getDbTableName(tableName);
return new Table(names[0], names[1]);
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java
index c7549c0..102944a 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java
@@ -39,9 +39,11 @@ import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hive.common.FileUtils;
import org.apache.hadoop.hive.common.StatsSetupConst;
+import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
import org.apache.hadoop.hive.metastore.HiveMetaStoreUtils;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.metastore.conf.MetastoreConf;
import org.apache.hadoop.hive.metastore.TableType;
import org.apache.hadoop.hive.metastore.Warehouse;
@@ -58,6 +60,7 @@ import org.apache.hadoop.hive.metastore.api.hive_metastoreConstants;
import org.apache.hadoop.hive.metastore.utils.MetaStoreServerUtils;
import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils;
import org.apache.hadoop.hive.ql.exec.Utilities;
+import org.apache.hadoop.hive.ql.io.AcidUtils;
import org.apache.hadoop.hive.ql.io.HiveFileFormatUtils;
import org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat;
import org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.TableSpec;
@@ -312,6 +315,10 @@ public class Table implements Serializable {
return tTable.getTableName();
}
+ public TableName getFullTableName() {
+ return new TableName(getCatName(), getDbName(), getTableName());
+ }
+
final public Path getDataLocation() {
if (path == null) {
path = getPath();
@@ -1313,4 +1320,13 @@ public class Table implements Serializable {
public void setMetaTable(String metaTable) {
this.metaTable = metaTable;
}
+
+ public SourceTable createSourceTable() {
+ SourceTable sourceTable = new SourceTable();
+ sourceTable.setTable(this.tTable);
+ sourceTable.setInsertedCount(0L);
+ sourceTable.setUpdatedCount(0L);
+ sourceTable.setDeletedCount(0L);
+ return sourceTable;
+ }
};
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/views/HiveMaterializedViewUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/views/HiveMaterializedViewUtils.java
index 87ada12..2052d07 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/views/HiveMaterializedViewUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/views/HiveMaterializedViewUtils.java
@@ -22,6 +22,7 @@ import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
+import java.util.Set;
import java.util.stream.Collectors;
import org.apache.calcite.adapter.druid.DruidQuery;
@@ -45,10 +46,13 @@ import org.apache.calcite.rex.RexNode;
import org.apache.calcite.sql.fun.SqlStdOperatorTable;
import org.apache.calcite.tools.RelBuilder;
import org.apache.calcite.util.ImmutableBitSet;
+import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.common.ValidTxnWriteIdList;
import org.apache.hadoop.hive.common.ValidWriteIdList;
+import org.apache.hadoop.hive.metastore.Warehouse;
import org.apache.hadoop.hive.metastore.api.CreationMetadata;
import org.apache.hadoop.hive.metastore.api.FieldSchema;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager;
import org.apache.hadoop.hive.ql.lockmgr.LockException;
import org.apache.hadoop.hive.ql.metadata.HiveException;
@@ -96,9 +100,12 @@ public class HiveMaterializedViewUtils {
* materialized view definition uses external tables.
*/
public static Boolean isOutdatedMaterializedView(
- String validTxnsList, HiveTxnManager txnMgr,
- List<String> tablesUsed, Table materializedViewTable) throws LockException {
- ValidTxnWriteIdList currentTxnWriteIds = txnMgr.getValidWriteIds(tablesUsed, validTxnsList);
+ String validTxnsList, HiveTxnManager txnMgr,
+ Set<TableName> tablesUsed, Table materializedViewTable) throws LockException {
+ List<String> tablesUsedNames = tablesUsed.stream()
+ .map(tableName -> TableName.getDbTable(tableName.getDb(), tableName.getTable()))
+ .collect(Collectors.toList());
+ ValidTxnWriteIdList currentTxnWriteIds = txnMgr.getValidWriteIds(tablesUsedNames, validTxnsList);
if (currentTxnWriteIds == null) {
LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() +
" ignored for rewriting as we could not obtain current txn ids");
@@ -106,6 +113,11 @@ public class HiveMaterializedViewUtils {
}
CreationMetadata creationMetadata = materializedViewTable.getCreationMetadata();
+ Set<String> storedTablesUsed =
+ creationMetadata.getTablesUsed().stream()
+ .map(sourceTable -> TableName.getDbTable(
+ sourceTable.getTable().getDbName(), sourceTable.getTable().getTableName()))
+ .collect(Collectors.toSet());
if (creationMetadata.getValidTxnList() == null ||
creationMetadata.getValidTxnList().isEmpty()) {
LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() +
@@ -115,28 +127,28 @@ public class HiveMaterializedViewUtils {
boolean ignore = false;
ValidTxnWriteIdList mvTxnWriteIds = new ValidTxnWriteIdList(
creationMetadata.getValidTxnList());
- for (String qName : tablesUsed) {
+ for (String fullyQualifiedTableName : tablesUsedNames) {
// Note. If the materialized view does not contain a table that is contained in the query,
// we do not need to check whether that specific table is outdated or not. If a rewriting
// is produced in those cases, it is because that additional table is joined with the
// existing tables with an append-columns only join, i.e., PK-FK + not null.
- if (!creationMetadata.getTablesUsed().contains(qName)) {
+ if (!storedTablesUsed.contains(fullyQualifiedTableName)) {
continue;
}
- ValidWriteIdList tableCurrentWriteIds = currentTxnWriteIds.getTableValidWriteIdList(qName);
+ ValidWriteIdList tableCurrentWriteIds = currentTxnWriteIds.getTableValidWriteIdList(fullyQualifiedTableName);
if (tableCurrentWriteIds == null) {
// Uses non-transactional table, cannot be considered
LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() +
" ignored for rewriting as it is outdated and cannot be considered for " +
- " rewriting because it uses non-transactional table " + qName);
+ " rewriting because it uses non-transactional table " + fullyQualifiedTableName);
ignore = true;
break;
}
- ValidWriteIdList tableWriteIds = mvTxnWriteIds.getTableValidWriteIdList(qName);
+ ValidWriteIdList tableWriteIds = mvTxnWriteIds.getTableValidWriteIdList(fullyQualifiedTableName);
if (tableWriteIds == null) {
// This should not happen, but we ignore for safety
LOG.warn("Materialized view " + materializedViewTable.getFullyQualifiedName() +
- " ignored for rewriting as details about txn ids for table " + qName +
+ " ignored for rewriting as details about txn ids for table " + fullyQualifiedTableName +
" could not be found in " + mvTxnWriteIds);
ignore = true;
break;
@@ -395,4 +407,13 @@ public class HiveMaterializedViewUtils {
}
return newScan;
}
+
+ public static Set<TableName> asTableNames(Set<SourceTable> sourceTables) {
+ return sourceTables.stream()
+ .map(sourceTable -> new TableName(
+ sourceTable.getTable().getCatName(),
+ sourceTable.getTable().getDbName(),
+ sourceTable.getTable().getTableName()))
+ .collect(Collectors.toSet());
+ }
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
index f470577..34055f0 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
@@ -131,6 +131,7 @@ import org.apache.calcite.util.ImmutableBitSet;
import org.apache.calcite.util.ImmutableNullableList;
import org.apache.calcite.util.Pair;
import org.apache.hadoop.fs.Path;
+import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.conf.Constants;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
@@ -1969,7 +1970,7 @@ public class CalcitePlanner extends SemanticAnalyzer {
final boolean useMaterializedViewsRegistry = !conf.get(HiveConf.ConfVars.HIVE_SERVER2_MATERIALIZED_VIEWS_REGISTRY_IMPL.varname)
.equals("DUMMY");
final RelNode calcitePreMVRewritingPlan = basePlan;
- final List<String> tablesUsedQuery = getTablesUsed(basePlan);
+ final Set<TableName> tablesUsedQuery = getTablesUsed(basePlan);
// Add views to planner
List<HiveRelOptMaterialization> materializations = new ArrayList<>();
@@ -2117,10 +2118,10 @@ public class CalcitePlanner extends SemanticAnalyzer {
try {
Table hiveTableMD = extractTable(relOptMaterialization);
if (HiveMaterializedViewUtils.checkPrivilegeForMaterializedViews(singletonList(hiveTableMD))) {
+ Set<TableName> sourceTables = new HashSet<>(1);
+ sourceTables.add(hiveTableMD.getFullTableName());
if (db.validateMaterializedViewsFromRegistry(
- singletonList(hiveTableMD),
- singletonList(hiveTableMD.getFullyQualifiedName()),
- getTxnMgr())) {
+ singletonList(hiveTableMD), sourceTables, getTxnMgr())) {
return relOptMaterialization.copyToNewCluster(optCluster).tableRel;
}
} else {
@@ -2342,14 +2343,15 @@ public class CalcitePlanner extends SemanticAnalyzer {
return basePlan;
}
- protected List<String> getTablesUsed(RelNode plan) {
- List<String> tablesUsed = new ArrayList<>();
+ protected Set<TableName> getTablesUsed(RelNode plan) {
+ Set<TableName> tablesUsed = new HashSet<>();
new RelVisitor() {
@Override
public void visit(RelNode node, int ordinal, RelNode parent) {
if (node instanceof TableScan) {
TableScan ts = (TableScan) node;
- tablesUsed.add(((RelOptHiveTable) ts.getTable()).getHiveTableMD().getFullyQualifiedName());
+ Table hiveTableMD = ((RelOptHiveTable) ts.getTable()).getHiveTableMD();
+ tablesUsed.add(hiveTableMD.getFullTableName());
}
super.visit(node, ordinal, parent);
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java
index d82369f..b2627bf 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java
@@ -19,6 +19,7 @@
package org.apache.hadoop.hive.ql.parse;
import com.google.common.collect.Multimap;
+import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.ql.Context;
import org.apache.hadoop.hive.ql.QueryProperties;
@@ -318,6 +319,17 @@ public class ParseContext {
return topOps;
}
+ public Set<TableName> getTablesUsed() {
+ Set<TableName> tablesUsed = new HashSet<>();
+ for (TableScanOperator topOp : topOps.values()) {
+ Table table = topOp.getConf().getTableMetadata();
+ if (!table.isMaterializedTable() && !table.isView()) {
+ tablesUsed.add(table.getFullTableName());
+ }
+ }
+ return tablesUsed;
+ }
+
/**
* @param topOps
* the topOps to set
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
index 346ce31..f66e784 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
@@ -80,8 +80,6 @@ import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.common.ValidTxnList;
import org.apache.hadoop.hive.common.ValidTxnWriteIdList;
import org.apache.hadoop.hive.common.metrics.common.MetricsConstant;
-import org.apache.hadoop.hive.common.type.TimestampTZ;
-import org.apache.hadoop.hive.common.type.TimestampTZUtil;
import org.apache.hadoop.hive.conf.Constants;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
@@ -100,6 +98,7 @@ import org.apache.hadoop.hive.metastore.api.SQLForeignKey;
import org.apache.hadoop.hive.metastore.api.SQLNotNullConstraint;
import org.apache.hadoop.hive.metastore.api.SQLPrimaryKey;
import org.apache.hadoop.hive.metastore.api.SQLUniqueConstraint;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
import org.apache.hadoop.hive.metastore.api.hive_metastoreConstants;
import org.apache.hadoop.hive.metastore.conf.MetastoreConf;
import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils;
@@ -12193,13 +12192,15 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
if (table.isMaterializedView()) {
// When we are querying a materialized view directly, we check whether the source tables
// do not apply any policies.
- for (String qName : table.getCreationMetadata().getTablesUsed()) {
+ for (SourceTable sourceTable : table.getCreationMetadata().getTablesUsed()) {
+ String qualifiedTableName = TableName.getDbTable(
+ sourceTable.getTable().getDbName(), sourceTable.getTable().getTableName());
try {
- table = getTableObjectByName(qName, true);
+ table = getTableObjectByName(qualifiedTableName, true);
} catch (HiveException e) {
// This should not happen.
- throw new SemanticException("Table " + qName + " not found when trying to obtain it to check masking/filtering " +
- "policies");
+ throw new SemanticException("Table " + qualifiedTableName +
+ " not found when trying to obtain it to check masking/filtering policies");
}
List<String> colNames = new ArrayList<>();
@@ -12654,7 +12655,7 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
// all the information for semanticcheck
validateCreateView();
- createVwDesc.setTablesUsed(getTablesUsed(pCtx));
+ createVwDesc.setTablesUsed(pCtx.getTablesUsed());
}
// If we're creating views and ColumnAccessInfo is already created, we should not run these, since
@@ -12847,18 +12848,6 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
createVwDesc.setViewExpandedText(expandedText);
}
- private Set<String> getTablesUsed(ParseContext parseCtx) {
- Set<String> tablesUsed = new HashSet<>();
- for (TableScanOperator topOp : parseCtx.getTopOps().values()) {
- Table table = topOp.getConf().getTableMetadata();
- if (!table.isMaterializedTable() && !table.isView()) {
- // Add to signature
- tablesUsed.add(table.getFullyQualifiedName());
- }
- }
- return tablesUsed;
- }
-
private List<FieldSchema> convertRowSchemaToViewSchema(RowResolver rr) throws SemanticException {
List<FieldSchema> fieldSchema = convertRowSchemaToResultSetSchema(rr, false);
ParseUtils.validateColumnNameUniqueness(fieldSchema);
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java b/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java
index 966bde7..5b005ae 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java
@@ -39,12 +39,14 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
import org.apache.hadoop.hive.metastore.Warehouse;
import org.apache.hadoop.hive.metastore.api.EnvironmentContext;
import org.apache.hadoop.hive.metastore.api.MetaException;
+import org.apache.hadoop.hive.metastore.api.UpdateTransactionalStatsRequest;
import org.apache.hadoop.hive.metastore.utils.MetaStoreServerUtils;
import org.apache.hadoop.hive.ql.CompilationOpContext;
import org.apache.hadoop.hive.ql.ErrorMsg;
import org.apache.hadoop.hive.ql.exec.Task;
import org.apache.hadoop.hive.ql.exec.Utilities;
import org.apache.hadoop.hive.ql.io.AcidUtils;
+import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager;
import org.apache.hadoop.hive.ql.metadata.Hive;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import org.apache.hadoop.hive.ql.metadata.Partition;
@@ -53,7 +55,6 @@ import org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.TableSpec;
import org.apache.hadoop.hive.ql.plan.BasicStatsWork;
import org.apache.hadoop.hive.ql.plan.DynamicPartitionCtx;
import org.apache.hadoop.hive.ql.plan.LoadTableDesc;
-import org.apache.hadoop.hive.ql.plan.TableDesc;
import org.apache.hadoop.hive.ql.plan.api.StageType;
import org.apache.hadoop.hive.ql.session.SessionState.LogHelper;
import org.apache.hadoop.util.StringUtils;
@@ -63,6 +64,10 @@ import org.slf4j.LoggerFactory;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
+import static org.apache.hadoop.hive.common.StatsSetupConst.DELETE_COUNT;
+import static org.apache.hadoop.hive.common.StatsSetupConst.INSERT_COUNT;
+import static org.apache.hadoop.hive.common.StatsSetupConst.UPDATE_COUNT;
+
/**
* StatsTask implementation. StatsTask mainly deals with "collectable" stats. These are
* stats that require data scanning and are collected during query execution (unless the user
@@ -196,25 +201,6 @@ public class BasicStatsTask implements Serializable, IStatsProcessor {
}
}
- private String getAggregationPrefix(Table table, Partition partition) throws MetaException {
- String prefix = getAggregationPrefix0(table, partition);
- String aggKey = prefix.endsWith(Path.SEPARATOR) ? prefix : prefix + Path.SEPARATOR;
- return aggKey;
- }
-
- private String getAggregationPrefix0(Table table, Partition partition) throws MetaException {
-
- // prefix is of the form dbName.tblName
- String prefix = FileUtils.escapePathName(table.getDbName()).toLowerCase() + "." +
- FileUtils.escapePathName(table.getTableName()).toLowerCase();
- // FIXME: this is a secret contract; reusein getAggrKey() creates a more closer relation to the StatsGatherer
- // prefix = work.getAggKey();
- if (partition != null) {
- return Utilities.join(prefix, Warehouse.makePartPath(partition.getSpec()));
- }
- return prefix;
- }
-
private void updateStats(StatsAggregator statsAggregator, Map<String, String> parameters,
String aggKey) throws HiveException {
for (String statType : StatsSetupConst.STATS_REQUIRE_COMPUTE) {
@@ -235,6 +221,45 @@ public class BasicStatsTask implements Serializable, IStatsProcessor {
}
+ private static class TransactionalStatsProcessor {
+ private final Hive db;
+ private final Partish partish;
+
+ private TransactionalStatsProcessor(Hive db, Partish partish) {
+ this.db = db;
+ this.partish = partish;
+ }
+
+ private long toLong(String value) {
+ if (value == null || value.isEmpty()) {
+ return 0;
+ }
+
+ return Long.parseLong(value);
+ }
+
+ public void process(StatsAggregator statsAggregator) throws HiveException, MetaException {
+ if (statsAggregator == null) {
+ return;
+ }
+
+ if (partish.isTransactionalTable()) {
+ String prefix = getAggregationPrefix(partish.getTable(), partish.getPartition());
+ long insertCount = toLong(statsAggregator.aggregateStats(prefix, INSERT_COUNT));
+ long updateCount = toLong(statsAggregator.aggregateStats(prefix, UPDATE_COUNT));
+ long deleteCount = toLong(statsAggregator.aggregateStats(prefix, DELETE_COUNT));
+
+ if (insertCount > 0 || updateCount > 0 || deleteCount > 0) {
+ UpdateTransactionalStatsRequest request = new UpdateTransactionalStatsRequest();
+ request.setTableId(partish.getTable().getTTable().getId());
+ request.setInsertCount(insertCount);
+ request.setUpdatedCount(updateCount);
+ request.setDeletedCount(deleteCount);
+ db.updateTransactionalStatistics(request);
+ }
+ }
+ }
+ }
private int aggregateStats(Hive db) {
@@ -278,6 +303,9 @@ public class BasicStatsTask implements Serializable, IStatsProcessor {
}
db.alterTable(tableFullName, res, environmentContext, true);
+ TransactionalStatsProcessor transactionalStatsProcessor = new TransactionalStatsProcessor(db, p);
+ transactionalStatsProcessor.process(statsAggregator);
+
if (conf.getBoolVar(ConfVars.TEZ_EXEC_SUMMARY)) {
console.printInfo("Table " + tableFullName + " stats: [" + toString(p.getPartParameters()) + ']');
}
@@ -294,12 +322,14 @@ public class BasicStatsTask implements Serializable, IStatsProcessor {
final List<Future<Void>> futures = Lists.newLinkedList();
List<BasicStatsProcessor> processors = Lists.newLinkedList();
+ List<TransactionalStatsProcessor> transactionalStatsProcessors = Lists.newLinkedList();
try {
for(final Partition partn : partitions) {
Partish p;
BasicStatsProcessor bsp = new BasicStatsProcessor(p = new Partish.PPart(table, partn), work, conf, followedColStats);
processors.add(bsp);
+ transactionalStatsProcessors.add(new TransactionalStatsProcessor(db, p));
futures.add(pool.submit(new Callable<Void>() {
@Override
@@ -346,6 +376,11 @@ public class BasicStatsTask implements Serializable, IStatsProcessor {
if (!updates.isEmpty()) {
db.alterPartitions(tableFullName, updates, environmentContext, true);
}
+
+ for (TransactionalStatsProcessor transactionalStatsProcessor : transactionalStatsProcessors) {
+ transactionalStatsProcessor.process(statsAggregator);
+ }
+
if (work.isStatsReliable() && updates.size() != processors.size()) {
LOG.info("Stats should be reliadble...however seems like there were some issue.. => ret 1");
ret = 1;
@@ -495,4 +530,22 @@ public class BasicStatsTask implements Serializable, IStatsProcessor {
this.dpPartSpecs = dpPartSpecs;
}
+ public static String getAggregationPrefix(Table table, Partition partition) throws MetaException {
+ String prefix = getAggregationPrefix0(table, partition);
+ String aggKey = prefix.endsWith(Path.SEPARATOR) ? prefix : prefix + Path.SEPARATOR;
+ return aggKey;
+ }
+
+ private static String getAggregationPrefix0(Table table, Partition partition) throws MetaException {
+
+ // prefix is of the form dbName.tblName
+ String prefix = FileUtils.escapePathName(table.getDbName()).toLowerCase() + "." +
+ FileUtils.escapePathName(table.getTableName()).toLowerCase();
+ // FIXME: this is a secret contract; reusein getAggrKey() creates a more closer relation to the StatsGatherer
+ // prefix = work.getAggKey();
+ if (partition != null) {
+ return Utilities.join(prefix, Warehouse.makePartPath(partition.getSpec()));
+ }
+ return prefix;
+ }
}
diff --git a/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java b/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java
index f046425..426e52e 100644
--- a/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java
+++ b/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java
@@ -19,7 +19,6 @@ package org.apache.hadoop.hive.metastore.txn;
import org.apache.hadoop.hive.common.JavaUtils;
import org.apache.hadoop.hive.common.TableName;
-import org.apache.hadoop.hive.common.ValidReadTxnList;
import org.apache.hadoop.hive.common.ValidReaderWriteIdList;
import org.apache.hadoop.hive.common.ValidTxnWriteIdList;
import org.apache.hadoop.hive.conf.HiveConf;
@@ -58,6 +57,8 @@ import org.apache.hadoop.hive.metastore.api.ShowCompactResponseElement;
import org.apache.hadoop.hive.metastore.api.ShowLocksRequest;
import org.apache.hadoop.hive.metastore.api.ShowLocksResponse;
import org.apache.hadoop.hive.metastore.api.ShowLocksResponseElement;
+import org.apache.hadoop.hive.metastore.api.SourceTable;
+import org.apache.hadoop.hive.metastore.api.Table;
import org.apache.hadoop.hive.metastore.api.TxnAbortedException;
import org.apache.hadoop.hive.metastore.api.TxnInfo;
import org.apache.hadoop.hive.metastore.api.TxnOpenException;
@@ -88,6 +89,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Collections;
+import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.concurrent.CompletableFuture;
@@ -102,6 +104,8 @@ import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertNull;
import static junit.framework.Assert.assertTrue;
import static junit.framework.Assert.fail;
+import static org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.TABLE_IS_TRANSACTIONAL;
+import static org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.TABLE_TRANSACTIONAL_PROPERTIES;
import static org.apache.hadoop.hive.metastore.utils.LockTypeUtil.getEncoding;
/**
@@ -1872,7 +1876,6 @@ public class TestTxnHandler {
@Test
public void testGetMaterializationInvalidationInfo() throws MetaException {
testGetMaterializationInvalidationInfo(
- new ValidReadTxnList(new long[] {6, 11}, new BitSet(), 10L, 12L),
new ValidReaderWriteIdList(TableName.getDbTable("default", "t1"), new long[] { 2 }, new BitSet(), 1)
);
}
@@ -1880,7 +1883,6 @@ public class TestTxnHandler {
@Test
public void testGetMaterializationInvalidationInfoWhenTableHasNoException() throws MetaException {
testGetMaterializationInvalidationInfo(
- new ValidReadTxnList(new long[] {6, 11}, new BitSet(), 10L, 12L),
new ValidReaderWriteIdList(TableName.getDbTable("default", "t1"), new long[0], new BitSet(), 1)
);
}
@@ -1888,26 +1890,34 @@ public class TestTxnHandler {
@Test
public void testGetMaterializationInvalidationInfoWhenCurrentTxnListHasNoException() throws MetaException {
testGetMaterializationInvalidationInfo(
- new ValidReadTxnList(new long[0], new BitSet(), 10L, 12L),
new ValidReaderWriteIdList(TableName.getDbTable("default", "t1"), new long[] { 2 }, new BitSet(), 1)
);
}
private void testGetMaterializationInvalidationInfo(
- ValidReadTxnList currentValidTxnList, ValidReaderWriteIdList... tableWriteIdList) throws MetaException {
+ ValidReaderWriteIdList... tableWriteIdList) throws MetaException {
ValidTxnWriteIdList validTxnWriteIdList = new ValidTxnWriteIdList(5L);
for (ValidReaderWriteIdList tableWriteId : tableWriteIdList) {
validTxnWriteIdList.addTableValidWriteIdList(tableWriteId);
}
+ Table table = new Table();
+ table.setDbName("default");
+ table.setTableName("t1");
+ HashMap<String, String> tableParameters = new HashMap<String, String>() {{
+ put(TABLE_IS_TRANSACTIONAL, "true");
+ put(TABLE_TRANSACTIONAL_PROPERTIES, "insert_only");
+ }};
+ table.setParameters(tableParameters);
+ SourceTable sourceTable = new SourceTable();
+ sourceTable.setTable(table);
CreationMetadata creationMetadata = new CreationMetadata();
creationMetadata.setDbName("default");
creationMetadata.setTblName("mat1");
- creationMetadata.setTablesUsed(new HashSet<String>() {{ add("default.t1"); }});
+ creationMetadata.setTablesUsed(new HashSet<SourceTable>() {{ add(sourceTable); }});
creationMetadata.setValidTxnList(validTxnWriteIdList.toString());
- Materialization materialization = txnHandler.getMaterializationInvalidationInfo(
- creationMetadata, currentValidTxnList.toString());
+ Materialization materialization = txnHandler.getMaterializationInvalidationInfo(creationMetadata);
assertFalse(materialization.isSourceTablesUpdateDeleteModified());
}
diff --git a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManagerIsolationProperties.java b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManagerIsolationProperties.java
index 6c30069..e04ee37 100644
--- a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManagerIsolationProperties.java
+++ b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManagerIsolationProperties.java
@@ -197,6 +197,51 @@ public class TestDbTxnManagerIsolationProperties extends DbTxnManagerEndToEndTes
Assert.assertEquals("Dirty read!", 1, res.size());
}
+
+ @Test
+ public void testRebuildMVWhenOpenTxnPresents() throws Exception {
+ driver.run(("drop table if exists t1"));
+ driver.run("create table t1 (a int, b int) stored as orc TBLPROPERTIES ('transactional'='true')");
+ driver.run("insert into t1 values(1,2),(2,2)");
+ driver.run("create materialized view mat1 stored as orc " +
+ "TBLPROPERTIES ('transactional'='true') as " +
+ "select a,b from t1 where a > 1");
+
+ driver.run("insert into t1 values(3,3)");
+
+ // Simulate starting a transaction by another client
+ DbTxnManager txnMgr2 = (DbTxnManager) TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf);
+ swapTxnManager(txnMgr2);
+ driver2.compileAndRespond("delete from t1 where a = 2");
+
+ // Switch back to client #1 and rebuild the MV, the transaction with the delete statement still open
+ swapTxnManager(txnMgr);
+ driver.run("alter materialized view mat1 rebuild");
+
+ driver.run("select * from mat1 order by a");
+ FetchTask fetchTask = driver.getFetchTask();
+ List res = new ArrayList();
+ fetchTask.fetch(res);
+ Assert.assertEquals(2, res.size());
+ Assert.assertEquals("2\t2", res.get(0));
+ Assert.assertEquals("3\t3", res.get(1));
+
+ // execute the delete statement and commit the transaction
+ swapTxnManager(txnMgr2);
+ driver2.run();
+
+ // Rebuild the view again.
+ swapTxnManager(txnMgr);
+ driver.run("alter materialized view mat1 rebuild");
+
+ driver.run("select * from mat1");
+ fetchTask = driver.getFetchTask();
+ res = new ArrayList();
+ fetchTask.fetch(res);
+ Assert.assertEquals(1, res.size());
+ Assert.assertEquals("3\t3", res.get(0));
+ }
+
private void silentCommitTxn(CommitTxnRequest commitTxnRequest) {
try {
txnHandler.commitTxn(commitTxnRequest);
diff --git a/serde/src/java/org/apache/hadoop/hive/serde2/SerDeStats.java b/serde/src/java/org/apache/hadoop/hive/serde2/SerDeStats.java
index 4667d49..d149e59 100644
--- a/serde/src/java/org/apache/hadoop/hive/serde2/SerDeStats.java
+++ b/serde/src/java/org/apache/hadoop/hive/serde2/SerDeStats.java
@@ -28,10 +28,16 @@ public class SerDeStats {
// currently we support only raw data size stat
private long rawDataSize;
private long rowCount;
+ private long insertCount;
+ private long updateCount;
+ private long deleteCount;
public SerDeStats() {
rawDataSize = 0;
rowCount = 0;
+ insertCount = 0;
+ updateCount = 0;
+ deleteCount = 0;
}
/**
@@ -66,4 +72,27 @@ public class SerDeStats {
this.rowCount = rowCount;
}
+ public long getInsertCount() {
+ return insertCount;
+ }
+
+ public void setInsertCount(long insertCount) {
+ this.insertCount = insertCount;
+ }
+
+ public long getUpdateCount() {
+ return updateCount;
+ }
+
+ public void setUpdateCount(long updateCount) {
+ this.updateCount = updateCount;
+ }
+
+ public long getDeleteCount() {
+ return deleteCount;
+ }
+
+ public void setDeleteCount(long deleteCount) {
+ this.deleteCount = deleteCount;
+ }
}
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
index 3aae28e..72763ea 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
@@ -2561,14 +2561,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1734;
- ::apache::thrift::protocol::TType _etype1737;
- xfer += iprot->readListBegin(_etype1737, _size1734);
- this->success.resize(_size1734);
- uint32_t _i1738;
- for (_i1738 = 0; _i1738 < _size1734; ++_i1738)
+ uint32_t _size1738;
+ ::apache::thrift::protocol::TType _etype1741;
+ xfer += iprot->readListBegin(_etype1741, _size1738);
+ this->success.resize(_size1738);
+ uint32_t _i1742;
+ for (_i1742 = 0; _i1742 < _size1738; ++_i1742)
{
- xfer += iprot->readString(this->success[_i1738]);
+ xfer += iprot->readString(this->success[_i1742]);
}
xfer += iprot->readListEnd();
}
@@ -2607,10 +2607,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 _iter1739;
- for (_iter1739 = this->success.begin(); _iter1739 != this->success.end(); ++_iter1739)
+ std::vector<std::string> ::const_iterator _iter1743;
+ for (_iter1743 = this->success.begin(); _iter1743 != this->success.end(); ++_iter1743)
{
- xfer += oprot->writeString((*_iter1739));
+ xfer += oprot->writeString((*_iter1743));
}
xfer += oprot->writeListEnd();
}
@@ -2655,14 +2655,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1740;
- ::apache::thrift::protocol::TType _etype1743;
- xfer += iprot->readListBegin(_etype1743, _size1740);
- (*(this->success)).resize(_size1740);
- uint32_t _i1744;
- for (_i1744 = 0; _i1744 < _size1740; ++_i1744)
+ uint32_t _size1744;
+ ::apache::thrift::protocol::TType _etype1747;
+ xfer += iprot->readListBegin(_etype1747, _size1744);
+ (*(this->success)).resize(_size1744);
+ uint32_t _i1748;
+ for (_i1748 = 0; _i1748 < _size1744; ++_i1748)
{
- xfer += iprot->readString((*(this->success))[_i1744]);
+ xfer += iprot->readString((*(this->success))[_i1748]);
}
xfer += iprot->readListEnd();
}
@@ -2779,14 +2779,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1745;
- ::apache::thrift::protocol::TType _etype1748;
- xfer += iprot->readListBegin(_etype1748, _size1745);
- this->success.resize(_size1745);
- uint32_t _i1749;
- for (_i1749 = 0; _i1749 < _size1745; ++_i1749)
+ uint32_t _size1749;
+ ::apache::thrift::protocol::TType _etype1752;
+ xfer += iprot->readListBegin(_etype1752, _size1749);
+ this->success.resize(_size1749);
+ uint32_t _i1753;
+ for (_i1753 = 0; _i1753 < _size1749; ++_i1753)
{
- xfer += iprot->readString(this->success[_i1749]);
+ xfer += iprot->readString(this->success[_i1753]);
}
xfer += iprot->readListEnd();
}
@@ -2825,10 +2825,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 _iter1750;
- for (_iter1750 = this->success.begin(); _iter1750 != this->success.end(); ++_iter1750)
+ std::vector<std::string> ::const_iterator _iter1754;
+ for (_iter1754 = this->success.begin(); _iter1754 != this->success.end(); ++_iter1754)
{
- xfer += oprot->writeString((*_iter1750));
+ xfer += oprot->writeString((*_iter1754));
}
xfer += oprot->writeListEnd();
}
@@ -2873,14 +2873,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1751;
- ::apache::thrift::protocol::TType _etype1754;
- xfer += iprot->readListBegin(_etype1754, _size1751);
- (*(this->success)).resize(_size1751);
- uint32_t _i1755;
- for (_i1755 = 0; _i1755 < _size1751; ++_i1755)
+ uint32_t _size1755;
+ ::apache::thrift::protocol::TType _etype1758;
+ xfer += iprot->readListBegin(_etype1758, _size1755);
+ (*(this->success)).resize(_size1755);
+ uint32_t _i1759;
+ for (_i1759 = 0; _i1759 < _size1755; ++_i1759)
{
- xfer += iprot->readString((*(this->success))[_i1755]);
+ xfer += iprot->readString((*(this->success))[_i1759]);
}
xfer += iprot->readListEnd();
}
@@ -3933,14 +3933,14 @@ uint32_t ThriftHiveMetastore_get_dataconnectors_result::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1756;
- ::apache::thrift::protocol::TType _etype1759;
- xfer += iprot->readListBegin(_etype1759, _size1756);
- this->success.resize(_size1756);
- uint32_t _i1760;
- for (_i1760 = 0; _i1760 < _size1756; ++_i1760)
+ uint32_t _size1760;
+ ::apache::thrift::protocol::TType _etype1763;
+ xfer += iprot->readListBegin(_etype1763, _size1760);
+ this->success.resize(_size1760);
+ uint32_t _i1764;
+ for (_i1764 = 0; _i1764 < _size1760; ++_i1764)
{
- xfer += iprot->readString(this->success[_i1760]);
+ xfer += iprot->readString(this->success[_i1764]);
}
xfer += iprot->readListEnd();
}
@@ -3979,10 +3979,10 @@ uint32_t ThriftHiveMetastore_get_dataconnectors_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 _iter1761;
- for (_iter1761 = this->success.begin(); _iter1761 != this->success.end(); ++_iter1761)
+ std::vector<std::string> ::const_iterator _iter1765;
+ for (_iter1765 = this->success.begin(); _iter1765 != this->success.end(); ++_iter1765)
{
- xfer += oprot->writeString((*_iter1761));
+ xfer += oprot->writeString((*_iter1765));
}
xfer += oprot->writeListEnd();
}
@@ -4027,14 +4027,14 @@ uint32_t ThriftHiveMetastore_get_dataconnectors_presult::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1762;
- ::apache::thrift::protocol::TType _etype1765;
- xfer += iprot->readListBegin(_etype1765, _size1762);
- (*(this->success)).resize(_size1762);
- uint32_t _i1766;
- for (_i1766 = 0; _i1766 < _size1762; ++_i1766)
+ uint32_t _size1766;
+ ::apache::thrift::protocol::TType _etype1769;
+ xfer += iprot->readListBegin(_etype1769, _size1766);
+ (*(this->success)).resize(_size1766);
+ uint32_t _i1770;
+ for (_i1770 = 0; _i1770 < _size1766; ++_i1770)
{
- xfer += iprot->readString((*(this->success))[_i1766]);
+ xfer += iprot->readString((*(this->success))[_i1770]);
}
xfer += iprot->readListEnd();
}
@@ -5096,17 +5096,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size1767;
- ::apache::thrift::protocol::TType _ktype1768;
- ::apache::thrift::protocol::TType _vtype1769;
- xfer += iprot->readMapBegin(_ktype1768, _vtype1769, _size1767);
- uint32_t _i1771;
- for (_i1771 = 0; _i1771 < _size1767; ++_i1771)
+ uint32_t _size1771;
+ ::apache::thrift::protocol::TType _ktype1772;
+ ::apache::thrift::protocol::TType _vtype1773;
+ xfer += iprot->readMapBegin(_ktype1772, _vtype1773, _size1771);
+ uint32_t _i1775;
+ for (_i1775 = 0; _i1775 < _size1771; ++_i1775)
{
- std::string _key1772;
- xfer += iprot->readString(_key1772);
- Type& _val1773 = this->success[_key1772];
- xfer += _val1773.read(iprot);
+ std::string _key1776;
+ xfer += iprot->readString(_key1776);
+ Type& _val1777 = this->success[_key1776];
+ xfer += _val1777.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -5145,11 +5145,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 _iter1774;
- for (_iter1774 = this->success.begin(); _iter1774 != this->success.end(); ++_iter1774)
+ std::map<std::string, Type> ::const_iterator _iter1778;
+ for (_iter1778 = this->success.begin(); _iter1778 != this->success.end(); ++_iter1778)
{
- xfer += oprot->writeString(_iter1774->first);
- xfer += _iter1774->second.write(oprot);
+ xfer += oprot->writeString(_iter1778->first);
+ xfer += _iter1778->second.write(oprot);
}
xfer += oprot->writeMapEnd();
}
@@ -5194,17 +5194,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
- uint32_t _size1775;
- ::apache::thrift::protocol::TType _ktype1776;
- ::apache::thrift::protocol::TType _vtype1777;
- xfer += iprot->readMapBegin(_ktype1776, _vtype1777, _size1775);
- uint32_t _i1779;
- for (_i1779 = 0; _i1779 < _size1775; ++_i1779)
+ uint32_t _size1779;
+ ::apache::thrift::protocol::TType _ktype1780;
+ ::apache::thrift::protocol::TType _vtype1781;
+ xfer += iprot->readMapBegin(_ktype1780, _vtype1781, _size1779);
+ uint32_t _i1783;
+ for (_i1783 = 0; _i1783 < _size1779; ++_i1783)
{
- std::string _key1780;
- xfer += iprot->readString(_key1780);
- Type& _val1781 = (*(this->success))[_key1780];
- xfer += _val1781.read(iprot);
+ std::string _key1784;
+ xfer += iprot->readString(_key1784);
+ Type& _val1785 = (*(this->success))[_key1784];
+ xfer += _val1785.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -5358,14 +5358,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1782;
- ::apache::thrift::protocol::TType _etype1785;
- xfer += iprot->readListBegin(_etype1785, _size1782);
- this->success.resize(_size1782);
- uint32_t _i1786;
- for (_i1786 = 0; _i1786 < _size1782; ++_i1786)
+ uint32_t _size1786;
+ ::apache::thrift::protocol::TType _etype1789;
+ xfer += iprot->readListBegin(_etype1789, _size1786);
+ this->success.resize(_size1786);
+ uint32_t _i1790;
+ for (_i1790 = 0; _i1790 < _size1786; ++_i1790)
{
- xfer += this->success[_i1786].read(iprot);
+ xfer += this->success[_i1790].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5420,10 +5420,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 _iter1787;
- for (_iter1787 = this->success.begin(); _iter1787 != this->success.end(); ++_iter1787)
+ std::vector<FieldSchema> ::const_iterator _iter1791;
+ for (_iter1791 = this->success.begin(); _iter1791 != this->success.end(); ++_iter1791)
{
- xfer += (*_iter1787).write(oprot);
+ xfer += (*_iter1791).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -5476,14 +5476,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1788;
- ::apache::thrift::protocol::TType _etype1791;
- xfer += iprot->readListBegin(_etype1791, _size1788);
- (*(this->success)).resize(_size1788);
- uint32_t _i1792;
- for (_i1792 = 0; _i1792 < _size1788; ++_i1792)
+ uint32_t _size1792;
+ ::apache::thrift::protocol::TType _etype1795;
+ xfer += iprot->readListBegin(_etype1795, _size1792);
+ (*(this->success)).resize(_size1792);
+ uint32_t _i1796;
+ for (_i1796 = 0; _i1796 < _size1792; ++_i1796)
{
- xfer += (*(this->success))[_i1792].read(iprot);
+ xfer += (*(this->success))[_i1796].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5669,14 +5669,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1793;
- ::apache::thrift::protocol::TType _etype1796;
- xfer += iprot->readListBegin(_etype1796, _size1793);
- this->success.resize(_size1793);
- uint32_t _i1797;
- for (_i1797 = 0; _i1797 < _size1793; ++_i1797)
+ uint32_t _size1797;
+ ::apache::thrift::protocol::TType _etype1800;
+ xfer += iprot->readListBegin(_etype1800, _size1797);
+ this->success.resize(_size1797);
+ uint32_t _i1801;
+ for (_i1801 = 0; _i1801 < _size1797; ++_i1801)
{
- xfer += this->success[_i1797].read(iprot);
+ xfer += this->success[_i1801].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5731,10 +5731,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 _iter1798;
- for (_iter1798 = this->success.begin(); _iter1798 != this->success.end(); ++_iter1798)
+ std::vector<FieldSchema> ::const_iterator _iter1802;
+ for (_iter1802 = this->success.begin(); _iter1802 != this->success.end(); ++_iter1802)
{
- xfer += (*_iter1798).write(oprot);
+ xfer += (*_iter1802).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -5787,14 +5787,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1799;
- ::apache::thrift::protocol::TType _etype1802;
- xfer += iprot->readListBegin(_etype1802, _size1799);
- (*(this->success)).resize(_size1799);
- uint32_t _i1803;
- for (_i1803 = 0; _i1803 < _size1799; ++_i1803)
+ uint32_t _size1803;
+ ::apache::thrift::protocol::TType _etype1806;
+ xfer += iprot->readListBegin(_etype1806, _size1803);
+ (*(this->success)).resize(_size1803);
+ uint32_t _i1807;
+ for (_i1807 = 0; _i1807 < _size1803; ++_i1807)
{
- xfer += (*(this->success))[_i1803].read(iprot);
+ xfer += (*(this->success))[_i1807].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -6211,14 +6211,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1804;
- ::apache::thrift::protocol::TType _etype1807;
- xfer += iprot->readListBegin(_etype1807, _size1804);
- this->success.resize(_size1804);
- uint32_t _i1808;
- for (_i1808 = 0; _i1808 < _size1804; ++_i1808)
+ uint32_t _size1808;
+ ::apache::thrift::protocol::TType _etype1811;
+ xfer += iprot->readListBegin(_etype1811, _size1808);
+ this->success.resize(_size1808);
+ uint32_t _i1812;
+ for (_i1812 = 0; _i1812 < _size1808; ++_i1812)
{
- xfer += this->success[_i1808].read(iprot);
+ xfer += this->success[_i1812].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -6273,10 +6273,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 _iter1809;
- for (_iter1809 = this->success.begin(); _iter1809 != this->success.end(); ++_iter1809)
+ std::vector<FieldSchema> ::const_iterator _iter1813;
+ for (_iter1813 = this->success.begin(); _iter1813 != this->success.end(); ++_iter1813)
{
- xfer += (*_iter1809).write(oprot);
+ xfer += (*_iter1813).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -6329,14 +6329,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1810;
- ::apache::thrift::protocol::TType _etype1813;
- xfer += iprot->readListBegin(_etype1813, _size1810);
- (*(this->success)).resize(_size1810);
- uint32_t _i1814;
- for (_i1814 = 0; _i1814 < _size1810; ++_i1814)
+ uint32_t _size1814;
+ ::apache::thrift::protocol::TType _etype1817;
+ xfer += iprot->readListBegin(_etype1817, _size1814);
+ (*(this->success)).resize(_size1814);
+ uint32_t _i1818;
+ for (_i1818 = 0; _i1818 < _size1814; ++_i1818)
{
- xfer += (*(this->success))[_i1814].read(iprot);
+ xfer += (*(this->success))[_i1818].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -6522,14 +6522,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1815;
- ::apache::thrift::protocol::TType _etype1818;
- xfer += iprot->readListBegin(_etype1818, _size1815);
- this->success.resize(_size1815);
- uint32_t _i1819;
- for (_i1819 = 0; _i1819 < _size1815; ++_i1819)
+ uint32_t _size1819;
+ ::apache::thrift::protocol::TType _etype1822;
+ xfer += iprot->readListBegin(_etype1822, _size1819);
+ this->success.resize(_size1819);
+ uint32_t _i1823;
+ for (_i1823 = 0; _i1823 < _size1819; ++_i1823)
{
- xfer += this->success[_i1819].read(iprot);
+ xfer += this->success[_i1823].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -6584,10 +6584,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 _iter1820;
- for (_iter1820 = this->success.begin(); _iter1820 != this->success.end(); ++_iter1820)
+ std::vector<FieldSchema> ::const_iterator _iter1824;
+ for (_iter1824 = this->success.begin(); _iter1824 != this->success.end(); ++_iter1824)
{
- xfer += (*_iter1820).write(oprot);
+ xfer += (*_iter1824).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -6640,14 +6640,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1821;
- ::apache::thrift::protocol::TType _etype1824;
- xfer += iprot->readListBegin(_etype1824, _size1821);
- (*(this->success)).resize(_size1821);
- uint32_t _i1825;
- for (_i1825 = 0; _i1825 < _size1821; ++_i1825)
+ uint32_t _size1825;
+ ::apache::thrift::protocol::TType _etype1828;
+ xfer += iprot->readListBegin(_etype1828, _size1825);
+ (*(this->success)).resize(_size1825);
+ uint32_t _i1829;
+ for (_i1829 = 0; _i1829 < _size1825; ++_i1829)
{
- xfer += (*(this->success))[_i1825].read(iprot);
+ xfer += (*(this->success))[_i1829].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7487,14 +7487,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->primaryKeys.clear();
- uint32_t _size1826;
- ::apache::thrift::protocol::TType _etype1829;
- xfer += iprot->readListBegin(_etype1829, _size1826);
- this->primaryKeys.resize(_size1826);
- uint32_t _i1830;
- for (_i1830 = 0; _i1830 < _size1826; ++_i1830)
+ uint32_t _size1830;
+ ::apache::thrift::protocol::TType _etype1833;
+ xfer += iprot->readListBegin(_etype1833, _size1830);
+ this->primaryKeys.resize(_size1830);
+ uint32_t _i1834;
+ for (_i1834 = 0; _i1834 < _size1830; ++_i1834)
{
- xfer += this->primaryKeys[_i1830].read(iprot);
+ xfer += this->primaryKeys[_i1834].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7507,14 +7507,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->foreignKeys.clear();
- uint32_t _size1831;
- ::apache::thrift::protocol::TType _etype1834;
- xfer += iprot->readListBegin(_etype1834, _size1831);
- this->foreignKeys.resize(_size1831);
- uint32_t _i1835;
- for (_i1835 = 0; _i1835 < _size1831; ++_i1835)
+ uint32_t _size1835;
+ ::apache::thrift::protocol::TType _etype1838;
+ xfer += iprot->readListBegin(_etype1838, _size1835);
+ this->foreignKeys.resize(_size1835);
+ uint32_t _i1839;
+ for (_i1839 = 0; _i1839 < _size1835; ++_i1839)
{
- xfer += this->foreignKeys[_i1835].read(iprot);
+ xfer += this->foreignKeys[_i1839].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7527,14 +7527,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->uniqueConstraints.clear();
- uint32_t _size1836;
- ::apache::thrift::protocol::TType _etype1839;
- xfer += iprot->readListBegin(_etype1839, _size1836);
- this->uniqueConstraints.resize(_size1836);
- uint32_t _i1840;
- for (_i1840 = 0; _i1840 < _size1836; ++_i1840)
+ uint32_t _size1840;
+ ::apache::thrift::protocol::TType _etype1843;
+ xfer += iprot->readListBegin(_etype1843, _size1840);
+ this->uniqueConstraints.resize(_size1840);
+ uint32_t _i1844;
+ for (_i1844 = 0; _i1844 < _size1840; ++_i1844)
{
- xfer += this->uniqueConstraints[_i1840].read(iprot);
+ xfer += this->uniqueConstraints[_i1844].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7547,14 +7547,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->notNullConstraints.clear();
- uint32_t _size1841;
- ::apache::thrift::protocol::TType _etype1844;
- xfer += iprot->readListBegin(_etype1844, _size1841);
- this->notNullConstraints.resize(_size1841);
- uint32_t _i1845;
- for (_i1845 = 0; _i1845 < _size1841; ++_i1845)
+ uint32_t _size1845;
+ ::apache::thrift::protocol::TType _etype1848;
+ xfer += iprot->readListBegin(_etype1848, _size1845);
+ this->notNullConstraints.resize(_size1845);
+ uint32_t _i1849;
+ for (_i1849 = 0; _i1849 < _size1845; ++_i1849)
{
- xfer += this->notNullConstraints[_i1845].read(iprot);
+ xfer += this->notNullConstraints[_i1849].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7567,14 +7567,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->defaultConstraints.clear();
- uint32_t _size1846;
- ::apache::thrift::protocol::TType _etype1849;
- xfer += iprot->readListBegin(_etype1849, _size1846);
- this->defaultConstraints.resize(_size1846);
- uint32_t _i1850;
- for (_i1850 = 0; _i1850 < _size1846; ++_i1850)
+ uint32_t _size1850;
+ ::apache::thrift::protocol::TType _etype1853;
+ xfer += iprot->readListBegin(_etype1853, _size1850);
+ this->defaultConstraints.resize(_size1850);
+ uint32_t _i1854;
+ for (_i1854 = 0; _i1854 < _size1850; ++_i1854)
{
- xfer += this->defaultConstraints[_i1850].read(iprot);
+ xfer += this->defaultConstraints[_i1854].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7587,14 +7587,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->checkConstraints.clear();
- uint32_t _size1851;
- ::apache::thrift::protocol::TType _etype1854;
- xfer += iprot->readListBegin(_etype1854, _size1851);
- this->checkConstraints.resize(_size1851);
- uint32_t _i1855;
- for (_i1855 = 0; _i1855 < _size1851; ++_i1855)
+ uint32_t _size1855;
+ ::apache::thrift::protocol::TType _etype1858;
+ xfer += iprot->readListBegin(_etype1858, _size1855);
+ this->checkConstraints.resize(_size1855);
+ uint32_t _i1859;
+ for (_i1859 = 0; _i1859 < _size1855; ++_i1859)
{
- xfer += this->checkConstraints[_i1855].read(iprot);
+ xfer += this->checkConstraints[_i1859].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7627,10 +7627,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 _iter1856;
- for (_iter1856 = this->primaryKeys.begin(); _iter1856 != this->primaryKeys.end(); ++_iter1856)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter1860;
+ for (_iter1860 = this->primaryKeys.begin(); _iter1860 != this->primaryKeys.end(); ++_iter1860)
{
- xfer += (*_iter1856).write(oprot);
+ xfer += (*_iter1860).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7639,10 +7639,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 _iter1857;
- for (_iter1857 = this->foreignKeys.begin(); _iter1857 != this->foreignKeys.end(); ++_iter1857)
+ std::vector<SQLForeignKey> ::const_iterator _iter1861;
+ for (_iter1861 = this->foreignKeys.begin(); _iter1861 != this->foreignKeys.end(); ++_iter1861)
{
- xfer += (*_iter1857).write(oprot);
+ xfer += (*_iter1861).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7651,10 +7651,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 _iter1858;
- for (_iter1858 = this->uniqueConstraints.begin(); _iter1858 != this->uniqueConstraints.end(); ++_iter1858)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter1862;
+ for (_iter1862 = this->uniqueConstraints.begin(); _iter1862 != this->uniqueConstraints.end(); ++_iter1862)
{
- xfer += (*_iter1858).write(oprot);
+ xfer += (*_iter1862).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7663,10 +7663,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 _iter1859;
- for (_iter1859 = this->notNullConstraints.begin(); _iter1859 != this->notNullConstraints.end(); ++_iter1859)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter1863;
+ for (_iter1863 = this->notNullConstraints.begin(); _iter1863 != this->notNullConstraints.end(); ++_iter1863)
{
- xfer += (*_iter1859).write(oprot);
+ xfer += (*_iter1863).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7675,10 +7675,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->defaultConstraints.size()));
- std::vector<SQLDefaultConstraint> ::const_iterator _iter1860;
- for (_iter1860 = this->defaultConstraints.begin(); _iter1860 != this->defaultConstraints.end(); ++_iter1860)
+ std::vector<SQLDefaultConstraint> ::const_iterator _iter1864;
+ for (_iter1864 = this->defaultConstraints.begin(); _iter1864 != this->defaultConstraints.end(); ++_iter1864)
{
- xfer += (*_iter1860).write(oprot);
+ xfer += (*_iter1864).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7687,10 +7687,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->checkConstraints.size()));
- std::vector<SQLCheckConstraint> ::const_iterator _iter1861;
- for (_iter1861 = this->checkConstraints.begin(); _iter1861 != this->checkConstraints.end(); ++_iter1861)
+ std::vector<SQLCheckConstraint> ::const_iterator _iter1865;
+ for (_iter1865 = this->checkConstraints.begin(); _iter1865 != this->checkConstraints.end(); ++_iter1865)
{
- xfer += (*_iter1861).write(oprot);
+ xfer += (*_iter1865).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7718,10 +7718,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 _iter1862;
- for (_iter1862 = (*(this->primaryKeys)).begin(); _iter1862 != (*(this->primaryKeys)).end(); ++_iter1862)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter1866;
+ for (_iter1866 = (*(this->primaryKeys)).begin(); _iter1866 != (*(this->primaryKeys)).end(); ++_iter1866)
{
- xfer += (*_iter1862).write(oprot);
+ xfer += (*_iter1866).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7730,10 +7730,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 _iter1863;
- for (_iter1863 = (*(this->foreignKeys)).begin(); _iter1863 != (*(this->foreignKeys)).end(); ++_iter1863)
+ std::vector<SQLForeignKey> ::const_iterator _iter1867;
+ for (_iter1867 = (*(this->foreignKeys)).begin(); _iter1867 != (*(this->foreignKeys)).end(); ++_iter1867)
{
- xfer += (*_iter1863).write(oprot);
+ xfer += (*_iter1867).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7742,10 +7742,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 _iter1864;
- for (_iter1864 = (*(this->uniqueConstraints)).begin(); _iter1864 != (*(this->uniqueConstraints)).end(); ++_iter1864)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter1868;
+ for (_iter1868 = (*(this->uniqueConstraints)).begin(); _iter1868 != (*(this->uniqueConstraints)).end(); ++_iter1868)
{
- xfer += (*_iter1864).write(oprot);
+ xfer += (*_iter1868).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7754,10 +7754,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 _iter1865;
- for (_iter1865 = (*(this->notNullConstraints)).begin(); _iter1865 != (*(this->notNullConstraints)).end(); ++_iter1865)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter1869;
+ for (_iter1869 = (*(this->notNullConstraints)).begin(); _iter1869 != (*(this->notNullConstraints)).end(); ++_iter1869)
{
- xfer += (*_iter1865).write(oprot);
+ xfer += (*_iter1869).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7766,10 +7766,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->defaultConstraints)).size()));
- std::vector<SQLDefaultConstraint> ::const_iterator _iter1866;
- for (_iter1866 = (*(this->defaultConstraints)).begin(); _iter1866 != (*(this->defaultConstraints)).end(); ++_iter1866)
+ std::vector<SQLDefaultConstraint> ::const_iterator _iter1870;
+ for (_iter1870 = (*(this->defaultConstraints)).begin(); _iter1870 != (*(this->defaultConstraints)).end(); ++_iter1870)
{
- xfer += (*_iter1866).write(oprot);
+ xfer += (*_iter1870).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7778,10 +7778,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->checkConstraints)).size()));
- std::vector<SQLCheckConstraint> ::const_iterator _iter1867;
- for (_iter1867 = (*(this->checkConstraints)).begin(); _iter1867 != (*(this->checkConstraints)).end(); ++_iter1867)
+ std::vector<SQLCheckConstraint> ::const_iterator _iter1871;
+ for (_iter1871 = (*(this->checkConstraints)).begin(); _iter1871 != (*(this->checkConstraints)).end(); ++_iter1871)
{
- xfer += (*_iter1867).write(oprot);
+ xfer += (*_iter1871).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10463,14 +10463,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partNames.clear();
- uint32_t _size1868;
- ::apache::thrift::protocol::TType _etype1871;
- xfer += iprot->readListBegin(_etype1871, _size1868);
- this->partNames.resize(_size1868);
- uint32_t _i1872;
- for (_i1872 = 0; _i1872 < _size1868; ++_i1872)
+ uint32_t _size1872;
+ ::apache::thrift::protocol::TType _etype1875;
+ xfer += iprot->readListBegin(_etype1875, _size1872);
+ this->partNames.resize(_size1872);
+ uint32_t _i1876;
+ for (_i1876 = 0; _i1876 < _size1872; ++_i1876)
{
- xfer += iprot->readString(this->partNames[_i1872]);
+ xfer += iprot->readString(this->partNames[_i1876]);
}
xfer += iprot->readListEnd();
}
@@ -10507,10 +10507,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 _iter1873;
- for (_iter1873 = this->partNames.begin(); _iter1873 != this->partNames.end(); ++_iter1873)
+ std::vector<std::string> ::const_iterator _iter1877;
+ for (_iter1877 = this->partNames.begin(); _iter1877 != this->partNames.end(); ++_iter1877)
{
- xfer += oprot->writeString((*_iter1873));
+ xfer += oprot->writeString((*_iter1877));
}
xfer += oprot->writeListEnd();
}
@@ -10542,10 +10542,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 _iter1874;
- for (_iter1874 = (*(this->partNames)).begin(); _iter1874 != (*(this->partNames)).end(); ++_iter1874)
+ std::vector<std::string> ::const_iterator _iter1878;
+ for (_iter1878 = (*(this->partNames)).begin(); _iter1878 != (*(this->partNames)).end(); ++_iter1878)
{
- xfer += oprot->writeString((*_iter1874));
+ xfer += oprot->writeString((*_iter1878));
}
xfer += oprot->writeListEnd();
}
@@ -10996,14 +10996,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1875;
- ::apache::thrift::protocol::TType _etype1878;
- xfer += iprot->readListBegin(_etype1878, _size1875);
- this->success.resize(_size1875);
- uint32_t _i1879;
- for (_i1879 = 0; _i1879 < _size1875; ++_i1879)
+ uint32_t _size1879;
+ ::apache::thrift::protocol::TType _etype1882;
+ xfer += iprot->readListBegin(_etype1882, _size1879);
+ this->success.resize(_size1879);
+ uint32_t _i1883;
+ for (_i1883 = 0; _i1883 < _size1879; ++_i1883)
{
- xfer += iprot->readString(this->success[_i1879]);
+ xfer += iprot->readString(this->success[_i1883]);
}
xfer += iprot->readListEnd();
}
@@ -11042,10 +11042,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 _iter1880;
- for (_iter1880 = this->success.begin(); _iter1880 != this->success.end(); ++_iter1880)
+ std::vector<std::string> ::const_iterator _iter1884;
+ for (_iter1884 = this->success.begin(); _iter1884 != this->success.end(); ++_iter1884)
{
- xfer += oprot->writeString((*_iter1880));
+ xfer += oprot->writeString((*_iter1884));
}
xfer += oprot->writeListEnd();
}
@@ -11090,14 +11090,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1881;
- ::apache::thrift::protocol::TType _etype1884;
- xfer += iprot->readListBegin(_etype1884, _size1881);
- (*(this->success)).resize(_size1881);
- uint32_t _i1885;
- for (_i1885 = 0; _i1885 < _size1881; ++_i1885)
+ uint32_t _size1885;
+ ::apache::thrift::protocol::TType _etype1888;
+ xfer += iprot->readListBegin(_etype1888, _size1885);
+ (*(this->success)).resize(_size1885);
+ uint32_t _i1889;
+ for (_i1889 = 0; _i1889 < _size1885; ++_i1889)
{
- xfer += iprot->readString((*(this->success))[_i1885]);
+ xfer += iprot->readString((*(this->success))[_i1889]);
}
xfer += iprot->readListEnd();
}
@@ -11267,14 +11267,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 _size1886;
- ::apache::thrift::protocol::TType _etype1889;
- xfer += iprot->readListBegin(_etype1889, _size1886);
- this->success.resize(_size1886);
- uint32_t _i1890;
- for (_i1890 = 0; _i1890 < _size1886; ++_i1890)
+ uint32_t _size1890;
+ ::apache::thrift::protocol::TType _etype1893;
+ xfer += iprot->readListBegin(_etype1893, _size1890);
+ this->success.resize(_size1890);
+ uint32_t _i1894;
+ for (_i1894 = 0; _i1894 < _size1890; ++_i1894)
{
- xfer += iprot->readString(this->success[_i1890]);
+ xfer += iprot->readString(this->success[_i1894]);
}
xfer += iprot->readListEnd();
}
@@ -11313,10 +11313,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 _iter1891;
- for (_iter1891 = this->success.begin(); _iter1891 != this->success.end(); ++_iter1891)
+ std::vector<std::string> ::const_iterator _iter1895;
+ for (_iter1895 = this->success.begin(); _iter1895 != this->success.end(); ++_iter1895)
{
- xfer += oprot->writeString((*_iter1891));
+ xfer += oprot->writeString((*_iter1895));
}
xfer += oprot->writeListEnd();
}
@@ -11361,14 +11361,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1892;
- ::apache::thrift::protocol::TType _etype1895;
- xfer += iprot->readListBegin(_etype1895, _size1892);
- (*(this->success)).resize(_size1892);
- uint32_t _i1896;
- for (_i1896 = 0; _i1896 < _size1892; ++_i1896)
+ uint32_t _size1896;
+ ::apache::thrift::protocol::TType _etype1899;
+ xfer += iprot->readListBegin(_etype1899, _size1896);
+ (*(this->success)).resize(_size1896);
+ uint32_t _i1900;
+ for (_i1900 = 0; _i1900 < _size1896; ++_i1900)
{
- xfer += iprot->readString((*(this->success))[_i1896]);
+ xfer += iprot->readString((*(this->success))[_i1900]);
}
xfer += iprot->readListEnd();
}
@@ -11485,14 +11485,14 @@ uint32_t ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_res
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1897;
- ::apache::thrift::protocol::TType _etype1900;
- xfer += iprot->readListBegin(_etype1900, _size1897);
- this->success.resize(_size1897);
- uint32_t _i1901;
- for (_i1901 = 0; _i1901 < _size1897; ++_i1901)
+ uint32_t _size1901;
+ ::apache::thrift::protocol::TType _etype1904;
+ xfer += iprot->readListBegin(_etype1904, _size1901);
+ this->success.resize(_size1901);
+ uint32_t _i1905;
+ for (_i1905 = 0; _i1905 < _size1901; ++_i1905)
{
- xfer += this->success[_i1901].read(iprot);
+ xfer += this->success[_i1905].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -11531,10 +11531,10 @@ uint32_t ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_res
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 _iter1902;
- for (_iter1902 = this->success.begin(); _iter1902 != this->success.end(); ++_iter1902)
+ std::vector<Table> ::const_iterator _iter1906;
+ for (_iter1906 = this->success.begin(); _iter1906 != this->success.end(); ++_iter1906)
{
- xfer += (*_iter1902).write(oprot);
+ xfer += (*_iter1906).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -11579,14 +11579,14 @@ uint32_t ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_pre
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1903;
- ::apache::thrift::protocol::TType _etype1906;
- xfer += iprot->readListBegin(_etype1906, _size1903);
- (*(this->success)).resize(_size1903);
- uint32_t _i1907;
- for (_i1907 = 0; _i1907 < _size1903; ++_i1907)
+ uint32_t _size1907;
+ ::apache::thrift::protocol::TType _etype1910;
+ xfer += iprot->readListBegin(_etype1910, _size1907);
+ (*(this->success)).resize(_size1907);
+ uint32_t _i1911;
+ for (_i1911 = 0; _i1911 < _size1907; ++_i1911)
{
- xfer += (*(this->success))[_i1907].read(iprot);
+ xfer += (*(this->success))[_i1911].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -11724,14 +11724,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1908;
- ::apache::thrift::protocol::TType _etype1911;
- xfer += iprot->readListBegin(_etype1911, _size1908);
- this->success.resize(_size1908);
- uint32_t _i1912;
- for (_i1912 = 0; _i1912 < _size1908; ++_i1912)
+ uint32_t _size1912;
+ ::apache::thrift::protocol::TType _etype1915;
+ xfer += iprot->readListBegin(_etype1915, _size1912);
+ this->success.resize(_size1912);
+ uint32_t _i1916;
+ for (_i1916 = 0; _i1916 < _size1912; ++_i1916)
{
- xfer += iprot->readString(this->success[_i1912]);
+ xfer += iprot->readString(this->success[_i1916]);
}
xfer += iprot->readListEnd();
}
@@ -11770,10 +11770,10 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::write(
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 _iter1913;
- for (_iter1913 = this->success.begin(); _iter1913 != this->success.end(); ++_iter1913)
+ std::vector<std::string> ::const_iterator _iter1917;
+ for (_iter1917 = this->success.begin(); _iter1917 != this->success.end(); ++_iter1917)
{
- xfer += oprot->writeString((*_iter1913));
+ xfer += oprot->writeString((*_iter1917));
}
xfer += oprot->writeListEnd();
}
@@ -11818,14 +11818,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read(
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1914;
- ::apache::thrift::protocol::TType _etype1917;
- xfer += iprot->readListBegin(_etype1917, _size1914);
- (*(this->success)).resize(_size1914);
- uint32_t _i1918;
- for (_i1918 = 0; _i1918 < _size1914; ++_i1918)
+ uint32_t _size1918;
+ ::apache::thrift::protocol::TType _etype1921;
+ xfer += iprot->readListBegin(_etype1921, _size1918);
+ (*(this->success)).resize(_size1918);
+ uint32_t _i1922;
+ for (_i1922 = 0; _i1922 < _size1918; ++_i1922)
{
- xfer += iprot->readString((*(this->success))[_i1918]);
+ xfer += iprot->readString((*(this->success))[_i1922]);
}
xfer += iprot->readListEnd();
}
@@ -11900,14 +11900,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 _size1919;
- ::apache::thrift::protocol::TType _etype1922;
- xfer += iprot->readListBegin(_etype1922, _size1919);
- this->tbl_types.resize(_size1919);
- uint32_t _i1923;
- for (_i1923 = 0; _i1923 < _size1919; ++_i1923)
+ uint32_t _size1923;
+ ::apache::thrift::protocol::TType _etype1926;
+ xfer += iprot->readListBegin(_etype1926, _size1923);
+ this->tbl_types.resize(_size1923);
+ uint32_t _i1927;
+ for (_i1927 = 0; _i1927 < _size1923; ++_i1927)
{
- xfer += iprot->readString(this->tbl_types[_i1923]);
+ xfer += iprot->readString(this->tbl_types[_i1927]);
}
xfer += iprot->readListEnd();
}
@@ -11944,10 +11944,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 _iter1924;
- for (_iter1924 = this->tbl_types.begin(); _iter1924 != this->tbl_types.end(); ++_iter1924)
+ std::vector<std::string> ::const_iterator _iter1928;
+ for (_iter1928 = this->tbl_types.begin(); _iter1928 != this->tbl_types.end(); ++_iter1928)
{
- xfer += oprot->writeString((*_iter1924));
+ xfer += oprot->writeString((*_iter1928));
}
xfer += oprot->writeListEnd();
}
@@ -11979,10 +11979,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 _iter1925;
- for (_iter1925 = (*(this->tbl_types)).begin(); _iter1925 != (*(this->tbl_types)).end(); ++_iter1925)
+ std::vector<std::string> ::const_iterator _iter1929;
+ for (_iter1929 = (*(this->tbl_types)).begin(); _iter1929 != (*(this->tbl_types)).end(); ++_iter1929)
{
- xfer += oprot->writeString((*_iter1925));
+ xfer += oprot->writeString((*_iter1929));
}
xfer += oprot->writeListEnd();
}
@@ -12023,14 +12023,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1926;
- ::apache::thrift::protocol::TType _etype1929;
- xfer += iprot->readListBegin(_etype1929, _size1926);
- this->success.resize(_size1926);
- uint32_t _i1930;
- for (_i1930 = 0; _i1930 < _size1926; ++_i1930)
+ uint32_t _size1930;
+ ::apache::thrift::protocol::TType _etype1933;
+ xfer += iprot->readListBegin(_etype1933, _size1930);
+ this->success.resize(_size1930);
+ uint32_t _i1934;
+ for (_i1934 = 0; _i1934 < _size1930; ++_i1934)
{
- xfer += this->success[_i1930].read(iprot);
+ xfer += this->success[_i1934].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12069,10 +12069,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 _iter1931;
- for (_iter1931 = this->success.begin(); _iter1931 != this->success.end(); ++_iter1931)
+ std::vector<TableMeta> ::const_iterator _iter1935;
+ for (_iter1935 = this->success.begin(); _iter1935 != this->success.end(); ++_iter1935)
{
- xfer += (*_iter1931).write(oprot);
+ xfer += (*_iter1935).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -12117,14 +12117,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1932;
- ::apache::thrift::protocol::TType _etype1935;
- xfer += iprot->readListBegin(_etype1935, _size1932);
- (*(this->success)).resize(_size1932);
- uint32_t _i1936;
- for (_i1936 = 0; _i1936 < _size1932; ++_i1936)
+ uint32_t _size1936;
+ ::apache::thrift::protocol::TType _etype1939;
+ xfer += iprot->readListBegin(_etype1939, _size1936);
+ (*(this->success)).resize(_size1936);
+ uint32_t _i1940;
+ for (_i1940 = 0; _i1940 < _size1936; ++_i1940)
{
- xfer += (*(this->success))[_i1936].read(iprot);
+ xfer += (*(this->success))[_i1940].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12262,14 +12262,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1937;
- ::apache::thrift::protocol::TType _etype1940;
- xfer += iprot->readListBegin(_etype1940, _size1937);
- this->success.resize(_size1937);
- uint32_t _i1941;
- for (_i1941 = 0; _i1941 < _size1937; ++_i1941)
+ uint32_t _size1941;
+ ::apache::thrift::protocol::TType _etype1944;
+ xfer += iprot->readListBegin(_etype1944, _size1941);
+ this->success.resize(_size1941);
+ uint32_t _i1945;
+ for (_i1945 = 0; _i1945 < _size1941; ++_i1945)
{
- xfer += iprot->readString(this->success[_i1941]);
+ xfer += iprot->readString(this->success[_i1945]);
}
xfer += iprot->readListEnd();
}
@@ -12308,10 +12308,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 _iter1942;
- for (_iter1942 = this->success.begin(); _iter1942 != this->success.end(); ++_iter1942)
+ std::vector<std::string> ::const_iterator _iter1946;
+ for (_iter1946 = this->success.begin(); _iter1946 != this->success.end(); ++_iter1946)
{
- xfer += oprot->writeString((*_iter1942));
+ xfer += oprot->writeString((*_iter1946));
}
xfer += oprot->writeListEnd();
}
@@ -12356,14 +12356,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1943;
- ::apache::thrift::protocol::TType _etype1946;
- xfer += iprot->readListBegin(_etype1946, _size1943);
- (*(this->success)).resize(_size1943);
- uint32_t _i1947;
- for (_i1947 = 0; _i1947 < _size1943; ++_i1947)
+ uint32_t _size1947;
+ ::apache::thrift::protocol::TType _etype1950;
+ xfer += iprot->readListBegin(_etype1950, _size1947);
+ (*(this->success)).resize(_size1947);
+ uint32_t _i1951;
+ for (_i1951 = 0; _i1951 < _size1947; ++_i1951)
{
- xfer += iprot->readString((*(this->success))[_i1947]);
+ xfer += iprot->readString((*(this->success))[_i1951]);
}
xfer += iprot->readListEnd();
}
@@ -12673,14 +12673,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 _size1948;
- ::apache::thrift::protocol::TType _etype1951;
- xfer += iprot->readListBegin(_etype1951, _size1948);
- this->tbl_names.resize(_size1948);
- uint32_t _i1952;
- for (_i1952 = 0; _i1952 < _size1948; ++_i1952)
+ uint32_t _size1952;
+ ::apache::thrift::protocol::TType _etype1955;
+ xfer += iprot->readListBegin(_etype1955, _size1952);
+ this->tbl_names.resize(_size1952);
+ uint32_t _i1956;
+ for (_i1956 = 0; _i1956 < _size1952; ++_i1956)
{
- xfer += iprot->readString(this->tbl_names[_i1952]);
+ xfer += iprot->readString(this->tbl_names[_i1956]);
}
xfer += iprot->readListEnd();
}
@@ -12713,10 +12713,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 _iter1953;
- for (_iter1953 = this->tbl_names.begin(); _iter1953 != this->tbl_names.end(); ++_iter1953)
+ std::vector<std::string> ::const_iterator _iter1957;
+ for (_iter1957 = this->tbl_names.begin(); _iter1957 != this->tbl_names.end(); ++_iter1957)
{
- xfer += oprot->writeString((*_iter1953));
+ xfer += oprot->writeString((*_iter1957));
}
xfer += oprot->writeListEnd();
}
@@ -12744,10 +12744,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 _iter1954;
- for (_iter1954 = (*(this->tbl_names)).begin(); _iter1954 != (*(this->tbl_names)).end(); ++_iter1954)
+ std::vector<std::string> ::const_iterator _iter1958;
+ for (_iter1958 = (*(this->tbl_names)).begin(); _iter1958 != (*(this->tbl_names)).end(); ++_iter1958)
{
- xfer += oprot->writeString((*_iter1954));
+ xfer += oprot->writeString((*_iter1958));
}
xfer += oprot->writeListEnd();
}
@@ -12788,14 +12788,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 _size1955;
- ::apache::thrift::protocol::TType _etype1958;
- xfer += iprot->readListBegin(_etype1958, _size1955);
- this->success.resize(_size1955);
- uint32_t _i1959;
- for (_i1959 = 0; _i1959 < _size1955; ++_i1959)
+ uint32_t _size1959;
+ ::apache::thrift::protocol::TType _etype1962;
+ xfer += iprot->readListBegin(_etype1962, _size1959);
+ this->success.resize(_size1959);
+ uint32_t _i1963;
+ for (_i1963 = 0; _i1963 < _size1959; ++_i1963)
{
- xfer += this->success[_i1959].read(iprot);
+ xfer += this->success[_i1963].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12826,10 +12826,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 _iter1960;
- for (_iter1960 = this->success.begin(); _iter1960 != this->success.end(); ++_iter1960)
+ std::vector<Table> ::const_iterator _iter1964;
+ for (_iter1964 = this->success.begin(); _iter1964 != this->success.end(); ++_iter1964)
{
- xfer += (*_iter1960).write(oprot);
+ xfer += (*_iter1964).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -12870,14 +12870,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 _size1961;
- ::apache::thrift::protocol::TType _etype1964;
- xfer += iprot->readListBegin(_etype1964, _size1961);
- (*(this->success)).resize(_size1961);
- uint32_t _i1965;
- for (_i1965 = 0; _i1965 < _size1961; ++_i1965)
+ uint32_t _size1965;
+ ::apache::thrift::protocol::TType _etype1968;
+ xfer += iprot->readListBegin(_etype1968, _size1965);
+ (*(this->success)).resize(_size1965);
+ uint32_t _i1969;
+ for (_i1969 = 0; _i1969 < _size1965; ++_i1969)
{
- xfer += (*(this->success))[_i1965].read(iprot);
+ xfer += (*(this->success))[_i1969].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13007,14 +13007,14 @@ uint32_t ThriftHiveMetastore_get_tables_ext_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1966;
- ::apache::thrift::protocol::TType _etype1969;
- xfer += iprot->readListBegin(_etype1969, _size1966);
- this->success.resize(_size1966);
- uint32_t _i1970;
- for (_i1970 = 0; _i1970 < _size1966; ++_i1970)
+ uint32_t _size1970;
+ ::apache::thrift::protocol::TType _etype1973;
+ xfer += iprot->readListBegin(_etype1973, _size1970);
+ this->success.resize(_size1970);
+ uint32_t _i1974;
+ for (_i1974 = 0; _i1974 < _size1970; ++_i1974)
{
- xfer += this->success[_i1970].read(iprot);
+ xfer += this->success[_i1974].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13053,10 +13053,10 @@ uint32_t ThriftHiveMetastore_get_tables_ext_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<ExtendedTableInfo> ::const_iterator _iter1971;
- for (_iter1971 = this->success.begin(); _iter1971 != this->success.end(); ++_iter1971)
+ std::vector<ExtendedTableInfo> ::const_iterator _iter1975;
+ for (_iter1975 = this->success.begin(); _iter1975 != this->success.end(); ++_iter1975)
{
- xfer += (*_iter1971).write(oprot);
+ xfer += (*_iter1975).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -13101,14 +13101,14 @@ uint32_t ThriftHiveMetastore_get_tables_ext_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1972;
- ::apache::thrift::protocol::TType _etype1975;
- xfer += iprot->readListBegin(_etype1975, _size1972);
- (*(this->success)).resize(_size1972);
- uint32_t _i1976;
- for (_i1976 = 0; _i1976 < _size1972; ++_i1976)
+ uint32_t _size1976;
+ ::apache::thrift::protocol::TType _etype1979;
+ xfer += iprot->readListBegin(_etype1979, _size1976);
+ (*(this->success)).resize(_size1976);
+ uint32_t _i1980;
+ for (_i1980 = 0; _i1980 < _size1976; ++_i1980)
{
- xfer += (*(this->success))[_i1976].read(iprot);
+ xfer += (*(this->success))[_i1980].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13645,14 +13645,6 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(::
xfer += iprot->skip(ftype);
}
break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->validTxnList);
- this->__isset.validTxnList = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
default:
xfer += iprot->skip(ftype);
break;
@@ -13674,10 +13666,6 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(:
xfer += this->creation_metadata.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->validTxnList);
- xfer += oprot->writeFieldEnd();
-
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
@@ -13697,10 +13685,6 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write(
xfer += (*(this->creation_metadata)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->validTxnList)));
- xfer += oprot->writeFieldEnd();
-
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
@@ -14290,14 +14274,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 _size1977;
- ::apache::thrift::protocol::TType _etype1980;
- xfer += iprot->readListBegin(_etype1980, _size1977);
- this->success.resize(_size1977);
- uint32_t _i1981;
- for (_i1981 = 0; _i1981 < _size1977; ++_i1981)
+ uint32_t _size1981;
+ ::apache::thrift::protocol::TType _etype1984;
+ xfer += iprot->readListBegin(_etype1984, _size1981);
+ this->success.resize(_size1981);
+ uint32_t _i1985;
+ for (_i1985 = 0; _i1985 < _size1981; ++_i1985)
{
- xfer += iprot->readString(this->success[_i1981]);
+ xfer += iprot->readString(this->success[_i1985]);
}
xfer += iprot->readListEnd();
}
@@ -14352,10 +14336,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 _iter1982;
- for (_iter1982 = this->success.begin(); _iter1982 != this->success.end(); ++_iter1982)
+ std::vector<std::string> ::const_iterator _iter1986;
+ for (_iter1986 = this->success.begin(); _iter1986 != this->success.end(); ++_iter1986)
{
- xfer += oprot->writeString((*_iter1982));
+ xfer += oprot->writeString((*_iter1986));
}
xfer += oprot->writeListEnd();
}
@@ -14408,14 +14392,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 _size1983;
- ::apache::thrift::protocol::TType _etype1986;
- xfer += iprot->readListBegin(_etype1986, _size1983);
- (*(this->success)).resize(_size1983);
- uint32_t _i1987;
- for (_i1987 = 0; _i1987 < _size1983; ++_i1987)
+ uint32_t _size1987;
+ ::apache::thrift::protocol::TType _etype1990;
+ xfer += iprot->readListBegin(_etype1990, _size1987);
+ (*(this->success)).resize(_size1987);
+ uint32_t _i1991;
+ for (_i1991 = 0; _i1991 < _size1987; ++_i1991)
{
- xfer += iprot->readString((*(this->success))[_i1987]);
+ xfer += iprot->readString((*(this->success))[_i1991]);
}
xfer += iprot->readListEnd();
}
@@ -15976,14 +15960,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->new_parts.clear();
- uint32_t _size1988;
- ::apache::thrift::protocol::TType _etype1991;
- xfer += iprot->readListBegin(_etype1991, _size1988);
- this->new_parts.resize(_size1988);
- uint32_t _i1992;
- for (_i1992 = 0; _i1992 < _size1988; ++_i1992)
+ uint32_t _size1992;
+ ::apache::thrift::protocol::TType _etype1995;
+ xfer += iprot->readListBegin(_etype1995, _size1992);
+ this->new_parts.resize(_size1992);
+ uint32_t _i1996;
+ for (_i1996 = 0; _i1996 < _size1992; ++_i1996)
{
- xfer += this->new_parts[_i1992].read(iprot);
+ xfer += this->new_parts[_i1996].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16012,10 +15996,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 _iter1993;
- for (_iter1993 = this->new_parts.begin(); _iter1993 != this->new_parts.end(); ++_iter1993)
+ std::vector<Partition> ::const_iterator _iter1997;
+ for (_iter1997 = this->new_parts.begin(); _iter1997 != this->new_parts.end(); ++_iter1997)
{
- xfer += (*_iter1993).write(oprot);
+ xfer += (*_iter1997).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16039,10 +16023,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 _iter1994;
- for (_iter1994 = (*(this->new_parts)).begin(); _iter1994 != (*(this->new_parts)).end(); ++_iter1994)
+ std::vector<Partition> ::const_iterator _iter1998;
+ for (_iter1998 = (*(this->new_parts)).begin(); _iter1998 != (*(this->new_parts)).end(); ++_iter1998)
{
- xfer += (*_iter1994).write(oprot);
+ xfer += (*_iter1998).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16251,14 +16235,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 _size1995;
- ::apache::thrift::protocol::TType _etype1998;
- xfer += iprot->readListBegin(_etype1998, _size1995);
- this->new_parts.resize(_size1995);
- uint32_t _i1999;
- for (_i1999 = 0; _i1999 < _size1995; ++_i1999)
+ uint32_t _size1999;
+ ::apache::thrift::protocol::TType _etype2002;
+ xfer += iprot->readListBegin(_etype2002, _size1999);
+ this->new_parts.resize(_size1999);
+ uint32_t _i2003;
+ for (_i2003 = 0; _i2003 < _size1999; ++_i2003)
{
- xfer += this->new_parts[_i1999].read(iprot);
+ xfer += this->new_parts[_i2003].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16287,10 +16271,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 _iter2000;
- for (_iter2000 = this->new_parts.begin(); _iter2000 != this->new_parts.end(); ++_iter2000)
+ std::vector<PartitionSpec> ::const_iterator _iter2004;
+ for (_iter2004 = this->new_parts.begin(); _iter2004 != this->new_parts.end(); ++_iter2004)
{
- xfer += (*_iter2000).write(oprot);
+ xfer += (*_iter2004).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16314,10 +16298,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 _iter2001;
- for (_iter2001 = (*(this->new_parts)).begin(); _iter2001 != (*(this->new_parts)).end(); ++_iter2001)
+ std::vector<PartitionSpec> ::const_iterator _iter2005;
+ for (_iter2005 = (*(this->new_parts)).begin(); _iter2005 != (*(this->new_parts)).end(); ++_iter2005)
{
- xfer += (*_iter2001).write(oprot);
+ xfer += (*_iter2005).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16542,14 +16526,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2002;
- ::apache::thrift::protocol::TType _etype2005;
- xfer += iprot->readListBegin(_etype2005, _size2002);
- this->part_vals.resize(_size2002);
- uint32_t _i2006;
- for (_i2006 = 0; _i2006 < _size2002; ++_i2006)
+ uint32_t _size2006;
+ ::apache::thrift::protocol::TType _etype2009;
+ xfer += iprot->readListBegin(_etype2009, _size2006);
+ this->part_vals.resize(_size2006);
+ uint32_t _i2010;
+ for (_i2010 = 0; _i2010 < _size2006; ++_i2010)
{
- xfer += iprot->readString(this->part_vals[_i2006]);
+ xfer += iprot->readString(this->part_vals[_i2010]);
}
xfer += iprot->readListEnd();
}
@@ -16586,10 +16570,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 _iter2007;
- for (_iter2007 = this->part_vals.begin(); _iter2007 != this->part_vals.end(); ++_iter2007)
+ std::vector<std::string> ::const_iterator _iter2011;
+ for (_iter2011 = this->part_vals.begin(); _iter2011 != this->part_vals.end(); ++_iter2011)
{
- xfer += oprot->writeString((*_iter2007));
+ xfer += oprot->writeString((*_iter2011));
}
xfer += oprot->writeListEnd();
}
@@ -16621,10 +16605,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 _iter2008;
- for (_iter2008 = (*(this->part_vals)).begin(); _iter2008 != (*(this->part_vals)).end(); ++_iter2008)
+ std::vector<std::string> ::const_iterator _iter2012;
+ for (_iter2012 = (*(this->part_vals)).begin(); _iter2012 != (*(this->part_vals)).end(); ++_iter2012)
{
- xfer += oprot->writeString((*_iter2008));
+ xfer += oprot->writeString((*_iter2012));
}
xfer += oprot->writeListEnd();
}
@@ -17096,14 +17080,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2009;
- ::apache::thrift::protocol::TType _etype2012;
- xfer += iprot->readListBegin(_etype2012, _size2009);
- this->part_vals.resize(_size2009);
- uint32_t _i2013;
- for (_i2013 = 0; _i2013 < _size2009; ++_i2013)
+ uint32_t _size2013;
+ ::apache::thrift::protocol::TType _etype2016;
+ xfer += iprot->readListBegin(_etype2016, _size2013);
+ this->part_vals.resize(_size2013);
+ uint32_t _i2017;
+ for (_i2017 = 0; _i2017 < _size2013; ++_i2017)
{
- xfer += iprot->readString(this->part_vals[_i2013]);
+ xfer += iprot->readString(this->part_vals[_i2017]);
}
xfer += iprot->readListEnd();
}
@@ -17148,10 +17132,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 _iter2014;
- for (_iter2014 = this->part_vals.begin(); _iter2014 != this->part_vals.end(); ++_iter2014)
+ std::vector<std::string> ::const_iterator _iter2018;
+ for (_iter2018 = this->part_vals.begin(); _iter2018 != this->part_vals.end(); ++_iter2018)
{
- xfer += oprot->writeString((*_iter2014));
+ xfer += oprot->writeString((*_iter2018));
}
xfer += oprot->writeListEnd();
}
@@ -17187,10 +17171,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 _iter2015;
- for (_iter2015 = (*(this->part_vals)).begin(); _iter2015 != (*(this->part_vals)).end(); ++_iter2015)
+ std::vector<std::string> ::const_iterator _iter2019;
+ for (_iter2019 = (*(this->part_vals)).begin(); _iter2019 != (*(this->part_vals)).end(); ++_iter2019)
{
- xfer += oprot->writeString((*_iter2015));
+ xfer += oprot->writeString((*_iter2019));
}
xfer += oprot->writeListEnd();
}
@@ -17993,14 +17977,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2016;
- ::apache::thrift::protocol::TType _etype2019;
- xfer += iprot->readListBegin(_etype2019, _size2016);
- this->part_vals.resize(_size2016);
- uint32_t _i2020;
- for (_i2020 = 0; _i2020 < _size2016; ++_i2020)
+ uint32_t _size2020;
+ ::apache::thrift::protocol::TType _etype2023;
+ xfer += iprot->readListBegin(_etype2023, _size2020);
+ this->part_vals.resize(_size2020);
+ uint32_t _i2024;
+ for (_i2024 = 0; _i2024 < _size2020; ++_i2024)
{
- xfer += iprot->readString(this->part_vals[_i2020]);
+ xfer += iprot->readString(this->part_vals[_i2024]);
}
xfer += iprot->readListEnd();
}
@@ -18045,10 +18029,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 _iter2021;
- for (_iter2021 = this->part_vals.begin(); _iter2021 != this->part_vals.end(); ++_iter2021)
+ std::vector<std::string> ::const_iterator _iter2025;
+ for (_iter2025 = this->part_vals.begin(); _iter2025 != this->part_vals.end(); ++_iter2025)
{
- xfer += oprot->writeString((*_iter2021));
+ xfer += oprot->writeString((*_iter2025));
}
xfer += oprot->writeListEnd();
}
@@ -18084,10 +18068,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 _iter2022;
- for (_iter2022 = (*(this->part_vals)).begin(); _iter2022 != (*(this->part_vals)).end(); ++_iter2022)
+ std::vector<std::string> ::const_iterator _iter2026;
+ for (_iter2026 = (*(this->part_vals)).begin(); _iter2026 != (*(this->part_vals)).end(); ++_iter2026)
{
- xfer += oprot->writeString((*_iter2022));
+ xfer += oprot->writeString((*_iter2026));
}
xfer += oprot->writeListEnd();
}
@@ -18296,14 +18280,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read(
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2023;
- ::apache::thrift::protocol::TType _etype2026;
- xfer += iprot->readListBegin(_etype2026, _size2023);
- this->part_vals.resize(_size2023);
- uint32_t _i2027;
- for (_i2027 = 0; _i2027 < _size2023; ++_i2027)
+ uint32_t _size2027;
+ ::apache::thrift::protocol::TType _etype2030;
+ xfer += iprot->readListBegin(_etype2030, _size2027);
+ this->part_vals.resize(_size2027);
+ uint32_t _i2031;
+ for (_i2031 = 0; _i2031 < _size2027; ++_i2031)
{
- xfer += iprot->readString(this->part_vals[_i2027]);
+ xfer += iprot->readString(this->part_vals[_i2031]);
}
xfer += iprot->readListEnd();
}
@@ -18356,10 +18340,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 _iter2028;
- for (_iter2028 = this->part_vals.begin(); _iter2028 != this->part_vals.end(); ++_iter2028)
+ std::vector<std::string> ::const_iterator _iter2032;
+ for (_iter2032 = this->part_vals.begin(); _iter2032 != this->part_vals.end(); ++_iter2032)
{
- xfer += oprot->writeString((*_iter2028));
+ xfer += oprot->writeString((*_iter2032));
}
xfer += oprot->writeListEnd();
}
@@ -18399,10 +18383,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 _iter2029;
- for (_iter2029 = (*(this->part_vals)).begin(); _iter2029 != (*(this->part_vals)).end(); ++_iter2029)
+ std::vector<std::string> ::const_iterator _iter2033;
+ for (_iter2033 = (*(this->part_vals)).begin(); _iter2033 != (*(this->part_vals)).end(); ++_iter2033)
{
- xfer += oprot->writeString((*_iter2029));
+ xfer += oprot->writeString((*_iter2033));
}
xfer += oprot->writeListEnd();
}
@@ -19408,14 +19392,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2030;
- ::apache::thrift::protocol::TType _etype2033;
- xfer += iprot->readListBegin(_etype2033, _size2030);
- this->part_vals.resize(_size2030);
- uint32_t _i2034;
- for (_i2034 = 0; _i2034 < _size2030; ++_i2034)
+ uint32_t _size2034;
+ ::apache::thrift::protocol::TType _etype2037;
+ xfer += iprot->readListBegin(_etype2037, _size2034);
+ this->part_vals.resize(_size2034);
+ uint32_t _i2038;
+ for (_i2038 = 0; _i2038 < _size2034; ++_i2038)
{
- xfer += iprot->readString(this->part_vals[_i2034]);
+ xfer += iprot->readString(this->part_vals[_i2038]);
}
xfer += iprot->readListEnd();
}
@@ -19452,10 +19436,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 _iter2035;
- for (_iter2035 = this->part_vals.begin(); _iter2035 != this->part_vals.end(); ++_iter2035)
+ std::vector<std::string> ::const_iterator _iter2039;
+ for (_iter2039 = this->part_vals.begin(); _iter2039 != this->part_vals.end(); ++_iter2039)
{
- xfer += oprot->writeString((*_iter2035));
+ xfer += oprot->writeString((*_iter2039));
}
xfer += oprot->writeListEnd();
}
@@ -19487,10 +19471,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 _iter2036;
- for (_iter2036 = (*(this->part_vals)).begin(); _iter2036 != (*(this->part_vals)).end(); ++_iter2036)
+ std::vector<std::string> ::const_iterator _iter2040;
+ for (_iter2040 = (*(this->part_vals)).begin(); _iter2040 != (*(this->part_vals)).end(); ++_iter2040)
{
- xfer += oprot->writeString((*_iter2036));
+ xfer += oprot->writeString((*_iter2040));
}
xfer += oprot->writeListEnd();
}
@@ -19906,17 +19890,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->partitionSpecs.clear();
- uint32_t _size2037;
- ::apache::thrift::protocol::TType _ktype2038;
- ::apache::thrift::protocol::TType _vtype2039;
- xfer += iprot->readMapBegin(_ktype2038, _vtype2039, _size2037);
- uint32_t _i2041;
- for (_i2041 = 0; _i2041 < _size2037; ++_i2041)
+ uint32_t _size2041;
+ ::apache::thrift::protocol::TType _ktype2042;
+ ::apache::thrift::protocol::TType _vtype2043;
+ xfer += iprot->readMapBegin(_ktype2042, _vtype2043, _size2041);
+ uint32_t _i2045;
+ for (_i2045 = 0; _i2045 < _size2041; ++_i2045)
{
- std::string _key2042;
- xfer += iprot->readString(_key2042);
- std::string& _val2043 = this->partitionSpecs[_key2042];
- xfer += iprot->readString(_val2043);
+ std::string _key2046;
+ xfer += iprot->readString(_key2046);
+ std::string& _val2047 = this->partitionSpecs[_key2046];
+ xfer += iprot->readString(_val2047);
}
xfer += iprot->readMapEnd();
}
@@ -19977,11 +19961,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 _iter2044;
- for (_iter2044 = this->partitionSpecs.begin(); _iter2044 != this->partitionSpecs.end(); ++_iter2044)
+ std::map<std::string, std::string> ::const_iterator _iter2048;
+ for (_iter2048 = this->partitionSpecs.begin(); _iter2048 != this->partitionSpecs.end(); ++_iter2048)
{
- xfer += oprot->writeString(_iter2044->first);
- xfer += oprot->writeString(_iter2044->second);
+ xfer += oprot->writeString(_iter2048->first);
+ xfer += oprot->writeString(_iter2048->second);
}
xfer += oprot->writeMapEnd();
}
@@ -20021,11 +20005,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 _iter2045;
- for (_iter2045 = (*(this->partitionSpecs)).begin(); _iter2045 != (*(this->partitionSpecs)).end(); ++_iter2045)
+ std::map<std::string, std::string> ::const_iterator _iter2049;
+ for (_iter2049 = (*(this->partitionSpecs)).begin(); _iter2049 != (*(this->partitionSpecs)).end(); ++_iter2049)
{
- xfer += oprot->writeString(_iter2045->first);
- xfer += oprot->writeString(_iter2045->second);
+ xfer += oprot->writeString(_iter2049->first);
+ xfer += oprot->writeString(_iter2049->second);
}
xfer += oprot->writeMapEnd();
}
@@ -20270,17 +20254,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->partitionSpecs.clear();
- uint32_t _size2046;
- ::apache::thrift::protocol::TType _ktype2047;
- ::apache::thrift::protocol::TType _vtype2048;
- xfer += iprot->readMapBegin(_ktype2047, _vtype2048, _size2046);
- uint32_t _i2050;
- for (_i2050 = 0; _i2050 < _size2046; ++_i2050)
+ uint32_t _size2050;
+ ::apache::thrift::protocol::TType _ktype2051;
+ ::apache::thrift::protocol::TType _vtype2052;
+ xfer += iprot->readMapBegin(_ktype2051, _vtype2052, _size2050);
+ uint32_t _i2054;
+ for (_i2054 = 0; _i2054 < _size2050; ++_i2054)
{
- std::string _key2051;
- xfer += iprot->readString(_key2051);
- std::string& _val2052 = this->partitionSpecs[_key2051];
- xfer += iprot->readString(_val2052);
+ std::string _key2055;
+ xfer += iprot->readString(_key2055);
+ std::string& _val2056 = this->partitionSpecs[_key2055];
+ xfer += iprot->readString(_val2056);
}
xfer += iprot->readMapEnd();
}
@@ -20341,11 +20325,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 _iter2053;
- for (_iter2053 = this->partitionSpecs.begin(); _iter2053 != this->partitionSpecs.end(); ++_iter2053)
+ std::map<std::string, std::string> ::const_iterator _iter2057;
+ for (_iter2057 = this->partitionSpecs.begin(); _iter2057 != this->partitionSpecs.end(); ++_iter2057)
{
- xfer += oprot->writeString(_iter2053->first);
- xfer += oprot->writeString(_iter2053->second);
+ xfer += oprot->writeString(_iter2057->first);
+ xfer += oprot->writeString(_iter2057->second);
}
xfer += oprot->writeMapEnd();
}
@@ -20385,11 +20369,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 _iter2054;
- for (_iter2054 = (*(this->partitionSpecs)).begin(); _iter2054 != (*(this->partitionSpecs)).end(); ++_iter2054)
+ std::map<std::string, std::string> ::const_iterator _iter2058;
+ for (_iter2058 = (*(this->partitionSpecs)).begin(); _iter2058 != (*(this->partitionSpecs)).end(); ++_iter2058)
{
- xfer += oprot->writeString(_iter2054->first);
- xfer += oprot->writeString(_iter2054->second);
+ xfer += oprot->writeString(_iter2058->first);
+ xfer += oprot->writeString(_iter2058->second);
}
xfer += oprot->writeMapEnd();
}
@@ -20446,14 +20430,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2055;
- ::apache::thrift::protocol::TType _etype2058;
- xfer += iprot->readListBegin(_etype2058, _size2055);
- this->success.resize(_size2055);
- uint32_t _i2059;
- for (_i2059 = 0; _i2059 < _size2055; ++_i2059)
+ uint32_t _size2059;
+ ::apache::thrift::protocol::TType _etype2062;
+ xfer += iprot->readListBegin(_etype2062, _size2059);
+ this->success.resize(_size2059);
+ uint32_t _i2063;
+ for (_i2063 = 0; _i2063 < _size2059; ++_i2063)
{
- xfer += this->success[_i2059].read(iprot);
+ xfer += this->success[_i2063].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -20516,10 +20500,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 _iter2060;
- for (_iter2060 = this->success.begin(); _iter2060 != this->success.end(); ++_iter2060)
+ std::vector<Partition> ::const_iterator _iter2064;
+ for (_iter2064 = this->success.begin(); _iter2064 != this->success.end(); ++_iter2064)
{
- xfer += (*_iter2060).write(oprot);
+ xfer += (*_iter2064).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -20576,14 +20560,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2061;
- ::apache::thrift::protocol::TType _etype2064;
- xfer += iprot->readListBegin(_etype2064, _size2061);
- (*(this->success)).resize(_size2061);
- uint32_t _i2065;
- for (_i2065 = 0; _i2065 < _size2061; ++_i2065)
+ uint32_t _size2065;
+ ::apache::thrift::protocol::TType _etype2068;
+ xfer += iprot->readListBegin(_etype2068, _size2065);
+ (*(this->success)).resize(_size2065);
+ uint32_t _i2069;
+ for (_i2069 = 0; _i2069 < _size2065; ++_i2069)
{
- xfer += (*(this->success))[_i2065].read(iprot);
+ xfer += (*(this->success))[_i2069].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -20682,14 +20666,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 _size2066;
- ::apache::thrift::protocol::TType _etype2069;
- xfer += iprot->readListBegin(_etype2069, _size2066);
- this->part_vals.resize(_size2066);
- uint32_t _i2070;
- for (_i2070 = 0; _i2070 < _size2066; ++_i2070)
+ uint32_t _size2070;
+ ::apache::thrift::protocol::TType _etype2073;
+ xfer += iprot->readListBegin(_etype2073, _size2070);
+ this->part_vals.resize(_size2070);
+ uint32_t _i2074;
+ for (_i2074 = 0; _i2074 < _size2070; ++_i2074)
{
- xfer += iprot->readString(this->part_vals[_i2070]);
+ xfer += iprot->readString(this->part_vals[_i2074]);
}
xfer += iprot->readListEnd();
}
@@ -20710,14 +20694,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 _size2071;
- ::apache::thrift::protocol::TType _etype2074;
- xfer += iprot->readListBegin(_etype2074, _size2071);
- this->group_names.resize(_size2071);
- uint32_t _i2075;
- for (_i2075 = 0; _i2075 < _size2071; ++_i2075)
+ uint32_t _size2075;
+ ::apache::thrift::protocol::TType _etype2078;
+ xfer += iprot->readListBegin(_etype2078, _size2075);
+ this->group_names.resize(_size2075);
+ uint32_t _i2079;
+ for (_i2079 = 0; _i2079 < _size2075; ++_i2079)
{
- xfer += iprot->readString(this->group_names[_i2075]);
+ xfer += iprot->readString(this->group_names[_i2079]);
}
xfer += iprot->readListEnd();
}
@@ -20754,10 +20738,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 _iter2076;
- for (_iter2076 = this->part_vals.begin(); _iter2076 != this->part_vals.end(); ++_iter2076)
+ std::vector<std::string> ::const_iterator _iter2080;
+ for (_iter2080 = this->part_vals.begin(); _iter2080 != this->part_vals.end(); ++_iter2080)
{
- xfer += oprot->writeString((*_iter2076));
+ xfer += oprot->writeString((*_iter2080));
}
xfer += oprot->writeListEnd();
}
@@ -20770,10 +20754,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 _iter2077;
- for (_iter2077 = this->group_names.begin(); _iter2077 != this->group_names.end(); ++_iter2077)
+ std::vector<std::string> ::const_iterator _iter2081;
+ for (_iter2081 = this->group_names.begin(); _iter2081 != this->group_names.end(); ++_iter2081)
{
- xfer += oprot->writeString((*_iter2077));
+ xfer += oprot->writeString((*_iter2081));
}
xfer += oprot->writeListEnd();
}
@@ -20805,10 +20789,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 _iter2078;
- for (_iter2078 = (*(this->part_vals)).begin(); _iter2078 != (*(this->part_vals)).end(); ++_iter2078)
+ std::vector<std::string> ::const_iterator _iter2082;
+ for (_iter2082 = (*(this->part_vals)).begin(); _iter2082 != (*(this->part_vals)).end(); ++_iter2082)
{
- xfer += oprot->writeString((*_iter2078));
+ xfer += oprot->writeString((*_iter2082));
}
xfer += oprot->writeListEnd();
}
@@ -20821,10 +20805,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 _iter2079;
- for (_iter2079 = (*(this->group_names)).begin(); _iter2079 != (*(this->group_names)).end(); ++_iter2079)
+ std::vector<std::string> ::const_iterator _iter2083;
+ for (_iter2083 = (*(this->group_names)).begin(); _iter2083 != (*(this->group_names)).end(); ++_iter2083)
{
- xfer += oprot->writeString((*_iter2079));
+ xfer += oprot->writeString((*_iter2083));
}
xfer += oprot->writeListEnd();
}
@@ -21383,14 +21367,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2080;
- ::apache::thrift::protocol::TType _etype2083;
- xfer += iprot->readListBegin(_etype2083, _size2080);
- this->success.resize(_size2080);
- uint32_t _i2084;
- for (_i2084 = 0; _i2084 < _size2080; ++_i2084)
+ uint32_t _size2084;
+ ::apache::thrift::protocol::TType _etype2087;
+ xfer += iprot->readListBegin(_etype2087, _size2084);
+ this->success.resize(_size2084);
+ uint32_t _i2088;
+ for (_i2088 = 0; _i2088 < _size2084; ++_i2088)
{
- xfer += this->success[_i2084].read(iprot);
+ xfer += this->success[_i2088].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -21437,10 +21421,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter2085;
- for (_iter2085 = this->success.begin(); _iter2085 != this->success.end(); ++_iter2085)
+ std::vector<Partition> ::const_iterator _iter2089;
+ for (_iter2089 = this->success.begin(); _iter2089 != this->success.end(); ++_iter2089)
{
- xfer += (*_iter2085).write(oprot);
+ xfer += (*_iter2089).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -21489,14 +21473,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2086;
- ::apache::thrift::protocol::TType _etype2089;
- xfer += iprot->readListBegin(_etype2089, _size2086);
- (*(this->success)).resize(_size2086);
- uint32_t _i2090;
- for (_i2090 = 0; _i2090 < _size2086; ++_i2090)
+ uint32_t _size2090;
+ ::apache::thrift::protocol::TType _etype2093;
+ xfer += iprot->readListBegin(_etype2093, _size2090);
+ (*(this->success)).resize(_size2090);
+ uint32_t _i2094;
+ for (_i2094 = 0; _i2094 < _size2090; ++_i2094)
{
- xfer += (*(this->success))[_i2090].read(iprot);
+ xfer += (*(this->success))[_i2094].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -21822,14 +21806,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->group_names.clear();
- uint32_t _size2091;
- ::apache::thrift::protocol::TType _etype2094;
- xfer += iprot->readListBegin(_etype2094, _size2091);
- this->group_names.resize(_size2091);
- uint32_t _i2095;
- for (_i2095 = 0; _i2095 < _size2091; ++_i2095)
+ uint32_t _size2095;
+ ::apache::thrift::protocol::TType _etype2098;
+ xfer += iprot->readListBegin(_etype2098, _size2095);
+ this->group_names.resize(_size2095);
+ uint32_t _i2099;
+ for (_i2099 = 0; _i2099 < _size2095; ++_i2099)
{
- xfer += iprot->readString(this->group_names[_i2095]);
+ xfer += iprot->readString(this->group_names[_i2099]);
}
xfer += iprot->readListEnd();
}
@@ -21874,10 +21858,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
- std::vector<std::string> ::const_iterator _iter2096;
- for (_iter2096 = this->group_names.begin(); _iter2096 != this->group_names.end(); ++_iter2096)
+ std::vector<std::string> ::const_iterator _iter2100;
+ for (_iter2100 = this->group_names.begin(); _iter2100 != this->group_names.end(); ++_iter2100)
{
- xfer += oprot->writeString((*_iter2096));
+ xfer += oprot->writeString((*_iter2100));
}
xfer += oprot->writeListEnd();
}
@@ -21917,10 +21901,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
- std::vector<std::string> ::const_iterator _iter2097;
- for (_iter2097 = (*(this->group_names)).begin(); _iter2097 != (*(this->group_names)).end(); ++_iter2097)
+ std::vector<std::string> ::const_iterator _iter2101;
+ for (_iter2101 = (*(this->group_names)).begin(); _iter2101 != (*(this->group_names)).end(); ++_iter2101)
{
- xfer += oprot->writeString((*_iter2097));
+ xfer += oprot->writeString((*_iter2101));
}
xfer += oprot->writeListEnd();
}
@@ -21961,14 +21945,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2098;
- ::apache::thrift::protocol::TType _etype2101;
- xfer += iprot->readListBegin(_etype2101, _size2098);
- this->success.resize(_size2098);
- uint32_t _i2102;
- for (_i2102 = 0; _i2102 < _size2098; ++_i2102)
+ uint32_t _size2102;
+ ::apache::thrift::protocol::TType _etype2105;
+ xfer += iprot->readListBegin(_etype2105, _size2102);
+ this->success.resize(_size2102);
+ uint32_t _i2106;
+ for (_i2106 = 0; _i2106 < _size2102; ++_i2106)
{
- xfer += this->success[_i2102].read(iprot);
+ xfer += this->success[_i2106].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22015,10 +21999,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter2103;
- for (_iter2103 = this->success.begin(); _iter2103 != this->success.end(); ++_iter2103)
+ std::vector<Partition> ::const_iterator _iter2107;
+ for (_iter2107 = this->success.begin(); _iter2107 != this->success.end(); ++_iter2107)
{
- xfer += (*_iter2103).write(oprot);
+ xfer += (*_iter2107).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -22067,14 +22051,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2104;
- ::apache::thrift::protocol::TType _etype2107;
- xfer += iprot->readListBegin(_etype2107, _size2104);
- (*(this->success)).resize(_size2104);
- uint32_t _i2108;
- for (_i2108 = 0; _i2108 < _size2104; ++_i2108)
+ uint32_t _size2108;
+ ::apache::thrift::protocol::TType _etype2111;
+ xfer += iprot->readListBegin(_etype2111, _size2108);
+ (*(this->success)).resize(_size2108);
+ uint32_t _i2112;
+ for (_i2112 = 0; _i2112 < _size2108; ++_i2112)
{
- xfer += (*(this->success))[_i2108].read(iprot);
+ xfer += (*(this->success))[_i2112].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22252,14 +22236,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2109;
- ::apache::thrift::protocol::TType _etype2112;
- xfer += iprot->readListBegin(_etype2112, _size2109);
- this->success.resize(_size2109);
- uint32_t _i2113;
- for (_i2113 = 0; _i2113 < _size2109; ++_i2113)
+ uint32_t _size2113;
+ ::apache::thrift::protocol::TType _etype2116;
+ xfer += iprot->readListBegin(_etype2116, _size2113);
+ this->success.resize(_size2113);
+ uint32_t _i2117;
+ for (_i2117 = 0; _i2117 < _size2113; ++_i2117)
{
- xfer += this->success[_i2113].read(iprot);
+ xfer += this->success[_i2117].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22306,10 +22290,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<PartitionSpec> ::const_iterator _iter2114;
- for (_iter2114 = this->success.begin(); _iter2114 != this->success.end(); ++_iter2114)
+ std::vector<PartitionSpec> ::const_iterator _iter2118;
+ for (_iter2118 = this->success.begin(); _iter2118 != this->success.end(); ++_iter2118)
{
- xfer += (*_iter2114).write(oprot);
+ xfer += (*_iter2118).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -22358,14 +22342,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2115;
- ::apache::thrift::protocol::TType _etype2118;
- xfer += iprot->readListBegin(_etype2118, _size2115);
- (*(this->success)).resize(_size2115);
- uint32_t _i2119;
- for (_i2119 = 0; _i2119 < _size2115; ++_i2119)
+ uint32_t _size2119;
+ ::apache::thrift::protocol::TType _etype2122;
+ xfer += iprot->readListBegin(_etype2122, _size2119);
+ (*(this->success)).resize(_size2119);
+ uint32_t _i2123;
+ for (_i2123 = 0; _i2123 < _size2119; ++_i2123)
{
- xfer += (*(this->success))[_i2119].read(iprot);
+ xfer += (*(this->success))[_i2123].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22543,14 +22527,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2120;
- ::apache::thrift::protocol::TType _etype2123;
- xfer += iprot->readListBegin(_etype2123, _size2120);
- this->success.resize(_size2120);
- uint32_t _i2124;
- for (_i2124 = 0; _i2124 < _size2120; ++_i2124)
+ uint32_t _size2124;
+ ::apache::thrift::protocol::TType _etype2127;
+ xfer += iprot->readListBegin(_etype2127, _size2124);
+ this->success.resize(_size2124);
+ uint32_t _i2128;
+ for (_i2128 = 0; _i2128 < _size2124; ++_i2128)
{
- xfer += iprot->readString(this->success[_i2124]);
+ xfer += iprot->readString(this->success[_i2128]);
}
xfer += iprot->readListEnd();
}
@@ -22597,10 +22581,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift:
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2125;
- for (_iter2125 = this->success.begin(); _iter2125 != this->success.end(); ++_iter2125)
+ std::vector<std::string> ::const_iterator _iter2129;
+ for (_iter2129 = this->success.begin(); _iter2129 != this->success.end(); ++_iter2129)
{
- xfer += oprot->writeString((*_iter2125));
+ xfer += oprot->writeString((*_iter2129));
}
xfer += oprot->writeListEnd();
}
@@ -22649,14 +22633,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2126;
- ::apache::thrift::protocol::TType _etype2129;
- xfer += iprot->readListBegin(_etype2129, _size2126);
- (*(this->success)).resize(_size2126);
- uint32_t _i2130;
- for (_i2130 = 0; _i2130 < _size2126; ++_i2130)
+ uint32_t _size2130;
+ ::apache::thrift::protocol::TType _etype2133;
+ xfer += iprot->readListBegin(_etype2133, _size2130);
+ (*(this->success)).resize(_size2130);
+ uint32_t _i2134;
+ for (_i2134 = 0; _i2134 < _size2130; ++_i2134)
{
- xfer += iprot->readString((*(this->success))[_i2130]);
+ xfer += iprot->readString((*(this->success))[_i2134]);
}
xfer += iprot->readListEnd();
}
@@ -22966,14 +22950,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2131;
- ::apache::thrift::protocol::TType _etype2134;
- xfer += iprot->readListBegin(_etype2134, _size2131);
- this->part_vals.resize(_size2131);
- uint32_t _i2135;
- for (_i2135 = 0; _i2135 < _size2131; ++_i2135)
+ uint32_t _size2135;
+ ::apache::thrift::protocol::TType _etype2138;
+ xfer += iprot->readListBegin(_etype2138, _size2135);
+ this->part_vals.resize(_size2135);
+ uint32_t _i2139;
+ for (_i2139 = 0; _i2139 < _size2135; ++_i2139)
{
- xfer += iprot->readString(this->part_vals[_i2135]);
+ xfer += iprot->readString(this->part_vals[_i2139]);
}
xfer += iprot->readListEnd();
}
@@ -23018,10 +23002,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter2136;
- for (_iter2136 = this->part_vals.begin(); _iter2136 != this->part_vals.end(); ++_iter2136)
+ std::vector<std::string> ::const_iterator _iter2140;
+ for (_iter2140 = this->part_vals.begin(); _iter2140 != this->part_vals.end(); ++_iter2140)
{
- xfer += oprot->writeString((*_iter2136));
+ xfer += oprot->writeString((*_iter2140));
}
xfer += oprot->writeListEnd();
}
@@ -23057,10 +23041,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter2137;
- for (_iter2137 = (*(this->part_vals)).begin(); _iter2137 != (*(this->part_vals)).end(); ++_iter2137)
+ std::vector<std::string> ::const_iterator _iter2141;
+ for (_iter2141 = (*(this->part_vals)).begin(); _iter2141 != (*(this->part_vals)).end(); ++_iter2141)
{
- xfer += oprot->writeString((*_iter2137));
+ xfer += oprot->writeString((*_iter2141));
}
xfer += oprot->writeListEnd();
}
@@ -23105,14 +23089,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2138;
- ::apache::thrift::protocol::TType _etype2141;
- xfer += iprot->readListBegin(_etype2141, _size2138);
- this->success.resize(_size2138);
- uint32_t _i2142;
- for (_i2142 = 0; _i2142 < _size2138; ++_i2142)
+ uint32_t _size2142;
+ ::apache::thrift::protocol::TType _etype2145;
+ xfer += iprot->readListBegin(_etype2145, _size2142);
+ this->success.resize(_size2142);
+ uint32_t _i2146;
+ for (_i2146 = 0; _i2146 < _size2142; ++_i2146)
{
- xfer += this->success[_i2142].read(iprot);
+ xfer += this->success[_i2146].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23159,10 +23143,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter2143;
- for (_iter2143 = this->success.begin(); _iter2143 != this->success.end(); ++_iter2143)
+ std::vector<Partition> ::const_iterator _iter2147;
+ for (_iter2147 = this->success.begin(); _iter2147 != this->success.end(); ++_iter2147)
{
- xfer += (*_iter2143).write(oprot);
+ xfer += (*_iter2147).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -23211,14 +23195,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2144;
- ::apache::thrift::protocol::TType _etype2147;
- xfer += iprot->readListBegin(_etype2147, _size2144);
- (*(this->success)).resize(_size2144);
- uint32_t _i2148;
- for (_i2148 = 0; _i2148 < _size2144; ++_i2148)
+ uint32_t _size2148;
+ ::apache::thrift::protocol::TType _etype2151;
+ xfer += iprot->readListBegin(_etype2151, _size2148);
+ (*(this->success)).resize(_size2148);
+ uint32_t _i2152;
+ for (_i2152 = 0; _i2152 < _size2148; ++_i2152)
{
- xfer += (*(this->success))[_i2148].read(iprot);
+ xfer += (*(this->success))[_i2152].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23301,14 +23285,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2149;
- ::apache::thrift::protocol::TType _etype2152;
- xfer += iprot->readListBegin(_etype2152, _size2149);
- this->part_vals.resize(_size2149);
- uint32_t _i2153;
- for (_i2153 = 0; _i2153 < _size2149; ++_i2153)
+ uint32_t _size2153;
+ ::apache::thrift::protocol::TType _etype2156;
+ xfer += iprot->readListBegin(_etype2156, _size2153);
+ this->part_vals.resize(_size2153);
+ uint32_t _i2157;
+ for (_i2157 = 0; _i2157 < _size2153; ++_i2157)
{
- xfer += iprot->readString(this->part_vals[_i2153]);
+ xfer += iprot->readString(this->part_vals[_i2157]);
}
xfer += iprot->readListEnd();
}
@@ -23337,14 +23321,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->group_names.clear();
- uint32_t _size2154;
- ::apache::thrift::protocol::TType _etype2157;
- xfer += iprot->readListBegin(_etype2157, _size2154);
- this->group_names.resize(_size2154);
- uint32_t _i2158;
- for (_i2158 = 0; _i2158 < _size2154; ++_i2158)
+ uint32_t _size2158;
+ ::apache::thrift::protocol::TType _etype2161;
+ xfer += iprot->readListBegin(_etype2161, _size2158);
+ this->group_names.resize(_size2158);
+ uint32_t _i2162;
+ for (_i2162 = 0; _i2162 < _size2158; ++_i2162)
{
- xfer += iprot->readString(this->group_names[_i2158]);
+ xfer += iprot->readString(this->group_names[_i2162]);
}
xfer += iprot->readListEnd();
}
@@ -23381,10 +23365,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter2159;
- for (_iter2159 = this->part_vals.begin(); _iter2159 != this->part_vals.end(); ++_iter2159)
+ std::vector<std::string> ::const_iterator _iter2163;
+ for (_iter2163 = this->part_vals.begin(); _iter2163 != this->part_vals.end(); ++_iter2163)
{
- xfer += oprot->writeString((*_iter2159));
+ xfer += oprot->writeString((*_iter2163));
}
xfer += oprot->writeListEnd();
}
@@ -23401,10 +23385,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
- std::vector<std::string> ::const_iterator _iter2160;
- for (_iter2160 = this->group_names.begin(); _iter2160 != this->group_names.end(); ++_iter2160)
+ std::vector<std::string> ::const_iterator _iter2164;
+ for (_iter2164 = this->group_names.begin(); _iter2164 != this->group_names.end(); ++_iter2164)
{
- xfer += oprot->writeString((*_iter2160));
+ xfer += oprot->writeString((*_iter2164));
}
xfer += oprot->writeListEnd();
}
@@ -23436,10 +23420,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache::
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter2161;
- for (_iter2161 = (*(this->part_vals)).begin(); _iter2161 != (*(this->part_vals)).end(); ++_iter2161)
+ std::vector<std::string> ::const_iterator _iter2165;
+ for (_iter2165 = (*(this->part_vals)).begin(); _iter2165 != (*(this->part_vals)).end(); ++_iter2165)
{
- xfer += oprot->writeString((*_iter2161));
+ xfer += oprot->writeString((*_iter2165));
}
xfer += oprot->writeListEnd();
}
@@ -23456,10 +23440,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache::
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
- std::vector<std::string> ::const_iterator _iter2162;
- for (_iter2162 = (*(this->group_names)).begin(); _iter2162 != (*(this->group_names)).end(); ++_iter2162)
+ std::vector<std::string> ::const_iterator _iter2166;
+ for (_iter2166 = (*(this->group_names)).begin(); _iter2166 != (*(this->group_names)).end(); ++_iter2166)
{
- xfer += oprot->writeString((*_iter2162));
+ xfer += oprot->writeString((*_iter2166));
}
xfer += oprot->writeListEnd();
}
@@ -23500,14 +23484,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2163;
- ::apache::thrift::protocol::TType _etype2166;
- xfer += iprot->readListBegin(_etype2166, _size2163);
- this->success.resize(_size2163);
- uint32_t _i2167;
- for (_i2167 = 0; _i2167 < _size2163; ++_i2167)
+ uint32_t _size2167;
+ ::apache::thrift::protocol::TType _etype2170;
+ xfer += iprot->readListBegin(_etype2170, _size2167);
+ this->success.resize(_size2167);
+ uint32_t _i2171;
+ for (_i2171 = 0; _i2171 < _size2167; ++_i2171)
{
- xfer += this->success[_i2167].read(iprot);
+ xfer += this->success[_i2171].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23554,10 +23538,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache:
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter2168;
- for (_iter2168 = this->success.begin(); _iter2168 != this->success.end(); ++_iter2168)
+ std::vector<Partition> ::const_iterator _iter2172;
+ for (_iter2172 = this->success.begin(); _iter2172 != this->success.end(); ++_iter2172)
{
- xfer += (*_iter2168).write(oprot);
+ xfer += (*_iter2172).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -23606,14 +23590,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2169;
- ::apache::thrift::protocol::TType _etype2172;
- xfer += iprot->readListBegin(_etype2172, _size2169);
- (*(this->success)).resize(_size2169);
- uint32_t _i2173;
- for (_i2173 = 0; _i2173 < _size2169; ++_i2173)
+ uint32_t _size2173;
+ ::apache::thrift::protocol::TType _etype2176;
+ xfer += iprot->readListBegin(_etype2176, _size2173);
+ (*(this->success)).resize(_size2173);
+ uint32_t _i2177;
+ for (_i2177 = 0; _i2177 < _size2173; ++_i2177)
{
- xfer += (*(this->success))[_i2173].read(iprot);
+ xfer += (*(this->success))[_i2177].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23923,14 +23907,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2174;
- ::apache::thrift::protocol::TType _etype2177;
- xfer += iprot->readListBegin(_etype2177, _size2174);
- this->part_vals.resize(_size2174);
- uint32_t _i2178;
- for (_i2178 = 0; _i2178 < _size2174; ++_i2178)
+ uint32_t _size2178;
+ ::apache::thrift::protocol::TType _etype2181;
+ xfer += iprot->readListBegin(_etype2181, _size2178);
+ this->part_vals.resize(_size2178);
+ uint32_t _i2182;
+ for (_i2182 = 0; _i2182 < _size2178; ++_i2182)
{
- xfer += iprot->readString(this->part_vals[_i2178]);
+ xfer += iprot->readString(this->part_vals[_i2182]);
}
xfer += iprot->readListEnd();
}
@@ -23975,10 +23959,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter2179;
- for (_iter2179 = this->part_vals.begin(); _iter2179 != this->part_vals.end(); ++_iter2179)
+ std::vector<std::string> ::const_iterator _iter2183;
+ for (_iter2183 = this->part_vals.begin(); _iter2183 != this->part_vals.end(); ++_iter2183)
{
- xfer += oprot->writeString((*_iter2179));
+ xfer += oprot->writeString((*_iter2183));
}
xfer += oprot->writeListEnd();
}
@@ -24014,10 +23998,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter2180;
- for (_iter2180 = (*(this->part_vals)).begin(); _iter2180 != (*(this->part_vals)).end(); ++_iter2180)
+ std::vector<std::string> ::const_iterator _iter2184;
+ for (_iter2184 = (*(this->part_vals)).begin(); _iter2184 != (*(this->part_vals)).end(); ++_iter2184)
{
- xfer += oprot->writeString((*_iter2180));
+ xfer += oprot->writeString((*_iter2184));
}
xfer += oprot->writeListEnd();
}
@@ -24062,14 +24046,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2181;
- ::apache::thrift::protocol::TType _etype2184;
- xfer += iprot->readListBegin(_etype2184, _size2181);
- this->success.resize(_size2181);
- uint32_t _i2185;
- for (_i2185 = 0; _i2185 < _size2181; ++_i2185)
+ uint32_t _size2185;
+ ::apache::thrift::protocol::TType _etype2188;
+ xfer += iprot->readListBegin(_etype2188, _size2185);
+ this->success.resize(_size2185);
+ uint32_t _i2189;
+ for (_i2189 = 0; _i2189 < _size2185; ++_i2189)
{
- xfer += iprot->readString(this->success[_i2185]);
+ xfer += iprot->readString(this->success[_i2189]);
}
xfer += iprot->readListEnd();
}
@@ -24116,10 +24100,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2186;
- for (_iter2186 = this->success.begin(); _iter2186 != this->success.end(); ++_iter2186)
+ std::vector<std::string> ::const_iterator _iter2190;
+ for (_iter2190 = this->success.begin(); _iter2190 != this->success.end(); ++_iter2190)
{
- xfer += oprot->writeString((*_iter2186));
+ xfer += oprot->writeString((*_iter2190));
}
xfer += oprot->writeListEnd();
}
@@ -24168,14 +24152,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2187;
- ::apache::thrift::protocol::TType _etype2190;
- xfer += iprot->readListBegin(_etype2190, _size2187);
- (*(this->success)).resize(_size2187);
- uint32_t _i2191;
- for (_i2191 = 0; _i2191 < _size2187; ++_i2191)
+ uint32_t _size2191;
+ ::apache::thrift::protocol::TType _etype2194;
+ xfer += iprot->readListBegin(_etype2194, _size2191);
+ (*(this->success)).resize(_size2191);
+ uint32_t _i2195;
+ for (_i2195 = 0; _i2195 < _size2191; ++_i2195)
{
- xfer += iprot->readString((*(this->success))[_i2191]);
+ xfer += iprot->readString((*(this->success))[_i2195]);
}
xfer += iprot->readListEnd();
}
@@ -24548,14 +24532,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_result::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2192;
- ::apache::thrift::protocol::TType _etype2195;
- xfer += iprot->readListBegin(_etype2195, _size2192);
- this->success.resize(_size2192);
- uint32_t _i2196;
- for (_i2196 = 0; _i2196 < _size2192; ++_i2196)
+ uint32_t _size2196;
+ ::apache::thrift::protocol::TType _etype2199;
+ xfer += iprot->readListBegin(_etype2199, _size2196);
+ this->success.resize(_size2196);
+ uint32_t _i2200;
+ for (_i2200 = 0; _i2200 < _size2196; ++_i2200)
{
- xfer += iprot->readString(this->success[_i2196]);
+ xfer += iprot->readString(this->success[_i2200]);
}
xfer += iprot->readListEnd();
}
@@ -24602,10 +24586,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_result::write(::apache::thr
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 _iter2197;
- for (_iter2197 = this->success.begin(); _iter2197 != this->success.end(); ++_iter2197)
+ std::vector<std::string> ::const_iterator _iter2201;
+ for (_iter2201 = this->success.begin(); _iter2201 != this->success.end(); ++_iter2201)
{
- xfer += oprot->writeString((*_iter2197));
+ xfer += oprot->writeString((*_iter2201));
}
xfer += oprot->writeListEnd();
}
@@ -24654,14 +24638,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_presult::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2198;
- ::apache::thrift::protocol::TType _etype2201;
- xfer += iprot->readListBegin(_etype2201, _size2198);
- (*(this->success)).resize(_size2198);
- uint32_t _i2202;
- for (_i2202 = 0; _i2202 < _size2198; ++_i2202)
+ uint32_t _size2202;
+ ::apache::thrift::protocol::TType _etype2205;
+ xfer += iprot->readListBegin(_etype2205, _size2202);
+ (*(this->success)).resize(_size2202);
+ uint32_t _i2206;
+ for (_i2206 = 0; _i2206 < _size2202; ++_i2206)
{
- xfer += iprot->readString((*(this->success))[_i2202]);
+ xfer += iprot->readString((*(this->success))[_i2206]);
}
xfer += iprot->readListEnd();
}
@@ -24855,14 +24839,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2203;
- ::apache::thrift::protocol::TType _etype2206;
- xfer += iprot->readListBegin(_etype2206, _size2203);
- this->success.resize(_size2203);
- uint32_t _i2207;
- for (_i2207 = 0; _i2207 < _size2203; ++_i2207)
+ uint32_t _size2207;
+ ::apache::thrift::protocol::TType _etype2210;
+ xfer += iprot->readListBegin(_etype2210, _size2207);
+ this->success.resize(_size2207);
+ uint32_t _i2211;
+ for (_i2211 = 0; _i2211 < _size2207; ++_i2211)
{
- xfer += this->success[_i2207].read(iprot);
+ xfer += this->success[_i2211].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -24909,10 +24893,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter2208;
- for (_iter2208 = this->success.begin(); _iter2208 != this->success.end(); ++_iter2208)
+ std::vector<Partition> ::const_iterator _iter2212;
+ for (_iter2212 = this->success.begin(); _iter2212 != this->success.end(); ++_iter2212)
{
- xfer += (*_iter2208).write(oprot);
+ xfer += (*_iter2212).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -24961,14 +24945,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2209;
- ::apache::thrift::protocol::TType _etype2212;
- xfer += iprot->readListBegin(_etype2212, _size2209);
- (*(this->success)).resize(_size2209);
- uint32_t _i2213;
- for (_i2213 = 0; _i2213 < _size2209; ++_i2213)
+ uint32_t _size2213;
+ ::apache::thrift::protocol::TType _etype2216;
+ xfer += iprot->readListBegin(_etype2216, _size2213);
+ (*(this->success)).resize(_size2213);
+ uint32_t _i2217;
+ for (_i2217 = 0; _i2217 < _size2213; ++_i2217)
{
- xfer += (*(this->success))[_i2213].read(iprot);
+ xfer += (*(this->success))[_i2217].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -25162,14 +25146,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2214;
- ::apache::thrift::protocol::TType _etype2217;
- xfer += iprot->readListBegin(_etype2217, _size2214);
- this->success.resize(_size2214);
- uint32_t _i2218;
- for (_i2218 = 0; _i2218 < _size2214; ++_i2218)
+ uint32_t _size2218;
+ ::apache::thrift::protocol::TType _etype2221;
+ xfer += iprot->readListBegin(_etype2221, _size2218);
+ this->success.resize(_size2218);
+ uint32_t _i2222;
+ for (_i2222 = 0; _i2222 < _size2218; ++_i2222)
{
- xfer += this->success[_i2218].read(iprot);
+ xfer += this->success[_i2222].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -25216,10 +25200,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<PartitionSpec> ::const_iterator _iter2219;
- for (_iter2219 = this->success.begin(); _iter2219 != this->success.end(); ++_iter2219)
+ std::vector<PartitionSpec> ::const_iterator _iter2223;
+ for (_iter2223 = this->success.begin(); _iter2223 != this->success.end(); ++_iter2223)
{
- xfer += (*_iter2219).write(oprot);
+ xfer += (*_iter2223).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -25268,14 +25252,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2220;
- ::apache::thrift::protocol::TType _etype2223;
- xfer += iprot->readListBegin(_etype2223, _size2220);
- (*(this->success)).resize(_size2220);
- uint32_t _i2224;
- for (_i2224 = 0; _i2224 < _size2220; ++_i2224)
+ uint32_t _size2224;
+ ::apache::thrift::protocol::TType _etype2227;
+ xfer += iprot->readListBegin(_etype2227, _size2224);
+ (*(this->success)).resize(_size2224);
+ uint32_t _i2228;
+ for (_i2228 = 0; _i2228 < _size2224; ++_i2228)
{
- xfer += (*(this->success))[_i2224].read(iprot);
+ xfer += (*(this->success))[_i2228].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -26071,14 +26055,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->names.clear();
- uint32_t _size2225;
- ::apache::thrift::protocol::TType _etype2228;
- xfer += iprot->readListBegin(_etype2228, _size2225);
- this->names.resize(_size2225);
- uint32_t _i2229;
- for (_i2229 = 0; _i2229 < _size2225; ++_i2229)
+ uint32_t _size2229;
+ ::apache::thrift::protocol::TType _etype2232;
+ xfer += iprot->readListBegin(_etype2232, _size2229);
+ this->names.resize(_size2229);
+ uint32_t _i2233;
+ for (_i2233 = 0; _i2233 < _size2229; ++_i2233)
{
- xfer += iprot->readString(this->names[_i2229]);
+ xfer += iprot->readString(this->names[_i2233]);
}
xfer += iprot->readListEnd();
}
@@ -26115,10 +26099,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif
xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->names.size()));
- std::vector<std::string> ::const_iterator _iter2230;
- for (_iter2230 = this->names.begin(); _iter2230 != this->names.end(); ++_iter2230)
+ std::vector<std::string> ::const_iterator _iter2234;
+ for (_iter2234 = this->names.begin(); _iter2234 != this->names.end(); ++_iter2234)
{
- xfer += oprot->writeString((*_iter2230));
+ xfer += oprot->writeString((*_iter2234));
}
xfer += oprot->writeListEnd();
}
@@ -26150,10 +26134,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri
xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->names)).size()));
- std::vector<std::string> ::const_iterator _iter2231;
- for (_iter2231 = (*(this->names)).begin(); _iter2231 != (*(this->names)).end(); ++_iter2231)
+ std::vector<std::string> ::const_iterator _iter2235;
+ for (_iter2235 = (*(this->names)).begin(); _iter2235 != (*(this->names)).end(); ++_iter2235)
{
- xfer += oprot->writeString((*_iter2231));
+ xfer += oprot->writeString((*_iter2235));
}
xfer += oprot->writeListEnd();
}
@@ -26194,14 +26178,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2232;
- ::apache::thrift::protocol::TType _etype2235;
- xfer += iprot->readListBegin(_etype2235, _size2232);
- this->success.resize(_size2232);
- uint32_t _i2236;
- for (_i2236 = 0; _i2236 < _size2232; ++_i2236)
+ uint32_t _size2236;
+ ::apache::thrift::protocol::TType _etype2239;
+ xfer += iprot->readListBegin(_etype2239, _size2236);
+ this->success.resize(_size2236);
+ uint32_t _i2240;
+ for (_i2240 = 0; _i2240 < _size2236; ++_i2240)
{
- xfer += this->success[_i2236].read(iprot);
+ xfer += this->success[_i2240].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -26248,10 +26232,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Partition> ::const_iterator _iter2237;
- for (_iter2237 = this->success.begin(); _iter2237 != this->success.end(); ++_iter2237)
+ std::vector<Partition> ::const_iterator _iter2241;
+ for (_iter2241 = this->success.begin(); _iter2241 != this->success.end(); ++_iter2241)
{
- xfer += (*_iter2237).write(oprot);
+ xfer += (*_iter2241).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -26300,14 +26284,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2238;
- ::apache::thrift::protocol::TType _etype2241;
- xfer += iprot->readListBegin(_etype2241, _size2238);
- (*(this->success)).resize(_size2238);
- uint32_t _i2242;
- for (_i2242 = 0; _i2242 < _size2238; ++_i2242)
+ uint32_t _size2242;
+ ::apache::thrift::protocol::TType _etype2245;
+ xfer += iprot->readListBegin(_etype2245, _size2242);
+ (*(this->success)).resize(_size2242);
+ uint32_t _i2246;
+ for (_i2246 = 0; _i2246 < _size2242; ++_i2246)
{
- xfer += (*(this->success))[_i2242].read(iprot);
+ xfer += (*(this->success))[_i2246].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -26856,14 +26840,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->new_parts.clear();
- uint32_t _size2243;
- ::apache::thrift::protocol::TType _etype2246;
- xfer += iprot->readListBegin(_etype2246, _size2243);
- this->new_parts.resize(_size2243);
- uint32_t _i2247;
- for (_i2247 = 0; _i2247 < _size2243; ++_i2247)
+ uint32_t _size2247;
+ ::apache::thrift::protocol::TType _etype2250;
+ xfer += iprot->readListBegin(_etype2250, _size2247);
+ this->new_parts.resize(_size2247);
+ uint32_t _i2251;
+ for (_i2251 = 0; _i2251 < _size2247; ++_i2251)
{
- xfer += this->new_parts[_i2247].read(iprot);
+ xfer += this->new_parts[_i2251].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -26900,10 +26884,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->new_parts.size()));
- std::vector<Partition> ::const_iterator _iter2248;
- for (_iter2248 = this->new_parts.begin(); _iter2248 != this->new_parts.end(); ++_iter2248)
+ std::vector<Partition> ::const_iterator _iter2252;
+ for (_iter2252 = this->new_parts.begin(); _iter2252 != this->new_parts.end(); ++_iter2252)
{
- xfer += (*_iter2248).write(oprot);
+ xfer += (*_iter2252).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -26935,10 +26919,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->new_parts)).size()));
- std::vector<Partition> ::const_iterator _iter2249;
- for (_iter2249 = (*(this->new_parts)).begin(); _iter2249 != (*(this->new_parts)).end(); ++_iter2249)
+ std::vector<Partition> ::const_iterator _iter2253;
+ for (_iter2253 = (*(this->new_parts)).begin(); _iter2253 != (*(this->new_parts)).end(); ++_iter2253)
{
- xfer += (*_iter2249).write(oprot);
+ xfer += (*_iter2253).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -27123,14 +27107,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->new_parts.clear();
- uint32_t _size2250;
- ::apache::thrift::protocol::TType _etype2253;
- xfer += iprot->readListBegin(_etype2253, _size2250);
- this->new_parts.resize(_size2250);
- uint32_t _i2254;
- for (_i2254 = 0; _i2254 < _size2250; ++_i2254)
+ uint32_t _size2254;
+ ::apache::thrift::protocol::TType _etype2257;
+ xfer += iprot->readListBegin(_etype2257, _size2254);
+ this->new_parts.resize(_size2254);
+ uint32_t _i2258;
+ for (_i2258 = 0; _i2258 < _size2254; ++_i2258)
{
- xfer += this->new_parts[_i2254].read(iprot);
+ xfer += this->new_parts[_i2258].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -27175,10 +27159,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->new_parts.size()));
- std::vector<Partition> ::const_iterator _iter2255;
- for (_iter2255 = this->new_parts.begin(); _iter2255 != this->new_parts.end(); ++_iter2255)
+ std::vector<Partition> ::const_iterator _iter2259;
+ for (_iter2259 = this->new_parts.begin(); _iter2259 != this->new_parts.end(); ++_iter2259)
{
- xfer += (*_iter2255).write(oprot);
+ xfer += (*_iter2259).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -27214,10 +27198,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->new_parts)).size()));
- std::vector<Partition> ::const_iterator _iter2256;
- for (_iter2256 = (*(this->new_parts)).begin(); _iter2256 != (*(this->new_parts)).end(); ++_iter2256)
+ std::vector<Partition> ::const_iterator _iter2260;
+ for (_iter2260 = (*(this->new_parts)).begin(); _iter2260 != (*(this->new_parts)).end(); ++_iter2260)
{
- xfer += (*_iter2256).write(oprot);
+ xfer += (*_iter2260).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -27888,14 +27872,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2257;
- ::apache::thrift::protocol::TType _etype2260;
- xfer += iprot->readListBegin(_etype2260, _size2257);
- this->part_vals.resize(_size2257);
- uint32_t _i2261;
- for (_i2261 = 0; _i2261 < _size2257; ++_i2261)
+ uint32_t _size2261;
+ ::apache::thrift::protocol::TType _etype2264;
+ xfer += iprot->readListBegin(_etype2264, _size2261);
+ this->part_vals.resize(_size2261);
+ uint32_t _i2265;
+ for (_i2265 = 0; _i2265 < _size2261; ++_i2265)
{
- xfer += iprot->readString(this->part_vals[_i2261]);
+ xfer += iprot->readString(this->part_vals[_i2265]);
}
xfer += iprot->readListEnd();
}
@@ -27940,10 +27924,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter2262;
- for (_iter2262 = this->part_vals.begin(); _iter2262 != this->part_vals.end(); ++_iter2262)
+ std::vector<std::string> ::const_iterator _iter2266;
+ for (_iter2266 = this->part_vals.begin(); _iter2266 != this->part_vals.end(); ++_iter2266)
{
- xfer += oprot->writeString((*_iter2262));
+ xfer += oprot->writeString((*_iter2266));
}
xfer += oprot->writeListEnd();
}
@@ -27979,10 +27963,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter2263;
- for (_iter2263 = (*(this->part_vals)).begin(); _iter2263 != (*(this->part_vals)).end(); ++_iter2263)
+ std::vector<std::string> ::const_iterator _iter2267;
+ for (_iter2267 = (*(this->part_vals)).begin(); _iter2267 != (*(this->part_vals)).end(); ++_iter2267)
{
- xfer += oprot->writeString((*_iter2263));
+ xfer += oprot->writeString((*_iter2267));
}
xfer += oprot->writeListEnd();
}
@@ -28382,14 +28366,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
- uint32_t _size2264;
- ::apache::thrift::protocol::TType _etype2267;
- xfer += iprot->readListBegin(_etype2267, _size2264);
- this->part_vals.resize(_size2264);
- uint32_t _i2268;
- for (_i2268 = 0; _i2268 < _size2264; ++_i2268)
+ uint32_t _size2268;
+ ::apache::thrift::protocol::TType _etype2271;
+ xfer += iprot->readListBegin(_etype2271, _size2268);
+ this->part_vals.resize(_size2268);
+ uint32_t _i2272;
+ for (_i2272 = 0; _i2272 < _size2268; ++_i2272)
{
- xfer += iprot->readString(this->part_vals[_i2268]);
+ xfer += iprot->readString(this->part_vals[_i2272]);
}
xfer += iprot->readListEnd();
}
@@ -28426,10 +28410,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::vector<std::string> ::const_iterator _iter2269;
- for (_iter2269 = this->part_vals.begin(); _iter2269 != this->part_vals.end(); ++_iter2269)
+ std::vector<std::string> ::const_iterator _iter2273;
+ for (_iter2273 = this->part_vals.begin(); _iter2273 != this->part_vals.end(); ++_iter2273)
{
- xfer += oprot->writeString((*_iter2269));
+ xfer += oprot->writeString((*_iter2273));
}
xfer += oprot->writeListEnd();
}
@@ -28457,10 +28441,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(::
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::vector<std::string> ::const_iterator _iter2270;
- for (_iter2270 = (*(this->part_vals)).begin(); _iter2270 != (*(this->part_vals)).end(); ++_iter2270)
+ std::vector<std::string> ::const_iterator _iter2274;
+ for (_iter2274 = (*(this->part_vals)).begin(); _iter2274 != (*(this->part_vals)).end(); ++_iter2274)
{
- xfer += oprot->writeString((*_iter2270));
+ xfer += oprot->writeString((*_iter2274));
}
xfer += oprot->writeListEnd();
}
@@ -28935,14 +28919,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2271;
- ::apache::thrift::protocol::TType _etype2274;
- xfer += iprot->readListBegin(_etype2274, _size2271);
- this->success.resize(_size2271);
- uint32_t _i2275;
- for (_i2275 = 0; _i2275 < _size2271; ++_i2275)
+ uint32_t _size2275;
+ ::apache::thrift::protocol::TType _etype2278;
+ xfer += iprot->readListBegin(_etype2278, _size2275);
+ this->success.resize(_size2275);
+ uint32_t _i2279;
+ for (_i2279 = 0; _i2279 < _size2275; ++_i2279)
{
- xfer += iprot->readString(this->success[_i2275]);
+ xfer += iprot->readString(this->success[_i2279]);
}
xfer += iprot->readListEnd();
}
@@ -28981,10 +28965,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2276;
- for (_iter2276 = this->success.begin(); _iter2276 != this->success.end(); ++_iter2276)
+ std::vector<std::string> ::const_iterator _iter2280;
+ for (_iter2280 = this->success.begin(); _iter2280 != this->success.end(); ++_iter2280)
{
- xfer += oprot->writeString((*_iter2276));
+ xfer += oprot->writeString((*_iter2280));
}
xfer += oprot->writeListEnd();
}
@@ -29029,14 +29013,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2277;
- ::apache::thrift::protocol::TType _etype2280;
- xfer += iprot->readListBegin(_etype2280, _size2277);
- (*(this->success)).resize(_size2277);
- uint32_t _i2281;
- for (_i2281 = 0; _i2281 < _size2277; ++_i2281)
+ uint32_t _size2281;
+ ::apache::thrift::protocol::TType _etype2284;
+ xfer += iprot->readListBegin(_etype2284, _size2281);
+ (*(this->success)).resize(_size2281);
+ uint32_t _i2285;
+ for (_i2285 = 0; _i2285 < _size2281; ++_i2285)
{
- xfer += iprot->readString((*(this->success))[_i2281]);
+ xfer += iprot->readString((*(this->success))[_i2285]);
}
xfer += iprot->readListEnd();
}
@@ -29174,17 +29158,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size2282;
- ::apache::thrift::protocol::TType _ktype2283;
- ::apache::thrift::protocol::TType _vtype2284;
- xfer += iprot->readMapBegin(_ktype2283, _vtype2284, _size2282);
- uint32_t _i2286;
- for (_i2286 = 0; _i2286 < _size2282; ++_i2286)
+ uint32_t _size2286;
+ ::apache::thrift::protocol::TType _ktype2287;
+ ::apache::thrift::protocol::TType _vtype2288;
+ xfer += iprot->readMapBegin(_ktype2287, _vtype2288, _size2286);
+ uint32_t _i2290;
+ for (_i2290 = 0; _i2290 < _size2286; ++_i2290)
{
- std::string _key2287;
- xfer += iprot->readString(_key2287);
- std::string& _val2288 = this->success[_key2287];
- xfer += iprot->readString(_val2288);
+ std::string _key2291;
+ xfer += iprot->readString(_key2291);
+ std::string& _val2292 = this->success[_key2291];
+ xfer += iprot->readString(_val2292);
}
xfer += iprot->readMapEnd();
}
@@ -29223,11 +29207,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, std::string> ::const_iterator _iter2289;
- for (_iter2289 = this->success.begin(); _iter2289 != this->success.end(); ++_iter2289)
+ std::map<std::string, std::string> ::const_iterator _iter2293;
+ for (_iter2293 = this->success.begin(); _iter2293 != this->success.end(); ++_iter2293)
{
- xfer += oprot->writeString(_iter2289->first);
- xfer += oprot->writeString(_iter2289->second);
+ xfer += oprot->writeString(_iter2293->first);
+ xfer += oprot->writeString(_iter2293->second);
}
xfer += oprot->writeMapEnd();
}
@@ -29272,17 +29256,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
- uint32_t _size2290;
- ::apache::thrift::protocol::TType _ktype2291;
- ::apache::thrift::protocol::TType _vtype2292;
- xfer += iprot->readMapBegin(_ktype2291, _vtype2292, _size2290);
- uint32_t _i2294;
- for (_i2294 = 0; _i2294 < _size2290; ++_i2294)
+ uint32_t _size2294;
+ ::apache::thrift::protocol::TType _ktype2295;
+ ::apache::thrift::protocol::TType _vtype2296;
+ xfer += iprot->readMapBegin(_ktype2295, _vtype2296, _size2294);
+ uint32_t _i2298;
+ for (_i2298 = 0; _i2298 < _size2294; ++_i2298)
{
- std::string _key2295;
- xfer += iprot->readString(_key2295);
- std::string& _val2296 = (*(this->success))[_key2295];
- xfer += iprot->readString(_val2296);
+ std::string _key2299;
+ xfer += iprot->readString(_key2299);
+ std::string& _val2300 = (*(this->success))[_key2299];
+ xfer += iprot->readString(_val2300);
}
xfer += iprot->readMapEnd();
}
@@ -29357,17 +29341,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->part_vals.clear();
- uint32_t _size2297;
- ::apache::thrift::protocol::TType _ktype2298;
- ::apache::thrift::protocol::TType _vtype2299;
- xfer += iprot->readMapBegin(_ktype2298, _vtype2299, _size2297);
- uint32_t _i2301;
- for (_i2301 = 0; _i2301 < _size2297; ++_i2301)
+ uint32_t _size2301;
+ ::apache::thrift::protocol::TType _ktype2302;
+ ::apache::thrift::protocol::TType _vtype2303;
+ xfer += iprot->readMapBegin(_ktype2302, _vtype2303, _size2301);
+ uint32_t _i2305;
+ for (_i2305 = 0; _i2305 < _size2301; ++_i2305)
{
- std::string _key2302;
- xfer += iprot->readString(_key2302);
- std::string& _val2303 = this->part_vals[_key2302];
- xfer += iprot->readString(_val2303);
+ std::string _key2306;
+ xfer += iprot->readString(_key2306);
+ std::string& _val2307 = this->part_vals[_key2306];
+ xfer += iprot->readString(_val2307);
}
xfer += iprot->readMapEnd();
}
@@ -29378,9 +29362,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift::
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2304;
- xfer += iprot->readI32(ecast2304);
- this->eventType = (PartitionEventType::type)ecast2304;
+ int32_t ecast2308;
+ xfer += iprot->readI32(ecast2308);
+ this->eventType = (PartitionEventType::type)ecast2308;
this->__isset.eventType = true;
} else {
xfer += iprot->skip(ftype);
@@ -29414,11 +29398,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift:
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::map<std::string, std::string> ::const_iterator _iter2305;
- for (_iter2305 = this->part_vals.begin(); _iter2305 != this->part_vals.end(); ++_iter2305)
+ std::map<std::string, std::string> ::const_iterator _iter2309;
+ for (_iter2309 = this->part_vals.begin(); _iter2309 != this->part_vals.end(); ++_iter2309)
{
- xfer += oprot->writeString(_iter2305->first);
- xfer += oprot->writeString(_iter2305->second);
+ xfer += oprot->writeString(_iter2309->first);
+ xfer += oprot->writeString(_iter2309->second);
}
xfer += oprot->writeMapEnd();
}
@@ -29454,11 +29438,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::map<std::string, std::string> ::const_iterator _iter2306;
- for (_iter2306 = (*(this->part_vals)).begin(); _iter2306 != (*(this->part_vals)).end(); ++_iter2306)
+ std::map<std::string, std::string> ::const_iterator _iter2310;
+ for (_iter2310 = (*(this->part_vals)).begin(); _iter2310 != (*(this->part_vals)).end(); ++_iter2310)
{
- xfer += oprot->writeString(_iter2306->first);
- xfer += oprot->writeString(_iter2306->second);
+ xfer += oprot->writeString(_iter2310->first);
+ xfer += oprot->writeString(_iter2310->second);
}
xfer += oprot->writeMapEnd();
}
@@ -29727,17 +29711,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->part_vals.clear();
- uint32_t _size2307;
- ::apache::thrift::protocol::TType _ktype2308;
- ::apache::thrift::protocol::TType _vtype2309;
- xfer += iprot->readMapBegin(_ktype2308, _vtype2309, _size2307);
- uint32_t _i2311;
- for (_i2311 = 0; _i2311 < _size2307; ++_i2311)
+ uint32_t _size2311;
+ ::apache::thrift::protocol::TType _ktype2312;
+ ::apache::thrift::protocol::TType _vtype2313;
+ xfer += iprot->readMapBegin(_ktype2312, _vtype2313, _size2311);
+ uint32_t _i2315;
+ for (_i2315 = 0; _i2315 < _size2311; ++_i2315)
{
- std::string _key2312;
- xfer += iprot->readString(_key2312);
- std::string& _val2313 = this->part_vals[_key2312];
- xfer += iprot->readString(_val2313);
+ std::string _key2316;
+ xfer += iprot->readString(_key2316);
+ std::string& _val2317 = this->part_vals[_key2316];
+ xfer += iprot->readString(_val2317);
}
xfer += iprot->readMapEnd();
}
@@ -29748,9 +29732,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2314;
- xfer += iprot->readI32(ecast2314);
- this->eventType = (PartitionEventType::type)ecast2314;
+ int32_t ecast2318;
+ xfer += iprot->readI32(ecast2318);
+ this->eventType = (PartitionEventType::type)ecast2318;
this->__isset.eventType = true;
} else {
xfer += iprot->skip(ftype);
@@ -29784,11 +29768,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
- std::map<std::string, std::string> ::const_iterator _iter2315;
- for (_iter2315 = this->part_vals.begin(); _iter2315 != this->part_vals.end(); ++_iter2315)
+ std::map<std::string, std::string> ::const_iterator _iter2319;
+ for (_iter2319 = this->part_vals.begin(); _iter2319 != this->part_vals.end(); ++_iter2319)
{
- xfer += oprot->writeString(_iter2315->first);
- xfer += oprot->writeString(_iter2315->second);
+ xfer += oprot->writeString(_iter2319->first);
+ xfer += oprot->writeString(_iter2319->second);
}
xfer += oprot->writeMapEnd();
}
@@ -29824,11 +29808,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
- std::map<std::string, std::string> ::const_iterator _iter2316;
- for (_iter2316 = (*(this->part_vals)).begin(); _iter2316 != (*(this->part_vals)).end(); ++_iter2316)
+ std::map<std::string, std::string> ::const_iterator _iter2320;
+ for (_iter2320 = (*(this->part_vals)).begin(); _iter2320 != (*(this->part_vals)).end(); ++_iter2320)
{
- xfer += oprot->writeString(_iter2316->first);
- xfer += oprot->writeString(_iter2316->second);
+ xfer += oprot->writeString(_iter2320->first);
+ xfer += oprot->writeString(_iter2320->second);
}
xfer += oprot->writeMapEnd();
}
@@ -32729,6 +32713,193 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_req_presult::rea
}
+ThriftHiveMetastore_update_transaction_statistics_args::~ThriftHiveMetastore_update_transaction_statistics_args() noexcept {
+}
+
+
+uint32_t ThriftHiveMetastore_update_transaction_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->req.read(iprot);
+ this->__isset.req = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t ThriftHiveMetastore_update_transaction_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_transaction_statistics_args");
+
+ xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->req.write(oprot);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+
+ThriftHiveMetastore_update_transaction_statistics_pargs::~ThriftHiveMetastore_update_transaction_statistics_pargs() noexcept {
+}
+
+
+uint32_t ThriftHiveMetastore_update_transaction_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_transaction_statistics_pargs");
+
+ xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += (*(this->req)).write(oprot);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+
+ThriftHiveMetastore_update_transaction_statistics_result::~ThriftHiveMetastore_update_transaction_statistics_result() noexcept {
+}
+
+
+uint32_t ThriftHiveMetastore_update_transaction_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o1.read(iprot);
+ this->__isset.o1 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t ThriftHiveMetastore_update_transaction_statistics_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+
+ uint32_t xfer = 0;
+
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_transaction_statistics_result");
+
+ if (this->__isset.o1) {
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->o1.write(oprot);
+ xfer += oprot->writeFieldEnd();
+ }
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+
+ThriftHiveMetastore_update_transaction_statistics_presult::~ThriftHiveMetastore_update_transaction_statistics_presult() noexcept {
+}
+
+
+uint32_t ThriftHiveMetastore_update_transaction_statistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o1.read(iprot);
+ this->__isset.o1 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+
ThriftHiveMetastore_get_table_column_statistics_args::~ThriftHiveMetastore_get_table_column_statistics_args() noexcept {
}
@@ -35770,14 +35941,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2317;
- ::apache::thrift::protocol::TType _etype2320;
- xfer += iprot->readListBegin(_etype2320, _size2317);
- this->success.resize(_size2317);
- uint32_t _i2321;
- for (_i2321 = 0; _i2321 < _size2317; ++_i2321)
+ uint32_t _size2321;
+ ::apache::thrift::protocol::TType _etype2324;
+ xfer += iprot->readListBegin(_etype2324, _size2321);
+ this->success.resize(_size2321);
+ uint32_t _i2325;
+ for (_i2325 = 0; _i2325 < _size2321; ++_i2325)
{
- xfer += iprot->readString(this->success[_i2321]);
+ xfer += iprot->readString(this->success[_i2325]);
}
xfer += iprot->readListEnd();
}
@@ -35816,10 +35987,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2322;
- for (_iter2322 = this->success.begin(); _iter2322 != this->success.end(); ++_iter2322)
+ std::vector<std::string> ::const_iterator _iter2326;
+ for (_iter2326 = this->success.begin(); _iter2326 != this->success.end(); ++_iter2326)
{
- xfer += oprot->writeString((*_iter2322));
+ xfer += oprot->writeString((*_iter2326));
}
xfer += oprot->writeListEnd();
}
@@ -35864,14 +36035,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2323;
- ::apache::thrift::protocol::TType _etype2326;
- xfer += iprot->readListBegin(_etype2326, _size2323);
- (*(this->success)).resize(_size2323);
- uint32_t _i2327;
- for (_i2327 = 0; _i2327 < _size2323; ++_i2327)
+ uint32_t _size2327;
+ ::apache::thrift::protocol::TType _etype2330;
+ xfer += iprot->readListBegin(_etype2330, _size2327);
+ (*(this->success)).resize(_size2327);
+ uint32_t _i2331;
+ for (_i2331 = 0; _i2331 < _size2327; ++_i2331)
{
- xfer += iprot->readString((*(this->success))[_i2327]);
+ xfer += iprot->readString((*(this->success))[_i2331]);
}
xfer += iprot->readListEnd();
}
@@ -36831,14 +37002,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2328;
- ::apache::thrift::protocol::TType _etype2331;
- xfer += iprot->readListBegin(_etype2331, _size2328);
- this->success.resize(_size2328);
- uint32_t _i2332;
- for (_i2332 = 0; _i2332 < _size2328; ++_i2332)
+ uint32_t _size2332;
+ ::apache::thrift::protocol::TType _etype2335;
+ xfer += iprot->readListBegin(_etype2335, _size2332);
+ this->success.resize(_size2332);
+ uint32_t _i2336;
+ for (_i2336 = 0; _i2336 < _size2332; ++_i2336)
{
- xfer += iprot->readString(this->success[_i2332]);
+ xfer += iprot->readString(this->success[_i2336]);
}
xfer += iprot->readListEnd();
}
@@ -36877,10 +37048,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2333;
- for (_iter2333 = this->success.begin(); _iter2333 != this->success.end(); ++_iter2333)
+ std::vector<std::string> ::const_iterator _iter2337;
+ for (_iter2337 = this->success.begin(); _iter2337 != this->success.end(); ++_iter2337)
{
- xfer += oprot->writeString((*_iter2333));
+ xfer += oprot->writeString((*_iter2337));
}
xfer += oprot->writeListEnd();
}
@@ -36925,14 +37096,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2334;
- ::apache::thrift::protocol::TType _etype2337;
- xfer += iprot->readListBegin(_etype2337, _size2334);
- (*(this->success)).resize(_size2334);
- uint32_t _i2338;
- for (_i2338 = 0; _i2338 < _size2334; ++_i2338)
+ uint32_t _size2338;
+ ::apache::thrift::protocol::TType _etype2341;
+ xfer += iprot->readListBegin(_etype2341, _size2338);
+ (*(this->success)).resize(_size2338);
+ uint32_t _i2342;
+ for (_i2342 = 0; _i2342 < _size2338; ++_i2342)
{
- xfer += iprot->readString((*(this->success))[_i2338]);
+ xfer += iprot->readString((*(this->success))[_i2342]);
}
xfer += iprot->readListEnd();
}
@@ -37005,9 +37176,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2339;
- xfer += iprot->readI32(ecast2339);
- this->principal_type = (PrincipalType::type)ecast2339;
+ int32_t ecast2343;
+ xfer += iprot->readI32(ecast2343);
+ this->principal_type = (PrincipalType::type)ecast2343;
this->__isset.principal_type = true;
} else {
xfer += iprot->skip(ftype);
@@ -37023,9 +37194,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T
break;
case 5:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2340;
- xfer += iprot->readI32(ecast2340);
- this->grantorType = (PrincipalType::type)ecast2340;
+ int32_t ecast2344;
+ xfer += iprot->readI32(ecast2344);
+ this->grantorType = (PrincipalType::type)ecast2344;
this->__isset.grantorType = true;
} else {
xfer += iprot->skip(ftype);
@@ -37296,9 +37467,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol::
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2341;
- xfer += iprot->readI32(ecast2341);
- this->principal_type = (PrincipalType::type)ecast2341;
+ int32_t ecast2345;
+ xfer += iprot->readI32(ecast2345);
+ this->principal_type = (PrincipalType::type)ecast2345;
this->__isset.principal_type = true;
} else {
xfer += iprot->skip(ftype);
@@ -37529,9 +37700,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2342;
- xfer += iprot->readI32(ecast2342);
- this->principal_type = (PrincipalType::type)ecast2342;
+ int32_t ecast2346;
+ xfer += iprot->readI32(ecast2346);
+ this->principal_type = (PrincipalType::type)ecast2346;
this->__isset.principal_type = true;
} else {
xfer += iprot->skip(ftype);
@@ -37620,14 +37791,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2343;
- ::apache::thrift::protocol::TType _etype2346;
- xfer += iprot->readListBegin(_etype2346, _size2343);
- this->success.resize(_size2343);
- uint32_t _i2347;
- for (_i2347 = 0; _i2347 < _size2343; ++_i2347)
+ uint32_t _size2347;
+ ::apache::thrift::protocol::TType _etype2350;
+ xfer += iprot->readListBegin(_etype2350, _size2347);
+ this->success.resize(_size2347);
+ uint32_t _i2351;
+ for (_i2351 = 0; _i2351 < _size2347; ++_i2351)
{
- xfer += this->success[_i2347].read(iprot);
+ xfer += this->success[_i2351].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -37666,10 +37837,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Role> ::const_iterator _iter2348;
- for (_iter2348 = this->success.begin(); _iter2348 != this->success.end(); ++_iter2348)
+ std::vector<Role> ::const_iterator _iter2352;
+ for (_iter2352 = this->success.begin(); _iter2352 != this->success.end(); ++_iter2352)
{
- xfer += (*_iter2348).write(oprot);
+ xfer += (*_iter2352).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -37714,14 +37885,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2349;
- ::apache::thrift::protocol::TType _etype2352;
- xfer += iprot->readListBegin(_etype2352, _size2349);
- (*(this->success)).resize(_size2349);
- uint32_t _i2353;
- for (_i2353 = 0; _i2353 < _size2349; ++_i2353)
+ uint32_t _size2353;
+ ::apache::thrift::protocol::TType _etype2356;
+ xfer += iprot->readListBegin(_etype2356, _size2353);
+ (*(this->success)).resize(_size2353);
+ uint32_t _i2357;
+ for (_i2357 = 0; _i2357 < _size2353; ++_i2357)
{
- xfer += (*(this->success))[_i2353].read(iprot);
+ xfer += (*(this->success))[_i2357].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -38417,14 +38588,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->group_names.clear();
- uint32_t _size2354;
- ::apache::thrift::protocol::TType _etype2357;
- xfer += iprot->readListBegin(_etype2357, _size2354);
- this->group_names.resize(_size2354);
- uint32_t _i2358;
- for (_i2358 = 0; _i2358 < _size2354; ++_i2358)
+ uint32_t _size2358;
+ ::apache::thrift::protocol::TType _etype2361;
+ xfer += iprot->readListBegin(_etype2361, _size2358);
+ this->group_names.resize(_size2358);
+ uint32_t _i2362;
+ for (_i2362 = 0; _i2362 < _size2358; ++_i2362)
{
- xfer += iprot->readString(this->group_names[_i2358]);
+ xfer += iprot->readString(this->group_names[_i2362]);
}
xfer += iprot->readListEnd();
}
@@ -38461,10 +38632,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
- std::vector<std::string> ::const_iterator _iter2359;
- for (_iter2359 = this->group_names.begin(); _iter2359 != this->group_names.end(); ++_iter2359)
+ std::vector<std::string> ::const_iterator _iter2363;
+ for (_iter2363 = this->group_names.begin(); _iter2363 != this->group_names.end(); ++_iter2363)
{
- xfer += oprot->writeString((*_iter2359));
+ xfer += oprot->writeString((*_iter2363));
}
xfer += oprot->writeListEnd();
}
@@ -38496,10 +38667,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
- std::vector<std::string> ::const_iterator _iter2360;
- for (_iter2360 = (*(this->group_names)).begin(); _iter2360 != (*(this->group_names)).end(); ++_iter2360)
+ std::vector<std::string> ::const_iterator _iter2364;
+ for (_iter2364 = (*(this->group_names)).begin(); _iter2364 != (*(this->group_names)).end(); ++_iter2364)
{
- xfer += oprot->writeString((*_iter2360));
+ xfer += oprot->writeString((*_iter2364));
}
xfer += oprot->writeListEnd();
}
@@ -38674,9 +38845,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast2361;
- xfer += iprot->readI32(ecast2361);
- this->principal_type = (PrincipalType::type)ecast2361;
+ int32_t ecast2365;
+ xfer += iprot->readI32(ecast2365);
+ this->principal_type = (PrincipalType::type)ecast2365;
this->__isset.principal_type = true;
} else {
xfer += iprot->skip(ftype);
@@ -38781,14 +38952,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2362;
- ::apache::thrift::protocol::TType _etype2365;
- xfer += iprot->readListBegin(_etype2365, _size2362);
- this->success.resize(_size2362);
- uint32_t _i2366;
- for (_i2366 = 0; _i2366 < _size2362; ++_i2366)
+ uint32_t _size2366;
+ ::apache::thrift::protocol::TType _etype2369;
+ xfer += iprot->readListBegin(_etype2369, _size2366);
+ this->success.resize(_size2366);
+ uint32_t _i2370;
+ for (_i2370 = 0; _i2370 < _size2366; ++_i2370)
{
- xfer += this->success[_i2366].read(iprot);
+ xfer += this->success[_i2370].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -38827,10 +38998,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<HiveObjectPrivilege> ::const_iterator _iter2367;
- for (_iter2367 = this->success.begin(); _iter2367 != this->success.end(); ++_iter2367)
+ std::vector<HiveObjectPrivilege> ::const_iterator _iter2371;
+ for (_iter2371 = this->success.begin(); _iter2371 != this->success.end(); ++_iter2371)
{
- xfer += (*_iter2367).write(oprot);
+ xfer += (*_iter2371).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -38875,14 +39046,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2368;
- ::apache::thrift::protocol::TType _etype2371;
- xfer += iprot->readListBegin(_etype2371, _size2368);
- (*(this->success)).resize(_size2368);
- uint32_t _i2372;
- for (_i2372 = 0; _i2372 < _size2368; ++_i2372)
+ uint32_t _size2372;
+ ::apache::thrift::protocol::TType _etype2375;
+ xfer += iprot->readListBegin(_etype2375, _size2372);
+ (*(this->success)).resize(_size2372);
+ uint32_t _i2376;
+ for (_i2376 = 0; _i2376 < _size2372; ++_i2376)
{
- xfer += (*(this->success))[_i2372].read(iprot);
+ xfer += (*(this->success))[_i2376].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -39809,14 +39980,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->group_names.clear();
- uint32_t _size2373;
- ::apache::thrift::protocol::TType _etype2376;
- xfer += iprot->readListBegin(_etype2376, _size2373);
- this->group_names.resize(_size2373);
- uint32_t _i2377;
- for (_i2377 = 0; _i2377 < _size2373; ++_i2377)
+ uint32_t _size2377;
+ ::apache::thrift::protocol::TType _etype2380;
+ xfer += iprot->readListBegin(_etype2380, _size2377);
+ this->group_names.resize(_size2377);
+ uint32_t _i2381;
+ for (_i2381 = 0; _i2381 < _size2377; ++_i2381)
{
- xfer += iprot->readString(this->group_names[_i2377]);
+ xfer += iprot->readString(this->group_names[_i2381]);
}
xfer += iprot->readListEnd();
}
@@ -39849,10 +40020,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
- std::vector<std::string> ::const_iterator _iter2378;
- for (_iter2378 = this->group_names.begin(); _iter2378 != this->group_names.end(); ++_iter2378)
+ std::vector<std::string> ::const_iterator _iter2382;
+ for (_iter2382 = this->group_names.begin(); _iter2382 != this->group_names.end(); ++_iter2382)
{
- xfer += oprot->writeString((*_iter2378));
+ xfer += oprot->writeString((*_iter2382));
}
xfer += oprot->writeListEnd();
}
@@ -39880,10 +40051,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
- std::vector<std::string> ::const_iterator _iter2379;
- for (_iter2379 = (*(this->group_names)).begin(); _iter2379 != (*(this->group_names)).end(); ++_iter2379)
+ std::vector<std::string> ::const_iterator _iter2383;
+ for (_iter2383 = (*(this->group_names)).begin(); _iter2383 != (*(this->group_names)).end(); ++_iter2383)
{
- xfer += oprot->writeString((*_iter2379));
+ xfer += oprot->writeString((*_iter2383));
}
xfer += oprot->writeListEnd();
}
@@ -39924,14 +40095,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2380;
- ::apache::thrift::protocol::TType _etype2383;
- xfer += iprot->readListBegin(_etype2383, _size2380);
- this->success.resize(_size2380);
- uint32_t _i2384;
- for (_i2384 = 0; _i2384 < _size2380; ++_i2384)
+ uint32_t _size2384;
+ ::apache::thrift::protocol::TType _etype2387;
+ xfer += iprot->readListBegin(_etype2387, _size2384);
+ this->success.resize(_size2384);
+ uint32_t _i2388;
+ for (_i2388 = 0; _i2388 < _size2384; ++_i2388)
{
- xfer += iprot->readString(this->success[_i2384]);
+ xfer += iprot->readString(this->success[_i2388]);
}
xfer += iprot->readListEnd();
}
@@ -39970,10 +40141,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2385;
- for (_iter2385 = this->success.begin(); _iter2385 != this->success.end(); ++_iter2385)
+ std::vector<std::string> ::const_iterator _iter2389;
+ for (_iter2389 = this->success.begin(); _iter2389 != this->success.end(); ++_iter2389)
{
- xfer += oprot->writeString((*_iter2385));
+ xfer += oprot->writeString((*_iter2389));
}
xfer += oprot->writeListEnd();
}
@@ -40018,14 +40189,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2386;
- ::apache::thrift::protocol::TType _etype2389;
- xfer += iprot->readListBegin(_etype2389, _size2386);
- (*(this->success)).resize(_size2386);
- uint32_t _i2390;
- for (_i2390 = 0; _i2390 < _size2386; ++_i2390)
+ uint32_t _size2390;
+ ::apache::thrift::protocol::TType _etype2393;
+ xfer += iprot->readListBegin(_etype2393, _size2390);
+ (*(this->success)).resize(_size2390);
+ uint32_t _i2394;
+ for (_i2394 = 0; _i2394 < _size2390; ++_i2394)
{
- xfer += iprot->readString((*(this->success))[_i2390]);
+ xfer += iprot->readString((*(this->success))[_i2394]);
}
xfer += iprot->readListEnd();
}
@@ -41336,14 +41507,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2391;
- ::apache::thrift::protocol::TType _etype2394;
- xfer += iprot->readListBegin(_etype2394, _size2391);
- this->success.resize(_size2391);
- uint32_t _i2395;
- for (_i2395 = 0; _i2395 < _size2391; ++_i2395)
+ uint32_t _size2395;
+ ::apache::thrift::protocol::TType _etype2398;
+ xfer += iprot->readListBegin(_etype2398, _size2395);
+ this->success.resize(_size2395);
+ uint32_t _i2399;
+ for (_i2399 = 0; _i2399 < _size2395; ++_i2399)
{
- xfer += iprot->readString(this->success[_i2395]);
+ xfer += iprot->readString(this->success[_i2399]);
}
xfer += iprot->readListEnd();
}
@@ -41374,10 +41545,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_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 _iter2396;
- for (_iter2396 = this->success.begin(); _iter2396 != this->success.end(); ++_iter2396)
+ std::vector<std::string> ::const_iterator _iter2400;
+ for (_iter2400 = this->success.begin(); _iter2400 != this->success.end(); ++_iter2400)
{
- xfer += oprot->writeString((*_iter2396));
+ xfer += oprot->writeString((*_iter2400));
}
xfer += oprot->writeListEnd();
}
@@ -41418,14 +41589,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2397;
- ::apache::thrift::protocol::TType _etype2400;
- xfer += iprot->readListBegin(_etype2400, _size2397);
- (*(this->success)).resize(_size2397);
- uint32_t _i2401;
- for (_i2401 = 0; _i2401 < _size2397; ++_i2401)
+ uint32_t _size2401;
+ ::apache::thrift::protocol::TType _etype2404;
+ xfer += iprot->readListBegin(_etype2404, _size2401);
+ (*(this->success)).resize(_size2401);
+ uint32_t _i2405;
+ for (_i2405 = 0; _i2405 < _size2401; ++_i2405)
{
- xfer += iprot->readString((*(this->success))[_i2401]);
+ xfer += iprot->readString((*(this->success))[_i2405]);
}
xfer += iprot->readListEnd();
}
@@ -42151,14 +42322,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2402;
- ::apache::thrift::protocol::TType _etype2405;
- xfer += iprot->readListBegin(_etype2405, _size2402);
- this->success.resize(_size2402);
- uint32_t _i2406;
- for (_i2406 = 0; _i2406 < _size2402; ++_i2406)
+ uint32_t _size2406;
+ ::apache::thrift::protocol::TType _etype2409;
+ xfer += iprot->readListBegin(_etype2409, _size2406);
+ this->success.resize(_size2406);
+ uint32_t _i2410;
+ for (_i2410 = 0; _i2410 < _size2406; ++_i2410)
{
- xfer += iprot->readString(this->success[_i2406]);
+ xfer += iprot->readString(this->success[_i2410]);
}
xfer += iprot->readListEnd();
}
@@ -42189,10 +42360,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter2407;
- for (_iter2407 = this->success.begin(); _iter2407 != this->success.end(); ++_iter2407)
+ std::vector<std::string> ::const_iterator _iter2411;
+ for (_iter2411 = this->success.begin(); _iter2411 != this->success.end(); ++_iter2411)
{
- xfer += oprot->writeString((*_iter2407));
+ xfer += oprot->writeString((*_iter2411));
}
xfer += oprot->writeListEnd();
}
@@ -42233,14 +42404,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2408;
- ::apache::thrift::protocol::TType _etype2411;
- xfer += iprot->readListBegin(_etype2411, _size2408);
- (*(this->success)).resize(_size2408);
- uint32_t _i2412;
- for (_i2412 = 0; _i2412 < _size2408; ++_i2412)
+ uint32_t _size2412;
+ ::apache::thrift::protocol::TType _etype2415;
+ xfer += iprot->readListBegin(_etype2415, _size2412);
+ (*(this->success)).resize(_size2412);
+ uint32_t _i2416;
+ for (_i2416 = 0; _i2416 < _size2412; ++_i2416)
{
- xfer += iprot->readString((*(this->success))[_i2412]);
+ xfer += iprot->readString((*(this->success))[_i2416]);
}
xfer += iprot->readListEnd();
}
@@ -47493,14 +47664,14 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_result::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2413;
- ::apache::thrift::protocol::TType _etype2416;
- xfer += iprot->readListBegin(_etype2416, _size2413);
- this->success.resize(_size2413);
- uint32_t _i2417;
- for (_i2417 = 0; _i2417 < _size2413; ++_i2417)
+ uint32_t _size2417;
+ ::apache::thrift::protocol::TType _etype2420;
+ xfer += iprot->readListBegin(_etype2420, _size2417);
+ this->success.resize(_size2417);
+ uint32_t _i2421;
+ for (_i2421 = 0; _i2421 < _size2417; ++_i2421)
{
- xfer += iprot->readString(this->success[_i2417]);
+ xfer += iprot->readString(this->success[_i2421]);
}
xfer += iprot->readListEnd();
}
@@ -47531,10 +47702,10 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_result::write(::apache::thr
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 _iter2418;
- for (_iter2418 = this->success.begin(); _iter2418 != this->success.end(); ++_iter2418)
+ std::vector<std::string> ::const_iterator _iter2422;
+ for (_iter2422 = this->success.begin(); _iter2422 != this->success.end(); ++_iter2422)
{
- xfer += oprot->writeString((*_iter2418));
+ xfer += oprot->writeString((*_iter2422));
}
xfer += oprot->writeListEnd();
}
@@ -47575,14 +47746,14 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_presult::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2419;
- ::apache::thrift::protocol::TType _etype2422;
- xfer += iprot->readListBegin(_etype2422, _size2419);
- (*(this->success)).resize(_size2419);
- uint32_t _i2423;
- for (_i2423 = 0; _i2423 < _size2419; ++_i2423)
+ uint32_t _size2423;
+ ::apache::thrift::protocol::TType _etype2426;
+ xfer += iprot->readListBegin(_etype2426, _size2423);
+ (*(this->success)).resize(_size2423);
+ uint32_t _i2427;
+ for (_i2427 = 0; _i2427 < _size2423; ++_i2427)
{
- xfer += iprot->readString((*(this->success))[_i2423]);
+ xfer += iprot->readString((*(this->success))[_i2427]);
}
xfer += iprot->readListEnd();
}
@@ -56924,14 +57095,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2424;
- ::apache::thrift::protocol::TType _etype2427;
- xfer += iprot->readListBegin(_etype2427, _size2424);
- this->success.resize(_size2424);
- uint32_t _i2428;
- for (_i2428 = 0; _i2428 < _size2424; ++_i2428)
+ uint32_t _size2428;
+ ::apache::thrift::protocol::TType _etype2431;
+ xfer += iprot->readListBegin(_etype2431, _size2428);
+ this->success.resize(_size2428);
+ uint32_t _i2432;
+ for (_i2432 = 0; _i2432 < _size2428; ++_i2432)
{
- xfer += this->success[_i2428].read(iprot);
+ xfer += this->success[_i2432].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -56978,10 +57149,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::write(::apache::thr
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<SchemaVersion> ::const_iterator _iter2429;
- for (_iter2429 = this->success.begin(); _iter2429 != this->success.end(); ++_iter2429)
+ std::vector<SchemaVersion> ::const_iterator _iter2433;
+ for (_iter2433 = this->success.begin(); _iter2433 != this->success.end(); ++_iter2433)
{
- xfer += (*_iter2429).write(oprot);
+ xfer += (*_iter2433).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -57030,14 +57201,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2430;
- ::apache::thrift::protocol::TType _etype2433;
- xfer += iprot->readListBegin(_etype2433, _size2430);
- (*(this->success)).resize(_size2430);
- uint32_t _i2434;
- for (_i2434 = 0; _i2434 < _size2430; ++_i2434)
+ uint32_t _size2434;
+ ::apache::thrift::protocol::TType _etype2437;
+ xfer += iprot->readListBegin(_etype2437, _size2434);
+ (*(this->success)).resize(_size2434);
+ uint32_t _i2438;
+ for (_i2438 = 0; _i2438 < _size2434; ++_i2438)
{
- xfer += (*(this->success))[_i2434].read(iprot);
+ xfer += (*(this->success))[_i2438].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -59090,14 +59261,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2435;
- ::apache::thrift::protocol::TType _etype2438;
- xfer += iprot->readListBegin(_etype2438, _size2435);
- this->success.resize(_size2435);
- uint32_t _i2439;
- for (_i2439 = 0; _i2439 < _size2435; ++_i2439)
+ uint32_t _size2439;
+ ::apache::thrift::protocol::TType _etype2442;
+ xfer += iprot->readListBegin(_etype2442, _size2439);
+ this->success.resize(_size2439);
+ uint32_t _i2443;
+ for (_i2443 = 0; _i2443 < _size2439; ++_i2443)
{
- xfer += this->success[_i2439].read(iprot);
+ xfer += this->success[_i2443].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -59136,10 +59307,10 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::write(::apache::thrift::p
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<RuntimeStat> ::const_iterator _iter2440;
- for (_iter2440 = this->success.begin(); _iter2440 != this->success.end(); ++_iter2440)
+ std::vector<RuntimeStat> ::const_iterator _iter2444;
+ for (_iter2444 = this->success.begin(); _iter2444 != this->success.end(); ++_iter2444)
{
- xfer += (*_iter2440).write(oprot);
+ xfer += (*_iter2444).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -59184,14 +59355,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2441;
- ::apache::thrift::protocol::TType _etype2444;
- xfer += iprot->readListBegin(_etype2444, _size2441);
- (*(this->success)).resize(_size2441);
- uint32_t _i2445;
- for (_i2445 = 0; _i2445 < _size2441; ++_i2445)
+ uint32_t _size2445;
+ ::apache::thrift::protocol::TType _etype2448;
+ xfer += iprot->readListBegin(_etype2448, _size2445);
+ (*(this->success)).resize(_size2445);
+ uint32_t _i2449;
+ for (_i2449 = 0; _i2449 < _size2445; ++_i2449)
{
- xfer += (*(this->success))[_i2445].read(iprot);
+ xfer += (*(this->success))[_i2449].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -61626,14 +61797,14 @@ uint32_t ThriftHiveMetastore_get_all_stored_procedures_result::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2446;
- ::apache::thrift::protocol::TType _etype2449;
- xfer += iprot->readListBegin(_etype2449, _size2446);
- this->success.resize(_size2446);
- uint32_t _i2450;
- for (_i2450 = 0; _i2450 < _size2446; ++_i2450)
+ uint32_t _size2450;
+ ::apache::thrift::protocol::TType _etype2453;
+ xfer += iprot->readListBegin(_etype2453, _size2450);
+ this->success.resize(_size2450);
+ uint32_t _i2454;
+ for (_i2454 = 0; _i2454 < _size2450; ++_i2454)
{
- xfer += iprot->readString(this->success[_i2450]);
+ xfer += iprot->readString(this->success[_i2454]);
}
xfer += iprot->readListEnd();
}
@@ -61672,10 +61843,10 @@ uint32_t ThriftHiveMetastore_get_all_stored_procedures_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 _iter2451;
- for (_iter2451 = this->success.begin(); _iter2451 != this->success.end(); ++_iter2451)
+ std::vector<std::string> ::const_iterator _iter2455;
+ for (_iter2455 = this->success.begin(); _iter2455 != this->success.end(); ++_iter2455)
{
- xfer += oprot->writeString((*_iter2451));
+ xfer += oprot->writeString((*_iter2455));
}
xfer += oprot->writeListEnd();
}
@@ -61720,14 +61891,14 @@ uint32_t ThriftHiveMetastore_get_all_stored_procedures_presult::read(::apache::t
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2452;
- ::apache::thrift::protocol::TType _etype2455;
- xfer += iprot->readListBegin(_etype2455, _size2452);
- (*(this->success)).resize(_size2452);
- uint32_t _i2456;
- for (_i2456 = 0; _i2456 < _size2452; ++_i2456)
+ uint32_t _size2456;
+ ::apache::thrift::protocol::TType _etype2459;
+ xfer += iprot->readListBegin(_etype2459, _size2456);
+ (*(this->success)).resize(_size2456);
+ uint32_t _i2460;
+ for (_i2460 = 0; _i2460 < _size2456; ++_i2460)
{
- xfer += iprot->readString((*(this->success))[_i2456]);
+ xfer += iprot->readString((*(this->success))[_i2460]);
}
xfer += iprot->readListEnd();
}
@@ -62279,14 +62450,14 @@ uint32_t ThriftHiveMetastore_get_all_packages_result::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2457;
- ::apache::thrift::protocol::TType _etype2460;
- xfer += iprot->readListBegin(_etype2460, _size2457);
- this->success.resize(_size2457);
- uint32_t _i2461;
- for (_i2461 = 0; _i2461 < _size2457; ++_i2461)
+ uint32_t _size2461;
+ ::apache::thrift::protocol::TType _etype2464;
+ xfer += iprot->readListBegin(_etype2464, _size2461);
+ this->success.resize(_size2461);
+ uint32_t _i2465;
+ for (_i2465 = 0; _i2465 < _size2461; ++_i2465)
{
- xfer += iprot->readString(this->success[_i2461]);
+ xfer += iprot->readString(this->success[_i2465]);
}
xfer += iprot->readListEnd();
}
@@ -62325,10 +62496,10 @@ uint32_t ThriftHiveMetastore_get_all_packages_result::write(::apache::thrift::pr
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 _iter2462;
- for (_iter2462 = this->success.begin(); _iter2462 != this->success.end(); ++_iter2462)
+ std::vector<std::string> ::const_iterator _iter2466;
+ for (_iter2466 = this->success.begin(); _iter2466 != this->success.end(); ++_iter2466)
{
- xfer += oprot->writeString((*_iter2462));
+ xfer += oprot->writeString((*_iter2466));
}
xfer += oprot->writeListEnd();
}
@@ -62373,14 +62544,14 @@ uint32_t ThriftHiveMetastore_get_all_packages_presult::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2463;
- ::apache::thrift::protocol::TType _etype2466;
- xfer += iprot->readListBegin(_etype2466, _size2463);
- (*(this->success)).resize(_size2463);
- uint32_t _i2467;
- for (_i2467 = 0; _i2467 < _size2463; ++_i2467)
+ uint32_t _size2467;
+ ::apache::thrift::protocol::TType _etype2470;
+ xfer += iprot->readListBegin(_etype2470, _size2467);
+ (*(this->success)).resize(_size2467);
+ uint32_t _i2471;
+ for (_i2471 = 0; _i2471 < _size2467; ++_i2471)
{
- xfer += iprot->readString((*(this->success))[_i2467]);
+ xfer += iprot->readString((*(this->success))[_i2471]);
}
xfer += iprot->readListEnd();
}
@@ -62705,14 +62876,14 @@ uint32_t ThriftHiveMetastore_get_all_write_event_info_result::read(::apache::thr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size2468;
- ::apache::thrift::protocol::TType _etype2471;
- xfer += iprot->readListBegin(_etype2471, _size2468);
- this->success.resize(_size2468);
- uint32_t _i2472;
- for (_i2472 = 0; _i2472 < _size2468; ++_i2472)
+ uint32_t _size2472;
+ ::apache::thrift::protocol::TType _etype2475;
+ xfer += iprot->readListBegin(_etype2475, _size2472);
+ this->success.resize(_size2472);
+ uint32_t _i2476;
+ for (_i2476 = 0; _i2476 < _size2472; ++_i2476)
{
- xfer += this->success[_i2472].read(iprot);
+ xfer += this->success[_i2476].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -62751,10 +62922,10 @@ uint32_t ThriftHiveMetastore_get_all_write_event_info_result::write(::apache::th
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<WriteEventInfo> ::const_iterator _iter2473;
- for (_iter2473 = this->success.begin(); _iter2473 != this->success.end(); ++_iter2473)
+ std::vector<WriteEventInfo> ::const_iterator _iter2477;
+ for (_iter2477 = this->success.begin(); _iter2477 != this->success.end(); ++_iter2477)
{
- xfer += (*_iter2473).write(oprot);
+ xfer += (*_iter2477).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -62799,14 +62970,14 @@ uint32_t ThriftHiveMetastore_get_all_write_event_info_presult::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size2474;
- ::apache::thrift::protocol::TType _etype2477;
- xfer += iprot->readListBegin(_etype2477, _size2474);
- (*(this->success)).resize(_size2474);
- uint32_t _i2478;
- for (_i2478 = 0; _i2478 < _size2474; ++_i2478)
+ uint32_t _size2478;
+ ::apache::thrift::protocol::TType _etype2481;
+ xfer += iprot->readListBegin(_etype2481, _size2478);
+ (*(this->success)).resize(_size2478);
+ uint32_t _i2482;
+ for (_i2482 = 0; _i2482 < _size2478; ++_i2482)
{
- xfer += (*(this->success))[_i2478].read(iprot);
+ xfer += (*(this->success))[_i2482].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -66350,20 +66521,19 @@ void ThriftHiveMetastoreClient::recv_get_table_objects_by_name_req(GetTablesResu
throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result");
}
-void ThriftHiveMetastoreClient::get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList)
+void ThriftHiveMetastoreClient::get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata)
{
- send_get_materialization_invalidation_info(creation_metadata, validTxnList);
+ send_get_materialization_invalidation_info(creation_metadata);
recv_get_materialization_invalidation_info(_return);
}
-void ThriftHiveMetastoreClient::send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList)
+void ThriftHiveMetastoreClient::send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata)
{
int32_t cseqid = 0;
oprot_->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_materialization_invalidation_info_pargs args;
args.creation_metadata = &creation_metadata;
- args.validTxnList = &validTxnList;
args.write(oprot_);
oprot_->writeMessageEnd();
@@ -70971,6 +71141,62 @@ void ThriftHiveMetastoreClient::recv_update_partition_column_statistics_req(SetP
throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "update_partition_column_statistics_req failed: unknown result");
}
+void ThriftHiveMetastoreClient::update_transaction_statistics(const UpdateTransactionalStatsRequest& req)
+{
+ send_update_transaction_statistics(req);
+ recv_update_transaction_statistics();
+}
+
+void ThriftHiveMetastoreClient::send_update_transaction_statistics(const UpdateTransactionalStatsRequest& req)
+{
+ int32_t cseqid = 0;
+ oprot_->writeMessageBegin("update_transaction_statistics", ::apache::thrift::protocol::T_CALL, cseqid);
+
+ ThriftHiveMetastore_update_transaction_statistics_pargs args;
+ args.req = &req;
+ args.write(oprot_);
+
+ oprot_->writeMessageEnd();
+ oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
+}
+
+void ThriftHiveMetastoreClient::recv_update_transaction_statistics()
+{
+
+ int32_t rseqid = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TMessageType mtype;
+
+ iprot_->readMessageBegin(fname, mtype, rseqid);
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
+ x.read(iprot_);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+ throw x;
+ }
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+ }
+ if (fname.compare("update_transaction_statistics") != 0) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+ }
+ ThriftHiveMetastore_update_transaction_statistics_presult result;
+ result.read(iprot_);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+
+ if (result.__isset.o1) {
+ throw result.o1;
+ }
+ return;
+}
+
void ThriftHiveMetastoreClient::get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name)
{
send_get_table_column_statistics(db_name, tbl_name, col_name);
@@ -82864,7 +83090,7 @@ void ThriftHiveMetastoreProcessor::process_get_materialization_invalidation_info
ThriftHiveMetastore_get_materialization_invalidation_info_result result;
try {
- iface_->get_materialization_invalidation_info(result.success, args.creation_metadata, args.validTxnList);
+ iface_->get_materialization_invalidation_info(result.success, args.creation_metadata);
result.__isset.success = true;
} catch (MetaException &o1) {
result.o1 = o1;
@@ -87115,6 +87341,62 @@ void ThriftHiveMetastoreProcessor::process_update_partition_column_statistics_re
}
}
+void ThriftHiveMetastoreProcessor::process_update_transaction_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
+{
+ void* ctx = nullptr;
+ if (this->eventHandler_.get() != nullptr) {
+ ctx = this->eventHandler_->getContext("ThriftHiveMetastore.update_transaction_statistics", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.update_transaction_statistics");
+
+ if (this->eventHandler_.get() != nullptr) {
+ this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.update_transaction_statistics");
+ }
+
+ ThriftHiveMetastore_update_transaction_statistics_args args;
+ args.read(iprot);
+ iprot->readMessageEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (this->eventHandler_.get() != nullptr) {
+ this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.update_transaction_statistics", bytes);
+ }
+
+ ThriftHiveMetastore_update_transaction_statistics_result result;
+ try {
+ iface_->update_transaction_statistics(args.req);
+ } catch (MetaException &o1) {
+ result.o1 = o1;
+ result.__isset.o1 = true;
+ } catch (const std::exception& e) {
+ if (this->eventHandler_.get() != nullptr) {
+ this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.update_transaction_statistics");
+ }
+
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("update_transaction_statistics", ::apache::thrift::protocol::T_EXCEPTION, seqid);
+ x.write(oprot);
+ oprot->writeMessageEnd();
+ oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
+ return;
+ }
+
+ if (this->eventHandler_.get() != nullptr) {
+ this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.update_transaction_statistics");
+ }
+
+ oprot->writeMessageBegin("update_transaction_statistics", ::apache::thrift::protocol::T_REPLY, seqid);
+ result.write(oprot);
+ oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
+
+ if (this->eventHandler_.get() != nullptr) {
+ this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.update_transaction_statistics", bytes);
+ }
+}
+
void ThriftHiveMetastoreProcessor::process_get_table_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
void* ctx = nullptr;
@@ -100251,13 +100533,13 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_table_objects_by_name_req(Get
} // end while(true)
}
-void ThriftHiveMetastoreConcurrentClient::get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList)
+void ThriftHiveMetastoreConcurrentClient::get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata)
{
- int32_t seqid = send_get_materialization_invalidation_info(creation_metadata, validTxnList);
+ int32_t seqid = send_get_materialization_invalidation_info(creation_metadata);
recv_get_materialization_invalidation_info(_return, seqid);
}
-int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList)
+int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata)
{
int32_t cseqid = this->sync_->generateSeqId();
::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get());
@@ -100265,7 +100547,6 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidati
ThriftHiveMetastore_get_materialization_invalidation_info_pargs args;
args.creation_metadata = &creation_metadata;
- args.validTxnList = &validTxnList;
args.write(oprot_);
oprot_->writeMessageEnd();
@@ -106850,6 +107131,88 @@ void ThriftHiveMetastoreConcurrentClient::recv_update_partition_column_statistic
} // end while(true)
}
+void ThriftHiveMetastoreConcurrentClient::update_transaction_statistics(const UpdateTransactionalStatsRequest& req)
+{
+ int32_t seqid = send_update_transaction_statistics(req);
+ recv_update_transaction_statistics(seqid);
+}
+
+int32_t ThriftHiveMetastoreConcurrentClient::send_update_transaction_statistics(const UpdateTransactionalStatsRequest& req)
+{
+ int32_t cseqid = this->sync_->generateSeqId();
+ ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get());
+ oprot_->writeMessageBegin("update_transaction_statistics", ::apache::thrift::protocol::T_CALL, cseqid);
+
+ ThriftHiveMetastore_update_transaction_statistics_pargs args;
+ args.req = &req;
+ args.write(oprot_);
+
+ oprot_->writeMessageEnd();
+ oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
+
+ sentry.commit();
+ return cseqid;
+}
+
+void ThriftHiveMetastoreConcurrentClient::recv_update_transaction_statistics(const int32_t seqid)
+{
+
+ int32_t rseqid = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TMessageType mtype;
+
+ // the read mutex gets dropped and reacquired as part of waitForWork()
+ // The destructor of this sentry wakes up other clients
+ ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid);
+
+ while(true) {
+ if(!this->sync_->getPending(fname, mtype, rseqid)) {
+ iprot_->readMessageBegin(fname, mtype, rseqid);
+ }
+ if(seqid == rseqid) {
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
+ x.read(iprot_);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+ sentry.commit();
+ throw x;
+ }
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+ }
+ if (fname.compare("update_transaction_statistics") != 0) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+
+ // in a bad state, don't commit
+ using ::apache::thrift::protocol::TProtocolException;
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ }
+ ThriftHiveMetastore_update_transaction_statistics_presult result;
+ result.read(iprot_);
+ iprot_->readMessageEnd();
+ iprot_->getTransport()->readEnd();
+
+ if (result.__isset.o1) {
+ sentry.commit();
+ throw result.o1;
+ }
+ sentry.commit();
+ return;
+ }
+ // seqid != rseqid
+ this->sync_->updatePending(fname, mtype, rseqid);
+
+ // this will temporarily unlock the readMutex, and let other clients get work done
+ this->sync_->waitForWork(seqid);
+ } // end while(true)
+}
+
void ThriftHiveMetastoreConcurrentClient::get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name)
{
int32_t seqid = send_get_table_column_statistics(db_name, tbl_name, col_name);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
index e6cc474..dd5102d 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
@@ -82,7 +82,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService
virtual void get_tables_ext(std::vector<ExtendedTableInfo> & _return, const GetTablesExtRequest& req) = 0;
virtual void get_table_req(GetTableResult& _return, const GetTableRequest& req) = 0;
virtual void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req) = 0;
- virtual void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) = 0;
+ virtual void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata) = 0;
virtual void update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) = 0;
virtual void get_table_names_by_filter(std::vector<std::string> & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) = 0;
virtual void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) = 0;
@@ -152,6 +152,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService
virtual bool update_partition_column_statistics(const ColumnStatistics& stats_obj) = 0;
virtual void update_table_column_statistics_req(SetPartitionsStatsResponse& _return, const SetPartitionsStatsRequest& req) = 0;
virtual void update_partition_column_statistics_req(SetPartitionsStatsResponse& _return, const SetPartitionsStatsRequest& req) = 0;
+ virtual void update_transaction_statistics(const UpdateTransactionalStatsRequest& req) = 0;
virtual void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) = 0;
virtual void get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) = 0;
virtual void get_table_statistics_req(TableStatsResult& _return, const TableStatsRequest& request) = 0;
@@ -490,7 +491,7 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p
void get_table_objects_by_name_req(GetTablesResult& /* _return */, const GetTablesRequest& /* req */) {
return;
}
- void get_materialization_invalidation_info(Materialization& /* _return */, const CreationMetadata& /* creation_metadata */, const std::string& /* validTxnList */) {
+ void get_materialization_invalidation_info(Materialization& /* _return */, const CreationMetadata& /* creation_metadata */) {
return;
}
void update_creation_metadata(const std::string& /* catName */, const std::string& /* dbname */, const std::string& /* tbl_name */, const CreationMetadata& /* creation_metadata */) {
@@ -711,6 +712,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p
void update_partition_column_statistics_req(SetPartitionsStatsResponse& /* _return */, const SetPartitionsStatsRequest& /* req */) {
return;
}
+ void update_transaction_statistics(const UpdateTransactionalStatsRequest& /* req */) {
+ return;
+ }
void get_table_column_statistics(ColumnStatistics& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* col_name */) {
return;
}
@@ -7921,9 +7925,8 @@ class ThriftHiveMetastore_get_table_objects_by_name_req_presult {
};
typedef struct _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset {
- _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset() : creation_metadata(false), validTxnList(false) {}
+ _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset() : creation_metadata(false) {}
bool creation_metadata :1;
- bool validTxnList :1;
} _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset;
class ThriftHiveMetastore_get_materialization_invalidation_info_args {
@@ -7931,25 +7934,20 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args {
ThriftHiveMetastore_get_materialization_invalidation_info_args(const ThriftHiveMetastore_get_materialization_invalidation_info_args&);
ThriftHiveMetastore_get_materialization_invalidation_info_args& operator=(const ThriftHiveMetastore_get_materialization_invalidation_info_args&);
- ThriftHiveMetastore_get_materialization_invalidation_info_args() : validTxnList() {
+ ThriftHiveMetastore_get_materialization_invalidation_info_args() {
}
virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_args() noexcept;
CreationMetadata creation_metadata;
- std::string validTxnList;
_ThriftHiveMetastore_get_materialization_invalidation_info_args__isset __isset;
void __set_creation_metadata(const CreationMetadata& val);
- void __set_validTxnList(const std::string& val);
-
bool operator == (const ThriftHiveMetastore_get_materialization_invalidation_info_args & rhs) const
{
if (!(creation_metadata == rhs.creation_metadata))
return false;
- if (!(validTxnList == rhs.validTxnList))
- return false;
return true;
}
bool operator != (const ThriftHiveMetastore_get_materialization_invalidation_info_args &rhs) const {
@@ -7970,7 +7968,6 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_pargs {
virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_pargs() noexcept;
const CreationMetadata* creation_metadata;
- const std::string* validTxnList;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -17229,6 +17226,110 @@ class ThriftHiveMetastore_update_partition_column_statistics_req_presult {
};
+typedef struct _ThriftHiveMetastore_update_transaction_statistics_args__isset {
+ _ThriftHiveMetastore_update_transaction_statistics_args__isset() : req(false) {}
+ bool req :1;
+} _ThriftHiveMetastore_update_transaction_statistics_args__isset;
+
+class ThriftHiveMetastore_update_transaction_statistics_args {
+ public:
+
+ ThriftHiveMetastore_update_transaction_statistics_args(const ThriftHiveMetastore_update_transaction_statistics_args&);
+ ThriftHiveMetastore_update_transaction_statistics_args& operator=(const ThriftHiveMetastore_update_transaction_statistics_args&);
+ ThriftHiveMetastore_update_transaction_statistics_args() {
+ }
+
+ virtual ~ThriftHiveMetastore_update_transaction_statistics_args() noexcept;
+ UpdateTransactionalStatsRequest req;
+
+ _ThriftHiveMetastore_update_transaction_statistics_args__isset __isset;
+
+ void __set_req(const UpdateTransactionalStatsRequest& val);
+
+ bool operator == (const ThriftHiveMetastore_update_transaction_statistics_args & rhs) const
+ {
+ if (!(req == rhs.req))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_update_transaction_statistics_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_update_transaction_statistics_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_update_transaction_statistics_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_update_transaction_statistics_pargs() noexcept;
+ const UpdateTransactionalStatsRequest* req;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_update_transaction_statistics_result__isset {
+ _ThriftHiveMetastore_update_transaction_statistics_result__isset() : o1(false) {}
+ bool o1 :1;
+} _ThriftHiveMetastore_update_transaction_statistics_result__isset;
+
+class ThriftHiveMetastore_update_transaction_statistics_result {
+ public:
+
+ ThriftHiveMetastore_update_transaction_statistics_result(const ThriftHiveMetastore_update_transaction_statistics_result&);
+ ThriftHiveMetastore_update_transaction_statistics_result& operator=(const ThriftHiveMetastore_update_transaction_statistics_result&);
+ ThriftHiveMetastore_update_transaction_statistics_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_update_transaction_statistics_result() noexcept;
+ MetaException o1;
+
+ _ThriftHiveMetastore_update_transaction_statistics_result__isset __isset;
+
+ void __set_o1(const MetaException& val);
+
+ bool operator == (const ThriftHiveMetastore_update_transaction_statistics_result & rhs) const
+ {
+ if (!(o1 == rhs.o1))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_update_transaction_statistics_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_update_transaction_statistics_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_update_transaction_statistics_presult__isset {
+ _ThriftHiveMetastore_update_transaction_statistics_presult__isset() : o1(false) {}
+ bool o1 :1;
+} _ThriftHiveMetastore_update_transaction_statistics_presult__isset;
+
+class ThriftHiveMetastore_update_transaction_statistics_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_update_transaction_statistics_presult() noexcept;
+ MetaException o1;
+
+ _ThriftHiveMetastore_update_transaction_statistics_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
typedef struct _ThriftHiveMetastore_get_table_column_statistics_args__isset {
_ThriftHiveMetastore_get_table_column_statistics_args__isset() : db_name(false), tbl_name(false), col_name(false) {}
bool db_name :1;
@@ -33321,8 +33422,8 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public
void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req);
void send_get_table_objects_by_name_req(const GetTablesRequest& req);
void recv_get_table_objects_by_name_req(GetTablesResult& _return);
- void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList);
- void send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList);
+ void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata);
+ void send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata);
void recv_get_materialization_invalidation_info(Materialization& _return);
void update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata);
void send_update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata);
@@ -33531,6 +33632,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public
void update_partition_column_statistics_req(SetPartitionsStatsResponse& _return, const SetPartitionsStatsRequest& req);
void send_update_partition_column_statistics_req(const SetPartitionsStatsRequest& req);
void recv_update_partition_column_statistics_req(SetPartitionsStatsResponse& _return);
+ void update_transaction_statistics(const UpdateTransactionalStatsRequest& req);
+ void send_update_transaction_statistics(const UpdateTransactionalStatsRequest& req);
+ void recv_update_transaction_statistics();
void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
void send_get_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
void recv_get_table_column_statistics(ColumnStatistics& _return);
@@ -34084,6 +34188,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP
void process_update_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_update_table_column_statistics_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_update_partition_column_statistics_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_update_transaction_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_get_table_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_get_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_get_table_statistics_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
@@ -34353,6 +34458,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP
processMap_["update_partition_column_statistics"] = &ThriftHiveMetastoreProcessor::process_update_partition_column_statistics;
processMap_["update_table_column_statistics_req"] = &ThriftHiveMetastoreProcessor::process_update_table_column_statistics_req;
processMap_["update_partition_column_statistics_req"] = &ThriftHiveMetastoreProcessor::process_update_partition_column_statistics_req;
+ processMap_["update_transaction_statistics"] = &ThriftHiveMetastoreProcessor::process_update_transaction_statistics;
processMap_["get_table_column_statistics"] = &ThriftHiveMetastoreProcessor::process_get_table_column_statistics;
processMap_["get_partition_column_statistics"] = &ThriftHiveMetastoreProcessor::process_get_partition_column_statistics;
processMap_["get_table_statistics_req"] = &ThriftHiveMetastoreProcessor::process_get_table_statistics_req;
@@ -35059,13 +35165,13 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
return;
}
- void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) {
+ void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata) {
size_t sz = ifaces_.size();
size_t i = 0;
for (; i < (sz - 1); ++i) {
- ifaces_[i]->get_materialization_invalidation_info(_return, creation_metadata, validTxnList);
+ ifaces_[i]->get_materialization_invalidation_info(_return, creation_metadata);
}
- ifaces_[i]->get_materialization_invalidation_info(_return, creation_metadata, validTxnList);
+ ifaces_[i]->get_materialization_invalidation_info(_return, creation_metadata);
return;
}
@@ -35738,6 +35844,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
return;
}
+ void update_transaction_statistics(const UpdateTransactionalStatsRequest& req) {
+ size_t sz = ifaces_.size();
+ size_t i = 0;
+ for (; i < (sz - 1); ++i) {
+ ifaces_[i]->update_transaction_statistics(req);
+ }
+ ifaces_[i]->update_transaction_statistics(req);
+ }
+
void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) {
size_t sz = ifaces_.size();
size_t i = 0;
@@ -37259,8 +37374,8 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf
void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req);
int32_t send_get_table_objects_by_name_req(const GetTablesRequest& req);
void recv_get_table_objects_by_name_req(GetTablesResult& _return, const int32_t seqid);
- void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList);
- int32_t send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList);
+ void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata);
+ int32_t send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata);
void recv_get_materialization_invalidation_info(Materialization& _return, const int32_t seqid);
void update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata);
int32_t send_update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata);
@@ -37469,6 +37584,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf
void update_partition_column_statistics_req(SetPartitionsStatsResponse& _return, const SetPartitionsStatsRequest& req);
int32_t send_update_partition_column_statistics_req(const SetPartitionsStatsRequest& req);
void recv_update_partition_column_statistics_req(SetPartitionsStatsResponse& _return, const int32_t seqid);
+ void update_transaction_statistics(const UpdateTransactionalStatsRequest& req);
+ int32_t send_update_transaction_statistics(const UpdateTransactionalStatsRequest& req);
+ void recv_update_transaction_statistics(const int32_t seqid);
void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
int32_t send_get_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
void recv_get_table_column_statistics(ColumnStatistics& _return, const int32_t seqid);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
index 8169a9f..be1c32d 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
@@ -300,7 +300,7 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf {
printf("get_table_objects_by_name_req\n");
}
- void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) {
+ void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata) {
// Your implementation goes here
printf("get_materialization_invalidation_info\n");
}
@@ -650,6 +650,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf {
printf("update_partition_column_statistics_req\n");
}
+ void update_transaction_statistics(const UpdateTransactionalStatsRequest& req) {
+ // Your implementation goes here
+ printf("update_transaction_statistics\n");
+ }
+
void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) {
// Your implementation goes here
printf("get_table_column_statistics\n");
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
index a2b2652..0b50045 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
@@ -8053,6 +8053,167 @@ void StorageDescriptor::printTo(std::ostream& out) const {
}
+SourceTable::~SourceTable() noexcept {
+}
+
+
+void SourceTable::__set_table(const Table& val) {
+ this->table = val;
+}
+
+void SourceTable::__set_insertedCount(const int64_t val) {
+ this->insertedCount = val;
+}
+
+void SourceTable::__set_updatedCount(const int64_t val) {
+ this->updatedCount = val;
+}
+
+void SourceTable::__set_deletedCount(const int64_t val) {
+ this->deletedCount = val;
+}
+std::ostream& operator<<(std::ostream& out, const SourceTable& obj)
+{
+ obj.printTo(out);
+ return out;
+}
+
+
+uint32_t SourceTable::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+ bool isset_table = false;
+ bool isset_insertedCount = false;
+ bool isset_updatedCount = false;
+ bool isset_deletedCount = false;
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->table.read(iprot);
+ isset_table = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_I64) {
+ xfer += iprot->readI64(this->insertedCount);
+ isset_insertedCount = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_I64) {
+ xfer += iprot->readI64(this->updatedCount);
+ isset_updatedCount = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 4:
+ if (ftype == ::apache::thrift::protocol::T_I64) {
+ xfer += iprot->readI64(this->deletedCount);
+ isset_deletedCount = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ if (!isset_table)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_insertedCount)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_updatedCount)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_deletedCount)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ return xfer;
+}
+
+uint32_t SourceTable::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ xfer += oprot->writeStructBegin("SourceTable");
+
+ xfer += oprot->writeFieldBegin("table", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->table.write(oprot);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("insertedCount", ::apache::thrift::protocol::T_I64, 2);
+ xfer += oprot->writeI64(this->insertedCount);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("updatedCount", ::apache::thrift::protocol::T_I64, 3);
+ xfer += oprot->writeI64(this->updatedCount);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("deletedCount", ::apache::thrift::protocol::T_I64, 4);
+ xfer += oprot->writeI64(this->deletedCount);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+void swap(SourceTable &a, SourceTable &b) {
+ using ::std::swap;
+ swap(a.table, b.table);
+ swap(a.insertedCount, b.insertedCount);
+ swap(a.updatedCount, b.updatedCount);
+ swap(a.deletedCount, b.deletedCount);
+}
+
+SourceTable::SourceTable(const SourceTable& other295) {
+ table = other295.table;
+ insertedCount = other295.insertedCount;
+ updatedCount = other295.updatedCount;
+ deletedCount = other295.deletedCount;
+}
+SourceTable& SourceTable::operator=(const SourceTable& other296) {
+ table = other296.table;
+ insertedCount = other296.insertedCount;
+ updatedCount = other296.updatedCount;
+ deletedCount = other296.deletedCount;
+ return *this;
+}
+void SourceTable::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
+ out << "SourceTable(";
+ out << "table=" << to_string(table);
+ out << ", " << "insertedCount=" << to_string(insertedCount);
+ out << ", " << "updatedCount=" << to_string(updatedCount);
+ out << ", " << "deletedCount=" << to_string(deletedCount);
+ out << ")";
+}
+
+
CreationMetadata::~CreationMetadata() noexcept {
}
@@ -8069,7 +8230,7 @@ void CreationMetadata::__set_tblName(const std::string& val) {
this->tblName = val;
}
-void CreationMetadata::__set_tablesUsed(const std::set<std::string> & val) {
+void CreationMetadata::__set_tablesUsed(const std::set<SourceTable> & val) {
this->tablesUsed = val;
}
@@ -8142,15 +8303,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_SET) {
{
this->tablesUsed.clear();
- uint32_t _size295;
- ::apache::thrift::protocol::TType _etype298;
- xfer += iprot->readSetBegin(_etype298, _size295);
- uint32_t _i299;
- for (_i299 = 0; _i299 < _size295; ++_i299)
+ uint32_t _size297;
+ ::apache::thrift::protocol::TType _etype300;
+ xfer += iprot->readSetBegin(_etype300, _size297);
+ uint32_t _i301;
+ for (_i301 = 0; _i301 < _size297; ++_i301)
{
- std::string _elem300;
- xfer += iprot->readString(_elem300);
- this->tablesUsed.insert(_elem300);
+ SourceTable _elem302;
+ xfer += _elem302.read(iprot);
+ this->tablesUsed.insert(_elem302);
}
xfer += iprot->readSetEnd();
}
@@ -8214,11 +8375,11 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 4);
{
- xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->tablesUsed.size()));
- std::set<std::string> ::const_iterator _iter301;
- for (_iter301 = this->tablesUsed.begin(); _iter301 != this->tablesUsed.end(); ++_iter301)
+ xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->tablesUsed.size()));
+ std::set<SourceTable> ::const_iterator _iter303;
+ for (_iter303 = this->tablesUsed.begin(); _iter303 != this->tablesUsed.end(); ++_iter303)
{
- xfer += oprot->writeString((*_iter301));
+ xfer += (*_iter303).write(oprot);
}
xfer += oprot->writeSetEnd();
}
@@ -8250,23 +8411,23 @@ void swap(CreationMetadata &a, CreationMetadata &b) {
swap(a.__isset, b.__isset);
}
-CreationMetadata::CreationMetadata(const CreationMetadata& other302) {
- catName = other302.catName;
- dbName = other302.dbName;
- tblName = other302.tblName;
- tablesUsed = other302.tablesUsed;
- validTxnList = other302.validTxnList;
- materializationTime = other302.materializationTime;
- __isset = other302.__isset;
+CreationMetadata::CreationMetadata(const CreationMetadata& other304) {
+ catName = other304.catName;
+ dbName = other304.dbName;
+ tblName = other304.tblName;
+ tablesUsed = other304.tablesUsed;
+ validTxnList = other304.validTxnList;
+ materializationTime = other304.materializationTime;
+ __isset = other304.__isset;
}
-CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other303) {
- catName = other303.catName;
- dbName = other303.dbName;
- tblName = other303.tblName;
- tablesUsed = other303.tablesUsed;
- validTxnList = other303.validTxnList;
- materializationTime = other303.materializationTime;
- __isset = other303.__isset;
+CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other305) {
+ catName = other305.catName;
+ dbName = other305.dbName;
+ tblName = other305.tblName;
+ tablesUsed = other305.tablesUsed;
+ validTxnList = other305.validTxnList;
+ materializationTime = other305.materializationTime;
+ __isset = other305.__isset;
return *this;
}
void CreationMetadata::printTo(std::ostream& out) const {
@@ -8419,19 +8580,19 @@ void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other304) {
- numTrues = other304.numTrues;
- numFalses = other304.numFalses;
- numNulls = other304.numNulls;
- bitVectors = other304.bitVectors;
- __isset = other304.__isset;
+BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other306) {
+ numTrues = other306.numTrues;
+ numFalses = other306.numFalses;
+ numNulls = other306.numNulls;
+ bitVectors = other306.bitVectors;
+ __isset = other306.__isset;
}
-BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other305) {
- numTrues = other305.numTrues;
- numFalses = other305.numFalses;
- numNulls = other305.numNulls;
- bitVectors = other305.bitVectors;
- __isset = other305.__isset;
+BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other307) {
+ numTrues = other307.numTrues;
+ numFalses = other307.numFalses;
+ numNulls = other307.numNulls;
+ bitVectors = other307.bitVectors;
+ __isset = other307.__isset;
return *this;
}
void BooleanColumnStatsData::printTo(std::ostream& out) const {
@@ -8600,21 +8761,21 @@ void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other306) {
- lowValue = other306.lowValue;
- highValue = other306.highValue;
- numNulls = other306.numNulls;
- numDVs = other306.numDVs;
- bitVectors = other306.bitVectors;
- __isset = other306.__isset;
+DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other308) {
+ lowValue = other308.lowValue;
+ highValue = other308.highValue;
+ numNulls = other308.numNulls;
+ numDVs = other308.numDVs;
+ bitVectors = other308.bitVectors;
+ __isset = other308.__isset;
}
-DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other307) {
- lowValue = other307.lowValue;
- highValue = other307.highValue;
- numNulls = other307.numNulls;
- numDVs = other307.numDVs;
- bitVectors = other307.bitVectors;
- __isset = other307.__isset;
+DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other309) {
+ lowValue = other309.lowValue;
+ highValue = other309.highValue;
+ numNulls = other309.numNulls;
+ numDVs = other309.numDVs;
+ bitVectors = other309.bitVectors;
+ __isset = other309.__isset;
return *this;
}
void DoubleColumnStatsData::printTo(std::ostream& out) const {
@@ -8784,21 +8945,21 @@ void swap(LongColumnStatsData &a, LongColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other308) {
- lowValue = other308.lowValue;
- highValue = other308.highValue;
- numNulls = other308.numNulls;
- numDVs = other308.numDVs;
- bitVectors = other308.bitVectors;
- __isset = other308.__isset;
+LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other310) {
+ lowValue = other310.lowValue;
+ highValue = other310.highValue;
+ numNulls = other310.numNulls;
+ numDVs = other310.numDVs;
+ bitVectors = other310.bitVectors;
+ __isset = other310.__isset;
}
-LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other309) {
- lowValue = other309.lowValue;
- highValue = other309.highValue;
- numNulls = other309.numNulls;
- numDVs = other309.numDVs;
- bitVectors = other309.bitVectors;
- __isset = other309.__isset;
+LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other311) {
+ lowValue = other311.lowValue;
+ highValue = other311.highValue;
+ numNulls = other311.numNulls;
+ numDVs = other311.numDVs;
+ bitVectors = other311.bitVectors;
+ __isset = other311.__isset;
return *this;
}
void LongColumnStatsData::printTo(std::ostream& out) const {
@@ -8970,21 +9131,21 @@ void swap(StringColumnStatsData &a, StringColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other310) {
- maxColLen = other310.maxColLen;
- avgColLen = other310.avgColLen;
- numNulls = other310.numNulls;
- numDVs = other310.numDVs;
- bitVectors = other310.bitVectors;
- __isset = other310.__isset;
+StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other312) {
+ maxColLen = other312.maxColLen;
+ avgColLen = other312.avgColLen;
+ numNulls = other312.numNulls;
+ numDVs = other312.numDVs;
+ bitVectors = other312.bitVectors;
+ __isset = other312.__isset;
}
-StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other311) {
- maxColLen = other311.maxColLen;
- avgColLen = other311.avgColLen;
- numNulls = other311.numNulls;
- numDVs = other311.numDVs;
- bitVectors = other311.bitVectors;
- __isset = other311.__isset;
+StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other313) {
+ maxColLen = other313.maxColLen;
+ avgColLen = other313.avgColLen;
+ numNulls = other313.numNulls;
+ numDVs = other313.numDVs;
+ bitVectors = other313.bitVectors;
+ __isset = other313.__isset;
return *this;
}
void StringColumnStatsData::printTo(std::ostream& out) const {
@@ -9136,19 +9297,19 @@ void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other312) {
- maxColLen = other312.maxColLen;
- avgColLen = other312.avgColLen;
- numNulls = other312.numNulls;
- bitVectors = other312.bitVectors;
- __isset = other312.__isset;
+BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other314) {
+ maxColLen = other314.maxColLen;
+ avgColLen = other314.avgColLen;
+ numNulls = other314.numNulls;
+ bitVectors = other314.bitVectors;
+ __isset = other314.__isset;
}
-BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other313) {
- maxColLen = other313.maxColLen;
- avgColLen = other313.avgColLen;
- numNulls = other313.numNulls;
- bitVectors = other313.bitVectors;
- __isset = other313.__isset;
+BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other315) {
+ maxColLen = other315.maxColLen;
+ avgColLen = other315.avgColLen;
+ numNulls = other315.numNulls;
+ bitVectors = other315.bitVectors;
+ __isset = other315.__isset;
return *this;
}
void BinaryColumnStatsData::printTo(std::ostream& out) const {
@@ -9259,13 +9420,13 @@ void swap(Decimal &a, Decimal &b) {
swap(a.unscaled, b.unscaled);
}
-Decimal::Decimal(const Decimal& other314) {
- scale = other314.scale;
- unscaled = other314.unscaled;
+Decimal::Decimal(const Decimal& other316) {
+ scale = other316.scale;
+ unscaled = other316.unscaled;
}
-Decimal& Decimal::operator=(const Decimal& other315) {
- scale = other315.scale;
- unscaled = other315.unscaled;
+Decimal& Decimal::operator=(const Decimal& other317) {
+ scale = other317.scale;
+ unscaled = other317.unscaled;
return *this;
}
void Decimal::printTo(std::ostream& out) const {
@@ -9432,21 +9593,21 @@ void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other316) {
- lowValue = other316.lowValue;
- highValue = other316.highValue;
- numNulls = other316.numNulls;
- numDVs = other316.numDVs;
- bitVectors = other316.bitVectors;
- __isset = other316.__isset;
+DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other318) {
+ lowValue = other318.lowValue;
+ highValue = other318.highValue;
+ numNulls = other318.numNulls;
+ numDVs = other318.numDVs;
+ bitVectors = other318.bitVectors;
+ __isset = other318.__isset;
}
-DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other317) {
- lowValue = other317.lowValue;
- highValue = other317.highValue;
- numNulls = other317.numNulls;
- numDVs = other317.numDVs;
- bitVectors = other317.bitVectors;
- __isset = other317.__isset;
+DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other319) {
+ lowValue = other319.lowValue;
+ highValue = other319.highValue;
+ numNulls = other319.numNulls;
+ numDVs = other319.numDVs;
+ bitVectors = other319.bitVectors;
+ __isset = other319.__isset;
return *this;
}
void DecimalColumnStatsData::printTo(std::ostream& out) const {
@@ -9538,11 +9699,11 @@ void swap(Date &a, Date &b) {
swap(a.daysSinceEpoch, b.daysSinceEpoch);
}
-Date::Date(const Date& other318) {
- daysSinceEpoch = other318.daysSinceEpoch;
+Date::Date(const Date& other320) {
+ daysSinceEpoch = other320.daysSinceEpoch;
}
-Date& Date::operator=(const Date& other319) {
- daysSinceEpoch = other319.daysSinceEpoch;
+Date& Date::operator=(const Date& other321) {
+ daysSinceEpoch = other321.daysSinceEpoch;
return *this;
}
void Date::printTo(std::ostream& out) const {
@@ -9708,21 +9869,21 @@ void swap(DateColumnStatsData &a, DateColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other320) {
- lowValue = other320.lowValue;
- highValue = other320.highValue;
- numNulls = other320.numNulls;
- numDVs = other320.numDVs;
- bitVectors = other320.bitVectors;
- __isset = other320.__isset;
+DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other322) {
+ lowValue = other322.lowValue;
+ highValue = other322.highValue;
+ numNulls = other322.numNulls;
+ numDVs = other322.numDVs;
+ bitVectors = other322.bitVectors;
+ __isset = other322.__isset;
}
-DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other321) {
- lowValue = other321.lowValue;
- highValue = other321.highValue;
- numNulls = other321.numNulls;
- numDVs = other321.numDVs;
- bitVectors = other321.bitVectors;
- __isset = other321.__isset;
+DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other323) {
+ lowValue = other323.lowValue;
+ highValue = other323.highValue;
+ numNulls = other323.numNulls;
+ numDVs = other323.numDVs;
+ bitVectors = other323.bitVectors;
+ __isset = other323.__isset;
return *this;
}
void DateColumnStatsData::printTo(std::ostream& out) const {
@@ -9814,11 +9975,11 @@ void swap(Timestamp &a, Timestamp &b) {
swap(a.secondsSinceEpoch, b.secondsSinceEpoch);
}
-Timestamp::Timestamp(const Timestamp& other322) {
- secondsSinceEpoch = other322.secondsSinceEpoch;
+Timestamp::Timestamp(const Timestamp& other324) {
+ secondsSinceEpoch = other324.secondsSinceEpoch;
}
-Timestamp& Timestamp::operator=(const Timestamp& other323) {
- secondsSinceEpoch = other323.secondsSinceEpoch;
+Timestamp& Timestamp::operator=(const Timestamp& other325) {
+ secondsSinceEpoch = other325.secondsSinceEpoch;
return *this;
}
void Timestamp::printTo(std::ostream& out) const {
@@ -9984,21 +10145,21 @@ void swap(TimestampColumnStatsData &a, TimestampColumnStatsData &b) {
swap(a.__isset, b.__isset);
}
-TimestampColumnStatsData::TimestampColumnStatsData(const TimestampColumnStatsData& other324) {
- lowValue = other324.lowValue;
- highValue = other324.highValue;
- numNulls = other324.numNulls;
- numDVs = other324.numDVs;
- bitVectors = other324.bitVectors;
- __isset = other324.__isset;
+TimestampColumnStatsData::TimestampColumnStatsData(const TimestampColumnStatsData& other326) {
+ lowValue = other326.lowValue;
+ highValue = other326.highValue;
+ numNulls = other326.numNulls;
+ numDVs = other326.numDVs;
+ bitVectors = other326.bitVectors;
+ __isset = other326.__isset;
}
-TimestampColumnStatsData& TimestampColumnStatsData::operator=(const TimestampColumnStatsData& other325) {
- lowValue = other325.lowValue;
- highValue = other325.highValue;
- numNulls = other325.numNulls;
- numDVs = other325.numDVs;
- bitVectors = other325.bitVectors;
- __isset = other325.__isset;
+TimestampColumnStatsData& TimestampColumnStatsData::operator=(const TimestampColumnStatsData& other327) {
+ lowValue = other327.lowValue;
+ highValue = other327.highValue;
+ numNulls = other327.numNulls;
+ numDVs = other327.numDVs;
+ bitVectors = other327.bitVectors;
+ __isset = other327.__isset;
return *this;
}
void TimestampColumnStatsData::printTo(std::ostream& out) const {
@@ -10223,27 +10384,27 @@ void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) {
swap(a.__isset, b.__isset);
}
-ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other326) {
- booleanStats = other326.booleanStats;
- longStats = other326.longStats;
- doubleStats = other326.doubleStats;
- stringStats = other326.stringStats;
- binaryStats = other326.binaryStats;
- decimalStats = other326.decimalStats;
- dateStats = other326.dateStats;
- timestampStats = other326.timestampStats;
- __isset = other326.__isset;
-}
-ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other327) {
- booleanStats = other327.booleanStats;
- longStats = other327.longStats;
- doubleStats = other327.doubleStats;
- stringStats = other327.stringStats;
- binaryStats = other327.binaryStats;
- decimalStats = other327.decimalStats;
- dateStats = other327.dateStats;
- timestampStats = other327.timestampStats;
- __isset = other327.__isset;
+ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other328) {
+ booleanStats = other328.booleanStats;
+ longStats = other328.longStats;
+ doubleStats = other328.doubleStats;
+ stringStats = other328.stringStats;
+ binaryStats = other328.binaryStats;
+ decimalStats = other328.decimalStats;
+ dateStats = other328.dateStats;
+ timestampStats = other328.timestampStats;
+ __isset = other328.__isset;
+}
+ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other329) {
+ booleanStats = other329.booleanStats;
+ longStats = other329.longStats;
+ doubleStats = other329.doubleStats;
+ stringStats = other329.stringStats;
+ binaryStats = other329.binaryStats;
+ decimalStats = other329.decimalStats;
+ dateStats = other329.dateStats;
+ timestampStats = other329.timestampStats;
+ __isset = other329.__isset;
return *this;
}
void ColumnStatisticsData::printTo(std::ostream& out) const {
@@ -10378,15 +10539,15 @@ void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) {
swap(a.statsData, b.statsData);
}
-ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other328) {
- colName = other328.colName;
- colType = other328.colType;
- statsData = other328.statsData;
+ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other330) {
+ colName = other330.colName;
+ colType = other330.colType;
+ statsData = other330.statsData;
}
-ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other329) {
- colName = other329.colName;
- colType = other329.colType;
- statsData = other329.statsData;
+ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other331) {
+ colName = other331.colName;
+ colType = other331.colType;
+ statsData = other331.statsData;
return *this;
}
void ColumnStatisticsObj::printTo(std::ostream& out) const {
@@ -10574,23 +10735,23 @@ void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) {
swap(a.__isset, b.__isset);
}
-ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other330) {
- isTblLevel = other330.isTblLevel;
- dbName = other330.dbName;
- tableName = other330.tableName;
- partName = other330.partName;
- lastAnalyzed = other330.lastAnalyzed;
- catName = other330.catName;
- __isset = other330.__isset;
+ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other332) {
+ isTblLevel = other332.isTblLevel;
+ dbName = other332.dbName;
+ tableName = other332.tableName;
+ partName = other332.partName;
+ lastAnalyzed = other332.lastAnalyzed;
+ catName = other332.catName;
+ __isset = other332.__isset;
}
-ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other331) {
- isTblLevel = other331.isTblLevel;
- dbName = other331.dbName;
- tableName = other331.tableName;
- partName = other331.partName;
- lastAnalyzed = other331.lastAnalyzed;
- catName = other331.catName;
- __isset = other331.__isset;
+ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other333) {
+ isTblLevel = other333.isTblLevel;
+ dbName = other333.dbName;
+ tableName = other333.tableName;
+ partName = other333.partName;
+ lastAnalyzed = other333.lastAnalyzed;
+ catName = other333.catName;
+ __isset = other333.__isset;
return *this;
}
void ColumnStatisticsDesc::printTo(std::ostream& out) const {
@@ -10669,14 +10830,14 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->statsObj.clear();
- uint32_t _size332;
- ::apache::thrift::protocol::TType _etype335;
- xfer += iprot->readListBegin(_etype335, _size332);
- this->statsObj.resize(_size332);
- uint32_t _i336;
- for (_i336 = 0; _i336 < _size332; ++_i336)
+ uint32_t _size334;
+ ::apache::thrift::protocol::TType _etype337;
+ xfer += iprot->readListBegin(_etype337, _size334);
+ this->statsObj.resize(_size334);
+ uint32_t _i338;
+ for (_i338 = 0; _i338 < _size334; ++_i338)
{
- xfer += this->statsObj[_i336].read(iprot);
+ xfer += this->statsObj[_i338].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10729,10 +10890,10 @@ uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldBegin("statsObj", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->statsObj.size()));
- std::vector<ColumnStatisticsObj> ::const_iterator _iter337;
- for (_iter337 = this->statsObj.begin(); _iter337 != this->statsObj.end(); ++_iter337)
+ std::vector<ColumnStatisticsObj> ::const_iterator _iter339;
+ for (_iter339 = this->statsObj.begin(); _iter339 != this->statsObj.end(); ++_iter339)
{
- xfer += (*_iter337).write(oprot);
+ xfer += (*_iter339).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10762,19 +10923,19 @@ void swap(ColumnStatistics &a, ColumnStatistics &b) {
swap(a.__isset, b.__isset);
}
-ColumnStatistics::ColumnStatistics(const ColumnStatistics& other338) {
- statsDesc = other338.statsDesc;
- statsObj = other338.statsObj;
- isStatsCompliant = other338.isStatsCompliant;
- engine = other338.engine;
- __isset = other338.__isset;
+ColumnStatistics::ColumnStatistics(const ColumnStatistics& other340) {
+ statsDesc = other340.statsDesc;
+ statsObj = other340.statsObj;
+ isStatsCompliant = other340.isStatsCompliant;
+ engine = other340.engine;
+ __isset = other340.__isset;
}
-ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other339) {
- statsDesc = other339.statsDesc;
- statsObj = other339.statsObj;
- isStatsCompliant = other339.isStatsCompliant;
- engine = other339.engine;
- __isset = other339.__isset;
+ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other341) {
+ statsDesc = other341.statsDesc;
+ statsObj = other341.statsObj;
+ isStatsCompliant = other341.isStatsCompliant;
+ engine = other341.engine;
+ __isset = other341.__isset;
return *this;
}
void ColumnStatistics::printTo(std::ostream& out) const {
@@ -10851,14 +11012,14 @@ uint32_t FileMetadata::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->data.clear();
- uint32_t _size340;
- ::apache::thrift::protocol::TType _etype343;
- xfer += iprot->readListBegin(_etype343, _size340);
- this->data.resize(_size340);
- uint32_t _i344;
- for (_i344 = 0; _i344 < _size340; ++_i344)
+ uint32_t _size342;
+ ::apache::thrift::protocol::TType _etype345;
+ xfer += iprot->readListBegin(_etype345, _size342);
+ this->data.resize(_size342);
+ uint32_t _i346;
+ for (_i346 = 0; _i346 < _size342; ++_i346)
{
- xfer += iprot->readBinary(this->data[_i344]);
+ xfer += iprot->readBinary(this->data[_i346]);
}
xfer += iprot->readListEnd();
}
@@ -10895,10 +11056,10 @@ uint32_t FileMetadata::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldBegin("data", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->data.size()));
- std::vector<std::string> ::const_iterator _iter345;
- for (_iter345 = this->data.begin(); _iter345 != this->data.end(); ++_iter345)
+ std::vector<std::string> ::const_iterator _iter347;
+ for (_iter347 = this->data.begin(); _iter347 != this->data.end(); ++_iter347)
{
- xfer += oprot->writeBinary((*_iter345));
+ xfer += oprot->writeBinary((*_iter347));
}
xfer += oprot->writeListEnd();
}
@@ -10917,17 +11078,17 @@ void swap(FileMetadata &a, FileMetadata &b) {
swap(a.__isset, b.__isset);
}
-FileMetadata::FileMetadata(const FileMetadata& other346) {
- type = other346.type;
- version = other346.version;
- data = other346.data;
- __isset = other346.__isset;
+FileMetadata::FileMetadata(const FileMetadata& other348) {
+ type = other348.type;
+ version = other348.version;
+ data = other348.data;
+ __isset = other348.__isset;
}
-FileMetadata& FileMetadata::operator=(const FileMetadata& other347) {
- type = other347.type;
- version = other347.version;
- data = other347.data;
- __isset = other347.__isset;
+FileMetadata& FileMetadata::operator=(const FileMetadata& other349) {
+ type = other349.type;
+ version = other349.version;
+ data = other349.data;
+ __isset = other349.__isset;
return *this;
}
void FileMetadata::printTo(std::ostream& out) const {
@@ -10980,26 +11141,26 @@ uint32_t ObjectDictionary::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->values.clear();
- uint32_t _size348;
- ::apache::thrift::protocol::TType _ktype349;
- ::apache::thrift::protocol::TType _vtype350;
- xfer += iprot->readMapBegin(_ktype349, _vtype350, _size348);
- uint32_t _i352;
- for (_i352 = 0; _i352 < _size348; ++_i352)
+ uint32_t _size350;
+ ::apache::thrift::protocol::TType _ktype351;
+ ::apache::thrift::protocol::TType _vtype352;
+ xfer += iprot->readMapBegin(_ktype351, _vtype352, _size350);
+ uint32_t _i354;
+ for (_i354 = 0; _i354 < _size350; ++_i354)
{
- std::string _key353;
- xfer += iprot->readString(_key353);
- std::vector<std::string> & _val354 = this->values[_key353];
+ std::string _key355;
+ xfer += iprot->readString(_key355);
+ std::vector<std::string> & _val356 = this->values[_key355];
{
- _val354.clear();
- uint32_t _size355;
- ::apache::thrift::protocol::TType _etype358;
- xfer += iprot->readListBegin(_etype358, _size355);
- _val354.resize(_size355);
- uint32_t _i359;
- for (_i359 = 0; _i359 < _size355; ++_i359)
+ _val356.clear();
+ uint32_t _size357;
+ ::apache::thrift::protocol::TType _etype360;
+ xfer += iprot->readListBegin(_etype360, _size357);
+ _val356.resize(_size357);
+ uint32_t _i361;
+ for (_i361 = 0; _i361 < _size357; ++_i361)
{
- xfer += iprot->readBinary(_val354[_i359]);
+ xfer += iprot->readBinary(_val356[_i361]);
}
xfer += iprot->readListEnd();
}
@@ -11033,16 +11194,16 @@ uint32_t ObjectDictionary::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_MAP, 1);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast<uint32_t>(this->values.size()));
- std::map<std::string, std::vector<std::string> > ::const_iterator _iter360;
- for (_iter360 = this->values.begin(); _iter360 != this->values.end(); ++_iter360)
+ std::map<std::string, std::vector<std::string> > ::const_iterator _iter362;
+ for (_iter362 = this->values.begin(); _iter362 != this->values.end(); ++_iter362)
{
- xfer += oprot->writeString(_iter360->first);
+ xfer += oprot->writeString(_iter362->first);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(_iter360->second.size()));
- std::vector<std::string> ::const_iterator _iter361;
- for (_iter361 = _iter360->second.begin(); _iter361 != _iter360->second.end(); ++_iter361)
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(_iter362->second.size()));
+ std::vector<std::string> ::const_iterator _iter363;
+ for (_iter363 = _iter362->second.begin(); _iter363 != _iter362->second.end(); ++_iter363)
{
- xfer += oprot->writeBinary((*_iter361));
+ xfer += oprot->writeBinary((*_iter363));
}
xfer += oprot->writeListEnd();
}
@@ -11061,11 +11222,11 @@ void swap(ObjectDictionary &a, ObjectDictionary &b) {
swap(a.values, b.values);
}
-ObjectDictionary::ObjectDictionary(const ObjectDictionary& other362) {
- values = other362.values;
+ObjectDictionary::ObjectDictionary(const ObjectDictionary& other364) {
+ values = other364.values;
}
-ObjectDictionary& ObjectDictionary::operator=(const ObjectDictionary& other363) {
- values = other363.values;
+ObjectDictionary& ObjectDictionary::operator=(const ObjectDictionary& other365) {
+ values = other365.values;
return *this;
}
void ObjectDictionary::printTo(std::ostream& out) const {
@@ -11290,14 +11451,14 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitionKeys.clear();
- uint32_t _size364;
- ::apache::thrift::protocol::TType _etype367;
- xfer += iprot->readListBegin(_etype367, _size364);
- this->partitionKeys.resize(_size364);
- uint32_t _i368;
- for (_i368 = 0; _i368 < _size364; ++_i368)
+ uint32_t _size366;
+ ::apache::thrift::protocol::TType _etype369;
+ xfer += iprot->readListBegin(_etype369, _size366);
+ this->partitionKeys.resize(_size366);
+ uint32_t _i370;
+ for (_i370 = 0; _i370 < _size366; ++_i370)
{
- xfer += this->partitionKeys[_i368].read(iprot);
+ xfer += this->partitionKeys[_i370].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -11310,17 +11471,17 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
- uint32_t _size369;
- ::apache::thrift::protocol::TType _ktype370;
- ::apache::thrift::protocol::TType _vtype371;
- xfer += iprot->readMapBegin(_ktype370, _vtype371, _size369);
- uint32_t _i373;
- for (_i373 = 0; _i373 < _size369; ++_i373)
+ uint32_t _size371;
+ ::apache::thrift::protocol::TType _ktype372;
+ ::apache::thrift::protocol::TType _vtype373;
+ xfer += iprot->readMapBegin(_ktype372, _vtype373, _size371);
+ uint32_t _i375;
+ for (_i375 = 0; _i375 < _size371; ++_i375)
{
- std::string _key374;
- xfer += iprot->readString(_key374);
- std::string& _val375 = this->parameters[_key374];
- xfer += iprot->readString(_val375);
+ std::string _key376;
+ xfer += iprot->readString(_key376);
+ std::string& _val377 = this->parameters[_key376];
+ xfer += iprot->readString(_val377);
}
xfer += iprot->readMapEnd();
}
@@ -11395,9 +11556,9 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
break;
case 18:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast376;
- xfer += iprot->readI32(ecast376);
- this->ownerType = (PrincipalType::type)ecast376;
+ int32_t ecast378;
+ xfer += iprot->readI32(ecast378);
+ this->ownerType = (PrincipalType::type)ecast378;
this->__isset.ownerType = true;
} else {
xfer += iprot->skip(ftype);
@@ -11439,14 +11600,14 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->requiredReadCapabilities.clear();
- uint32_t _size377;
- ::apache::thrift::protocol::TType _etype380;
- xfer += iprot->readListBegin(_etype380, _size377);
- this->requiredReadCapabilities.resize(_size377);
- uint32_t _i381;
- for (_i381 = 0; _i381 < _size377; ++_i381)
+ uint32_t _size379;
+ ::apache::thrift::protocol::TType _etype382;
+ xfer += iprot->readListBegin(_etype382, _size379);
+ this->requiredReadCapabilities.resize(_size379);
+ uint32_t _i383;
+ for (_i383 = 0; _i383 < _size379; ++_i383)
{
- xfer += iprot->readString(this->requiredReadCapabilities[_i381]);
+ xfer += iprot->readString(this->requiredReadCapabilities[_i383]);
}
xfer += iprot->readListEnd();
}
@@ -11459,14 +11620,14 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->requiredWriteCapabilities.clear();
- uint32_t _size382;
- ::apache::thrift::protocol::TType _etype385;
- xfer += iprot->readListBegin(_etype385, _size382);
- this->requiredWriteCapabilities.resize(_size382);
- uint32_t _i386;
- for (_i386 = 0; _i386 < _size382; ++_i386)
+ uint32_t _size384;
+ ::apache::thrift::protocol::TType _etype387;
+ xfer += iprot->readListBegin(_etype387, _size384);
+ this->requiredWriteCapabilities.resize(_size384);
+ uint32_t _i388;
+ for (_i388 = 0; _i388 < _size384; ++_i388)
{
- xfer += iprot->readString(this->requiredWriteCapabilities[_i386]);
+ xfer += iprot->readString(this->requiredWriteCapabilities[_i388]);
}
xfer += iprot->readListEnd();
}
@@ -11547,10 +11708,10 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 8);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitionKeys.size()));
- std::vector<FieldSchema> ::const_iterator _iter387;
- for (_iter387 = this->partitionKeys.begin(); _iter387 != this->partitionKeys.end(); ++_iter387)
+ std::vector<FieldSchema> ::const_iterator _iter389;
+ for (_iter389 = this->partitionKeys.begin(); _iter389 != this->partitionKeys.end(); ++_iter389)
{
- xfer += (*_iter387).write(oprot);
+ xfer += (*_iter389).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -11559,11 +11720,11 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->parameters.size()));
- std::map<std::string, std::string> ::const_iterator _iter388;
- for (_iter388 = this->parameters.begin(); _iter388 != this->parameters.end(); ++_iter388)
+ std::map<std::string, std::string> ::const_iterator _iter390;
+ for (_iter390 = this->parameters.begin(); _iter390 != this->parameters.end(); ++_iter390)
{
- xfer += oprot->writeString(_iter388->first);
- xfer += oprot->writeString(_iter388->second);
+ xfer += oprot->writeString(_iter390->first);
+ xfer += oprot->writeString(_iter390->second);
}
xfer += oprot->writeMapEnd();
}
@@ -11635,10 +11796,10 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("requiredReadCapabilities", ::apache::thrift::protocol::T_LIST, 23);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->requiredReadCapabilities.size()));
- std::vector<std::string> ::const_iterator _iter389;
- for (_iter389 = this->requiredReadCapabilities.begin(); _iter389 != this->requiredReadCapabilities.end(); ++_iter389)
+ std::vector<std::string> ::const_iterator _iter391;
+ for (_iter391 = this->requiredReadCapabilities.begin(); _iter391 != this->requiredReadCapabilities.end(); ++_iter391)
{
- xfer += oprot->writeString((*_iter389));
+ xfer += oprot->writeString((*_iter391));
}
xfer += oprot->writeListEnd();
}
@@ -11648,10 +11809,10 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("requiredWriteCapabilities", ::apache::thrift::protocol::T_LIST, 24);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->requiredWriteCapabilities.size()));
- std::vector<std::string> ::const_iterator _iter390;
- for (_iter390 = this->requiredWriteCapabilities.begin(); _iter390 != this->requiredWriteCapabilities.end(); ++_iter390)
+ std::vector<std::string> ::const_iterator _iter392;
+ for (_iter392 = this->requiredWriteCapabilities.begin(); _iter392 != this->requiredWriteCapabilities.end(); ++_iter392)
{
- xfer += oprot->writeString((*_iter390));
+ xfer += oprot->writeString((*_iter392));
}
xfer += oprot->writeListEnd();
}
@@ -11709,65 +11870,65 @@ void swap(Table &a, Table &b) {
swap(a.__isset, b.__isset);
}
-Table::Table(const Table& other391) {
- tableName = other391.tableName;
- dbName = other391.dbName;
- owner = other391.owner;
- createTime = other391.createTime;
- lastAccessTime = other391.lastAccessTime;
- retention = other391.retention;
- sd = other391.sd;
- partitionKeys = other391.partitionKeys;
- parameters = other391.parameters;
- viewOriginalText = other391.viewOriginalText;
- viewExpandedText = other391.viewExpandedText;
- tableType = other391.tableType;
- privileges = other391.privileges;
- temporary = other391.temporary;
- rewriteEnabled = other391.rewriteEnabled;
- creationMetadata = other391.creationMetadata;
- catName = other391.catName;
- ownerType = other391.ownerType;
- writeId = other391.writeId;
- isStatsCompliant = other391.isStatsCompliant;
- colStats = other391.colStats;
- accessType = other391.accessType;
- requiredReadCapabilities = other391.requiredReadCapabilities;
- requiredWriteCapabilities = other391.requiredWriteCapabilities;
- id = other391.id;
- fileMetadata = other391.fileMetadata;
- dictionary = other391.dictionary;
- __isset = other391.__isset;
-}
-Table& Table::operator=(const Table& other392) {
- tableName = other392.tableName;
- dbName = other392.dbName;
- owner = other392.owner;
- createTime = other392.createTime;
- lastAccessTime = other392.lastAccessTime;
- retention = other392.retention;
- sd = other392.sd;
- partitionKeys = other392.partitionKeys;
- parameters = other392.parameters;
- viewOriginalText = other392.viewOriginalText;
- viewExpandedText = other392.viewExpandedText;
- tableType = other392.tableType;
- privileges = other392.privileges;
- temporary = other392.temporary;
- rewriteEnabled = other392.rewriteEnabled;
- creationMetadata = other392.creationMetadata;
- catName = other392.catName;
- ownerType = other392.ownerType;
- writeId = other392.writeId;
- isStatsCompliant = other392.isStatsCompliant;
- colStats = other392.colStats;
- accessType = other392.accessType;
- requiredReadCapabilities = other392.requiredReadCapabilities;
- requiredWriteCapabilities = other392.requiredWriteCapabilities;
- id = other392.id;
- fileMetadata = other392.fileMetadata;
- dictionary = other392.dictionary;
- __isset = other392.__isset;
+Table::Table(const Table& other393) {
+ tableName = other393.tableName;
+ dbName = other393.dbName;
+ owner = other393.owner;
+ createTime = other393.createTime;
+ lastAccessTime = other393.lastAccessTime;
+ retention = other393.retention;
+ sd = other393.sd;
+ partitionKeys = other393.partitionKeys;
+ parameters = other393.parameters;
+ viewOriginalText = other393.viewOriginalText;
+ viewExpandedText = other393.viewExpandedText;
+ tableType = other393.tableType;
+ privileges = other393.privileges;
+ temporary = other393.temporary;
+ rewriteEnabled = other393.rewriteEnabled;
+ creationMetadata = other393.creationMetadata;
+ catName = other393.catName;
+ ownerType = other393.ownerType;
+ writeId = other393.writeId;
+ isStatsCompliant = other393.isStatsCompliant;
+ colStats = other393.colStats;
+ accessType = other393.accessType;
+ requiredReadCapabilities = other393.requiredReadCapabilities;
+ requiredWriteCapabilities = other393.requiredWriteCapabilities;
+ id = other393.id;
+ fileMetadata = other393.fileMetadata;
+ dictionary = other393.dictionary;
+ __isset = other393.__isset;
+}
+Table& Table::operator=(const Table& other394) {
+ tableName = other394.tableName;
+ dbName = other394.dbName;
+ owner = other394.owner;
+ createTime = other394.createTime;
+ lastAccessTime = other394.lastAccessTime;
+ retention = other394.retention;
+ sd = other394.sd;
+ partitionKeys = other394.partitionKeys;
+ parameters = other394.parameters;
+ viewOriginalText = other394.viewOriginalText;
+ viewExpandedText = other394.viewExpandedText;
+ tableType = other394.tableType;
+ privileges = other394.privileges;
+ temporary = other394.temporary;
+ rewriteEnabled = other394.rewriteEnabled;
+ creationMetadata = other394.creationMetadata;
+ catName = other394.catName;
+ ownerType = other394.ownerType;
+ writeId = other394.writeId;
+ isStatsCompliant = other394.isStatsCompliant;
+ colStats = other394.colStats;
+ accessType = other394.accessType;
+ requiredReadCapabilities = other394.requiredReadCapabilities;
+ requiredWriteCapabilities = other394.requiredWriteCapabilities;
+ id = other394.id;
+ fileMetadata = other394.fileMetadata;
+ dictionary = other394.dictionary;
+ __isset = other394.__isset;
return *this;
}
void Table::printTo(std::ostream& out) const {
@@ -11897,14 +12058,14 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->values.clear();
- uint32_t _size393;
- ::apache::thrift::protocol::TType _etype396;
- xfer += iprot->readListBegin(_etype396, _size393);
- this->values.resize(_size393);
- uint32_t _i397;
- for (_i397 = 0; _i397 < _size393; ++_i397)
+ uint32_t _size395;
+ ::apache::thrift::protocol::TType _etype398;
+ xfer += iprot->readListBegin(_etype398, _size395);
+ this->values.resize(_size395);
+ uint32_t _i399;
+ for (_i399 = 0; _i399 < _size395; ++_i399)
{
- xfer += iprot->readString(this->values[_i397]);
+ xfer += iprot->readString(this->values[_i399]);
}
xfer += iprot->readListEnd();
}
@@ -11957,17 +12118,17 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
- uint32_t _size398;
- ::apache::thrift::protocol::TType _ktype399;
- ::apache::thrift::protocol::TType _vtype400;
- xfer += iprot->readMapBegin(_ktype399, _vtype400, _size398);
- uint32_t _i402;
- for (_i402 = 0; _i402 < _size398; ++_i402)
+ uint32_t _size400;
+ ::apache::thrift::protocol::TType _ktype401;
+ ::apache::thrift::protocol::TType _vtype402;
+ xfer += iprot->readMapBegin(_ktype401, _vtype402, _size400);
+ uint32_t _i404;
+ for (_i404 = 0; _i404 < _size400; ++_i404)
{
- std::string _key403;
- xfer += iprot->readString(_key403);
- std::string& _val404 = this->parameters[_key403];
- xfer += iprot->readString(_val404);
+ std::string _key405;
+ xfer += iprot->readString(_key405);
+ std::string& _val406 = this->parameters[_key405];
+ xfer += iprot->readString(_val406);
}
xfer += iprot->readMapEnd();
}
@@ -12044,10 +12205,10 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->values.size()));
- std::vector<std::string> ::const_iterator _iter405;
- for (_iter405 = this->values.begin(); _iter405 != this->values.end(); ++_iter405)
+ std::vector<std::string> ::const_iterator _iter407;
+ for (_iter407 = this->values.begin(); _iter407 != this->values.end(); ++_iter407)
{
- xfer += oprot->writeString((*_iter405));
+ xfer += oprot->writeString((*_iter407));
}
xfer += oprot->writeListEnd();
}
@@ -12076,11 +12237,11 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 7);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->parameters.size()));
- std::map<std::string, std::string> ::const_iterator _iter406;
- for (_iter406 = this->parameters.begin(); _iter406 != this->parameters.end(); ++_iter406)
+ std::map<std::string, std::string> ::const_iterator _iter408;
+ for (_iter408 = this->parameters.begin(); _iter408 != this->parameters.end(); ++_iter408)
{
- xfer += oprot->writeString(_iter406->first);
- xfer += oprot->writeString(_iter406->second);
+ xfer += oprot->writeString(_iter408->first);
+ xfer += oprot->writeString(_iter408->second);
}
xfer += oprot->writeMapEnd();
}
@@ -12139,37 +12300,37 @@ void swap(Partition &a, Partition &b) {
swap(a.__isset, b.__isset);
}
-Partition::Partition(const Partition& other407) {
- values = other407.values;
- dbName = other407.dbName;
- tableName = other407.tableName;
- createTime = other407.createTime;
- lastAccessTime = other407.lastAccessTime;
- sd = other407.sd;
- parameters = other407.parameters;
- privileges = other407.privileges;
- catName = other407.catName;
- writeId = other407.writeId;
- isStatsCompliant = other407.isStatsCompliant;
- colStats = other407.colStats;
- fileMetadata = other407.fileMetadata;
- __isset = other407.__isset;
-}
-Partition& Partition::operator=(const Partition& other408) {
- values = other408.values;
- dbName = other408.dbName;
- tableName = other408.tableName;
- createTime = other408.createTime;
- lastAccessTime = other408.lastAccessTime;
- sd = other408.sd;
- parameters = other408.parameters;
- privileges = other408.privileges;
- catName = other408.catName;
- writeId = other408.writeId;
- isStatsCompliant = other408.isStatsCompliant;
- colStats = other408.colStats;
- fileMetadata = other408.fileMetadata;
- __isset = other408.__isset;
+Partition::Partition(const Partition& other409) {
+ values = other409.values;
+ dbName = other409.dbName;
+ tableName = other409.tableName;
+ createTime = other409.createTime;
+ lastAccessTime = other409.lastAccessTime;
+ sd = other409.sd;
+ parameters = other409.parameters;
+ privileges = other409.privileges;
+ catName = other409.catName;
+ writeId = other409.writeId;
+ isStatsCompliant = other409.isStatsCompliant;
+ colStats = other409.colStats;
+ fileMetadata = other409.fileMetadata;
+ __isset = other409.__isset;
+}
+Partition& Partition::operator=(const Partition& other410) {
+ values = other410.values;
+ dbName = other410.dbName;
+ tableName = other410.tableName;
+ createTime = other410.createTime;
+ lastAccessTime = other410.lastAccessTime;
+ sd = other410.sd;
+ parameters = other410.parameters;
+ privileges = other410.privileges;
+ catName = other410.catName;
+ writeId = other410.writeId;
+ isStatsCompliant = other410.isStatsCompliant;
+ colStats = other410.colStats;
+ fileMetadata = other410.fileMetadata;
+ __isset = other410.__isset;
return *this;
}
void Partition::printTo(std::ostream& out) const {
@@ -12252,14 +12413,14 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot)
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->values.clear();
- uint32_t _size409;
- ::apache::thrift::protocol::TType _etype412;
- xfer += iprot->readListBegin(_etype412, _size409);
- this->values.resize(_size409);
- uint32_t _i413;
- for (_i413 = 0; _i413 < _size409; ++_i413)
+ uint32_t _size411;
+ ::apache::thrift::protocol::TType _etype414;
+ xfer += iprot->readListBegin(_etype414, _size411);
+ this->values.resize(_size411);
+ uint32_t _i415;
+ for (_i415 = 0; _i415 < _size411; ++_i415)
{
- xfer += iprot->readString(this->values[_i413]);
+ xfer += iprot->readString(this->values[_i415]);
}
xfer += iprot->readListEnd();
}
@@ -12296,17 +12457,17 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot)
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
- uint32_t _size414;
- ::apache::thrift::protocol::TType _ktype415;
- ::apache::thrift::protocol::TType _vtype416;
- xfer += iprot->readMapBegin(_ktype415, _vtype416, _size414);
- uint32_t _i418;
- for (_i418 = 0; _i418 < _size414; ++_i418)
+ uint32_t _size416;
+ ::apache::thrift::protocol::TType _ktype417;
+ ::apache::thrift::protocol::TType _vtype418;
+ xfer += iprot->readMapBegin(_ktype417, _vtype418, _size416);
+ uint32_t _i420;
+ for (_i420 = 0; _i420 < _size416; ++_i420)
{
- std::string _key419;
- xfer += iprot->readString(_key419);
- std::string& _val420 = this->parameters[_key419];
- xfer += iprot->readString(_val420);
+ std::string _key421;
+ xfer += iprot->readString(_key421);
+ std::string& _val422 = this->parameters[_key421];
+ xfer += iprot->readString(_val422);
}
xfer += iprot->readMapEnd();
}
@@ -12343,10 +12504,10 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->values.size()));
- std::vector<std::string> ::const_iterator _iter421;
- for (_iter421 = this->values.begin(); _iter421 != this->values.end(); ++_iter421)
+ std::vector<std::string> ::const_iterator _iter423;
+ for (_iter423 = this->values.begin(); _iter423 != this->values.end(); ++_iter423)
{
- xfer += oprot->writeString((*_iter421));
+ xfer += oprot->writeString((*_iter423));
}
xfer += oprot->writeListEnd();
}
@@ -12367,11 +12528,11 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 5);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->parameters.size()));
- std::map<std::string, std::string> ::const_iterator _iter422;
- for (_iter422 = this->parameters.begin(); _iter422 != this->parameters.end(); ++_iter422)
+ std::map<std::string, std::string> ::const_iterator _iter424;
+ for (_iter424 = this->parameters.begin(); _iter424 != this->parameters.end(); ++_iter424)
{
- xfer += oprot->writeString(_iter422->first);
- xfer += oprot->writeString(_iter422->second);
+ xfer += oprot->writeString(_iter424->first);
+ xfer += oprot->writeString(_iter424->second);
}
xfer += oprot->writeMapEnd();
}
@@ -12398,23 +12559,23 @@ void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) {
swap(a.__isset, b.__isset);
}
-PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other423) {
- values = other423.values;
- createTime = other423.createTime;
- lastAccessTime = other423.lastAccessTime;
- relativePath = other423.relativePath;
- parameters = other423.parameters;
- privileges = other423.privileges;
- __isset = other423.__isset;
+PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other425) {
+ values = other425.values;
+ createTime = other425.createTime;
+ lastAccessTime = other425.lastAccessTime;
+ relativePath = other425.relativePath;
+ parameters = other425.parameters;
+ privileges = other425.privileges;
+ __isset = other425.__isset;
}
-PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other424) {
- values = other424.values;
- createTime = other424.createTime;
- lastAccessTime = other424.lastAccessTime;
- relativePath = other424.relativePath;
- parameters = other424.parameters;
- privileges = other424.privileges;
- __isset = other424.__isset;
+PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other426) {
+ values = other426.values;
+ createTime = other426.createTime;
+ lastAccessTime = other426.lastAccessTime;
+ relativePath = other426.relativePath;
+ parameters = other426.parameters;
+ privileges = other426.privileges;
+ __isset = other426.__isset;
return *this;
}
void PartitionWithoutSD::printTo(std::ostream& out) const {
@@ -12473,14 +12634,14 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitions.clear();
- uint32_t _size425;
- ::apache::thrift::protocol::TType _etype428;
- xfer += iprot->readListBegin(_etype428, _size425);
- this->partitions.resize(_size425);
- uint32_t _i429;
- for (_i429 = 0; _i429 < _size425; ++_i429)
+ uint32_t _size427;
+ ::apache::thrift::protocol::TType _etype430;
+ xfer += iprot->readListBegin(_etype430, _size427);
+ this->partitions.resize(_size427);
+ uint32_t _i431;
+ for (_i431 = 0; _i431 < _size427; ++_i431)
{
- xfer += this->partitions[_i429].read(iprot);
+ xfer += this->partitions[_i431].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12517,10 +12678,10 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitions.size()));
- std::vector<PartitionWithoutSD> ::const_iterator _iter430;
- for (_iter430 = this->partitions.begin(); _iter430 != this->partitions.end(); ++_iter430)
+ std::vector<PartitionWithoutSD> ::const_iterator _iter432;
+ for (_iter432 = this->partitions.begin(); _iter432 != this->partitions.end(); ++_iter432)
{
- xfer += (*_iter430).write(oprot);
+ xfer += (*_iter432).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -12542,15 +12703,15 @@ void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) {
swap(a.__isset, b.__isset);
}
-PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other431) {
- partitions = other431.partitions;
- sd = other431.sd;
- __isset = other431.__isset;
+PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other433) {
+ partitions = other433.partitions;
+ sd = other433.sd;
+ __isset = other433.__isset;
}
-PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other432) {
- partitions = other432.partitions;
- sd = other432.sd;
- __isset = other432.__isset;
+PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other434) {
+ partitions = other434.partitions;
+ sd = other434.sd;
+ __isset = other434.__isset;
return *this;
}
void PartitionSpecWithSharedSD::printTo(std::ostream& out) const {
@@ -12601,14 +12762,14 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitions.clear();
- uint32_t _size433;
- ::apache::thrift::protocol::TType _etype436;
- xfer += iprot->readListBegin(_etype436, _size433);
- this->partitions.resize(_size433);
- uint32_t _i437;
- for (_i437 = 0; _i437 < _size433; ++_i437)
+ uint32_t _size435;
+ ::apache::thrift::protocol::TType _etype438;
+ xfer += iprot->readListBegin(_etype438, _size435);
+ this->partitions.resize(_size435);
+ uint32_t _i439;
+ for (_i439 = 0; _i439 < _size435; ++_i439)
{
- xfer += this->partitions[_i437].read(iprot);
+ xfer += this->partitions[_i439].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12637,10 +12798,10 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitions.size()));
- std::vector<Partition> ::const_iterator _iter438;
- for (_iter438 = this->partitions.begin(); _iter438 != this->partitions.end(); ++_iter438)
+ std::vector<Partition> ::const_iterator _iter440;
+ for (_iter440 = this->partitions.begin(); _iter440 != this->partitions.end(); ++_iter440)
{
- xfer += (*_iter438).write(oprot);
+ xfer += (*_iter440).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -12657,13 +12818,13 @@ void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b) {
swap(a.__isset, b.__isset);
}
-PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other439) {
- partitions = other439.partitions;
- __isset = other439.__isset;
+PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other441) {
+ partitions = other441.partitions;
+ __isset = other441.__isset;
}
-PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other440) {
- partitions = other440.partitions;
- __isset = other440.__isset;
+PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other442) {
+ partitions = other442.partitions;
+ __isset = other442.__isset;
return *this;
}
void PartitionListComposingSpec::printTo(std::ostream& out) const {
@@ -12878,27 +13039,27 @@ void swap(PartitionSpec &a, PartitionSpec &b) {
swap(a.__isset, b.__isset);
}
-PartitionSpec::PartitionSpec(const PartitionSpec& other441) {
- dbName = other441.dbName;
- tableName = other441.tableName;
- rootPath = other441.rootPath;
- sharedSDPartitionSpec = other441.sharedSDPartitionSpec;
- partitionList = other441.partitionList;
- catName = other441.catName;
- writeId = other441.writeId;
- isStatsCompliant = other441.isStatsCompliant;
- __isset = other441.__isset;
-}
-PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other442) {
- dbName = other442.dbName;
- tableName = other442.tableName;
- rootPath = other442.rootPath;
- sharedSDPartitionSpec = other442.sharedSDPartitionSpec;
- partitionList = other442.partitionList;
- catName = other442.catName;
- writeId = other442.writeId;
- isStatsCompliant = other442.isStatsCompliant;
- __isset = other442.__isset;
+PartitionSpec::PartitionSpec(const PartitionSpec& other443) {
+ dbName = other443.dbName;
+ tableName = other443.tableName;
+ rootPath = other443.rootPath;
+ sharedSDPartitionSpec = other443.sharedSDPartitionSpec;
+ partitionList = other443.partitionList;
+ catName = other443.catName;
+ writeId = other443.writeId;
+ isStatsCompliant = other443.isStatsCompliant;
+ __isset = other443.__isset;
+}
+PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other444) {
+ dbName = other444.dbName;
+ tableName = other444.tableName;
+ rootPath = other444.rootPath;
+ sharedSDPartitionSpec = other444.sharedSDPartitionSpec;
+ partitionList = other444.partitionList;
+ catName = other444.catName;
+ writeId = other444.writeId;
+ isStatsCompliant = other444.isStatsCompliant;
+ __isset = other444.__isset;
return *this;
}
void PartitionSpec::printTo(std::ostream& out) const {
@@ -12966,14 +13127,14 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->colStats.clear();
- uint32_t _size443;
- ::apache::thrift::protocol::TType _etype446;
- xfer += iprot->readListBegin(_etype446, _size443);
- this->colStats.resize(_size443);
- uint32_t _i447;
- for (_i447 = 0; _i447 < _size443; ++_i447)
+ uint32_t _size445;
+ ::apache::thrift::protocol::TType _etype448;
+ xfer += iprot->readListBegin(_etype448, _size445);
+ this->colStats.resize(_size445);
+ uint32_t _i449;
+ for (_i449 = 0; _i449 < _size445; ++_i449)
{
- xfer += this->colStats[_i447].read(iprot);
+ xfer += this->colStats[_i449].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13022,10 +13183,10 @@ uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->colStats.size()));
- std::vector<ColumnStatisticsObj> ::const_iterator _iter448;
- for (_iter448 = this->colStats.begin(); _iter448 != this->colStats.end(); ++_iter448)
+ std::vector<ColumnStatisticsObj> ::const_iterator _iter450;
+ for (_iter450 = this->colStats.begin(); _iter450 != this->colStats.end(); ++_iter450)
{
- xfer += (*_iter448).write(oprot);
+ xfer += (*_iter450).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -13053,17 +13214,17 @@ void swap(AggrStats &a, AggrStats &b) {
swap(a.__isset, b.__isset);
}
-AggrStats::AggrStats(const AggrStats& other449) {
- colStats = other449.colStats;
- partsFound = other449.partsFound;
- isStatsCompliant = other449.isStatsCompliant;
- __isset = other449.__isset;
+AggrStats::AggrStats(const AggrStats& other451) {
+ colStats = other451.colStats;
+ partsFound = other451.partsFound;
+ isStatsCompliant = other451.isStatsCompliant;
+ __isset = other451.__isset;
}
-AggrStats& AggrStats::operator=(const AggrStats& other450) {
- colStats = other450.colStats;
- partsFound = other450.partsFound;
- isStatsCompliant = other450.isStatsCompliant;
- __isset = other450.__isset;
+AggrStats& AggrStats::operator=(const AggrStats& other452) {
+ colStats = other452.colStats;
+ partsFound = other452.partsFound;
+ isStatsCompliant = other452.isStatsCompliant;
+ __isset = other452.__isset;
return *this;
}
void AggrStats::printTo(std::ostream& out) const {
@@ -13136,14 +13297,14 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->colStats.clear();
- uint32_t _size451;
- ::apache::thrift::protocol::TType _etype454;
- xfer += iprot->readListBegin(_etype454, _size451);
- this->colStats.resize(_size451);
- uint32_t _i455;
- for (_i455 = 0; _i455 < _size451; ++_i455)
+ uint32_t _size453;
+ ::apache::thrift::protocol::TType _etype456;
+ xfer += iprot->readListBegin(_etype456, _size453);
+ this->colStats.resize(_size453);
+ uint32_t _i457;
+ for (_i457 = 0; _i457 < _size453; ++_i457)
{
- xfer += this->colStats[_i455].read(iprot);
+ xfer += this->colStats[_i457].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13208,10 +13369,10 @@ uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->colStats.size()));
- std::vector<ColumnStatistics> ::const_iterator _iter456;
- for (_iter456 = this->colStats.begin(); _iter456 != this->colStats.end(); ++_iter456)
+ std::vector<ColumnStatistics> ::const_iterator _iter458;
+ for (_iter458 = this->colStats.begin(); _iter458 != this->colStats.end(); ++_iter458)
{
- xfer += (*_iter456).write(oprot);
+ xfer += (*_iter458).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -13251,21 +13412,21 @@ void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) {
swap(a.__isset, b.__isset);
}
-SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other457) {
- colStats = other457.colStats;
- needMerge = other457.needMerge;
- writeId = other457.writeId;
- validWriteIdList = other457.validWriteIdList;
- engine = other457.engine;
- __isset = other457.__isset;
+SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other459) {
+ colStats = other459.colStats;
+ needMerge = other459.needMerge;
+ writeId = other459.writeId;
+ validWriteIdList = other459.validWriteIdList;
+ engine = other459.engine;
+ __isset = other459.__isset;
}
-SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other458) {
- colStats = other458.colStats;
- needMerge = other458.needMerge;
- writeId = other458.writeId;
- validWriteIdList = other458.validWriteIdList;
- engine = other458.engine;
- __isset = other458.__isset;
+SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other460) {
+ colStats = other460.colStats;
+ needMerge = other460.needMerge;
+ writeId = other460.writeId;
+ validWriteIdList = other460.validWriteIdList;
+ engine = other460.engine;
+ __isset = other460.__isset;
return *this;
}
void SetPartitionsStatsRequest::printTo(std::ostream& out) const {
@@ -13357,11 +13518,11 @@ void swap(SetPartitionsStatsResponse &a, SetPartitionsStatsResponse &b) {
swap(a.result, b.result);
}
-SetPartitionsStatsResponse::SetPartitionsStatsResponse(const SetPartitionsStatsResponse& other459) {
- result = other459.result;
+SetPartitionsStatsResponse::SetPartitionsStatsResponse(const SetPartitionsStatsResponse& other461) {
+ result = other461.result;
}
-SetPartitionsStatsResponse& SetPartitionsStatsResponse::operator=(const SetPartitionsStatsResponse& other460) {
- result = other460.result;
+SetPartitionsStatsResponse& SetPartitionsStatsResponse::operator=(const SetPartitionsStatsResponse& other462) {
+ result = other462.result;
return *this;
}
void SetPartitionsStatsResponse::printTo(std::ostream& out) const {
@@ -13415,14 +13576,14 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->fieldSchemas.clear();
- uint32_t _size461;
- ::apache::thrift::protocol::TType _etype464;
- xfer += iprot->readListBegin(_etype464, _size461);
- this->fieldSchemas.resize(_size461);
- uint32_t _i465;
- for (_i465 = 0; _i465 < _size461; ++_i465)
+ uint32_t _size463;
+ ::apache::thrift::protocol::TType _etype466;
+ xfer += iprot->readListBegin(_etype466, _size463);
+ this->fieldSchemas.resize(_size463);
+ uint32_t _i467;
+ for (_i467 = 0; _i467 < _size463; ++_i467)
{
- xfer += this->fieldSchemas[_i465].read(iprot);
+ xfer += this->fieldSchemas[_i467].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13435,17 +13596,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->properties.clear();
- uint32_t _size466;
- ::apache::thrift::protocol::TType _ktype467;
- ::apache::thrift::protocol::TType _vtype468;
- xfer += iprot->readMapBegin(_ktype467, _vtype468, _size466);
- uint32_t _i470;
- for (_i470 = 0; _i470 < _size466; ++_i470)
+ uint32_t _size468;
+ ::apache::thrift::protocol::TType _ktype469;
+ ::apache::thrift::protocol::TType _vtype470;
+ xfer += iprot->readMapBegin(_ktype469, _vtype470, _size468);
+ uint32_t _i472;
+ for (_i472 = 0; _i472 < _size468; ++_i472)
{
- std::string _key471;
- xfer += iprot->readString(_key471);
- std::string& _val472 = this->properties[_key471];
- xfer += iprot->readString(_val472);
+ std::string _key473;
+ xfer += iprot->readString(_key473);
+ std::string& _val474 = this->properties[_key473];
+ xfer += iprot->readString(_val474);
}
xfer += iprot->readMapEnd();
}
@@ -13474,10 +13635,10 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->fieldSchemas.size()));
- std::vector<FieldSchema> ::const_iterator _iter473;
- for (_iter473 = this->fieldSchemas.begin(); _iter473 != this->fieldSchemas.end(); ++_iter473)
+ std::vector<FieldSchema> ::const_iterator _iter475;
+ for (_iter475 = this->fieldSchemas.begin(); _iter475 != this->fieldSchemas.end(); ++_iter475)
{
- xfer += (*_iter473).write(oprot);
+ xfer += (*_iter475).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -13486,11 +13647,11 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->properties.size()));
- std::map<std::string, std::string> ::const_iterator _iter474;
- for (_iter474 = this->properties.begin(); _iter474 != this->properties.end(); ++_iter474)
+ std::map<std::string, std::string> ::const_iterator _iter476;
+ for (_iter476 = this->properties.begin(); _iter476 != this->properties.end(); ++_iter476)
{
- xfer += oprot->writeString(_iter474->first);
- xfer += oprot->writeString(_iter474->second);
+ xfer += oprot->writeString(_iter476->first);
+ xfer += oprot->writeString(_iter476->second);
}
xfer += oprot->writeMapEnd();
}
@@ -13508,15 +13669,15 @@ void swap(Schema &a, Schema &b) {
swap(a.__isset, b.__isset);
}
-Schema::Schema(const Schema& other475) {
- fieldSchemas = other475.fieldSchemas;
- properties = other475.properties;
- __isset = other475.__isset;
+Schema::Schema(const Schema& other477) {
+ fieldSchemas = other477.fieldSchemas;
+ properties = other477.properties;
+ __isset = other477.__isset;
}
-Schema& Schema::operator=(const Schema& other476) {
- fieldSchemas = other476.fieldSchemas;
- properties = other476.properties;
- __isset = other476.__isset;
+Schema& Schema::operator=(const Schema& other478) {
+ fieldSchemas = other478.fieldSchemas;
+ properties = other478.properties;
+ __isset = other478.__isset;
return *this;
}
void Schema::printTo(std::ostream& out) const {
@@ -13683,21 +13844,21 @@ void swap(PrimaryKeysRequest &a, PrimaryKeysRequest &b) {
swap(a.__isset, b.__isset);
}
-PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other477) {
- db_name = other477.db_name;
- tbl_name = other477.tbl_name;
- catName = other477.catName;
- validWriteIdList = other477.validWriteIdList;
- tableId = other477.tableId;
- __isset = other477.__isset;
+PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other479) {
+ db_name = other479.db_name;
+ tbl_name = other479.tbl_name;
+ catName = other479.catName;
+ validWriteIdList = other479.validWriteIdList;
+ tableId = other479.tableId;
+ __isset = other479.__isset;
}
-PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other478) {
- db_name = other478.db_name;
- tbl_name = other478.tbl_name;
- catName = other478.catName;
- validWriteIdList = other478.validWriteIdList;
- tableId = other478.tableId;
- __isset = other478.__isset;
+PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other480) {
+ db_name = other480.db_name;
+ tbl_name = other480.tbl_name;
+ catName = other480.catName;
+ validWriteIdList = other480.validWriteIdList;
+ tableId = other480.tableId;
+ __isset = other480.__isset;
return *this;
}
void PrimaryKeysRequest::printTo(std::ostream& out) const {
@@ -13752,14 +13913,14 @@ uint32_t PrimaryKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot)
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->primaryKeys.clear();
- uint32_t _size479;
- ::apache::thrift::protocol::TType _etype482;
- xfer += iprot->readListBegin(_etype482, _size479);
- this->primaryKeys.resize(_size479);
- uint32_t _i483;
- for (_i483 = 0; _i483 < _size479; ++_i483)
+ uint32_t _size481;
+ ::apache::thrift::protocol::TType _etype484;
+ xfer += iprot->readListBegin(_etype484, _size481);
+ this->primaryKeys.resize(_size481);
+ uint32_t _i485;
+ for (_i485 = 0; _i485 < _size481; ++_i485)
{
- xfer += this->primaryKeys[_i483].read(iprot);
+ xfer += this->primaryKeys[_i485].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -13790,10 +13951,10 @@ uint32_t PrimaryKeysResponse::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->primaryKeys.size()));
- std::vector<SQLPrimaryKey> ::const_iterator _iter484;
- for (_iter484 = this->primaryKeys.begin(); _iter484 != this->primaryKeys.end(); ++_iter484)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter486;
+ for (_iter486 = this->primaryKeys.begin(); _iter486 != this->primaryKeys.end(); ++_iter486)
{
- xfer += (*_iter484).write(oprot);
+ xfer += (*_iter486).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -13809,11 +13970,11 @@ void swap(PrimaryKeysResponse &a, PrimaryKeysResponse &b) {
swap(a.primaryKeys, b.primaryKeys);
}
-PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other485) {
- primaryKeys = other485.primaryKeys;
+PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other487) {
+ primaryKeys = other487.primaryKeys;
}
-PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other486) {
- primaryKeys = other486.primaryKeys;
+PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other488) {
+ primaryKeys = other488.primaryKeys;
return *this;
}
void PrimaryKeysResponse::printTo(std::ostream& out) const {
@@ -14007,25 +14168,25 @@ void swap(ForeignKeysRequest &a, ForeignKeysRequest &b) {
swap(a.__isset, b.__isset);
}
-ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other487) {
- parent_db_name = other487.parent_db_name;
- parent_tbl_name = other487.parent_tbl_name;
- foreign_db_name = other487.foreign_db_name;
- foreign_tbl_name = other487.foreign_tbl_name;
- catName = other487.catName;
- validWriteIdList = other487.validWriteIdList;
- tableId = other487.tableId;
- __isset = other487.__isset;
+ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other489) {
+ parent_db_name = other489.parent_db_name;
+ parent_tbl_name = other489.parent_tbl_name;
+ foreign_db_name = other489.foreign_db_name;
+ foreign_tbl_name = other489.foreign_tbl_name;
+ catName = other489.catName;
+ validWriteIdList = other489.validWriteIdList;
+ tableId = other489.tableId;
+ __isset = other489.__isset;
}
-ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other488) {
- parent_db_name = other488.parent_db_name;
- parent_tbl_name = other488.parent_tbl_name;
- foreign_db_name = other488.foreign_db_name;
- foreign_tbl_name = other488.foreign_tbl_name;
- catName = other488.catName;
- validWriteIdList = other488.validWriteIdList;
- tableId = other488.tableId;
- __isset = other488.__isset;
+ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other490) {
+ parent_db_name = other490.parent_db_name;
+ parent_tbl_name = other490.parent_tbl_name;
+ foreign_db_name = other490.foreign_db_name;
+ foreign_tbl_name = other490.foreign_tbl_name;
+ catName = other490.catName;
+ validWriteIdList = other490.validWriteIdList;
+ tableId = other490.tableId;
+ __isset = other490.__isset;
return *this;
}
void ForeignKeysRequest::printTo(std::ostream& out) const {
@@ -14082,14 +14243,14 @@ uint32_t ForeignKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot)
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->foreignKeys.clear();
- uint32_t _size489;
- ::apache::thrift::protocol::TType _etype492;
- xfer += iprot->readListBegin(_etype492, _size489);
- this->foreignKeys.resize(_size489);
- uint32_t _i493;
- for (_i493 = 0; _i493 < _size489; ++_i493)
+ uint32_t _size491;
+ ::apache::thrift::protocol::TType _etype494;
+ xfer += iprot->readListBegin(_etype494, _size491);
+ this->foreignKeys.resize(_size491);
+ uint32_t _i495;
+ for (_i495 = 0; _i495 < _size491; ++_i495)
{
- xfer += this->foreignKeys[_i493].read(iprot);
+ xfer += this->foreignKeys[_i495].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -14120,10 +14281,10 @@ uint32_t ForeignKeysResponse::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->foreignKeys.size()));
- std::vector<SQLForeignKey> ::const_iterator _iter494;
- for (_iter494 = this->foreignKeys.begin(); _iter494 != this->foreignKeys.end(); ++_iter494)
+ std::vector<SQLForeignKey> ::const_iterator _iter496;
+ for (_iter496 = this->foreignKeys.begin(); _iter496 != this->foreignKeys.end(); ++_iter496)
{
- xfer += (*_iter494).write(oprot);
+ xfer += (*_iter496).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -14139,11 +14300,11 @@ void swap(ForeignKeysResponse &a, ForeignKeysResponse &b) {
swap(a.foreignKeys, b.foreignKeys);
}
-ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other495) {
- foreignKeys = other495.foreignKeys;
+ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other497) {
+ foreignKeys = other497.foreignKeys;
}
-ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other496) {
- foreignKeys = other496.foreignKeys;
+ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other498) {
+ foreignKeys = other498.foreignKeys;
return *this;
}
void ForeignKeysResponse::printTo(std::ostream& out) const {
@@ -14310,21 +14471,21 @@ void swap(UniqueConstraintsRequest &a, UniqueConstraintsRequest &b) {
swap(a.__isset, b.__isset);
}
-UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other497) {
- catName = other497.catName;
- db_name = other497.db_name;
- tbl_name = other497.tbl_name;
- validWriteIdList = other497.validWriteIdList;
- tableId = other497.tableId;
- __isset = other497.__isset;
+UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other499) {
+ catName = other499.catName;
+ db_name = other499.db_name;
+ tbl_name = other499.tbl_name;
+ validWriteIdList = other499.validWriteIdList;
+ tableId = other499.tableId;
+ __isset = other499.__isset;
}
-UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other498) {
- catName = other498.catName;
- db_name = other498.db_name;
- tbl_name = other498.tbl_name;
- validWriteIdList = other498.validWriteIdList;
- tableId = other498.tableId;
- __isset = other498.__isset;
+UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other500) {
+ catName = other500.catName;
+ db_name = other500.db_name;
+ tbl_name = other500.tbl_name;
+ validWriteIdList = other500.validWriteIdList;
+ tableId = other500.tableId;
+ __isset = other500.__isset;
return *this;
}
void UniqueConstraintsRequest::printTo(std::ostream& out) const {
@@ -14379,14 +14540,14 @@ uint32_t UniqueConstraintsResponse::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->uniqueConstraints.clear();
- uint32_t _size499;
- ::apache::thrift::protocol::TType _etype502;
- xfer += iprot->readListBegin(_etype502, _size499);
- this->uniqueConstraints.resize(_size499);
- uint32_t _i503;
- for (_i503 = 0; _i503 < _size499; ++_i503)
+ uint32_t _size501;
+ ::apache::thrift::protocol::TType _etype504;
+ xfer += iprot->readListBegin(_etype504, _size501);
+ this->uniqueConstraints.resize(_size501);
+ uint32_t _i505;
+ for (_i505 = 0; _i505 < _size501; ++_i505)
{
- xfer += this->uniqueConstraints[_i503].read(iprot);
+ xfer += this->uniqueConstraints[_i505].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -14417,10 +14578,10 @@ uint32_t UniqueConstraintsResponse::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->uniqueConstraints.size()));
- std::vector<SQLUniqueConstraint> ::const_iterator _iter504;
- for (_iter504 = this->uniqueConstraints.begin(); _iter504 != this->uniqueConstraints.end(); ++_iter504)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter506;
+ for (_iter506 = this->uniqueConstraints.begin(); _iter506 != this->uniqueConstraints.end(); ++_iter506)
{
- xfer += (*_iter504).write(oprot);
+ xfer += (*_iter506).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -14436,11 +14597,11 @@ void swap(UniqueConstraintsResponse &a, UniqueConstraintsResponse &b) {
swap(a.uniqueConstraints, b.uniqueConstraints);
}
-UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other505) {
- uniqueConstraints = other505.uniqueConstraints;
+UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other507) {
+ uniqueConstraints = other507.uniqueConstraints;
}
-UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other506) {
- uniqueConstraints = other506.uniqueConstraints;
+UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other508) {
+ uniqueConstraints = other508.uniqueConstraints;
return *this;
}
void UniqueConstraintsResponse::printTo(std::ostream& out) const {
@@ -14607,21 +14768,21 @@ void swap(NotNullConstraintsRequest &a, NotNullConstraintsRequest &b) {
swap(a.__isset, b.__isset);
}
-NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other507) {
- catName = other507.catName;
- db_name = other507.db_name;
- tbl_name = other507.tbl_name;
- validWriteIdList = other507.validWriteIdList;
- tableId = other507.tableId;
- __isset = other507.__isset;
+NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other509) {
+ catName = other509.catName;
+ db_name = other509.db_name;
+ tbl_name = other509.tbl_name;
+ validWriteIdList = other509.validWriteIdList;
+ tableId = other509.tableId;
+ __isset = other509.__isset;
}
-NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other508) {
- catName = other508.catName;
- db_name = other508.db_name;
- tbl_name = other508.tbl_name;
- validWriteIdList = other508.validWriteIdList;
- tableId = other508.tableId;
- __isset = other508.__isset;
+NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other510) {
+ catName = other510.catName;
+ db_name = other510.db_name;
+ tbl_name = other510.tbl_name;
+ validWriteIdList = other510.validWriteIdList;
+ tableId = other510.tableId;
+ __isset = other510.__isset;
return *this;
}
void NotNullConstraintsRequest::printTo(std::ostream& out) const {
@@ -14676,14 +14837,14 @@ uint32_t NotNullConstraintsResponse::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->notNullConstraints.clear();
- uint32_t _size509;
- ::apache::thrift::protocol::TType _etype512;
- xfer += iprot->readListBegin(_etype512, _size509);
- this->notNullConstraints.resize(_size509);
- uint32_t _i513;
- for (_i513 = 0; _i513 < _size509; ++_i513)
+ uint32_t _size511;
+ ::apache::thrift::protocol::TType _etype514;
+ xfer += iprot->readListBegin(_etype514, _size511);
+ this->notNullConstraints.resize(_size511);
+ uint32_t _i515;
+ for (_i515 = 0; _i515 < _size511; ++_i515)
{
- xfer += this->notNullConstraints[_i513].read(iprot);
+ xfer += this->notNullConstraints[_i515].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -14714,10 +14875,10 @@ uint32_t NotNullConstraintsResponse::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->notNullConstraints.size()));
- std::vector<SQLNotNullConstraint> ::const_iterator _iter514;
- for (_iter514 = this->notNullConstraints.begin(); _iter514 != this->notNullConstraints.end(); ++_iter514)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter516;
+ for (_iter516 = this->notNullConstraints.begin(); _iter516 != this->notNullConstraints.end(); ++_iter516)
{
- xfer += (*_iter514).write(oprot);
+ xfer += (*_iter516).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -14733,11 +14894,11 @@ void swap(NotNullConstraintsResponse &a, NotNullConstraintsResponse &b) {
swap(a.notNullConstraints, b.notNullConstraints);
}
-NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other515) {
- notNullConstraints = other515.notNullConstraints;
+NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other517) {
+ notNullConstraints = other517.notNullConstraints;
}
-NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other516) {
- notNullConstraints = other516.notNullConstraints;
+NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other518) {
+ notNullConstraints = other518.notNullConstraints;
return *this;
}
void NotNullConstraintsResponse::printTo(std::ostream& out) const {
@@ -14904,21 +15065,21 @@ void swap(DefaultConstraintsRequest &a, DefaultConstraintsRequest &b) {
swap(a.__isset, b.__isset);
}
-DefaultConstraintsRequest::DefaultConstraintsRequest(const DefaultConstraintsRequest& other517) {
- catName = other517.catName;
- db_name = other517.db_name;
- tbl_name = other517.tbl_name;
- validWriteIdList = other517.validWriteIdList;
- tableId = other517.tableId;
- __isset = other517.__isset;
+DefaultConstraintsRequest::DefaultConstraintsRequest(const DefaultConstraintsRequest& other519) {
+ catName = other519.catName;
+ db_name = other519.db_name;
+ tbl_name = other519.tbl_name;
+ validWriteIdList = other519.validWriteIdList;
+ tableId = other519.tableId;
+ __isset = other519.__isset;
}
-DefaultConstraintsRequest& DefaultConstraintsRequest::operator=(const DefaultConstraintsRequest& other518) {
- catName = other518.catName;
- db_name = other518.db_name;
- tbl_name = other518.tbl_name;
- validWriteIdList = other518.validWriteIdList;
- tableId = other518.tableId;
- __isset = other518.__isset;
+DefaultConstraintsRequest& DefaultConstraintsRequest::operator=(const DefaultConstraintsRequest& other520) {
+ catName = other520.catName;
+ db_name = other520.db_name;
+ tbl_name = other520.tbl_name;
+ validWriteIdList = other520.validWriteIdList;
+ tableId = other520.tableId;
+ __isset = other520.__isset;
return *this;
}
void DefaultConstraintsRequest::printTo(std::ostream& out) const {
@@ -14973,14 +15134,14 @@ uint32_t DefaultConstraintsResponse::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->defaultConstraints.clear();
- uint32_t _size519;
- ::apache::thrift::protocol::TType _etype522;
- xfer += iprot->readListBegin(_etype522, _size519);
- this->defaultConstraints.resize(_size519);
- uint32_t _i523;
- for (_i523 = 0; _i523 < _size519; ++_i523)
+ uint32_t _size521;
+ ::apache::thrift::protocol::TType _etype524;
+ xfer += iprot->readListBegin(_etype524, _size521);
+ this->defaultConstraints.resize(_size521);
+ uint32_t _i525;
+ for (_i525 = 0; _i525 < _size521; ++_i525)
{
- xfer += this->defaultConstraints[_i523].read(iprot);
+ xfer += this->defaultConstraints[_i525].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15011,10 +15172,10 @@ uint32_t DefaultConstraintsResponse::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->defaultConstraints.size()));
- std::vector<SQLDefaultConstraint> ::const_iterator _iter524;
- for (_iter524 = this->defaultConstraints.begin(); _iter524 != this->defaultConstraints.end(); ++_iter524)
+ std::vector<SQLDefaultConstraint> ::const_iterator _iter526;
+ for (_iter526 = this->defaultConstraints.begin(); _iter526 != this->defaultConstraints.end(); ++_iter526)
{
- xfer += (*_iter524).write(oprot);
+ xfer += (*_iter526).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -15030,11 +15191,11 @@ void swap(DefaultConstraintsResponse &a, DefaultConstraintsResponse &b) {
swap(a.defaultConstraints, b.defaultConstraints);
}
-DefaultConstraintsResponse::DefaultConstraintsResponse(const DefaultConstraintsResponse& other525) {
- defaultConstraints = other525.defaultConstraints;
+DefaultConstraintsResponse::DefaultConstraintsResponse(const DefaultConstraintsResponse& other527) {
+ defaultConstraints = other527.defaultConstraints;
}
-DefaultConstraintsResponse& DefaultConstraintsResponse::operator=(const DefaultConstraintsResponse& other526) {
- defaultConstraints = other526.defaultConstraints;
+DefaultConstraintsResponse& DefaultConstraintsResponse::operator=(const DefaultConstraintsResponse& other528) {
+ defaultConstraints = other528.defaultConstraints;
return *this;
}
void DefaultConstraintsResponse::printTo(std::ostream& out) const {
@@ -15201,21 +15362,21 @@ void swap(CheckConstraintsRequest &a, CheckConstraintsRequest &b) {
swap(a.__isset, b.__isset);
}
-CheckConstraintsRequest::CheckConstraintsRequest(const CheckConstraintsRequest& other527) {
- catName = other527.catName;
- db_name = other527.db_name;
- tbl_name = other527.tbl_name;
- validWriteIdList = other527.validWriteIdList;
- tableId = other527.tableId;
- __isset = other527.__isset;
+CheckConstraintsRequest::CheckConstraintsRequest(const CheckConstraintsRequest& other529) {
+ catName = other529.catName;
+ db_name = other529.db_name;
+ tbl_name = other529.tbl_name;
+ validWriteIdList = other529.validWriteIdList;
+ tableId = other529.tableId;
+ __isset = other529.__isset;
}
-CheckConstraintsRequest& CheckConstraintsRequest::operator=(const CheckConstraintsRequest& other528) {
- catName = other528.catName;
- db_name = other528.db_name;
- tbl_name = other528.tbl_name;
- validWriteIdList = other528.validWriteIdList;
- tableId = other528.tableId;
- __isset = other528.__isset;
+CheckConstraintsRequest& CheckConstraintsRequest::operator=(const CheckConstraintsRequest& other530) {
+ catName = other530.catName;
+ db_name = other530.db_name;
+ tbl_name = other530.tbl_name;
+ validWriteIdList = other530.validWriteIdList;
+ tableId = other530.tableId;
+ __isset = other530.__isset;
return *this;
}
void CheckConstraintsRequest::printTo(std::ostream& out) const {
@@ -15270,14 +15431,14 @@ uint32_t CheckConstraintsResponse::read(::apache::thrift::protocol::TProtocol* i
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->checkConstraints.clear();
- uint32_t _size529;
- ::apache::thrift::protocol::TType _etype532;
- xfer += iprot->readListBegin(_etype532, _size529);
- this->checkConstraints.resize(_size529);
- uint32_t _i533;
- for (_i533 = 0; _i533 < _size529; ++_i533)
+ uint32_t _size531;
+ ::apache::thrift::protocol::TType _etype534;
+ xfer += iprot->readListBegin(_etype534, _size531);
+ this->checkConstraints.resize(_size531);
+ uint32_t _i535;
+ for (_i535 = 0; _i535 < _size531; ++_i535)
{
- xfer += this->checkConstraints[_i533].read(iprot);
+ xfer += this->checkConstraints[_i535].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15308,10 +15469,10 @@ uint32_t CheckConstraintsResponse::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->checkConstraints.size()));
- std::vector<SQLCheckConstraint> ::const_iterator _iter534;
- for (_iter534 = this->checkConstraints.begin(); _iter534 != this->checkConstraints.end(); ++_iter534)
+ std::vector<SQLCheckConstraint> ::const_iterator _iter536;
+ for (_iter536 = this->checkConstraints.begin(); _iter536 != this->checkConstraints.end(); ++_iter536)
{
- xfer += (*_iter534).write(oprot);
+ xfer += (*_iter536).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -15327,11 +15488,11 @@ void swap(CheckConstraintsResponse &a, CheckConstraintsResponse &b) {
swap(a.checkConstraints, b.checkConstraints);
}
-CheckConstraintsResponse::CheckConstraintsResponse(const CheckConstraintsResponse& other535) {
- checkConstraints = other535.checkConstraints;
+CheckConstraintsResponse::CheckConstraintsResponse(const CheckConstraintsResponse& other537) {
+ checkConstraints = other537.checkConstraints;
}
-CheckConstraintsResponse& CheckConstraintsResponse::operator=(const CheckConstraintsResponse& other536) {
- checkConstraints = other536.checkConstraints;
+CheckConstraintsResponse& CheckConstraintsResponse::operator=(const CheckConstraintsResponse& other538) {
+ checkConstraints = other538.checkConstraints;
return *this;
}
void CheckConstraintsResponse::printTo(std::ostream& out) const {
@@ -15498,21 +15659,21 @@ void swap(AllTableConstraintsRequest &a, AllTableConstraintsRequest &b) {
swap(a.__isset, b.__isset);
}
-AllTableConstraintsRequest::AllTableConstraintsRequest(const AllTableConstraintsRequest& other537) {
- dbName = other537.dbName;
- tblName = other537.tblName;
- catName = other537.catName;
- validWriteIdList = other537.validWriteIdList;
- tableId = other537.tableId;
- __isset = other537.__isset;
+AllTableConstraintsRequest::AllTableConstraintsRequest(const AllTableConstraintsRequest& other539) {
+ dbName = other539.dbName;
+ tblName = other539.tblName;
+ catName = other539.catName;
+ validWriteIdList = other539.validWriteIdList;
+ tableId = other539.tableId;
+ __isset = other539.__isset;
}
-AllTableConstraintsRequest& AllTableConstraintsRequest::operator=(const AllTableConstraintsRequest& other538) {
- dbName = other538.dbName;
- tblName = other538.tblName;
- catName = other538.catName;
- validWriteIdList = other538.validWriteIdList;
- tableId = other538.tableId;
- __isset = other538.__isset;
+AllTableConstraintsRequest& AllTableConstraintsRequest::operator=(const AllTableConstraintsRequest& other540) {
+ dbName = other540.dbName;
+ tblName = other540.tblName;
+ catName = other540.catName;
+ validWriteIdList = other540.validWriteIdList;
+ tableId = other540.tableId;
+ __isset = other540.__isset;
return *this;
}
void AllTableConstraintsRequest::printTo(std::ostream& out) const {
@@ -15604,11 +15765,11 @@ void swap(AllTableConstraintsResponse &a, AllTableConstraintsResponse &b) {
swap(a.allTableConstraints, b.allTableConstraints);
}
-AllTableConstraintsResponse::AllTableConstraintsResponse(const AllTableConstraintsResponse& other539) {
- allTableConstraints = other539.allTableConstraints;
+AllTableConstraintsResponse::AllTableConstraintsResponse(const AllTableConstraintsResponse& other541) {
+ allTableConstraints = other541.allTableConstraints;
}
-AllTableConstraintsResponse& AllTableConstraintsResponse::operator=(const AllTableConstraintsResponse& other540) {
- allTableConstraints = other540.allTableConstraints;
+AllTableConstraintsResponse& AllTableConstraintsResponse::operator=(const AllTableConstraintsResponse& other542) {
+ allTableConstraints = other542.allTableConstraints;
return *this;
}
void AllTableConstraintsResponse::printTo(std::ostream& out) const {
@@ -15756,19 +15917,19 @@ void swap(DropConstraintRequest &a, DropConstraintRequest &b) {
swap(a.__isset, b.__isset);
}
-DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other541) {
- dbname = other541.dbname;
- tablename = other541.tablename;
- constraintname = other541.constraintname;
- catName = other541.catName;
- __isset = other541.__isset;
+DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other543) {
+ dbname = other543.dbname;
+ tablename = other543.tablename;
+ constraintname = other543.constraintname;
+ catName = other543.catName;
+ __isset = other543.__isset;
}
-DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other542) {
- dbname = other542.dbname;
- tablename = other542.tablename;
- constraintname = other542.constraintname;
- catName = other542.catName;
- __isset = other542.__isset;
+DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other544) {
+ dbname = other544.dbname;
+ tablename = other544.tablename;
+ constraintname = other544.constraintname;
+ catName = other544.catName;
+ __isset = other544.__isset;
return *this;
}
void DropConstraintRequest::printTo(std::ostream& out) const {
@@ -15822,14 +15983,14 @@ uint32_t AddPrimaryKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->primaryKeyCols.clear();
- uint32_t _size543;
- ::apache::thrift::protocol::TType _etype546;
- xfer += iprot->readListBegin(_etype546, _size543);
- this->primaryKeyCols.resize(_size543);
- uint32_t _i547;
- for (_i547 = 0; _i547 < _size543; ++_i547)
+ uint32_t _size545;
+ ::apache::thrift::protocol::TType _etype548;
+ xfer += iprot->readListBegin(_etype548, _size545);
+ this->primaryKeyCols.resize(_size545);
+ uint32_t _i549;
+ for (_i549 = 0; _i549 < _size545; ++_i549)
{
- xfer += this->primaryKeyCols[_i547].read(iprot);
+ xfer += this->primaryKeyCols[_i549].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15860,10 +16021,10 @@ uint32_t AddPrimaryKeyRequest::write(::apache::thrift::protocol::TProtocol* opro
xfer += oprot->writeFieldBegin("primaryKeyCols", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->primaryKeyCols.size()));
- std::vector<SQLPrimaryKey> ::const_iterator _iter548;
- for (_iter548 = this->primaryKeyCols.begin(); _iter548 != this->primaryKeyCols.end(); ++_iter548)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter550;
+ for (_iter550 = this->primaryKeyCols.begin(); _iter550 != this->primaryKeyCols.end(); ++_iter550)
{
- xfer += (*_iter548).write(oprot);
+ xfer += (*_iter550).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -15879,11 +16040,11 @@ void swap(AddPrimaryKeyRequest &a, AddPrimaryKeyRequest &b) {
swap(a.primaryKeyCols, b.primaryKeyCols);
}
-AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other549) {
- primaryKeyCols = other549.primaryKeyCols;
+AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other551) {
+ primaryKeyCols = other551.primaryKeyCols;
}
-AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other550) {
- primaryKeyCols = other550.primaryKeyCols;
+AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other552) {
+ primaryKeyCols = other552.primaryKeyCols;
return *this;
}
void AddPrimaryKeyRequest::printTo(std::ostream& out) const {
@@ -15934,14 +16095,14 @@ uint32_t AddForeignKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->foreignKeyCols.clear();
- uint32_t _size551;
- ::apache::thrift::protocol::TType _etype554;
- xfer += iprot->readListBegin(_etype554, _size551);
- this->foreignKeyCols.resize(_size551);
- uint32_t _i555;
- for (_i555 = 0; _i555 < _size551; ++_i555)
+ uint32_t _size553;
+ ::apache::thrift::protocol::TType _etype556;
+ xfer += iprot->readListBegin(_etype556, _size553);
+ this->foreignKeyCols.resize(_size553);
+ uint32_t _i557;
+ for (_i557 = 0; _i557 < _size553; ++_i557)
{
- xfer += this->foreignKeyCols[_i555].read(iprot);
+ xfer += this->foreignKeyCols[_i557].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15972,10 +16133,10 @@ uint32_t AddForeignKeyRequest::write(::apache::thrift::protocol::TProtocol* opro
xfer += oprot->writeFieldBegin("foreignKeyCols", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->foreignKeyCols.size()));
- std::vector<SQLForeignKey> ::const_iterator _iter556;
- for (_iter556 = this->foreignKeyCols.begin(); _iter556 != this->foreignKeyCols.end(); ++_iter556)
+ std::vector<SQLForeignKey> ::const_iterator _iter558;
+ for (_iter558 = this->foreignKeyCols.begin(); _iter558 != this->foreignKeyCols.end(); ++_iter558)
{
- xfer += (*_iter556).write(oprot);
+ xfer += (*_iter558).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -15991,11 +16152,11 @@ void swap(AddForeignKeyRequest &a, AddForeignKeyRequest &b) {
swap(a.foreignKeyCols, b.foreignKeyCols);
}
-AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other557) {
- foreignKeyCols = other557.foreignKeyCols;
+AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other559) {
+ foreignKeyCols = other559.foreignKeyCols;
}
-AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other558) {
- foreignKeyCols = other558.foreignKeyCols;
+AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other560) {
+ foreignKeyCols = other560.foreignKeyCols;
return *this;
}
void AddForeignKeyRequest::printTo(std::ostream& out) const {
@@ -16046,14 +16207,14 @@ uint32_t AddUniqueConstraintRequest::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->uniqueConstraintCols.clear();
- uint32_t _size559;
- ::apache::thrift::protocol::TType _etype562;
- xfer += iprot->readListBegin(_etype562, _size559);
- this->uniqueConstraintCols.resize(_size559);
- uint32_t _i563;
- for (_i563 = 0; _i563 < _size559; ++_i563)
+ uint32_t _size561;
+ ::apache::thrift::protocol::TType _etype564;
+ xfer += iprot->readListBegin(_etype564, _size561);
+ this->uniqueConstraintCols.resize(_size561);
+ uint32_t _i565;
+ for (_i565 = 0; _i565 < _size561; ++_i565)
{
- xfer += this->uniqueConstraintCols[_i563].read(iprot);
+ xfer += this->uniqueConstraintCols[_i565].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16084,10 +16245,10 @@ uint32_t AddUniqueConstraintRequest::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("uniqueConstraintCols", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->uniqueConstraintCols.size()));
- std::vector<SQLUniqueConstraint> ::const_iterator _iter564;
- for (_iter564 = this->uniqueConstraintCols.begin(); _iter564 != this->uniqueConstraintCols.end(); ++_iter564)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter566;
+ for (_iter566 = this->uniqueConstraintCols.begin(); _iter566 != this->uniqueConstraintCols.end(); ++_iter566)
{
- xfer += (*_iter564).write(oprot);
+ xfer += (*_iter566).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16103,11 +16264,11 @@ void swap(AddUniqueConstraintRequest &a, AddUniqueConstraintRequest &b) {
swap(a.uniqueConstraintCols, b.uniqueConstraintCols);
}
-AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other565) {
- uniqueConstraintCols = other565.uniqueConstraintCols;
+AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other567) {
+ uniqueConstraintCols = other567.uniqueConstraintCols;
}
-AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other566) {
- uniqueConstraintCols = other566.uniqueConstraintCols;
+AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other568) {
+ uniqueConstraintCols = other568.uniqueConstraintCols;
return *this;
}
void AddUniqueConstraintRequest::printTo(std::ostream& out) const {
@@ -16158,14 +16319,14 @@ uint32_t AddNotNullConstraintRequest::read(::apache::thrift::protocol::TProtocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->notNullConstraintCols.clear();
- uint32_t _size567;
- ::apache::thrift::protocol::TType _etype570;
- xfer += iprot->readListBegin(_etype570, _size567);
- this->notNullConstraintCols.resize(_size567);
- uint32_t _i571;
- for (_i571 = 0; _i571 < _size567; ++_i571)
+ uint32_t _size569;
+ ::apache::thrift::protocol::TType _etype572;
+ xfer += iprot->readListBegin(_etype572, _size569);
+ this->notNullConstraintCols.resize(_size569);
+ uint32_t _i573;
+ for (_i573 = 0; _i573 < _size569; ++_i573)
{
- xfer += this->notNullConstraintCols[_i571].read(iprot);
+ xfer += this->notNullConstraintCols[_i573].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16196,10 +16357,10 @@ uint32_t AddNotNullConstraintRequest::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldBegin("notNullConstraintCols", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->notNullConstraintCols.size()));
- std::vector<SQLNotNullConstraint> ::const_iterator _iter572;
- for (_iter572 = this->notNullConstraintCols.begin(); _iter572 != this->notNullConstraintCols.end(); ++_iter572)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter574;
+ for (_iter574 = this->notNullConstraintCols.begin(); _iter574 != this->notNullConstraintCols.end(); ++_iter574)
{
- xfer += (*_iter572).write(oprot);
+ xfer += (*_iter574).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16215,11 +16376,11 @@ void swap(AddNotNullConstraintRequest &a, AddNotNullConstraintRequest &b) {
swap(a.notNullConstraintCols, b.notNullConstraintCols);
}
-AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other573) {
- notNullConstraintCols = other573.notNullConstraintCols;
+AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other575) {
+ notNullConstraintCols = other575.notNullConstraintCols;
}
-AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other574) {
- notNullConstraintCols = other574.notNullConstraintCols;
+AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other576) {
+ notNullConstraintCols = other576.notNullConstraintCols;
return *this;
}
void AddNotNullConstraintRequest::printTo(std::ostream& out) const {
@@ -16270,14 +16431,14 @@ uint32_t AddDefaultConstraintRequest::read(::apache::thrift::protocol::TProtocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->defaultConstraintCols.clear();
- uint32_t _size575;
- ::apache::thrift::protocol::TType _etype578;
- xfer += iprot->readListBegin(_etype578, _size575);
- this->defaultConstraintCols.resize(_size575);
- uint32_t _i579;
- for (_i579 = 0; _i579 < _size575; ++_i579)
+ uint32_t _size577;
+ ::apache::thrift::protocol::TType _etype580;
+ xfer += iprot->readListBegin(_etype580, _size577);
+ this->defaultConstraintCols.resize(_size577);
+ uint32_t _i581;
+ for (_i581 = 0; _i581 < _size577; ++_i581)
{
- xfer += this->defaultConstraintCols[_i579].read(iprot);
+ xfer += this->defaultConstraintCols[_i581].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16308,10 +16469,10 @@ uint32_t AddDefaultConstraintRequest::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldBegin("defaultConstraintCols", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->defaultConstraintCols.size()));
- std::vector<SQLDefaultConstraint> ::const_iterator _iter580;
- for (_iter580 = this->defaultConstraintCols.begin(); _iter580 != this->defaultConstraintCols.end(); ++_iter580)
+ std::vector<SQLDefaultConstraint> ::const_iterator _iter582;
+ for (_iter582 = this->defaultConstraintCols.begin(); _iter582 != this->defaultConstraintCols.end(); ++_iter582)
{
- xfer += (*_iter580).write(oprot);
+ xfer += (*_iter582).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16327,11 +16488,11 @@ void swap(AddDefaultConstraintRequest &a, AddDefaultConstraintRequest &b) {
swap(a.defaultConstraintCols, b.defaultConstraintCols);
}
-AddDefaultConstraintRequest::AddDefaultConstraintRequest(const AddDefaultConstraintRequest& other581) {
- defaultConstraintCols = other581.defaultConstraintCols;
+AddDefaultConstraintRequest::AddDefaultConstraintRequest(const AddDefaultConstraintRequest& other583) {
+ defaultConstraintCols = other583.defaultConstraintCols;
}
-AddDefaultConstraintRequest& AddDefaultConstraintRequest::operator=(const AddDefaultConstraintRequest& other582) {
- defaultConstraintCols = other582.defaultConstraintCols;
+AddDefaultConstraintRequest& AddDefaultConstraintRequest::operator=(const AddDefaultConstraintRequest& other584) {
+ defaultConstraintCols = other584.defaultConstraintCols;
return *this;
}
void AddDefaultConstraintRequest::printTo(std::ostream& out) const {
@@ -16382,14 +16543,14 @@ uint32_t AddCheckConstraintRequest::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->checkConstraintCols.clear();
- uint32_t _size583;
- ::apache::thrift::protocol::TType _etype586;
- xfer += iprot->readListBegin(_etype586, _size583);
- this->checkConstraintCols.resize(_size583);
- uint32_t _i587;
- for (_i587 = 0; _i587 < _size583; ++_i587)
+ uint32_t _size585;
+ ::apache::thrift::protocol::TType _etype588;
+ xfer += iprot->readListBegin(_etype588, _size585);
+ this->checkConstraintCols.resize(_size585);
+ uint32_t _i589;
+ for (_i589 = 0; _i589 < _size585; ++_i589)
{
- xfer += this->checkConstraintCols[_i587].read(iprot);
+ xfer += this->checkConstraintCols[_i589].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16420,10 +16581,10 @@ uint32_t AddCheckConstraintRequest::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldBegin("checkConstraintCols", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->checkConstraintCols.size()));
- std::vector<SQLCheckConstraint> ::const_iterator _iter588;
- for (_iter588 = this->checkConstraintCols.begin(); _iter588 != this->checkConstraintCols.end(); ++_iter588)
+ std::vector<SQLCheckConstraint> ::const_iterator _iter590;
+ for (_iter590 = this->checkConstraintCols.begin(); _iter590 != this->checkConstraintCols.end(); ++_iter590)
{
- xfer += (*_iter588).write(oprot);
+ xfer += (*_iter590).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16439,11 +16600,11 @@ void swap(AddCheckConstraintRequest &a, AddCheckConstraintRequest &b) {
swap(a.checkConstraintCols, b.checkConstraintCols);
}
-AddCheckConstraintRequest::AddCheckConstraintRequest(const AddCheckConstraintRequest& other589) {
- checkConstraintCols = other589.checkConstraintCols;
+AddCheckConstraintRequest::AddCheckConstraintRequest(const AddCheckConstraintRequest& other591) {
+ checkConstraintCols = other591.checkConstraintCols;
}
-AddCheckConstraintRequest& AddCheckConstraintRequest::operator=(const AddCheckConstraintRequest& other590) {
- checkConstraintCols = other590.checkConstraintCols;
+AddCheckConstraintRequest& AddCheckConstraintRequest::operator=(const AddCheckConstraintRequest& other592) {
+ checkConstraintCols = other592.checkConstraintCols;
return *this;
}
void AddCheckConstraintRequest::printTo(std::ostream& out) const {
@@ -16499,14 +16660,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitions.clear();
- uint32_t _size591;
- ::apache::thrift::protocol::TType _etype594;
- xfer += iprot->readListBegin(_etype594, _size591);
- this->partitions.resize(_size591);
- uint32_t _i595;
- for (_i595 = 0; _i595 < _size591; ++_i595)
+ uint32_t _size593;
+ ::apache::thrift::protocol::TType _etype596;
+ xfer += iprot->readListBegin(_etype596, _size593);
+ this->partitions.resize(_size593);
+ uint32_t _i597;
+ for (_i597 = 0; _i597 < _size593; ++_i597)
{
- xfer += this->partitions[_i595].read(iprot);
+ xfer += this->partitions[_i597].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16547,10 +16708,10 @@ uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitions.size()));
- std::vector<Partition> ::const_iterator _iter596;
- for (_iter596 = this->partitions.begin(); _iter596 != this->partitions.end(); ++_iter596)
+ std::vector<Partition> ::const_iterator _iter598;
+ for (_iter598 = this->partitions.begin(); _iter598 != this->partitions.end(); ++_iter598)
{
- xfer += (*_iter596).write(oprot);
+ xfer += (*_iter598).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16571,13 +16732,13 @@ void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) {
swap(a.hasUnknownPartitions, b.hasUnknownPartitions);
}
-PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other597) {
- partitions = other597.partitions;
- hasUnknownPartitions = other597.hasUnknownPartitions;
+PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other599) {
+ partitions = other599.partitions;
+ hasUnknownPartitions = other599.hasUnknownPartitions;
}
-PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other598) {
- partitions = other598.partitions;
- hasUnknownPartitions = other598.hasUnknownPartitions;
+PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other600) {
+ partitions = other600.partitions;
+ hasUnknownPartitions = other600.hasUnknownPartitions;
return *this;
}
void PartitionsByExprResult::printTo(std::ostream& out) const {
@@ -16634,14 +16795,14 @@ uint32_t PartitionsSpecByExprResult::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitionsSpec.clear();
- uint32_t _size599;
- ::apache::thrift::protocol::TType _etype602;
- xfer += iprot->readListBegin(_etype602, _size599);
- this->partitionsSpec.resize(_size599);
- uint32_t _i603;
- for (_i603 = 0; _i603 < _size599; ++_i603)
+ uint32_t _size601;
+ ::apache::thrift::protocol::TType _etype604;
+ xfer += iprot->readListBegin(_etype604, _size601);
+ this->partitionsSpec.resize(_size601);
+ uint32_t _i605;
+ for (_i605 = 0; _i605 < _size601; ++_i605)
{
- xfer += this->partitionsSpec[_i603].read(iprot);
+ xfer += this->partitionsSpec[_i605].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16682,10 +16843,10 @@ uint32_t PartitionsSpecByExprResult::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("partitionsSpec", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitionsSpec.size()));
- std::vector<PartitionSpec> ::const_iterator _iter604;
- for (_iter604 = this->partitionsSpec.begin(); _iter604 != this->partitionsSpec.end(); ++_iter604)
+ std::vector<PartitionSpec> ::const_iterator _iter606;
+ for (_iter606 = this->partitionsSpec.begin(); _iter606 != this->partitionsSpec.end(); ++_iter606)
{
- xfer += (*_iter604).write(oprot);
+ xfer += (*_iter606).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16706,13 +16867,13 @@ void swap(PartitionsSpecByExprResult &a, PartitionsSpecByExprResult &b) {
swap(a.hasUnknownPartitions, b.hasUnknownPartitions);
}
-PartitionsSpecByExprResult::PartitionsSpecByExprResult(const PartitionsSpecByExprResult& other605) {
- partitionsSpec = other605.partitionsSpec;
- hasUnknownPartitions = other605.hasUnknownPartitions;
+PartitionsSpecByExprResult::PartitionsSpecByExprResult(const PartitionsSpecByExprResult& other607) {
+ partitionsSpec = other607.partitionsSpec;
+ hasUnknownPartitions = other607.hasUnknownPartitions;
}
-PartitionsSpecByExprResult& PartitionsSpecByExprResult::operator=(const PartitionsSpecByExprResult& other606) {
- partitionsSpec = other606.partitionsSpec;
- hasUnknownPartitions = other606.hasUnknownPartitions;
+PartitionsSpecByExprResult& PartitionsSpecByExprResult::operator=(const PartitionsSpecByExprResult& other608) {
+ partitionsSpec = other608.partitionsSpec;
+ hasUnknownPartitions = other608.hasUnknownPartitions;
return *this;
}
void PartitionsSpecByExprResult::printTo(std::ostream& out) const {
@@ -16956,29 +17117,29 @@ void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) {
swap(a.__isset, b.__isset);
}
-PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other607) {
- dbName = other607.dbName;
- tblName = other607.tblName;
- expr = other607.expr;
- defaultPartitionName = other607.defaultPartitionName;
- maxParts = other607.maxParts;
- catName = other607.catName;
- order = other607.order;
- validWriteIdList = other607.validWriteIdList;
- id = other607.id;
- __isset = other607.__isset;
-}
-PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other608) {
- dbName = other608.dbName;
- tblName = other608.tblName;
- expr = other608.expr;
- defaultPartitionName = other608.defaultPartitionName;
- maxParts = other608.maxParts;
- catName = other608.catName;
- order = other608.order;
- validWriteIdList = other608.validWriteIdList;
- id = other608.id;
- __isset = other608.__isset;
+PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other609) {
+ dbName = other609.dbName;
+ tblName = other609.tblName;
+ expr = other609.expr;
+ defaultPartitionName = other609.defaultPartitionName;
+ maxParts = other609.maxParts;
+ catName = other609.catName;
+ order = other609.order;
+ validWriteIdList = other609.validWriteIdList;
+ id = other609.id;
+ __isset = other609.__isset;
+}
+PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other610) {
+ dbName = other610.dbName;
+ tblName = other610.tblName;
+ expr = other610.expr;
+ defaultPartitionName = other610.defaultPartitionName;
+ maxParts = other610.maxParts;
+ catName = other610.catName;
+ order = other610.order;
+ validWriteIdList = other610.validWriteIdList;
+ id = other610.id;
+ __isset = other610.__isset;
return *this;
}
void PartitionsByExprRequest::printTo(std::ostream& out) const {
@@ -17042,14 +17203,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->tableStats.clear();
- uint32_t _size609;
- ::apache::thrift::protocol::TType _etype612;
- xfer += iprot->readListBegin(_etype612, _size609);
- this->tableStats.resize(_size609);
- uint32_t _i613;
- for (_i613 = 0; _i613 < _size609; ++_i613)
+ uint32_t _size611;
+ ::apache::thrift::protocol::TType _etype614;
+ xfer += iprot->readListBegin(_etype614, _size611);
+ this->tableStats.resize(_size611);
+ uint32_t _i615;
+ for (_i615 = 0; _i615 < _size611; ++_i615)
{
- xfer += this->tableStats[_i613].read(iprot);
+ xfer += this->tableStats[_i615].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -17088,10 +17249,10 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldBegin("tableStats", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->tableStats.size()));
- std::vector<ColumnStatisticsObj> ::const_iterator _iter614;
- for (_iter614 = this->tableStats.begin(); _iter614 != this->tableStats.end(); ++_iter614)
+ std::vector<ColumnStatisticsObj> ::const_iterator _iter616;
+ for (_iter616 = this->tableStats.begin(); _iter616 != this->tableStats.end(); ++_iter616)
{
- xfer += (*_iter614).write(oprot);
+ xfer += (*_iter616).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -17114,15 +17275,15 @@ void swap(TableStatsResult &a, TableStatsResult &b) {
swap(a.__isset, b.__isset);
}
-TableStatsResult::TableStatsResult(const TableStatsResult& other615) {
- tableStats = other615.tableStats;
- isStatsCompliant = other615.isStatsCompliant;
- __isset = other615.__isset;
+TableStatsResult::TableStatsResult(const TableStatsResult& other617) {
+ tableStats = other617.tableStats;
+ isStatsCompliant = other617.isStatsCompliant;
+ __isset = other617.__isset;
}
-TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other616) {
- tableStats = other616.tableStats;
- isStatsCompliant = other616.isStatsCompliant;
- __isset = other616.__isset;
+TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other618) {
+ tableStats = other618.tableStats;
+ isStatsCompliant = other618.isStatsCompliant;
+ __isset = other618.__isset;
return *this;
}
void TableStatsResult::printTo(std::ostream& out) const {
@@ -17179,26 +17340,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->partStats.clear();
- uint32_t _size617;
- ::apache::thrift::protocol::TType _ktype618;
- ::apache::thrift::protocol::TType _vtype619;
- xfer += iprot->readMapBegin(_ktype618, _vtype619, _size617);
- uint32_t _i621;
- for (_i621 = 0; _i621 < _size617; ++_i621)
+ uint32_t _size619;
+ ::apache::thrift::protocol::TType _ktype620;
+ ::apache::thrift::protocol::TType _vtype621;
+ xfer += iprot->readMapBegin(_ktype620, _vtype621, _size619);
+ uint32_t _i623;
+ for (_i623 = 0; _i623 < _size619; ++_i623)
{
- std::string _key622;
- xfer += iprot->readString(_key622);
- std::vector<ColumnStatisticsObj> & _val623 = this->partStats[_key622];
+ std::string _key624;
+ xfer += iprot->readString(_key624);
+ std::vector<ColumnStatisticsObj> & _val625 = this->partStats[_key624];
{
- _val623.clear();
- uint32_t _size624;
- ::apache::thrift::protocol::TType _etype627;
- xfer += iprot->readListBegin(_etype627, _size624);
- _val623.resize(_size624);
- uint32_t _i628;
- for (_i628 = 0; _i628 < _size624; ++_i628)
+ _val625.clear();
+ uint32_t _size626;
+ ::apache::thrift::protocol::TType _etype629;
+ xfer += iprot->readListBegin(_etype629, _size626);
+ _val625.resize(_size626);
+ uint32_t _i630;
+ for (_i630 = 0; _i630 < _size626; ++_i630)
{
- xfer += _val623[_i628].read(iprot);
+ xfer += _val625[_i630].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -17240,16 +17401,16 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldBegin("partStats", ::apache::thrift::protocol::T_MAP, 1);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast<uint32_t>(this->partStats.size()));
- std::map<std::string, std::vector<ColumnStatisticsObj> > ::const_iterator _iter629;
- for (_iter629 = this->partStats.begin(); _iter629 != this->partStats.end(); ++_iter629)
+ std::map<std::string, std::vector<ColumnStatisticsObj> > ::const_iterator _iter631;
+ for (_iter631 = this->partStats.begin(); _iter631 != this->partStats.end(); ++_iter631)
{
- xfer += oprot->writeString(_iter629->first);
+ xfer += oprot->writeString(_iter631->first);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(_iter629->second.size()));
- std::vector<ColumnStatisticsObj> ::const_iterator _iter630;
- for (_iter630 = _iter629->second.begin(); _iter630 != _iter629->second.end(); ++_iter630)
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(_iter631->second.size()));
+ std::vector<ColumnStatisticsObj> ::const_iterator _iter632;
+ for (_iter632 = _iter631->second.begin(); _iter632 != _iter631->second.end(); ++_iter632)
{
- xfer += (*_iter630).write(oprot);
+ xfer += (*_iter632).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -17275,15 +17436,15 @@ void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) {
swap(a.__isset, b.__isset);
}
-PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other631) {
- partStats = other631.partStats;
- isStatsCompliant = other631.isStatsCompliant;
- __isset = other631.__isset;
+PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other633) {
+ partStats = other633.partStats;
+ isStatsCompliant = other633.isStatsCompliant;
+ __isset = other633.__isset;
}
-PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other632) {
- partStats = other632.partStats;
- isStatsCompliant = other632.isStatsCompliant;
- __isset = other632.__isset;
+PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other634) {
+ partStats = other634.partStats;
+ isStatsCompliant = other634.isStatsCompliant;
+ __isset = other634.__isset;
return *this;
}
void PartitionsStatsResult::printTo(std::ostream& out) const {
@@ -17381,14 +17542,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) {
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->colNames.clear();
- uint32_t _size633;
- ::apache::thrift::protocol::TType _etype636;
- xfer += iprot->readListBegin(_etype636, _size633);
- this->colNames.resize(_size633);
- uint32_t _i637;
- for (_i637 = 0; _i637 < _size633; ++_i637)
+ uint32_t _size635;
+ ::apache::thrift::protocol::TType _etype638;
+ xfer += iprot->readListBegin(_etype638, _size635);
+ this->colNames.resize(_size635);
+ uint32_t _i639;
+ for (_i639 = 0; _i639 < _size635; ++_i639)
{
- xfer += iprot->readString(this->colNames[_i637]);
+ xfer += iprot->readString(this->colNames[_i639]);
}
xfer += iprot->readListEnd();
}
@@ -17465,10 +17626,10 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->colNames.size()));
- std::vector<std::string> ::const_iterator _iter638;
- for (_iter638 = this->colNames.begin(); _iter638 != this->colNames.end(); ++_iter638)
+ std::vector<std::string> ::const_iterator _iter640;
+ for (_iter640 = this->colNames.begin(); _iter640 != this->colNames.end(); ++_iter640)
{
- xfer += oprot->writeString((*_iter638));
+ xfer += oprot->writeString((*_iter640));
}
xfer += oprot->writeListEnd();
}
@@ -17510,25 +17671,25 @@ void swap(TableStatsRequest &a, TableStatsRequest &b) {
swap(a.__isset, b.__isset);
}
-TableStatsRequest::TableStatsRequest(const TableStatsRequest& other639) {
- dbName = other639.dbName;
- tblName = other639.tblName;
- colNames = other639.colNames;
- catName = other639.catName;
- validWriteIdList = other639.validWriteIdList;
- engine = other639.engine;
- id = other639.id;
- __isset = other639.__isset;
+TableStatsRequest::TableStatsRequest(const TableStatsRequest& other641) {
+ dbName = other641.dbName;
+ tblName = other641.tblName;
+ colNames = other641.colNames;
+ catName = other641.catName;
+ validWriteIdList = other641.validWriteIdList;
+ engine = other641.engine;
+ id = other641.id;
+ __isset = other641.__isset;
}
-TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other640) {
- dbName = other640.dbName;
- tblName = other640.tblName;
- colNames = other640.colNames;
- catName = other640.catName;
- validWriteIdList = other640.validWriteIdList;
- engine = other640.engine;
- id = other640.id;
- __isset = other640.__isset;
+TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other642) {
+ dbName = other642.dbName;
+ tblName = other642.tblName;
+ colNames = other642.colNames;
+ catName = other642.catName;
+ validWriteIdList = other642.validWriteIdList;
+ engine = other642.engine;
+ id = other642.id;
+ __isset = other642.__isset;
return *this;
}
void TableStatsRequest::printTo(std::ostream& out) const {
@@ -17631,14 +17792,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->colNames.clear();
- uint32_t _size641;
- ::apache::thrift::protocol::TType _etype644;
- xfer += iprot->readListBegin(_etype644, _size641);
- this->colNames.resize(_size641);
- uint32_t _i645;
- for (_i645 = 0; _i645 < _size641; ++_i645)
+ uint32_t _size643;
+ ::apache::thrift::protocol::TType _etype646;
+ xfer += iprot->readListBegin(_etype646, _size643);
+ this->colNames.resize(_size643);
+ uint32_t _i647;
+ for (_i647 = 0; _i647 < _size643; ++_i647)
{
- xfer += iprot->readString(this->colNames[_i645]);
+ xfer += iprot->readString(this->colNames[_i647]);
}
xfer += iprot->readListEnd();
}
@@ -17651,14 +17812,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partNames.clear();
- uint32_t _size646;
- ::apache::thrift::protocol::TType _etype649;
- xfer += iprot->readListBegin(_etype649, _size646);
- this->partNames.resize(_size646);
- uint32_t _i650;
- for (_i650 = 0; _i650 < _size646; ++_i650)
+ uint32_t _size648;
+ ::apache::thrift::protocol::TType _etype651;
+ xfer += iprot->readListBegin(_etype651, _size648);
+ this->partNames.resize(_size648);
+ uint32_t _i652;
+ for (_i652 = 0; _i652 < _size648; ++_i652)
{
- xfer += iprot->readString(this->partNames[_i650]);
+ xfer += iprot->readString(this->partNames[_i652]);
}
xfer += iprot->readListEnd();
}
@@ -17729,10 +17890,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->colNames.size()));
- std::vector<std::string> ::const_iterator _iter651;
- for (_iter651 = this->colNames.begin(); _iter651 != this->colNames.end(); ++_iter651)
+ std::vector<std::string> ::const_iterator _iter653;
+ for (_iter653 = this->colNames.begin(); _iter653 != this->colNames.end(); ++_iter653)
{
- xfer += oprot->writeString((*_iter651));
+ xfer += oprot->writeString((*_iter653));
}
xfer += oprot->writeListEnd();
}
@@ -17741,10 +17902,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 4);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->partNames.size()));
- std::vector<std::string> ::const_iterator _iter652;
- for (_iter652 = this->partNames.begin(); _iter652 != this->partNames.end(); ++_iter652)
+ std::vector<std::string> ::const_iterator _iter654;
+ for (_iter654 = this->partNames.begin(); _iter654 != this->partNames.end(); ++_iter654)
{
- xfer += oprot->writeString((*_iter652));
+ xfer += oprot->writeString((*_iter654));
}
xfer += oprot->writeListEnd();
}
@@ -17781,25 +17942,25 @@ void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) {
swap(a.__isset, b.__isset);
}
-PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other653) {
- dbName = other653.dbName;
- tblName = other653.tblName;
- colNames = other653.colNames;
- partNames = other653.partNames;
- catName = other653.catName;
- validWriteIdList = other653.validWriteIdList;
- engine = other653.engine;
- __isset = other653.__isset;
+PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other655) {
+ dbName = other655.dbName;
+ tblName = other655.tblName;
+ colNames = other655.colNames;
+ partNames = other655.partNames;
+ catName = other655.catName;
+ validWriteIdList = other655.validWriteIdList;
+ engine = other655.engine;
+ __isset = other655.__isset;
}
-PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other654) {
- dbName = other654.dbName;
- tblName = other654.tblName;
- colNames = other654.colNames;
- partNames = other654.partNames;
- catName = other654.catName;
- validWriteIdList = other654.validWriteIdList;
- engine = other654.engine;
- __isset = other654.__isset;
+PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other656) {
+ dbName = other656.dbName;
+ tblName = other656.tblName;
+ colNames = other656.colNames;
+ partNames = other656.partNames;
+ catName = other656.catName;
+ validWriteIdList = other656.validWriteIdList;
+ engine = other656.engine;
+ __isset = other656.__isset;
return *this;
}
void PartitionsStatsRequest::printTo(std::ostream& out) const {
@@ -17861,14 +18022,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot)
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitions.clear();
- uint32_t _size655;
- ::apache::thrift::protocol::TType _etype658;
- xfer += iprot->readListBegin(_etype658, _size655);
- this->partitions.resize(_size655);
- uint32_t _i659;
- for (_i659 = 0; _i659 < _size655; ++_i659)
+ uint32_t _size657;
+ ::apache::thrift::protocol::TType _etype660;
+ xfer += iprot->readListBegin(_etype660, _size657);
+ this->partitions.resize(_size657);
+ uint32_t _i661;
+ for (_i661 = 0; _i661 < _size657; ++_i661)
{
- xfer += this->partitions[_i659].read(iprot);
+ xfer += this->partitions[_i661].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -17906,10 +18067,10 @@ uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitions.size()));
- std::vector<Partition> ::const_iterator _iter660;
- for (_iter660 = this->partitions.begin(); _iter660 != this->partitions.end(); ++_iter660)
+ std::vector<Partition> ::const_iterator _iter662;
+ for (_iter662 = this->partitions.begin(); _iter662 != this->partitions.end(); ++_iter662)
{
- xfer += (*_iter660).write(oprot);
+ xfer += (*_iter662).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -17932,15 +18093,15 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) {
swap(a.__isset, b.__isset);
}
-AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other661) {
- partitions = other661.partitions;
- isStatsCompliant = other661.isStatsCompliant;
- __isset = other661.__isset;
+AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other663) {
+ partitions = other663.partitions;
+ isStatsCompliant = other663.isStatsCompliant;
+ __isset = other663.__isset;
}
-AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other662) {
- partitions = other662.partitions;
- isStatsCompliant = other662.isStatsCompliant;
- __isset = other662.__isset;
+AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other664) {
+ partitions = other664.partitions;
+ isStatsCompliant = other664.isStatsCompliant;
+ __isset = other664.__isset;
return *this;
}
void AddPartitionsResult::printTo(std::ostream& out) const {
@@ -18038,14 +18199,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->parts.clear();
- uint32_t _size663;
- ::apache::thrift::protocol::TType _etype666;
- xfer += iprot->readListBegin(_etype666, _size663);
- this->parts.resize(_size663);
- uint32_t _i667;
- for (_i667 = 0; _i667 < _size663; ++_i667)
+ uint32_t _size665;
+ ::apache::thrift::protocol::TType _etype668;
+ xfer += iprot->readListBegin(_etype668, _size665);
+ this->parts.resize(_size665);
+ uint32_t _i669;
+ for (_i669 = 0; _i669 < _size665; ++_i669)
{
- xfer += this->parts[_i667].read(iprot);
+ xfer += this->parts[_i669].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -18122,10 +18283,10 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro
xfer += oprot->writeFieldBegin("parts", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->parts.size()));
- std::vector<Partition> ::const_iterator _iter668;
- for (_iter668 = this->parts.begin(); _iter668 != this->parts.end(); ++_iter668)
+ std::vector<Partition> ::const_iterator _iter670;
+ for (_iter670 = this->parts.begin(); _iter670 != this->parts.end(); ++_iter670)
{
- xfer += (*_iter668).write(oprot);
+ xfer += (*_iter670).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -18167,25 +18328,25 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) {
swap(a.__isset, b.__isset);
}
-AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other669) {
- dbName = other669.dbName;
- tblName = other669.tblName;
- parts = other669.parts;
- ifNotExists = other669.ifNotExists;
- needResult = other669.needResult;
- catName = other669.catName;
- validWriteIdList = other669.validWriteIdList;
- __isset = other669.__isset;
+AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other671) {
+ dbName = other671.dbName;
+ tblName = other671.tblName;
+ parts = other671.parts;
+ ifNotExists = other671.ifNotExists;
+ needResult = other671.needResult;
+ catName = other671.catName;
+ validWriteIdList = other671.validWriteIdList;
+ __isset = other671.__isset;
}
-AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other670) {
- dbName = other670.dbName;
- tblName = other670.tblName;
- parts = other670.parts;
- ifNotExists = other670.ifNotExists;
- needResult = other670.needResult;
- catName = other670.catName;
- validWriteIdList = other670.validWriteIdList;
- __isset = other670.__isset;
+AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other672) {
+ dbName = other672.dbName;
+ tblName = other672.tblName;
+ parts = other672.parts;
+ ifNotExists = other672.ifNotExists;
+ needResult = other672.needResult;
+ catName = other672.catName;
+ validWriteIdList = other672.validWriteIdList;
+ __isset = other672.__isset;
return *this;
}
void AddPartitionsRequest::printTo(std::ostream& out) const {
@@ -18242,14 +18403,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitions.clear();
- uint32_t _size671;
- ::apache::thrift::protocol::TType _etype674;
- xfer += iprot->readListBegin(_etype674, _size671);
- this->partitions.resize(_size671);
- uint32_t _i675;
- for (_i675 = 0; _i675 < _size671; ++_i675)
+ uint32_t _size673;
+ ::apache::thrift::protocol::TType _etype676;
+ xfer += iprot->readListBegin(_etype676, _size673);
+ this->partitions.resize(_size673);
+ uint32_t _i677;
+ for (_i677 = 0; _i677 < _size673; ++_i677)
{
- xfer += this->partitions[_i675].read(iprot);
+ xfer += this->partitions[_i677].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -18279,10 +18440,10 @@ uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* opro
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitions.size()));
- std::vector<Partition> ::const_iterator _iter676;
- for (_iter676 = this->partitions.begin(); _iter676 != this->partitions.end(); ++_iter676)
+ std::vector<Partition> ::const_iterator _iter678;
+ for (_iter678 = this->partitions.begin(); _iter678 != this->partitions.end(); ++_iter678)
{
- xfer += (*_iter676).write(oprot);
+ xfer += (*_iter678).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -18299,13 +18460,13 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) {
swap(a.__isset, b.__isset);
}
-DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other677) {
- partitions = other677.partitions;
- __isset = other677.__isset;
+DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other679) {
+ partitions = other679.partitions;
+ __isset = other679.__isset;
... 16380 lines suppressed ...