From cbe96bfd63f07ec1f5d50f5526104abf51f5d13a Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Tue, 29 Jul 2025 14:48:50 +0530 Subject: [PATCH 01/12] 1. Expose a DDL to set default partition name at table level 2. Restrict set hive.exec.default.partition at runtime 3. use table property to check the default partition along with hive.exec.default.partition at cluster level --- .../org/apache/hadoop/hive/conf/HiveConf.java | 1 + .../org/apache/hadoop/hive/ql/ErrorMsg.java | 1 + .../hive/common/util/HiveStringUtils.java | 1 + ...micPartitionFileRecordWriterContainer.java | 7 +- .../mapreduce/FileOutputFormatContainer.java | 2 +- .../mr/hive/HiveIcebergStorageHandler.java | 3 +- .../apache/hive/jdbc/TestRestrictedList.java | 1 + .../hadoop/hive/ql/parse/AlterClauseParser.g | 8 + .../apache/hadoop/hive/ql/parse/HiveParser.g | 1 + .../hive/ql/ddl/table/AlterTableType.java | 1 + .../ddl/table/partition/PartitionUtils.java | 20 +- .../add/AbstractAddPartitionAnalyzer.java | 2 +- .../AlterTableAlterPartitionOperation.java | 4 +- .../AlterTableExchangePartitionAnalyzer.java | 2 +- .../partition/show/ShowPartitionAnalyzer.java | 3 +- ...AlterTableSetDefaultPartitionAnalyser.java | 52 ++ .../AlterTableSetDefaultPartitionDesc.java | 50 ++ ...lterTableSetDefaultPartitionOperation.java | 47 + .../hive/ql/exec/TableScanOperator.java | 9 +- .../hadoop/hive/ql/hooks/WriteEntity.java | 1 + .../apache/hadoop/hive/ql/metadata/Hive.java | 17 +- .../metadata/SessionHiveMetaStoreClient.java | 5 +- .../ql/optimizer/ppr/PartitionPruner.java | 3 +- .../hive/ql/parse/BaseSemanticAnalyzer.java | 9 +- .../hadoop/hive/ql/parse/ParseUtils.java | 2 +- .../hive/ql/parse/SemanticAnalyzer.java | 5 +- .../hadoop/hive/ql/plan/HiveOperation.java | 2 + .../plugin/HiveOperationType.java | 1 + .../plugin/sqlstd/Operation2Privilege.java | 2 + .../hive/ql/stats/ColStatsProcessor.java | 3 +- .../hadoop/hive/ql/metadata/TestHive.java | 20 +- ...etastoreClientListPartitionsTempTable.java | 3 +- .../alter_table_add_partition.q | 2 +- .../alter_table_set_default_partition.q | 65 ++ .../clientpositive/default_partition_name.q | 2 +- .../queries/clientpositive/msck_repair_9.q | 11 +- .../partition_default_name_change_numeric.q | 6 +- .../temp_table_default_partition_name.q | 2 +- .../llap/alter_table_add_partition.q.out | 8 + .../alter_table_set_default_partition.q.out | 823 ++++++++++++++++++ .../llap/default_partition_name.q.out | 8 + .../clientpositive/llap/msck_repair_9.q.out | 57 +- .../temp_table_default_partition_name.q.out | 8 + ...artition_default_name_change_numeric.q.out | 36 +- .../hive/metastore/HiveAlterHandler.java | 98 +++ .../hive/metastore/HiveMetaStoreChecker.java | 14 +- .../hive/metastore/MetaStoreDirectSql.java | 7 +- .../hadoop/hive/metastore/ObjectStore.java | 44 +- .../hive/metastore/cache/CachedStore.java | 19 +- .../metastore/utils/MetaStoreServerUtils.java | 11 +- .../utils/TestMetaStoreServerUtils.java | 56 +- .../hive/streaming/AbstractRecordWriter.java | 3 +- .../TestStreamingDynamicPartitioning.java | 14 +- 53 files changed, 1456 insertions(+), 126 deletions(-) create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java create mode 100644 ql/src/test/queries/clientpositive/alter_table_set_default_partition.q create mode 100644 ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index a9330289977b..0074d4bf8626 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -5613,6 +5613,7 @@ public static enum ConfVars { "hive.security.metastore.authorization.manager,hive.security.metastore.authenticator.manager," + "hive.users.in.admin.role,hive.server2.xsrf.filter.enabled,hive.server2.csrf.filter.enabled,hive.security.authorization.enabled," + "hive.distcp.privileged.doAs," + + "hive.exec.default.partition.name," + "hive.server2.authentication.ldap.baseDN," + "hive.server2.authentication.ldap.url," + "hive.server2.authentication.ldap.Domain," + diff --git a/common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java b/common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java index 148932b25299..43375c9912c7 100644 --- a/common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java +++ b/common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java @@ -499,6 +499,7 @@ public enum ErrorMsg { CATALOG_ALREADY_EXISTS(10444, "Catalog {0} already exists", true), CATALOG_NOT_EXISTS(10445, "Catalog {0} does not exists:", true), INVALID_SCHEDULED_QUERY(10446, "Scheduled query {0} does not exist", true), + NON_PARTITIONED_TABLE(10447, "Table {0} is not a partitioned table."), //========================== 20000 range starts here ========================// diff --git a/common/src/java/org/apache/hive/common/util/HiveStringUtils.java b/common/src/java/org/apache/hive/common/util/HiveStringUtils.java index 1b4b34f1a824..834a562e548e 100644 --- a/common/src/java/org/apache/hive/common/util/HiveStringUtils.java +++ b/common/src/java/org/apache/hive/common/util/HiveStringUtils.java @@ -416,6 +416,7 @@ public static String[] getTrimmedStrings(String str){ final public static char EQUALS = '='; final public static String COMMA_STR = ","; final public static char ESCAPE_CHAR = '\\'; + final public static String DEFAULT_PARTITION_NAME = "DEFAULT_PARTITION_NAME"; /** * Split a string using the default separator diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java index e43f5f60a6bb..4f798a0cd923 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java @@ -27,6 +27,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.serde2.AbstractSerDe; import org.apache.hadoop.hive.serde2.SerDeException; import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector; @@ -72,7 +73,8 @@ class DynamicPartitionFileRecordWriterContainer extends FileRecordWriterContaine */ public DynamicPartitionFileRecordWriterContainer( RecordWriter, ? super Writable> baseWriter, - TaskAttemptContext context) throws IOException, InterruptedException { + TaskAttemptContext context, org.apache.hadoop.hive.metastore.api.Table tbl) + throws IOException, InterruptedException { super(baseWriter, context); maxDynamicPartitions = jobInfo.getMaxDynamicPartitions(); dynamicPartCols = jobInfo.getPosOfDynPartCols(); @@ -88,7 +90,8 @@ public DynamicPartitionFileRecordWriterContainer( this.dynamicContexts = new HashMap(); this.dynamicObjectInspectors = new HashMap(); this.dynamicOutputJobInfo = new HashMap(); - this.HIVE_DEFAULT_PARTITION_VALUE = HiveConf.getVar(context.getConfiguration(), HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + this.HIVE_DEFAULT_PARTITION_VALUE = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), + HiveConf.getVar(context.getConfiguration(), HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); } @Override diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputFormatContainer.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputFormatContainer.java index 154600da1f66..5e3351dfaa28 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputFormatContainer.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputFormatContainer.java @@ -94,7 +94,7 @@ public RecordWriter, HCatRecord> getRecordWriter(TaskAttem // (That's because records can't be written until the values of the dynamic partitions are deduced. // By that time, a new local instance of RecordWriter, with the correct output-path, will be constructed.) rw = new DynamicPartitionFileRecordWriterContainer( - (org.apache.hadoop.mapred.RecordWriter)null, context); + (org.apache.hadoop.mapred.RecordWriter)null, context, jobInfo.getTableInfo().getTable()); } else { Path parentDir = new Path(context.getConfiguration().get("mapred.work.output.dir")); String extension = HiveConf.getVar(context.getConfiguration(), HiveConf.ConfVars.OUTPUT_FILE_EXTENSION,""); diff --git a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java index 88aa9c449911..5658a4d593ff 100644 --- a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java +++ b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java @@ -78,6 +78,7 @@ import org.apache.hadoop.hive.ql.ddl.table.create.CreateTableDesc; import org.apache.hadoop.hive.ql.ddl.table.create.like.CreateTableLikeDesc; import org.apache.hadoop.hive.ql.ddl.table.misc.properties.AlterTableSetPropertiesDesc; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.ColumnInfo; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.hooks.WriteEntity; @@ -876,7 +877,7 @@ public DynamicPartitionCtx createDPContext( Table table = IcebergTableUtil.getTable(conf, tableDesc.getProperties()); DynamicPartitionCtx dpCtx = new DynamicPartitionCtx(Maps.newLinkedHashMap(), - hiveConf.getVar(ConfVars.DEFAULT_PARTITION_NAME), + PartitionUtils.getDefaultPartitionName(hmsTable.getParameters(), (HiveConf) conf), hiveConf.getIntVar(ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE)); if (table.spec().isPartitioned() && diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestRestrictedList.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestRestrictedList.java index 0eca3a4f3c08..6219e8f240c5 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestRestrictedList.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestRestrictedList.java @@ -70,6 +70,7 @@ public static void startServices() throws Exception { // Add the parameter here if it cannot change at runtime addToExpectedRestrictedMap("hive.conf.restricted.list"); + addToExpectedRestrictedMap("hive.exec.default.partition.name"); addToExpectedRestrictedMap("hive.security.authenticator.manager"); addToExpectedRestrictedMap("hive.security.authorization.manager"); addToExpectedRestrictedMap("hive.security.metastore.authorization.manager"); diff --git a/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g b/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g index 3cfaaf4669fb..7c1e2e817e9c 100644 --- a/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g +++ b/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g @@ -104,6 +104,7 @@ alterTblPartitionStatementSuffix[boolean partition] | alterStatementSuffixRenameCol | alterStatementSuffixAddCol | alterStatementSuffixDropCol + | alterStatementSuffixSetDefaultPartition | alterStatementSuffixUpdateColumns ; @@ -231,6 +232,13 @@ alterStatementSuffixDropCol -> ^(TOK_ALTERTABLE_DROPCOL ifExists? columnName restrictOrCascade?) ; +alterStatementSuffixSetDefaultPartition +@init { gParent.pushMsg("set default partition statement", state); } +@after { gParent.popMsg(state); } + : KW_SET KW_DEFAULT KW_PARTITION KW_TO StringLiteral + -> ^(TOK_ALTERTABLE_SETDEFAULTPARTITION StringLiteral) + ; + alterStatementSuffixAddConstraint @init { gParent.pushMsg("add constraint statement", state); } @after { gParent.popMsg(state); } diff --git a/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g b/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g index 713c5c7248ec..a6a7d64f67e3 100644 --- a/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g +++ b/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g @@ -177,6 +177,7 @@ TOK_ALTERTABLE; TOK_ALTERTABLE_RENAME; TOK_ALTERTABLE_ADDCOLS; TOK_ALTERTABLE_DROPCOL; +TOK_ALTERTABLE_SETDEFAULTPARTITION; TOK_ALTERTABLE_RENAMECOL; TOK_ALTERTABLE_RENAMEPART; TOK_ALTERTABLE_REPLACECOLS; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/AlterTableType.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/AlterTableType.java index eeac095811e9..f5aa626325ac 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/AlterTableType.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/AlterTableType.java @@ -38,6 +38,7 @@ public enum AlterTableType { ADDPARTITION("add partition"), DROPPARTITION("drop partition"), RENAMEPARTITION("rename partition"), // Note: used in RenamePartitionDesc, not here. + SETDEFAULTPARTITION("set default partition"), ALTERPARTITION("alter partition"), // Note: this is never used in AlterTableDesc. SETPARTITIONSPEC("set partition spec"), EXECUTE("execute"), diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java index db7a5dfcd3d0..c088b0037af6 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java @@ -23,7 +23,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Map.Entry; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; @@ -40,6 +39,7 @@ import org.apache.hadoop.hive.ql.plan.ExprNodeDesc; import org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory; +import org.apache.hive.common.util.HiveStringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -61,11 +61,12 @@ private PartitionUtils() { * with these reserved values. The check that this function is more restrictive than the actual limitation, but it's * simpler. Should be okay since the reserved names are fairly long and uncommon. */ - public static void validatePartitions(HiveConf conf, Map partitionSpec) { + public static void validatePartitions(HiveConf conf, Map partitionSpec, + Map tableParams) { // Partition can't have this name Set reservedPartitionValues = new HashSet() {{ - add(HiveConf.getVar(conf, ConfVars.DEFAULT_PARTITION_NAME)); + add(getDefaultPartitionName(tableParams, conf)); add(HiveConf.getVar(conf, ConfVars.DEFAULT_ZOOKEEPER_PARTITION_NAME)); }}; @@ -191,4 +192,17 @@ public static void addTablePartsOutputs(Hive db, Set outputs, Table } } } + + public static String getDefaultPartitionName(Map tableParams, HiveConf conf) { + return getDefaultPartitionName(tableParams, HiveConf.getVar(conf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); + } + + public static String getDefaultPartitionName(Map tableParams, String defaultPartitionName) { + // Check if the table has an override for the default partition name + if (tableParams != null && tableParams.containsKey(HiveStringUtils.DEFAULT_PARTITION_NAME)) { + return tableParams.get(HiveStringUtils.DEFAULT_PARTITION_NAME); + } else { + return defaultPartitionName; + } + } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/add/AbstractAddPartitionAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/add/AbstractAddPartitionAnalyzer.java index 4d73782aaee4..ea341744bc36 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/add/AbstractAddPartitionAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/add/AbstractAddPartitionAnalyzer.java @@ -93,7 +93,7 @@ private List createPartitions(ASTNode currentLocation = null; } currentPart = getValidatedPartSpec(table, child, conf, true); - PartitionUtils.validatePartitions(conf, currentPart); // validate reserved values + PartitionUtils.validatePartitions(conf, currentPart, table.getParameters()); // validate reserved values break; case HiveParser.TOK_PARTITIONLOCATION: // if location specified, set in partition diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/alter/AlterTableAlterPartitionOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/alter/AlterTableAlterPartitionOperation.java index 761e89c2169a..65ad79a6fe6c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/alter/AlterTableAlterPartitionOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/alter/AlterTableAlterPartitionOperation.java @@ -21,12 +21,12 @@ import java.util.ArrayList; import java.util.List; -import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.ql.ddl.DDLOperation; import org.apache.hadoop.hive.ql.ddl.DDLOperationContext; import org.apache.hadoop.hive.ql.ddl.DDLUtils; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.hooks.ReadEntity; import org.apache.hadoop.hive.ql.hooks.WriteEntity; import org.apache.hadoop.hive.ql.metadata.HiveException; @@ -96,7 +96,7 @@ private void checkPartitionValues(Table tbl, int colIndex) throws HiveException try { List values = Warehouse.getPartValuesFromPartName(partName); String value = values.get(colIndex); - if (value.equals(context.getConf().getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME))) { + if (value.equals(PartitionUtils.getDefaultPartitionName(tbl.getParameters(), context.getConf()))) { continue; } Object convertedValue = converter.convert(value); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/exchange/AlterTableExchangePartitionAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/exchange/AlterTableExchangePartitionAnalyzer.java index cab0258564db..7f891505dd49 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/exchange/AlterTableExchangePartitionAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/exchange/AlterTableExchangePartitionAnalyzer.java @@ -65,7 +65,7 @@ protected void analyzeCommand(TableName tableName, Map partition // Get the partition specs Map partitionSpecs = getValidatedPartSpec(sourceTable, (ASTNode)command.getChild(0), conf, false); - PartitionUtils.validatePartitions(conf, partitionSpecs); + PartitionUtils.validatePartitions(conf, partitionSpecs, sourceTable.getParameters()); boolean sameColumns = MetaStoreUtils.compareFieldColumns(destTable.getAllCols(), sourceTable.getAllCols()); boolean samePartitions = MetaStoreUtils.compareFieldColumns(destTable.getPartitionKeys(), diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/show/ShowPartitionAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/show/ShowPartitionAnalyzer.java index c0bffcebdb23..7c2d6f0247e0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/show/ShowPartitionAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/show/ShowPartitionAnalyzer.java @@ -24,7 +24,6 @@ import java.util.Map; import com.google.common.annotations.VisibleForTesting; -import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.ql.QueryState; import org.apache.hadoop.hive.ql.ddl.DDLWork; @@ -119,7 +118,7 @@ ExprNodeDesc getShowPartitionsFilter(Table table, ASTNode command) throws Semant } showFilter = replaceDefaultPartNameAndCastType(target, colTypes, - HiveConf.getVar(conf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); + PartitionUtils.getDefaultPartitionName(table.getParameters(), this.conf)); } } return showFilter; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java new file mode 100644 index 000000000000..aeb92bf4b6f3 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.ddl.table.setdefaultpartition; + +import org.apache.hadoop.hive.common.TableName; +import org.apache.hadoop.hive.ql.QueryState; +import org.apache.hadoop.hive.ql.ddl.DDLSemanticAnalyzerFactory.DDLType; +import org.apache.hadoop.hive.ql.ddl.DDLWork; +import org.apache.hadoop.hive.ql.ddl.table.AbstractAlterTableAnalyzer; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.parse.ASTNode; +import org.apache.hadoop.hive.ql.parse.HiveParser; +import org.apache.hadoop.hive.ql.parse.SemanticException; + +import java.util.Map; + +/** + * Analyzer for set default partition command. + */ +@DDLType(types = HiveParser.TOK_ALTERTABLE_SETDEFAULTPARTITION) +public class AlterTableSetDefaultPartitionAnalyser extends AbstractAlterTableAnalyzer { + + public AlterTableSetDefaultPartitionAnalyser(QueryState queryState) throws SemanticException { + super(queryState); + } + + @Override + protected void analyzeCommand(TableName tableName, Map partitionSpec, ASTNode command) + throws SemanticException { + String tableLevelDefaultPartitionName = unescapeSQLString(command.getChild(0).getText()); + AlterTableSetDefaultPartitionDesc desc = new AlterTableSetDefaultPartitionDesc(tableName, + tableLevelDefaultPartitionName); + addInputsOutputsAlterTable(tableName, partitionSpec, desc, desc.getType(), false); + rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), desc))); + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java new file mode 100644 index 000000000000..038c09a6dfd6 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.ddl.table.setdefaultpartition; + +import org.apache.hadoop.hive.common.TableName; +import org.apache.hadoop.hive.ql.ddl.table.AbstractAlterTableDesc; +import org.apache.hadoop.hive.ql.ddl.table.AlterTableType; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import org.apache.hadoop.hive.ql.plan.Explain; +import org.apache.hadoop.hive.ql.plan.Explain.Level; + +/** + * DDL task description for ALTER TABLE ... SET DEFAULT PARTITION ... command. + */ +@Explain(displayName = "Set Default Partition", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) +public class AlterTableSetDefaultPartitionDesc extends AbstractAlterTableDesc { + private static final long serialVersionUID = 1L; + private final String tableLevelDefaultPartitionName; + + public AlterTableSetDefaultPartitionDesc(TableName tableName, String tableLevelDefaultPartitionName) throws SemanticException { + super(AlterTableType.SETDEFAULTPARTITION, tableName, null, null, false, false, null); + this.tableLevelDefaultPartitionName = tableLevelDefaultPartitionName; + } + + @Explain(displayName = "default partition name", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) + public String tableLevelDefaultPartitionName() { + return tableLevelDefaultPartitionName; + } + + @Override + public boolean mayNeedWriteId() { + return true; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java new file mode 100644 index 000000000000..1ec623779f7d --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.ddl.table.setdefaultpartition; + +import org.apache.hadoop.hive.ql.ErrorMsg; +import org.apache.hadoop.hive.ql.ddl.DDLOperationContext; +import org.apache.hadoop.hive.ql.ddl.table.AbstractAlterTableOperation; +import org.apache.hadoop.hive.ql.metadata.HiveException; +import org.apache.hadoop.hive.ql.metadata.Partition; +import org.apache.hadoop.hive.ql.metadata.Table; +import org.apache.hive.common.util.HiveStringUtils; + +/** + * Operation process of set default column at table level. + */ +public class AlterTableSetDefaultPartitionOperation extends AbstractAlterTableOperation { + + public AlterTableSetDefaultPartitionOperation(DDLOperationContext context, AlterTableSetDefaultPartitionDesc desc) { + super(context, desc); + } + + @Override + protected void doAlteration(Table table, Partition partition) throws HiveException { + if (table.isPartitioned()) { + // put the tableLevelDefaultPartitionName in the table property + table.getParameters().put(HiveStringUtils.DEFAULT_PARTITION_NAME, desc.tableLevelDefaultPartitionName()); + } else { + throw new HiveException(ErrorMsg.NON_PARTITIONED_TABLE, table.getTableName()); + } + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java index 5b1a7a7c2a1b..245bd6999f29 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java @@ -31,6 +31,7 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.ql.CompilationOpContext; import org.apache.hadoop.hive.ql.ErrorMsg; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.vector.VectorizationContext; import org.apache.hadoop.hive.ql.exec.vector.VectorizationContextRegion; import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch; @@ -320,7 +321,13 @@ protected void initializeOp(Configuration hconf) throws HiveException { jc = new JobConf(hconf); } - defaultPartitionName = HiveConf.getVar(hconf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + if (conf.getTableMetadata() != null) { + defaultPartitionName = PartitionUtils.getDefaultPartitionName(conf.getTableMetadata().getParameters(), + HiveConf.getVar(hconf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); + } else { + // If the table metadata is not available, we cannot determine the default partition name. + defaultPartitionName = HiveConf.getVar(hconf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + } currentStat = null; stats = new HashMap(); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/hooks/WriteEntity.java b/ql/src/java/org/apache/hadoop/hive/ql/hooks/WriteEntity.java index 96b701eb9550..7885b4fe577d 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/hooks/WriteEntity.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/hooks/WriteEntity.java @@ -256,6 +256,7 @@ public static WriteType determineAlterTableWriteType(AlterTableType op, Table ta // alter table {table_name} [PARTITION ({partition_spec})] set serde '{serde_class_name}' case ADDCOLS: case DROP_COLUMN: + case SETDEFAULTPARTITION: case REPLACE_COLUMNS: // alter table {table_name} [partition ({partition_spec})] add/replace columns ({col_name} {data_type}) case RENAME_COLUMN: 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 eec284a93274..36c54c0fc3d3 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 @@ -162,6 +162,7 @@ import org.apache.hadoop.hive.ql.ErrorMsg; import org.apache.hadoop.hive.ql.ddl.database.drop.DropDatabaseDesc; import org.apache.hadoop.hive.ql.ddl.table.AlterTableType; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.AbstractFileMergeOperator; import org.apache.hadoop.hive.ql.exec.FunctionRegistry; import org.apache.hadoop.hive.ql.exec.FunctionUtils; @@ -928,6 +929,10 @@ public void alterTable(String catName, String dbName, String tblName, Table newT if (environmentContext == null) { environmentContext = new EnvironmentContext(); } + if (isSetDefaultPartition(environmentContext)) { + environmentContext.putToProperties(ConfVars.DEFAULT_PARTITION_NAME.varname, + conf.getVar(ConfVars.DEFAULT_PARTITION_NAME)); + } if (isRename(environmentContext)) { newTbl.validateName(conf); environmentContext.putToProperties(HiveMetaHook.OLD_TABLE_NAME, tblName); @@ -982,6 +987,14 @@ private static boolean isRename(EnvironmentContext environmentContext) { return false; } + private static boolean isSetDefaultPartition(EnvironmentContext environmentContext) { + if (environmentContext.isSetProperties()) { + String operation = environmentContext.getProperties().get(HiveMetaHook.ALTER_TABLE_OPERATION_TYPE); + return operation != null && AlterTableType.SETDEFAULTPARTITION == AlterTableType.valueOf(operation); + } + return false; + } + /** * Create a dataconnector * @param connector @@ -4166,7 +4179,7 @@ public List getPartitionNames(Table tbl, ExprNodeGenericFuncDesc expr, S exprBytes = SerializationUtilities.serializeObjectWithTypeInformation(expr); } try { - String defaultPartitionName = HiveConf.getVar(conf, ConfVars.DEFAULT_PARTITION_NAME); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); PartitionsByExprRequest req = new PartitionsByExprRequest(tbl.getDbName(), tbl.getTableName(), ByteBuffer.wrap(exprBytes)); if (defaultPartitionName != null) { @@ -4707,7 +4720,7 @@ public boolean getPartitionsByExpr(Table tbl, ExprNodeDesc expr, HiveConf conf, perfLogger.perfLogBegin(CLASS_NAME, PerfLogger.HIVE_GET_PARTITIONS_BY_EXPR); try { Preconditions.checkNotNull(partitions); - String defaultPartitionName = HiveConf.getVar(conf, ConfVars.DEFAULT_PARTITION_NAME); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); if (tbl.hasNonNativePartitionSupport()) { partitions.addAll(tbl.getStorageHandler().getPartitionsByExpr(tbl, expr)); return false; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java index fee1897cca7e..77d676a0a930 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java @@ -101,6 +101,7 @@ import org.apache.hadoop.hive.metastore.utils.MetaStoreServerUtils; import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.metastore.utils.SecurityUtils; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.metadata.client.MetaStoreClientCacheUtils; import org.apache.hadoop.hive.ql.metadata.client.MetaStoreClientCacheUtils.CacheKey; @@ -1569,8 +1570,8 @@ public List dropPartitions(String catName, String dbName, String tblN List result = new ArrayList<>(); for (Pair pair : partExprs) { byte[] expr = pair.getRight(); - String filter = generateJDOFilter(table, expr, - conf.get(HiveConf.ConfVars.DEFAULT_PARTITION_NAME.varname)); + String filter = generateJDOFilter(table, expr, PartitionUtils.getDefaultPartitionName(table.getParameters(), + (HiveConf) conf)); List partitions = tt.listPartitionsByFilter(filter); for (Partition p : partitions) { Partition droppedPartition = tt.dropPartition(p.getValues()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java index b1bc9eaf0a75..dde24e6c1080 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java @@ -35,6 +35,7 @@ import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.MetaException; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator; import org.apache.hadoop.hive.ql.exec.FunctionRegistry; import org.apache.hadoop.hive.ql.exec.TableScanOperator; @@ -508,7 +509,7 @@ static private boolean pruneBySequentialScan(Table tab, List partitio List partNames = Hive.get().getPartitionNames(tab, (short) -1); - String defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tab.getParameters(), conf); List partCols = tab.getPartColNames(); List partColTypeInfos = extractPartColTypes(tab); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java index b2da8195c4ec..c8f7272d52c7 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java @@ -70,6 +70,7 @@ import org.apache.hadoop.hive.ql.cache.results.CacheUsage; import org.apache.hadoop.hive.ql.ddl.DDLDesc.DDLDescWithWriteId; import org.apache.hadoop.hive.ql.ddl.table.constraint.ConstraintsUtils; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.FetchTask; import org.apache.hadoop.hive.ql.exec.Task; import org.apache.hadoop.hive.ql.exec.TaskFactory; @@ -1648,7 +1649,7 @@ protected boolean analyzeStoredAdDirs(ASTNode child) { return storedAsDirs; } - private static boolean getPartExprNodeDesc(ASTNode astNode, HiveConf conf, + private static boolean getPartExprNodeDesc(Table tbl, ASTNode astNode, HiveConf conf, Map astExprNodeMap) throws SemanticException { if (astNode == null) { @@ -1658,13 +1659,13 @@ private static boolean getPartExprNodeDesc(ASTNode astNode, HiveConf conf, } TypeCheckCtx typeCheckCtx = new TypeCheckCtx(null); - String defaultPartitionName = HiveConf.getVar(conf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); boolean result = true; for (Node childNode : astNode.getChildren()) { ASTNode childASTNode = (ASTNode)childNode; if (childASTNode.getType() != HiveParser.TOK_PARTVAL) { - result = getPartExprNodeDesc(childASTNode, conf, astExprNodeMap) && result; + result = getPartExprNodeDesc(tbl, childASTNode, conf, astExprNodeMap) && result; } else { boolean isDynamicPart = childASTNode.getChildren().size() <= 1; result = !isDynamicPart && result; @@ -1764,7 +1765,7 @@ public static void validatePartColumnType(Table tbl, Map partSpe } Map astExprNodeMap = new HashMap<>(); - if (!getPartExprNodeDesc(astNode, conf, astExprNodeMap)) { + if (!getPartExprNodeDesc(tbl, astNode, conf, astExprNodeMap)) { STATIC_LOG.warn("Dynamic partitioning is used; only validating " + astExprNodeMap.size() + " columns"); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java index 9964b9369065..48d2862c97c6 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java @@ -579,7 +579,7 @@ private static CalcitePlanner getAnalyzer(HiveConf conf, Context ctx) throws Sem */ public static Map> getFullPartitionSpecs( CommonTree ast, Table table, Configuration conf, boolean canGroupExprs) throws SemanticException { - String defaultPartitionName = HiveConf.getVar(conf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(table.getParameters(), (HiveConf)conf); Map colTypes = new HashMap<>(); List partitionKeys = table.hasNonNativePartitionSupport() ? table.getStorageHandler().getPartitionKeys(table) : table.getPartitionKeys(); 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 d6eba2f1c9d7..2cb6fda18058 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 @@ -118,6 +118,7 @@ import org.apache.hadoop.hive.ql.ddl.table.create.CreateTableDesc; import org.apache.hadoop.hive.ql.ddl.table.misc.preinsert.PreInsertTableDesc; import org.apache.hadoop.hive.ql.ddl.table.misc.properties.AlterTableUnsetPropertiesDesc; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.ddl.view.create.CreateMaterializedViewDesc; import org.apache.hadoop.hive.ql.ddl.view.materialized.update.MaterializedViewUpdateDesc; import org.apache.hadoop.hive.ql.exec.AbstractMapJoinOperator; @@ -7910,7 +7911,7 @@ protected Operator genFileSinkPlan(String dest, QB qb, Operator input) cols = ct.cols; colTypes = ct.colTypes; dpCtx = new DynamicPartitionCtx(partitionColumnNames, - conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME), + PartitionUtils.getDefaultPartitionName(tblProps, conf), conf.getIntVar(HiveConf.ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE)); qbm.setDPCtx(dest, dpCtx); isPartitioned = true; @@ -8784,7 +8785,7 @@ private DynamicPartitionCtx checkDynPart(QB qb, QBMetaData qbm, Table dest_tab, if (dpCtx == null) { dest_tab.validatePartColumnNames(partSpec, false); dpCtx = new DynamicPartitionCtx(partSpec, - conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME), + PartitionUtils.getDefaultPartitionName(dest_tab.getParameters(), conf), conf.getIntVar(HiveConf.ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE)); qbm.setDPCtx(dest, dpCtx); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java index 1d908bb1bdb5..5d4454c18267 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -49,6 +49,8 @@ public enum HiveOperation { null), ALTERTABLE_DROPCOL("ALTERTABLE_DROPCOL", HiveParser.TOK_ALTERTABLE_DROPCOL, new Privilege[]{Privilege.ALTER_METADATA}, null), + ALTERTABLE_SETDEFAULTPARTITION("ALTERTABLE_SETDEFAULTPARTITION", HiveParser.TOK_ALTERTABLE_SETDEFAULTPARTITION, new Privilege[]{Privilege.ALTER_METADATA}, + null), ALTERTABLE_REPLACECOLS("ALTERTABLE_REPLACECOLS", HiveParser.TOK_ALTERTABLE_REPLACECOLS, new Privilege[]{Privilege.ALTER_METADATA}, null), ALTERTABLE_RENAMECOL("ALTERTABLE_RENAMECOL", HiveParser.TOK_ALTERTABLE_RENAMECOL, diff --git a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java index 6c84e31fc9ef..5e077c6def2f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java @@ -50,6 +50,7 @@ public enum HiveOperationType { MSCK, ALTERTABLE_ADDCOLS, ALTERTABLE_DROPCOL, + ALTERTABLE_SETDEFAULTPARTITION, ALTERTABLE_REPLACECOLS, ALTERTABLE_RENAMECOL, ALTERTABLE_RENAMEPART, diff --git a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java index d5869c2f4f5a..e07bc1697e66 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java @@ -168,6 +168,8 @@ public HivePrivilegeObjectType getObjectType() { PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); op2Priv.put(HiveOperationType. ALTERTABLE_DROPCOL, PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); + op2Priv.put(HiveOperationType. ALTERTABLE_SETDEFAULTPARTITION, + PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); op2Priv.put(HiveOperationType.ALTERTABLE_REPLACECOLS, PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); op2Priv.put(HiveOperationType.ALTERTABLE_RENAMECOL, diff --git a/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java b/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java index e1f028e08993..c32e727e599c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java @@ -41,6 +41,7 @@ import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest; import org.apache.hadoop.hive.ql.CompilationOpContext; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.FetchOperator; import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; @@ -162,7 +163,7 @@ private boolean constructColumnStatsFromPackedRows(Table tbl, List partitionSpec = new HashMap<>(); partitionSpec.put("a", HiveConf.getVar(hiveConf, ConfVars.DEFAULT_PARTITION_NAME)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", HiveConf.getVar(hiveConf, ConfVars.DEFAULT_ZOOKEEPER_PARTITION_NAME)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", "random" + HiveConf.getVar(hiveConf, ConfVars.DEFAULT_PARTITION_NAME) + "partition"); - PartitionUtils.validatePartitions(hiveConf, partitionSpec); + PartitionUtils.validatePartitions(hiveConf, partitionSpec, null); partitionSpec.clear(); partitionSpec.put("a", "random" + HiveConf.getVar(hiveConf, ConfVars.DEFAULT_ZOOKEEPER_PARTITION_NAME) + "partition"); - PartitionUtils.validatePartitions(hiveConf, partitionSpec); + PartitionUtils.validatePartitions(hiveConf, partitionSpec, null); partitionSpec.clear(); partitionSpec.put("a", HiveConf.getVar(hiveConf, ConfVars.METASTORE_INT_ORIGINAL)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", HiveConf.getVar(hiveConf, ConfVars.METASTORE_INT_ARCHIVED)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", HiveConf.getVar(hiveConf, ConfVars.METASTORE_INT_EXTRACTED)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", "random_part" + HiveConf.getVar(hiveConf, ConfVars.METASTORE_INT_ORIGINAL)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", "random_part" + HiveConf.getVar(hiveConf, ConfVars.METASTORE_INT_ARCHIVED)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); partitionSpec.clear(); partitionSpec.put("a", "random_part" + HiveConf.getVar(hiveConf, ConfVars.METASTORE_INT_EXTRACTED)); - Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec)); + Assert.assertThrows(RuntimeException.class, () -> PartitionUtils.validatePartitions(hiveConf, partitionSpec, null)); } @Test diff --git a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java b/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java index 006ba6a0584a..8c789b0fab3a 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java @@ -39,6 +39,7 @@ import org.apache.hadoop.hive.metastore.client.builder.TableBuilder; import org.apache.hadoop.hive.metastore.minihms.AbstractMetaStoreService; import org.apache.hadoop.hive.ql.QueryState; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.SerializationUtilities; import org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc; import org.apache.hadoop.hive.ql.session.LineageState; @@ -261,7 +262,7 @@ private void checkPartitionNames(List expected, short numParts, String o @Test public void testListPartitionNames() throws Exception { Table t = createTable4PartColsParts(getClient()).table; - String defaultPartitionName = HiveConf.getVar(conf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(t.getParameters(), conf); List> testValues = Lists.newArrayList( Lists.newArrayList("1999", defaultPartitionName, "02"), Lists.newArrayList(defaultPartitionName, "02", "10"), diff --git a/ql/src/test/queries/clientpositive/alter_table_add_partition.q b/ql/src/test/queries/clientpositive/alter_table_add_partition.q index d8822e445dbc..ba50aa535552 100644 --- a/ql/src/test/queries/clientpositive/alter_table_add_partition.q +++ b/ql/src/test/queries/clientpositive/alter_table_add_partition.q @@ -17,7 +17,7 @@ create table test_part(a int) partitioned by (b string); alter table test_part add partition(b='one'); -set hive.exec.default.partition.name=random; +alter table test_part set default partition to 'random'; alter table test_part add partition(b='random_access_memory'); diff --git a/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q b/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q new file mode 100644 index 000000000000..4a3e21ad1838 --- /dev/null +++ b/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q @@ -0,0 +1,65 @@ +drop table if exists tbl_orc; + +create external table tbl_orc(a int, b string, c int) partitioned by (d int) stored as orc; +describe formatted tbl_orc; +INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12); +show partitions tbl_orc; +dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; +alter table tbl_orc set default partition to 'random_partition'; +describe formatted tbl_orc; +show partitions tbl_orc; +select * from tbl_orc; +select count(*) from tbl_orc; +INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23); +show partitions tbl_orc; +select * from tbl_orc; +select count(*) from tbl_orc; +dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; +drop table if exists tbl_orc; + + +create external table tbl_orc(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc; +describe formatted tbl_orc; +INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12); +INSERT INTO tbl_orc (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf'); +INSERT INTO tbl_orc (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876); +show partitions tbl_orc; +dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; +alter table tbl_orc set default partition to 'default_partition'; +describe formatted tbl_orc; +select * from tbl_orc; +select count(*) from tbl_orc; +show partitions tbl_orc; +INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23); +select * from tbl_orc; +select count(*) from tbl_orc; +show partitions tbl_orc; +dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; +drop table if exists tbl_orc; + + +drop table if exists tbl_orc_multiple; +drop table if exists tbl_orc_copy_multiple; +create external table tbl_orc_multiple(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc location '${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_orc_multiple/'; +describe formatted tbl_orc_multiple; +INSERT INTO tbl_orc_multiple (a, b, c) values(3, 'ccc', 12); +INSERT INTO tbl_orc_multiple (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf'); +INSERT INTO tbl_orc_multiple (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876); +create external table tbl_orc_copy_multiple(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc location '${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_orc_multiple/'; +show partitions tbl_orc_multiple; +msck repair table tbl_orc_copy_multiple; +show partitions tbl_orc_copy_multiple; +dfs -ls ${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_orc_multiple/; +alter table tbl_orc_multiple set default partition to 'default_partition'; +describe formatted tbl_orc_multiple; +select * from tbl_orc_multiple; +select count(*) from tbl_orc_multiple; +show partitions tbl_orc_multiple; +dfs -ls ${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_orc_multiple/; +alter table tbl_orc_copy_multiple set default partition to 'default_partition'; +describe formatted tbl_orc_copy_multiple; +select * from tbl_orc_copy_multiple; +select count(*) from tbl_orc_copy_multiple; +show partitions tbl_orc_copy_multiple; +drop table if exists tbl_orc_multiple; +drop table if exists tbl_orc_copy_multiple; diff --git a/ql/src/test/queries/clientpositive/default_partition_name.q b/ql/src/test/queries/clientpositive/default_partition_name.q index 6a8231878797..fb0a0569b06b 100644 --- a/ql/src/test/queries/clientpositive/default_partition_name.q +++ b/ql/src/test/queries/clientpositive/default_partition_name.q @@ -1,6 +1,6 @@ create table default_partition_name (key int, value string) partitioned by (ds string); -set hive.exec.default.partition.name='some_other_default_partition_name'; +alter table default_partition_name set default partition to 'some_other_default_partition_name'; alter table default_partition_name add partition(ds='__HIVE_DEFAULT_PARTITION__'); diff --git a/ql/src/test/queries/clientpositive/msck_repair_9.q b/ql/src/test/queries/clientpositive/msck_repair_9.q index 42f0f91fee83..04a3e1bba938 100644 --- a/ql/src/test/queries/clientpositive/msck_repair_9.q +++ b/ql/src/test/queries/clientpositive/msck_repair_9.q @@ -7,12 +7,13 @@ INSERT INTO tbl_x values(1, 'aaa', 12, 2); INSERT INTO tbl_x values(2, 'bbb', 12, 3); INSERT INTO tbl_x (id, name, month) values(3, 'ccc', 12); -SET hive.exec.default.partition.name=ANOTHER_PARTITION; +alter table tbl_x set default partition to 'ANOTHER_PARTITION'; INSERT INTO tbl_x (id, name, day) values(4, 'ddd', 3); SHOW PARTITIONS tbl_x; CREATE EXTERNAL TABLE tbl_y (id INT, name STRING) PARTITIONED BY (month INT, day INT) stored as ORC location '${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_x/'; +alter table tbl_y set default partition to 'ANOTHER_PARTITION'; set hive.msck.path.validation=skip; @@ -20,15 +21,17 @@ MSCK REPAIR TABLE tbl_y; SHOW PARTITIONS tbl_y; -SET hive.exec.default.partition.name=SECOND_PARTITION; +alter table tbl_y set default partition to 'SECOND_PARTITION'; INSERT INTO tbl_y (id, name, day) values(4, 'ddd', 3); +SHOW PARTITIONS tbl_y; -SET hive.exec.default.partition.name=OTHER_PARTITION; +alter table tbl_y set default partition to 'OTHER_PARTITION'; INSERT INTO tbl_y (id, name, day) values(4, 'ddd', 3); - SHOW PARTITIONS tbl_y; set hive.msck.path.validation=ignore; + +dfs ${system:test.dfs.mkdir} -p ${system:test.tmp.dir}/apps/hive/warehouse/test.db//tbl_x/month=DEFAULT/day=DEFAULT; MSCK REPAIR TABLE tbl_y; SHOW PARTITIONS tbl_y; diff --git a/ql/src/test/queries/clientpositive/partition_default_name_change_numeric.q b/ql/src/test/queries/clientpositive/partition_default_name_change_numeric.q index d7fc48f156f5..c613ad09e090 100644 --- a/ql/src/test/queries/clientpositive/partition_default_name_change_numeric.q +++ b/ql/src/test/queries/clientpositive/partition_default_name_change_numeric.q @@ -32,7 +32,11 @@ INSERT INTO date_dim_multi VALUES (24519, 2451900002, 24519.02, 24519.02, '2020-01-02', 2020); -- modify hive default partition name post insertion -SET hive.exec.default.partition.name=abc; +alter table sales_p_int set default partition to 'abc'; +alter table sales_p_bigint set default partition to 'abc'; +alter table sales_p_double set default partition to 'abc'; +alter table sales_p_decimal set default partition to 'abc'; + SELECT d_date FROM sales_p_int s, date_dim_multi d WHERE s.ss_sold_date_sk_int = d.d_date_sk_int and d.d_year = 2020 GROUP BY d_date; SELECT d_date FROM sales_p_bigint s JOIN date_dim_multi d ON s.ss_sold_date_sk_bigint = d.d_date_sk_bigint WHERE d.d_year = 2020 GROUP BY d_date; diff --git a/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q b/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q index cd78dcd77c90..c15259af7c37 100644 --- a/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q +++ b/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q @@ -1,6 +1,6 @@ create temporary table default_partition_name_temp (key int, value string) partitioned by (ds string); -set hive.exec.default.partition.name='some_other_default_partition_name_temp'; +alter table default_partition_name_temp set default partition to 'some_other_default_partition_name_temp'; alter table default_partition_name_temp add partition(ds='__HIVE_DEFAULT_PARTITION__'); diff --git a/ql/src/test/results/clientpositive/llap/alter_table_add_partition.q.out b/ql/src/test/results/clientpositive/llap/alter_table_add_partition.q.out index 465f5717d6c6..7f3d19cd538a 100644 --- a/ql/src/test/results/clientpositive/llap/alter_table_add_partition.q.out +++ b/ql/src/test/results/clientpositive/llap/alter_table_add_partition.q.out @@ -232,6 +232,14 @@ POSTHOOK: query: alter table test_part add partition(b='one') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Output: default@test_part POSTHOOK: Output: default@test_part@b=one +PREHOOK: query: alter table test_part set default partition to 'random' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@test_part +PREHOOK: Output: default@test_part +POSTHOOK: query: alter table test_part set default partition to 'random' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@test_part +POSTHOOK: Output: default@test_part PREHOOK: query: alter table test_part add partition(b='random_access_memory') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@test_part diff --git a/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out b/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out new file mode 100644 index 000000000000..b81242cac317 --- /dev/null +++ b/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out @@ -0,0 +1,823 @@ +PREHOOK: query: drop table if exists tbl_orc +PREHOOK: type: DROPTABLE +PREHOOK: Output: database:default +POSTHOOK: query: drop table if exists tbl_orc +POSTHOOK: type: DROPTABLE +POSTHOOK: Output: database:default +PREHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int) stored as orc +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int) stored as orc +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc +PREHOOK: query: describe formatted tbl_orc +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: describe formatted tbl_orc +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + EXTERNAL TRUE + bucketing_version 2 + numFiles 0 + numPartitions 0 + numRows 0 + rawDataSize 0 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc +POSTHOOK: Output: default@tbl_orc@d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: show partitions tbl_orc +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: show partitions tbl_orc +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc +d=__HIVE_DEFAULT_PARTITION__ +Found 1 items +#### A masked pattern was here #### +PREHOOK: query: alter table tbl_orc set default partition to 'random_partition' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_orc +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: alter table tbl_orc set default partition to 'random_partition' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Output: default@tbl_orc +PREHOOK: query: describe formatted tbl_orc +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: describe formatted tbl_orc +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + DEFAULT_PARTITION_NAME random_partition + EXTERNAL TRUE + bucketing_version 2 +#### A masked pattern was here #### + numFiles 1 + numPartitions 1 + numRows 1 + rawDataSize 95 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: show partitions tbl_orc +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: show partitions tbl_orc +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc +d=random_partition +PREHOOK: query: select * from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +POSTHOOK: query: select * from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +3 ccc 12 NULL +PREHOOK: query: select count(*) from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +1 +PREHOOK: query: INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc +POSTHOOK: Output: default@tbl_orc@d=random_partition +POSTHOOK: Lineage: tbl_orc PARTITION(d=random_partition).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=random_partition).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=random_partition).c SCRIPT [] +PREHOOK: query: show partitions tbl_orc +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: show partitions tbl_orc +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc +d=random_partition +PREHOOK: query: select * from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +POSTHOOK: query: select * from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +3 ccc 12 NULL +4 ddd 23 NULL +PREHOOK: query: select count(*) from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=random_partition +#### A masked pattern was here #### +2 +Found 1 items +#### A masked pattern was here #### +PREHOOK: query: drop table if exists tbl_orc +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tbl_orc +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: drop table if exists tbl_orc +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc +PREHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc +PREHOOK: query: describe formatted tbl_orc +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: describe formatted tbl_orc +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int +e string +f bigint + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + EXTERNAL TRUE + bucketing_version 2 + numFiles 0 + numPartitions 0 + numRows 0 + rawDataSize 0 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc +POSTHOOK: Output: default@tbl_orc@d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: INSERT INTO tbl_orc (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: INSERT INTO tbl_orc (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc +POSTHOOK: Output: default@tbl_orc@d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: INSERT INTO tbl_orc (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: INSERT INTO tbl_orc (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc +POSTHOOK: Output: default@tbl_orc@d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).c SCRIPT [] +PREHOOK: query: show partitions tbl_orc +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: show partitions tbl_orc +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc +d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ +d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ +d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +Found 3 items +#### A masked pattern was here #### +PREHOOK: query: alter table tbl_orc set default partition to 'default_partition' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_orc +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: alter table tbl_orc set default partition to 'default_partition' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Output: default@tbl_orc +PREHOOK: query: describe formatted tbl_orc +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: describe formatted tbl_orc +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int +e string +f bigint + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + DEFAULT_PARTITION_NAME default_partition + EXTERNAL TRUE + bucketing_version 2 +#### A masked pattern was here #### + numFiles 3 + numPartitions 3 + numRows 3 + rawDataSize 285 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: select * from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select * from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +5 ddd 13 32 tgf NULL +3 ccc 12 NULL default_partition NULL +6 eee 14 NULL tgh 23456876 +PREHOOK: query: select count(*) from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +3 +PREHOOK: query: show partitions tbl_orc +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: show partitions tbl_orc +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc +d=32/e=tgf/f=default_partition +d=default_partition/e=default_partition/f=default_partition +d=default_partition/e=tgh/f=23456876 +PREHOOK: query: INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc +POSTHOOK: Output: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Lineage: tbl_orc PARTITION(d=default_partition,e=default_partition,f=default_partition).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=default_partition,e=default_partition,f=default_partition).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc PARTITION(d=default_partition,e=default_partition,f=default_partition).c SCRIPT [] +PREHOOK: query: select * from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select * from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +5 ddd 13 32 tgf NULL +3 ccc 12 NULL default_partition NULL +4 ddd 23 NULL default_partition NULL +6 eee 14 NULL tgh 23456876 +PREHOOK: query: select count(*) from tbl_orc +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc +PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from tbl_orc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +4 +PREHOOK: query: show partitions tbl_orc +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc +POSTHOOK: query: show partitions tbl_orc +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc +d=32/e=tgf/f=default_partition +d=default_partition/e=default_partition/f=default_partition +d=default_partition/e=tgh/f=23456876 +Found 4 items +#### A masked pattern was here #### +PREHOOK: query: drop table if exists tbl_orc +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tbl_orc +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc +POSTHOOK: query: drop table if exists tbl_orc +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tbl_orc +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc +PREHOOK: query: drop table if exists tbl_orc_multiple +PREHOOK: type: DROPTABLE +PREHOOK: Output: database:default +POSTHOOK: query: drop table if exists tbl_orc_multiple +POSTHOOK: type: DROPTABLE +POSTHOOK: Output: database:default +PREHOOK: query: drop table if exists tbl_orc_copy_multiple +PREHOOK: type: DROPTABLE +PREHOOK: Output: database:default +POSTHOOK: query: drop table if exists tbl_orc_copy_multiple +POSTHOOK: type: DROPTABLE +POSTHOOK: Output: database:default +#### A masked pattern was here #### +PREHOOK: type: CREATETABLE +#### A masked pattern was here #### +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc_multiple +#### A masked pattern was here #### +POSTHOOK: type: CREATETABLE +#### A masked pattern was here #### +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc_multiple +PREHOOK: query: describe formatted tbl_orc_multiple +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc_multiple +POSTHOOK: query: describe formatted tbl_orc_multiple +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc_multiple +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int +e string +f bigint + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + EXTERNAL TRUE + bucketing_version 2 + numFiles 0 + numPartitions 0 + numRows 0 + rawDataSize 0 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: INSERT INTO tbl_orc_multiple (a, b, c) values(3, 'ccc', 12) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc_multiple +POSTHOOK: query: INSERT INTO tbl_orc_multiple (a, b, c) values(3, 'ccc', 12) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc_multiple +POSTHOOK: Output: default@tbl_orc_multiple@d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: INSERT INTO tbl_orc_multiple (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc_multiple +POSTHOOK: query: INSERT INTO tbl_orc_multiple (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc_multiple +POSTHOOK: Output: default@tbl_orc_multiple@d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: INSERT INTO tbl_orc_multiple (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@tbl_orc_multiple +POSTHOOK: query: INSERT INTO tbl_orc_multiple (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@tbl_orc_multiple +POSTHOOK: Output: default@tbl_orc_multiple@d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_multiple PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).c SCRIPT [] +#### A masked pattern was here #### +PREHOOK: type: CREATETABLE +#### A masked pattern was here #### +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc_copy_multiple +#### A masked pattern was here #### +POSTHOOK: type: CREATETABLE +#### A masked pattern was here #### +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc_copy_multiple +PREHOOK: query: show partitions tbl_orc_multiple +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc_multiple +POSTHOOK: query: show partitions tbl_orc_multiple +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc_multiple +d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ +d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ +d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +PREHOOK: query: msck repair table tbl_orc_copy_multiple +PREHOOK: type: MSCK +PREHOOK: Output: default@tbl_orc_copy_multiple +POSTHOOK: query: msck repair table tbl_orc_copy_multiple +POSTHOOK: type: MSCK +POSTHOOK: Output: default@tbl_orc_copy_multiple +Partitions not in metastore: tbl_orc_copy_multiple:d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ tbl_orc_copy_multiple:d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ tbl_orc_copy_multiple:d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +#### A masked pattern was here #### +PREHOOK: query: show partitions tbl_orc_copy_multiple +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: query: show partitions tbl_orc_copy_multiple +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc_copy_multiple +d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ +d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ +d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +Found 2 items +#### A masked pattern was here #### +PREHOOK: query: alter table tbl_orc_multiple set default partition to 'default_partition' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_orc_multiple +PREHOOK: Output: default@tbl_orc_multiple +POSTHOOK: query: alter table tbl_orc_multiple set default partition to 'default_partition' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_orc_multiple +POSTHOOK: Output: default@tbl_orc_multiple +PREHOOK: query: describe formatted tbl_orc_multiple +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc_multiple +POSTHOOK: query: describe formatted tbl_orc_multiple +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc_multiple +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int +e string +f bigint + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + DEFAULT_PARTITION_NAME default_partition + EXTERNAL TRUE + bucketing_version 2 +#### A masked pattern was here #### + numFiles 3 + numPartitions 3 + numRows 3 + rawDataSize 285 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: select * from tbl_orc_multiple +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc_multiple +PREHOOK: Input: default@tbl_orc_multiple@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select * from tbl_orc_multiple +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc_multiple +POSTHOOK: Input: default@tbl_orc_multiple@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +5 ddd 13 32 tgf NULL +3 ccc 12 NULL default_partition NULL +6 eee 14 NULL tgh 23456876 +PREHOOK: query: select count(*) from tbl_orc_multiple +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc_multiple +PREHOOK: Input: default@tbl_orc_multiple@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from tbl_orc_multiple +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc_multiple +POSTHOOK: Input: default@tbl_orc_multiple@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +3 +PREHOOK: query: show partitions tbl_orc_multiple +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc_multiple +POSTHOOK: query: show partitions tbl_orc_multiple +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc_multiple +d=32/e=tgf/f=default_partition +d=default_partition/e=default_partition/f=default_partition +d=default_partition/e=tgh/f=23456876 +Found 3 items +#### A masked pattern was here #### +PREHOOK: query: alter table tbl_orc_copy_multiple set default partition to 'default_partition' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_orc_copy_multiple +PREHOOK: Output: default@tbl_orc_copy_multiple +POSTHOOK: query: alter table tbl_orc_copy_multiple set default partition to 'default_partition' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: Output: default@tbl_orc_copy_multiple +PREHOOK: query: describe formatted tbl_orc_copy_multiple +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: query: describe formatted tbl_orc_copy_multiple +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@tbl_orc_copy_multiple +# col_name data_type comment +a int +b string +c int + +# Partition Information +# col_name data_type comment +d int +e string +f bigint + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: EXTERNAL_TABLE +Table Parameters: + DEFAULT_PARTITION_NAME default_partition + EXTERNAL TRUE + bucketing_version 2 +#### A masked pattern was here #### + numFiles 3 + numPartitions 3 + numRows 0 + rawDataSize 0 + totalSize #Masked# +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.orc.OrcSerde +InputFormat: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: select * from tbl_orc_copy_multiple +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc_copy_multiple +PREHOOK: Input: default@tbl_orc_copy_multiple@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select * from tbl_orc_copy_multiple +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: Input: default@tbl_orc_copy_multiple@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +5 ddd 13 32 tgf NULL +3 ccc 12 NULL default_partition NULL +6 eee 14 NULL tgh 23456876 +PREHOOK: query: select count(*) from tbl_orc_copy_multiple +PREHOOK: type: QUERY +PREHOOK: Input: default@tbl_orc_copy_multiple +PREHOOK: Input: default@tbl_orc_copy_multiple@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from tbl_orc_copy_multiple +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: Input: default@tbl_orc_copy_multiple@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_copy_multiple@d=default_partition/e=tgh/f=23456876 +#### A masked pattern was here #### +3 +PREHOOK: query: show partitions tbl_orc_copy_multiple +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: query: show partitions tbl_orc_copy_multiple +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_orc_copy_multiple +d=32/e=tgf/f=default_partition +d=default_partition/e=default_partition/f=default_partition +d=default_partition/e=tgh/f=23456876 +PREHOOK: query: drop table if exists tbl_orc_multiple +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tbl_orc_multiple +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc_multiple +POSTHOOK: query: drop table if exists tbl_orc_multiple +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tbl_orc_multiple +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc_multiple +PREHOOK: query: drop table if exists tbl_orc_copy_multiple +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tbl_orc_copy_multiple +PREHOOK: Output: database:default +PREHOOK: Output: default@tbl_orc_copy_multiple +POSTHOOK: query: drop table if exists tbl_orc_copy_multiple +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tbl_orc_copy_multiple +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc_copy_multiple diff --git a/ql/src/test/results/clientpositive/llap/default_partition_name.q.out b/ql/src/test/results/clientpositive/llap/default_partition_name.q.out index 16cea1952d2c..512004223eb8 100644 --- a/ql/src/test/results/clientpositive/llap/default_partition_name.q.out +++ b/ql/src/test/results/clientpositive/llap/default_partition_name.q.out @@ -6,6 +6,14 @@ POSTHOOK: query: create table default_partition_name (key int, value string) par POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@default_partition_name +PREHOOK: query: alter table default_partition_name set default partition to 'some_other_default_partition_name' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@default_partition_name +PREHOOK: Output: default@default_partition_name +POSTHOOK: query: alter table default_partition_name set default partition to 'some_other_default_partition_name' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@default_partition_name +POSTHOOK: Output: default@default_partition_name PREHOOK: query: alter table default_partition_name add partition(ds='__HIVE_DEFAULT_PARTITION__') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@default_partition_name diff --git a/ql/src/test/results/clientpositive/llap/msck_repair_9.q.out b/ql/src/test/results/clientpositive/llap/msck_repair_9.q.out index 048bc72f11f1..e7155a0846a7 100644 --- a/ql/src/test/results/clientpositive/llap/msck_repair_9.q.out +++ b/ql/src/test/results/clientpositive/llap/msck_repair_9.q.out @@ -53,6 +53,14 @@ POSTHOOK: Output: default@tbl_x POSTHOOK: Output: default@tbl_x@month=12/day=__HIVE_DEFAULT_PARTITION__ POSTHOOK: Lineage: tbl_x PARTITION(month=12,day=__HIVE_DEFAULT_PARTITION__).id SCRIPT [] POSTHOOK: Lineage: tbl_x PARTITION(month=12,day=__HIVE_DEFAULT_PARTITION__).name SCRIPT [] +PREHOOK: query: alter table tbl_x set default partition to 'ANOTHER_PARTITION' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_x +PREHOOK: Output: default@tbl_x +POSTHOOK: query: alter table tbl_x set default partition to 'ANOTHER_PARTITION' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_x +POSTHOOK: Output: default@tbl_x PREHOOK: query: INSERT INTO tbl_x (id, name, day) values(4, 'ddd', 3) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table @@ -72,7 +80,7 @@ POSTHOOK: type: SHOWPARTITIONS POSTHOOK: Input: default@tbl_x month=12/day=2 month=12/day=3 -month=12/day=__HIVE_DEFAULT_PARTITION__ +month=12/day=ANOTHER_PARTITION month=ANOTHER_PARTITION/day=3 #### A masked pattern was here #### PREHOOK: type: CREATETABLE @@ -84,13 +92,21 @@ POSTHOOK: type: CREATETABLE #### A masked pattern was here #### POSTHOOK: Output: database:default POSTHOOK: Output: default@tbl_y +PREHOOK: query: alter table tbl_y set default partition to 'ANOTHER_PARTITION' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_y +PREHOOK: Output: default@tbl_y +POSTHOOK: query: alter table tbl_y set default partition to 'ANOTHER_PARTITION' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_y +POSTHOOK: Output: default@tbl_y PREHOOK: query: MSCK REPAIR TABLE tbl_y PREHOOK: type: MSCK PREHOOK: Output: default@tbl_y POSTHOOK: query: MSCK REPAIR TABLE tbl_y POSTHOOK: type: MSCK POSTHOOK: Output: default@tbl_y -Partitions not in metastore: tbl_y:month=12/day=2 tbl_y:month=12/day=3 tbl_y:month=ANOTHER_PARTITION/day=3 +Partitions not in metastore: tbl_y:month=12/day=2 tbl_y:month=12/day=3 tbl_y:month=12/day=ANOTHER_PARTITION tbl_y:month=ANOTHER_PARTITION/day=3 #### A masked pattern was here #### PREHOOK: query: SHOW PARTITIONS tbl_y PREHOOK: type: SHOWPARTITIONS @@ -100,7 +116,16 @@ POSTHOOK: type: SHOWPARTITIONS POSTHOOK: Input: default@tbl_y month=12/day=2 month=12/day=3 +month=12/day=ANOTHER_PARTITION month=ANOTHER_PARTITION/day=3 +PREHOOK: query: alter table tbl_y set default partition to 'SECOND_PARTITION' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_y +PREHOOK: Output: default@tbl_y +POSTHOOK: query: alter table tbl_y set default partition to 'SECOND_PARTITION' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_y +POSTHOOK: Output: default@tbl_y PREHOOK: query: INSERT INTO tbl_y (id, name, day) values(4, 'ddd', 3) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table @@ -112,6 +137,24 @@ POSTHOOK: Output: default@tbl_y POSTHOOK: Output: default@tbl_y@month=SECOND_PARTITION/day=3 POSTHOOK: Lineage: tbl_y PARTITION(month=SECOND_PARTITION,day=3).id SCRIPT [] POSTHOOK: Lineage: tbl_y PARTITION(month=SECOND_PARTITION,day=3).name SCRIPT [] +PREHOOK: query: SHOW PARTITIONS tbl_y +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@tbl_y +POSTHOOK: query: SHOW PARTITIONS tbl_y +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@tbl_y +month=12/day=2 +month=12/day=3 +month=12/day=SECOND_PARTITION +month=SECOND_PARTITION/day=3 +PREHOOK: query: alter table tbl_y set default partition to 'OTHER_PARTITION' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@tbl_y +PREHOOK: Output: default@tbl_y +POSTHOOK: query: alter table tbl_y set default partition to 'OTHER_PARTITION' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@tbl_y +POSTHOOK: Output: default@tbl_y PREHOOK: query: INSERT INTO tbl_y (id, name, day) values(4, 'ddd', 3) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table @@ -131,16 +174,15 @@ POSTHOOK: type: SHOWPARTITIONS POSTHOOK: Input: default@tbl_y month=12/day=2 month=12/day=3 -month=ANOTHER_PARTITION/day=3 +month=12/day=OTHER_PARTITION month=OTHER_PARTITION/day=3 -month=SECOND_PARTITION/day=3 PREHOOK: query: MSCK REPAIR TABLE tbl_y PREHOOK: type: MSCK PREHOOK: Output: default@tbl_y POSTHOOK: query: MSCK REPAIR TABLE tbl_y POSTHOOK: type: MSCK POSTHOOK: Output: default@tbl_y -Partitions not in metastore: tbl_y:month=12/day=__HIVE_DEFAULT_PARTITION__ +Partitions not in metastore: tbl_y:month=DEFAULT/day=DEFAULT #### A masked pattern was here #### PREHOOK: query: SHOW PARTITIONS tbl_y PREHOOK: type: SHOWPARTITIONS @@ -150,10 +192,9 @@ POSTHOOK: type: SHOWPARTITIONS POSTHOOK: Input: default@tbl_y month=12/day=2 month=12/day=3 -month=12/day=__HIVE_DEFAULT_PARTITION__ -month=ANOTHER_PARTITION/day=3 +month=12/day=OTHER_PARTITION +month=DEFAULT/day=DEFAULT month=OTHER_PARTITION/day=3 -month=SECOND_PARTITION/day=3 PREHOOK: query: DROP TABLE tbl_x PREHOOK: type: DROPTABLE PREHOOK: Input: default@tbl_x diff --git a/ql/src/test/results/clientpositive/llap/temp_table_default_partition_name.q.out b/ql/src/test/results/clientpositive/llap/temp_table_default_partition_name.q.out index f3b620662a94..c464c4a23937 100644 --- a/ql/src/test/results/clientpositive/llap/temp_table_default_partition_name.q.out +++ b/ql/src/test/results/clientpositive/llap/temp_table_default_partition_name.q.out @@ -6,6 +6,14 @@ POSTHOOK: query: create temporary table default_partition_name_temp (key int, va POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@default_partition_name_temp +PREHOOK: query: alter table default_partition_name_temp set default partition to 'some_other_default_partition_name_temp' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@default_partition_name_temp +PREHOOK: Output: default@default_partition_name_temp +POSTHOOK: query: alter table default_partition_name_temp set default partition to 'some_other_default_partition_name_temp' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@default_partition_name_temp +POSTHOOK: Output: default@default_partition_name_temp PREHOOK: query: alter table default_partition_name_temp add partition(ds='__HIVE_DEFAULT_PARTITION__') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@default_partition_name_temp diff --git a/ql/src/test/results/clientpositive/tez/partition_default_name_change_numeric.q.out b/ql/src/test/results/clientpositive/tez/partition_default_name_change_numeric.q.out index 49f2d83839fd..5fd494d4b192 100644 --- a/ql/src/test/results/clientpositive/tez/partition_default_name_change_numeric.q.out +++ b/ql/src/test/results/clientpositive/tez/partition_default_name_change_numeric.q.out @@ -156,19 +156,49 @@ POSTHOOK: Lineage: date_dim_multi.d_date_sk_decimal SCRIPT [] POSTHOOK: Lineage: date_dim_multi.d_date_sk_double SCRIPT [] POSTHOOK: Lineage: date_dim_multi.d_date_sk_int SCRIPT [] POSTHOOK: Lineage: date_dim_multi.d_year SCRIPT [] +PREHOOK: query: alter table sales_p_int set default partition to 'abc' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@sales_p_int +PREHOOK: Output: default@sales_p_int +POSTHOOK: query: alter table sales_p_int set default partition to 'abc' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@sales_p_int +POSTHOOK: Output: default@sales_p_int +PREHOOK: query: alter table sales_p_bigint set default partition to 'abc' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@sales_p_bigint +PREHOOK: Output: default@sales_p_bigint +POSTHOOK: query: alter table sales_p_bigint set default partition to 'abc' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@sales_p_bigint +POSTHOOK: Output: default@sales_p_bigint +PREHOOK: query: alter table sales_p_double set default partition to 'abc' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@sales_p_double +PREHOOK: Output: default@sales_p_double +POSTHOOK: query: alter table sales_p_double set default partition to 'abc' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@sales_p_double +POSTHOOK: Output: default@sales_p_double +PREHOOK: query: alter table sales_p_decimal set default partition to 'abc' +PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +PREHOOK: Input: default@sales_p_decimal +PREHOOK: Output: default@sales_p_decimal +POSTHOOK: query: alter table sales_p_decimal set default partition to 'abc' +POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION +POSTHOOK: Input: default@sales_p_decimal +POSTHOOK: Output: default@sales_p_decimal PREHOOK: query: SELECT d_date FROM sales_p_int s, date_dim_multi d WHERE s.ss_sold_date_sk_int = d.d_date_sk_int and d.d_year = 2020 GROUP BY d_date PREHOOK: type: QUERY PREHOOK: Input: default@date_dim_multi PREHOOK: Input: default@sales_p_int PREHOOK: Input: default@sales_p_int@ss_sold_date_sk_int=24518 -PREHOOK: Input: default@sales_p_int@ss_sold_date_sk_int=__HIVE_DEFAULT_PARTITION__ PREHOOK: Output: hdfs://### HDFS PATH ### POSTHOOK: query: SELECT d_date FROM sales_p_int s, date_dim_multi d WHERE s.ss_sold_date_sk_int = d.d_date_sk_int and d.d_year = 2020 GROUP BY d_date POSTHOOK: type: QUERY POSTHOOK: Input: default@date_dim_multi POSTHOOK: Input: default@sales_p_int POSTHOOK: Input: default@sales_p_int@ss_sold_date_sk_int=24518 -POSTHOOK: Input: default@sales_p_int@ss_sold_date_sk_int=__HIVE_DEFAULT_PARTITION__ POSTHOOK: Output: hdfs://### HDFS PATH ### 2020-01-01 PREHOOK: query: SELECT d_date FROM sales_p_bigint s JOIN date_dim_multi d ON s.ss_sold_date_sk_bigint = d.d_date_sk_bigint WHERE d.d_year = 2020 GROUP BY d_date @@ -176,14 +206,12 @@ PREHOOK: type: QUERY PREHOOK: Input: default@date_dim_multi PREHOOK: Input: default@sales_p_bigint PREHOOK: Input: default@sales_p_bigint@ss_sold_date_sk_bigint=2451800001 -PREHOOK: Input: default@sales_p_bigint@ss_sold_date_sk_bigint=__HIVE_DEFAULT_PARTITION__ PREHOOK: Output: hdfs://### HDFS PATH ### POSTHOOK: query: SELECT d_date FROM sales_p_bigint s JOIN date_dim_multi d ON s.ss_sold_date_sk_bigint = d.d_date_sk_bigint WHERE d.d_year = 2020 GROUP BY d_date POSTHOOK: type: QUERY POSTHOOK: Input: default@date_dim_multi POSTHOOK: Input: default@sales_p_bigint POSTHOOK: Input: default@sales_p_bigint@ss_sold_date_sk_bigint=2451800001 -POSTHOOK: Input: default@sales_p_bigint@ss_sold_date_sk_bigint=__HIVE_DEFAULT_PARTITION__ POSTHOOK: Output: hdfs://### HDFS PATH ### 2020-01-01 PREHOOK: query: SELECT d_date FROM sales_p_double s JOIN date_dim_multi d ON s.ss_sold_date_sk_double = d.d_date_sk_double WHERE d.d_year = 2020 GROUP BY d_date diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java index 48db8dae825c..8c90e293b6d1 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java @@ -47,6 +47,7 @@ import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.EnvironmentContext; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.GetPartitionsByNamesRequest; import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.metastore.api.InvalidInputException; import org.apache.hadoop.hive.metastore.api.InvalidObjectException; @@ -85,6 +86,8 @@ public class HiveAlterHandler implements AlterHandler { protected Configuration conf; private static final Logger LOG = LoggerFactory.getLogger(HiveAlterHandler.class .getName()); + private static final String SET_DEFAULT_PARTITION = "SETDEFAULTPARTITION"; + public static final String DEFAULT_PARTITION_NAME = "DEFAULT_PARTITION_NAME"; // hiveConf, getConf and setConf are in this class because AlterHandler extends Configurable. // Always use the configuration from HMS Handler. Making AlterHandler not extend Configurable @@ -453,6 +456,10 @@ public List run(List input) throws Exception { new TableName(catalogName, databaseName, tableName), writeIdList); } } else { + if (isSetDefaultPartition(environmentContext)) { + setDefaultPartitionName(msdb, wh, catName, dbname, name, newt, oldt, environmentContext, + handler, writeIdList); + } LOG.warn("Alter table not cascaded to partitions."); msdb.alterTable(catalogName, databaseName, tableName, newt, writeIdList); } @@ -528,6 +535,97 @@ public List run(List input) throws Exception { } } + private static boolean isSetDefaultPartition(EnvironmentContext environmentContext) { + if (environmentContext.isSetProperties()) { + String operation = environmentContext.getProperties().get(HiveMetaHook.ALTER_TABLE_OPERATION_TYPE); + return SET_DEFAULT_PARTITION.equals(operation); + } + return false; + } + + private static void setDefaultPartitionName(RawStore msdb, Warehouse wh, String catName, String dbname, + String name, Table newt, Table oldt, EnvironmentContext environmentContext, IHMSHandler handler, + String writeIdList) throws MetaException, InvalidObjectException, InvalidOperationException, + NoSuchObjectException, TException { + String clusterLevelDefaultPartitionName = environmentContext.getProperties() + .get(MetastoreConf.ConfVars.DEFAULTPARTITIONNAME.getHiveName()); + String oldDefaultPartitionValue = oldt.getParameters().get(DEFAULT_PARTITION_NAME); + String newDefaultPartitionValue = newt.getParameters().get(DEFAULT_PARTITION_NAME); + + PartitionsRequest partitionReq = new PartitionsRequest(dbname, name); + partitionReq.setCatName(catName); + partitionReq.setMaxParts((short) -1); + List partNames = handler.fetch_partition_names_req(partitionReq); + List partNamesToProcess = new ArrayList<>(); + + Table finalOldt = oldt; + FileSystem fs = wh.getFs(new Path(oldt.getSd().getLocation())); + partNames.forEach(partName -> { + for (FieldSchema partKey : finalOldt.getPartitionKeys()) { + if (partName.contains(partKey.getName() + "=" + clusterLevelDefaultPartitionName) || + (oldDefaultPartitionValue != null && partName.contains(partKey. + getName() + "=" + oldDefaultPartitionValue))) { + partNamesToProcess.add(partName); + break; + } + } + }); + + GetPartitionsByNamesRequest partsToProcess = MetaStoreUtils.convertToGetPartitionsByNamesRequest(dbname, + name, partNamesToProcess); + + List oldParts = handler.get_partitions_by_names_req(partsToProcess).getPartitions(); + + for (Partition part : oldParts) { + List oldPartValue = new ArrayList<>(part.getValues()); + for (int i = 0; i< part.getValues().size() ; i++) { + if (part.getValues().get(i).equals(oldDefaultPartitionValue) || + part.getValues().get(i).equals(clusterLevelDefaultPartitionName)) { + part.getValues().set(i, newDefaultPartitionValue); + } + } + + String oldPartLocation = part.getSd().getLocation(); + String searchPattern = "="; + if (oldDefaultPartitionValue == null) { + searchPattern += clusterLevelDefaultPartitionName; + } else { + searchPattern += oldDefaultPartitionValue; + } + String replacePattern = "=" + newDefaultPartitionValue; + String newPartLocation = oldPartLocation.replace(searchPattern, replacePattern); + + Path oldPath = new Path(oldPartLocation); + Path newPath = new Path(newPartLocation); + try { + if (fs.exists(oldPath) && !fs.exists(newPath)) { + //rename to new path + wh.renameDir(oldPath, newPath, false); + part.getSd().setLocation(newPartLocation); + msdb.alterPartition(catName, dbname, name, oldPartValue, part, writeIdList); + } else if (fs.exists(oldPath) && fs.exists(newPath)) { + // if the new path already exists, we will not rename the partition directory + LOG.error("Partition directory {} already exists, not renaming from {} to {}", + newPath, oldPath, newPath); + } else if (!fs.exists(oldPath) && fs.exists(newPath)) { + // No need to do rename operation here, just silently update the location and the partition + part.getSd().setLocation(newPartLocation); + msdb.alterPartition(catName, dbname, name, oldPartValue, part, writeIdList); + } + else if (!fs.exists(oldPath)) { + LOG.error("Partition directory {} does not exist, cannot rename to {}", + oldPath, newPath); + } + } catch (IOException e) { + LOG.error("Cannot rename partition directory from " + oldPath + " to " + newPath, e); + throw new InvalidOperationException("Unable to access src or dest location for"); + } catch (MetaException me) { + LOG.error("Cannot rename partition directory from " + oldPath + " to " + newPath, me); + throw me; + } + } + } + /** * MetaException that encapsulates error message from RemoteException from hadoop RPC which wrap * the stack trace into e.getMessage() which makes logs/stack traces confusing. diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java index e5a85783e0f3..0c85f9071c62 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java @@ -267,7 +267,7 @@ void checkTable(String catName, String dbName, String tableName, byte[] filterEx if (filterExp != null) { List results = new ArrayList<>(); getPartitionListByFilterExp(getMsc(), table, filterExp, - MetastoreConf.getVar(conf, MetastoreConf.ConfVars.DEFAULTPARTITIONNAME), results); + getDefaultPartitionName(table.getParameters(), conf), results); parts = new PartitionIterable(results); } else { GetProjectionsSpec projectionsSpec = new GetPartitionProjectionsSpecBuilder() @@ -289,6 +289,14 @@ void checkTable(String catName, String dbName, String tableName, byte[] filterEx checkTable(table, parts, filterExp, result); } + public static String getDefaultPartitionName(Map tableParams, Configuration conf) { + if (tableParams != null && tableParams.containsKey(HiveAlterHandler.DEFAULT_PARTITION_NAME)) { + return tableParams.get(HiveAlterHandler.DEFAULT_PARTITION_NAME); + } else { + return MetastoreConf.getVar(conf, MetastoreConf.ConfVars.DEFAULTPARTITIONNAME); + } + } + /** * Check the metastore for inconsistencies, data missing in either the * metastore or on the dfs. @@ -338,7 +346,7 @@ void checkTable(Table table, PartitionIterable parts, byte[] filterExp, CheckRes // Remove all partition paths which does not matches the filter expression. expressionProxy.filterPartitionsByExpr(partColumns, filterExp, - conf.get(MetastoreConf.ConfVars.DEFAULTPARTITIONNAME.getVarname()), partitions); + getDefaultPartitionName(table.getParameters(), conf), partitions); // now the partition list will contain all the paths that matches the filter expression. // add them back to partDirs. @@ -444,7 +452,7 @@ void findUnknownPartitions(Table table, Set missingPartDirs, for (Path partPath : missingPartDirs) { FileSystem fs = partPath.getFileSystem(conf); String partitionName = getPartitionName(fs.makeQualified(tablePath), - partPath, partColNames, partitionColToTypeMap, conf); + partPath, partColNames, partitionColToTypeMap, conf, table.getParameters()); if (partitionName == null) { // Skip this partition if there is some issue in the partition validation LOG.warn("Skipping partition : " + partPath.getName()); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index 12c78c347e43..45c102afed74 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java @@ -30,6 +30,7 @@ import static org.apache.hadoop.hive.metastore.ColumnType.TIMESTAMP_TYPE_NAME; import static org.apache.hadoop.hive.metastore.ColumnType.TINYINT_TYPE_NAME; import static org.apache.hadoop.hive.metastore.ColumnType.VARCHAR_TYPE_NAME; +import static org.apache.hadoop.hive.metastore.cache.CachedStore.getDefaultPartitionName; import java.sql.Connection; import java.sql.SQLException; @@ -151,7 +152,6 @@ class MetaStoreDirectSql { private final DatabaseProduct dbType; private final int batchSize; private final boolean convertMapNullsToEmptyStrings; - private final String defaultPartName; private final boolean isTxnStatsEnabled; /** @@ -220,7 +220,6 @@ public MetaStoreDirectSql(PersistenceManager pm, Configuration conf, String sche convertMapNullsToEmptyStrings = MetastoreConf.getBoolVar(conf, ConfVars.ORM_RETRIEVE_MAPNULLS_AS_EMPTY_STRINGS); - defaultPartName = MetastoreConf.getVar(conf, ConfVars.DEFAULTPARTITIONNAME); String jdoIdFactory = MetastoreConf.getVar(conf, ConfVars.IDENTIFIER_FACTORY); if (! ("datanucleus1".equalsIgnoreCase(jdoIdFactory))){ @@ -879,7 +878,7 @@ public static class SqlFilterForPushdown { public boolean generateSqlFilterForPushdown(String catName, String dbName, String tableName, List partitionKeys, ExpressionTree tree, String defaultPartitionName, - SqlFilterForPushdown result) throws MetaException { + SqlFilterForPushdown result, Map tableParams) throws MetaException { // Derby and Oracle do not interpret filters ANSI-properly in some cases and need a workaround. assert partitionKeys != null; boolean dbHasJoinCastBug = dbType.hasJoinOperationOrderBug(); @@ -888,7 +887,7 @@ public boolean generateSqlFilterForPushdown(String catName, String dbName, Strin result.catName = catName; result.filter = PartitionFilterGenerator.generateSqlFilter(catName, dbName, tableName, partitionKeys, tree, result.params, result.joins, dbHasJoinCastBug, - ((defaultPartitionName == null) ? defaultPartName : defaultPartitionName), + ((defaultPartitionName == null) ? getDefaultPartitionName(tableParams, conf ) : defaultPartitionName), dbType, schema, result.compactJoins); return result.filter != null; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 7836ad0f0fb9..a723d3f69ce5 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -3352,12 +3352,13 @@ public List listPartitionNames(String catName, String dbName, String tab public List listPartitionNames(final String catName, final String dbName, final String tblName, final String defaultPartName, final byte[] exprBytes, final String order, final int maxParts) throws MetaException, NoSuchObjectException { - final String defaultPartitionName = getDefaultPartitionName(defaultPartName); + final String defaultPartitionName = getDefaultPartitionName(defaultPartName, + ensureGetMTable(catName, dbName, tblName).getParameters()); final boolean isEmptyFilter = exprBytes.length == 1 && exprBytes[0] == -1; ExpressionTree tmp = null; if (!isEmptyFilter) { tmp = PartFilterExprUtil.makeExpressionTree(expressionProxy, exprBytes, - getDefaultPartitionName(defaultPartName), conf); + defaultPartitionName, conf); } final ExpressionTree exprTree = tmp; return new GetListHelper(catName, dbName, tblName, true, true) { @@ -3386,7 +3387,7 @@ protected List getSqlResult(GetHelper> ctx) throws MetaExce Table table = ctx.getTable(); if (exprTree != null) { if (directSql.generateSqlFilterForPushdown(table.getCatName(), table.getDbName(), table.getTableName(), - ctx.getTable().getPartitionKeys(), exprTree, defaultPartitionName, filter)) { + ctx.getTable().getPartitionKeys(), exprTree, defaultPartitionName, filter, table.getParameters())) { partNames = directSql.getPartitionNamesViaSql(filter, table.getPartitionKeys(), defaultPartitionName, order, (int)maxParts); } @@ -3435,13 +3436,13 @@ public List listPartitionNamesByFilter(String catName, String dbName, St @Override protected boolean canUseDirectSql(GetHelper> ctx) throws MetaException { return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, - partitionKeys, tree, null, filter); + partitionKeys, tree, null, filter, mTable.getParameters()); } @Override protected List getSqlResult(GetHelper> ctx) throws MetaException { return directSql.getPartitionNamesViaSql(filter, partitionKeys, - getDefaultPartitionName(args.getDefaultPartName()), null, args.getMax()); + getDefaultPartitionName(args.getDefaultPartName(), mTable.getParameters()), null, args.getMax()); } @Override @@ -4068,7 +4069,7 @@ private boolean prunePartitionNamesByExpr(String catName, String dbName, String boolean hasUnknownPartitions = expressionProxy.filterPartitionsByExpr( partitionKeys, args.getExpr(), - getDefaultPartitionName(args.getDefaultPartName()), + getDefaultPartitionName(args.getDefaultPartName(), mTable.getParameters()), result); if (args.getMax() >= 0 && result.size() > args.getMax()) { result = result.subList(0, args.getMax()); @@ -4079,10 +4080,6 @@ private boolean prunePartitionNamesByExpr(String catName, String dbName, String protected boolean getPartitionsByExprInternal(String catName, String dbName, String tblName, List result, boolean allowSql, boolean allowJdo, GetPartitionsArgs args) throws TException { assert result != null; - - byte[] expr = args.getExpr(); - final ExpressionTree exprTree = expr.length != 0 ? PartFilterExprUtil.makeExpressionTree( - expressionProxy, expr, getDefaultPartitionName(args.getDefaultPartName()), conf) : ExpressionTree.EMPTY_TREE; final AtomicBoolean hasUnknownPartitions = new AtomicBoolean(false); catName = normalizeIdentifier(catName); @@ -4090,6 +4087,10 @@ protected boolean getPartitionsByExprInternal(String catName, String dbName, Str tblName = normalizeIdentifier(tblName); MTable mTable = ensureGetMTable(catName, dbName, tblName); + byte[] expr = args.getExpr(); + final ExpressionTree exprTree = expr.length != 0 ? PartFilterExprUtil.makeExpressionTree( + expressionProxy, expr, getDefaultPartitionName(args.getDefaultPartName(), mTable.getParameters()), + conf) : ExpressionTree.EMPTY_TREE; List partitionKeys = convertToFieldSchemas(mTable.getPartitionKeys()); boolean isAcidTable = TxnUtils.isAcidTable(mTable.getParameters()); result.addAll(new GetListHelper(catName, dbName, tblName, allowSql, allowJdo) { @@ -4099,7 +4100,7 @@ protected List getSqlResult(GetHelper> ctx) throws Me if (exprTree != null) { SqlFilterForPushdown filter = new SqlFilterForPushdown(); if (directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, - exprTree, args.getDefaultPartName(), filter)) { + exprTree, args.getDefaultPartName(), filter, mTable.getParameters())) { String catalogName = (catName != null) ? catName : getDefaultCatalog(conf); return directSql.getPartitionsViaSqlFilter(catalogName, dbName, tblName, filter, isAcidTable, args); @@ -4141,9 +4142,15 @@ protected List getJdoResult( * @param inputDefaultPartName Incoming default partition name. * @return Valid default partition name */ - private String getDefaultPartitionName(String inputDefaultPartName) { + private String getDefaultPartitionName(String inputDefaultPartName, Map tableParams) { + String computedDefaultPartitionName; + if (tableParams != null && tableParams.containsKey(HiveAlterHandler.DEFAULT_PARTITION_NAME)) { + computedDefaultPartitionName = tableParams.get(HiveAlterHandler.DEFAULT_PARTITION_NAME); + } else { + computedDefaultPartitionName = MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME); + } return (((inputDefaultPartName == null) || (inputDefaultPartName.isEmpty())) - ? MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME) + ? computedDefaultPartitionName : inputDefaultPartName); } @@ -4614,7 +4621,8 @@ protected String describeResult() { @Override protected boolean canUseDirectSql(GetHelper ctx) throws MetaException { - return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, exprTree, null, filter); + return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, exprTree, + null, filter, mTable.getParameters()); } @Override @@ -4651,7 +4659,8 @@ protected String describeResult() { @Override protected boolean canUseDirectSql(GetHelper ctx) throws MetaException { - return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, exprTree, null, filter); + return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, exprTree, null, + filter, mTable.getParameters()); } @Override @@ -4703,7 +4712,8 @@ protected List getPartitionsByFilterInternal( @Override protected boolean canUseDirectSql(GetHelper> ctx) throws MetaException { - return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, tree, null, filter); + return directSql.generateSqlFilterForPushdown(catName, dbName, tblName, partitionKeys, tree, + null, filter, mTable.getParameters()); } @Override @@ -4761,7 +4771,7 @@ protected boolean canUseDirectSql(GetHelper> ctx) throws MetaExc // if there are more than one filter string we AND them together initExpressionTree(); return directSql.generateSqlFilterForPushdown(table.getCatName(), table.getDbName(), table.getTableName(), - table.getPartitionKeys(), tree, null, filter); + table.getPartitionKeys(), tree, null, filter, ctx.table.getParameters()); } // BY_VALUES and BY_NAMES are always supported return true; diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index eb25f7e4452d..bef6768ddb05 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -563,8 +563,7 @@ static void prewarm(RawStore rawStore) { // Remove default partition from partition names and get aggregate // stats again List partKeys = table.getPartitionKeys(); - String defaultPartitionValue = - MetastoreConf.getVar(rawStore.getConf(), ConfVars.DEFAULTPARTITIONNAME); + String defaultPartitionValue = getDefaultPartitionName(table.getParameters(), rawStore.getConf()); List partCols = new ArrayList<>(); List partVals = new ArrayList<>(); for (FieldSchema fs : partKeys) { @@ -1004,7 +1003,7 @@ private static void updateTableAggregatePartitionColStats(RawStore rawStore, Str Deadline.stopTimer(); // Remove default partition from partition names and get aggregate stats again List partKeys = table.getPartitionKeys(); - String defaultPartitionValue = MetastoreConf.getVar(rawStore.getConf(), ConfVars.DEFAULTPARTITIONNAME); + String defaultPartitionValue = getDefaultPartitionName(table.getParameters(), rawStore.getConf()); List partCols = new ArrayList(); List partVals = new ArrayList(); for (FieldSchema fs : partKeys) { @@ -1726,7 +1725,7 @@ private boolean getPartitionNamesPrunedByExprNoTxn(Table table, byte[] expr, Str result.add(Warehouse.makePartName(table.getPartitionKeys(), part.getValues())); } if (defaultPartName == null || defaultPartName.isEmpty()) { - defaultPartName = MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME); + defaultPartName = getDefaultPartitionName(table.getParameters(), getConf()); } return expressionProxy.filterPartitionsByExpr(table.getPartitionKeys(), expr, defaultPartName, result); } @@ -1785,13 +1784,13 @@ public List getPartitionsByFilter(String catName, String dbName, Stri if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getNumPartitionsByExpr(catName, dbName, tblName, expr); } - String defaultPartName = MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME); List partNames = new LinkedList<>(); Table table = sharedCache.getTableFromCache(catName, dbName, tblName); if (table == null) { // The table is not yet loaded in cache return rawStore.getNumPartitionsByExpr(catName, dbName, tblName, expr); } + String defaultPartName = getDefaultPartitionName(table.getParameters(), getConf()); getPartitionNamesPrunedByExprNoTxn(table, expr, defaultPartName, Short.MAX_VALUE, partNames, sharedCache); return partNames.size(); } @@ -2434,7 +2433,7 @@ private Map updatePartitionColumnStatisticsInternal(Table table, } type = StatsType.ALL; } else if (partNames.size() == (allPartNames.size() - 1)) { - String defaultPartitionName = MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME); + String defaultPartitionName = getDefaultPartitionName(table.getParameters(), getConf()); if (!partNames.contains(defaultPartitionName)) { colStats = sharedCache.getAggrStatsFromCache(catName, dbName, tblName, colNames, StatsType.ALLBUTDEFAULT); if (colStats != null) { @@ -3441,4 +3440,12 @@ private boolean shouldGetConstraintFromRawStore(String catName, String dbName, S return !shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction()) || !sharedCache.isTableConstraintValid(catName, dbName, tblName); } + + public static String getDefaultPartitionName(Map tableParams, Configuration conf) { + if (tableParams != null && tableParams.containsKey(HiveAlterHandler.DEFAULT_PARTITION_NAME)) { + return tableParams.get(HiveAlterHandler.DEFAULT_PARTITION_NAME); + } else { + return MetastoreConf.getVar(conf, MetastoreConf.ConfVars.DEFAULTPARTITIONNAME); + } + } } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java index 77e93f838d5d..f7219b1f5973 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java @@ -71,6 +71,7 @@ import org.apache.hadoop.hive.metastore.ColumnType; import org.apache.hadoop.hive.metastore.ExceptionHandler; import org.apache.hadoop.hive.metastore.HiveMetaStore; +import org.apache.hadoop.hive.metastore.HiveMetaStoreChecker; import org.apache.hadoop.hive.metastore.IMetaStoreClient; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; @@ -1607,7 +1608,7 @@ public static Partition getPartition(IMetaStoreClient msc, Table tbl, Map partCols, - Map partitionColToTypeMap, Configuration conf) { + Map partitionColToTypeMap, Configuration conf, Map tableParameters) { StringBuilder result = null; Path currPath = partitionPath; LOG.debug("tablePath:" + tablePath + ", partCols: " + partCols); @@ -1629,7 +1630,7 @@ public static String getPartitionName(Path tablePath, Path partitionPath, Set tableParams) { // 1. Handle simple exit cases first. if (type == null) { return partitionValue; } - if (Objects.equals(partitionValue, MetastoreConf.getVar(conf, - MetastoreConf.ConfVars.DEFAULTPARTITIONNAME))) { + if (Objects.equals(partitionValue, HiveMetaStoreChecker.getDefaultPartitionName(tableParams, conf))) { // This is the special partition name for NULL values. It should never be parsed. return partitionValue; } diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/utils/TestMetaStoreServerUtils.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/utils/TestMetaStoreServerUtils.java index bb22300b3352..7edc42ce65c3 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/utils/TestMetaStoreServerUtils.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/utils/TestMetaStoreServerUtils.java @@ -952,54 +952,54 @@ public void testAnonymizeConnectionURL() { @Test public void testConversionToSignificantNumericTypes() { Configuration metastoreConf = MetastoreConf.newMetastoreConf(); - assertEquals("1", MetaStoreServerUtils.getNormalisedPartitionValue("0001", "tinyint", metastoreConf)); - assertEquals("1", MetaStoreServerUtils.getNormalisedPartitionValue("0001", "smallint", metastoreConf)); - assertEquals("10", MetaStoreServerUtils.getNormalisedPartitionValue("00010", "int", metastoreConf)); - assertEquals("-10", MetaStoreServerUtils.getNormalisedPartitionValue("-00010", "int", metastoreConf)); - - assertEquals("10", MetaStoreServerUtils.getNormalisedPartitionValue("00010", "bigint", metastoreConf)); - assertEquals("-10", MetaStoreServerUtils.getNormalisedPartitionValue("-00010", "bigint", metastoreConf)); - - assertEquals("1.01", MetaStoreServerUtils.getNormalisedPartitionValue("0001.0100", "float", metastoreConf)); - assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.0100", "float", metastoreConf)); - assertEquals("1.01", MetaStoreServerUtils.getNormalisedPartitionValue("0001.010000", "double", metastoreConf)); - assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.010000", "double", metastoreConf)); - assertEquals("1.01", MetaStoreServerUtils.getNormalisedPartitionValue("0001.0100", "decimal", metastoreConf)); - assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.0100", "decimal", metastoreConf)); - assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.0100", "decimal(10,10)", metastoreConf)); + assertEquals("1", MetaStoreServerUtils.getNormalisedPartitionValue("0001", "tinyint", metastoreConf, null)); + assertEquals("1", MetaStoreServerUtils.getNormalisedPartitionValue("0001", "smallint", metastoreConf, null)); + assertEquals("10", MetaStoreServerUtils.getNormalisedPartitionValue("00010", "int", metastoreConf, null)); + assertEquals("-10", MetaStoreServerUtils.getNormalisedPartitionValue("-00010", "int", metastoreConf, null)); + + assertEquals("10", MetaStoreServerUtils.getNormalisedPartitionValue("00010", "bigint", metastoreConf, null)); + assertEquals("-10", MetaStoreServerUtils.getNormalisedPartitionValue("-00010", "bigint", metastoreConf, null)); + + assertEquals("1.01", MetaStoreServerUtils.getNormalisedPartitionValue("0001.0100", "float", metastoreConf, null)); + assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.0100", "float", metastoreConf, null)); + assertEquals("1.01", MetaStoreServerUtils.getNormalisedPartitionValue("0001.010000", "double", metastoreConf, null)); + assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.010000", "double", metastoreConf, null)); + assertEquals("1.01", MetaStoreServerUtils.getNormalisedPartitionValue("0001.0100", "decimal", metastoreConf, null)); + assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.0100", "decimal", metastoreConf, null)); + assertEquals("-1.01", MetaStoreServerUtils.getNormalisedPartitionValue("-0001.0100", "decimal(10,10)", metastoreConf, null)); assertEquals("__HIVE_DEFAULT_PARTITION__", MetaStoreServerUtils.getNormalisedPartitionValue( - "__HIVE_DEFAULT_PARTITION__", "decimal", metastoreConf)); + "__HIVE_DEFAULT_PARTITION__", "decimal", metastoreConf, null)); } @Test public void testConversionFromStringToNumeric() { Configuration metastoreConf = MetastoreConf.newMetastoreConf(); Assert.assertThrows(NumberFormatException.class, () -> MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "double", metastoreConf)); + "Random_Partition", "double", metastoreConf, null)); Assert.assertThrows(NumberFormatException.class, () -> MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "int", metastoreConf)); + "Random_Partition", "int", metastoreConf, null)); Assert.assertThrows(NumberFormatException.class, () -> MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "smallint", metastoreConf)); + "Random_Partition", "smallint", metastoreConf, null)); Assert.assertThrows(NumberFormatException.class, () -> MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "bigint", metastoreConf)); + "Random_Partition", "bigint", metastoreConf, null)); Assert.assertThrows(NumberFormatException.class, () -> MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "float", metastoreConf)); + "Random_Partition", "float", metastoreConf, null)); Assert.assertThrows(NumberFormatException.class, () -> MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "decimal", metastoreConf)); + "Random_Partition", "decimal", metastoreConf, null)); MetastoreConf.setVar(metastoreConf, MetastoreConf.ConfVars.MSCK_PATH_VALIDATION, "skip"); assertNull(MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "int", metastoreConf)); + "Random_Partition", "int", metastoreConf, null)); assertNull(MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "smallint", metastoreConf)); + "Random_Partition", "smallint", metastoreConf, null)); assertNull(MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "bigint", metastoreConf)); + "Random_Partition", "bigint", metastoreConf, null)); assertNull(MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "float", metastoreConf)); + "Random_Partition", "float", metastoreConf, null)); assertNull(MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "double", metastoreConf)); + "Random_Partition", "double", metastoreConf, null)); assertNull(MetaStoreServerUtils.getNormalisedPartitionValue( - "Random_Partition", "decimal", metastoreConf)); + "Random_Partition", "decimal", metastoreConf, null)); } @Test diff --git a/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java b/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java index 73accd90b034..d781a522c7f4 100644 --- a/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java +++ b/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java @@ -48,6 +48,7 @@ import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.hive_metastoreConstants; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.io.AcidOutputFormat; import org.apache.hadoop.hive.ql.io.AcidUtils; @@ -147,8 +148,8 @@ public void init(StreamingConnection conn, long minWriteId, long maxWriteId, this.curBatchMaxWriteId = maxWriteId; this.statementId = statementId; this.conf = conn.getHiveConf(); - this.defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME); this.table = conn.getTable(); + this.defaultPartitionName = PartitionUtils.getDefaultPartitionName(this.table.getParameters(), conf); String location = table.getSd().getLocation(); try { URI uri = new URI(location); diff --git a/streaming/src/test/org/apache/hive/streaming/TestStreamingDynamicPartitioning.java b/streaming/src/test/org/apache/hive/streaming/TestStreamingDynamicPartitioning.java index 0a21f4613e45..d0b34c49e03d 100644 --- a/streaming/src/test/org/apache/hive/streaming/TestStreamingDynamicPartitioning.java +++ b/streaming/src/test/org/apache/hive/streaming/TestStreamingDynamicPartitioning.java @@ -40,10 +40,12 @@ import org.apache.hadoop.hive.conf.HiveConfForTest; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; import org.apache.hadoop.hive.metastore.IMetaStoreClient; +import org.apache.hadoop.hive.metastore.api.Table; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.utils.TestTxnDbUtil; import org.apache.hadoop.hive.ql.DriverFactory; import org.apache.hadoop.hive.ql.IDriver; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.processors.CommandProcessorException; import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hadoop.hive.serde.serdeConstants; @@ -514,7 +516,8 @@ public void testDPTwoLevelNonStringPartitionColumns() throws Exception { assertEquals("7\tfoo\t" + defaultPartitionName + "\t" + defaultPartitionName, res.get(6)); assertEquals("8\tbar\t" + defaultPartitionName + "\t12", res.get(7)); - defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + Table tbl = msClient.getTable(dbName, tblName); + defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); res = queryTable(driver, "show partitions " + (dbName + "." + tblName)); assertEquals(5, res.size()); assertTrue(res.contains("year=2018/month=2")); @@ -574,7 +577,8 @@ public void testWriteBeforeBegin() throws Exception { assertTrue(exception.getMessage().equals("Transaction state is not OPEN. Missing beginTransaction?")); connection.close(); - String defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + Table tbl = msClient.getTable(dbName, tblName); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); List res = queryTable(driver, "select * from " + (dbName + "." + tblName) + " order by id"); assertEquals(2, res.size()); assertEquals("1\tfoo\tAsia\t" + defaultPartitionName, res.get(0)); @@ -708,7 +712,8 @@ public void testWriteAfterClose() throws Exception { assertNotNull(exception); assertTrue(exception.getMessage().endsWith("Streaming connection is closed already.")); - String defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + Table tbl = msClient.getTable(dbName, tblName); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); List res = queryTable(driver, "select * from " + (dbName + "." + tblName) + " order by id"); assertEquals(2, res.size()); assertEquals("1\tfoo\tAsia\t" + defaultPartitionName, res.get(0)); @@ -759,7 +764,8 @@ public void testWriteAfterAbort() throws Exception { } assertNotNull(exception); assertTrue(exception.getMessage().equals("Streaming connection is closed already.")); - String defaultPartitionName = conf.getVar(HiveConf.ConfVars.DEFAULT_PARTITION_NAME); + Table tbl = msClient.getTable(dbName, tblName); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), conf); List res = queryTable(driver, "select * from " + (dbName + "." + tblName) + " order by id"); assertEquals(3, res.size()); assertEquals("1\tfoo\tAsia\t" + defaultPartitionName, res.get(0)); From 9d40ff2d9b2f1a0dff7b7c7780b10d266843a3dd Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Thu, 7 Aug 2025 15:32:51 +0530 Subject: [PATCH 02/12] test fixes --- .../hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java index 77d676a0a930..ae69aef5e28c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java @@ -1571,7 +1571,7 @@ public List dropPartitions(String catName, String dbName, String tblN for (Pair pair : partExprs) { byte[] expr = pair.getRight(); String filter = generateJDOFilter(table, expr, PartitionUtils.getDefaultPartitionName(table.getParameters(), - (HiveConf) conf)); + conf.get(HiveConf.ConfVars.DEFAULT_PARTITION_NAME.varname))); List partitions = tt.listPartitionsByFilter(filter); for (Partition p : partitions) { Partition droppedPartition = tt.dropPartition(p.getValues()); From 3ab62f0c1addde96d683e35ec06344b5df3b21ea Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Thu, 14 Aug 2025 15:32:17 +0530 Subject: [PATCH 03/12] Review comments fixes --- ...micPartitionFileRecordWriterContainer.java | 5 +- .../mr/hive/HiveIcebergStorageHandler.java | 2 +- .../hadoop/hive/ql/parse/AlterClauseParser.g | 2 +- .../ddl/table/partition/PartitionUtils.java | 9 +- ...lterTableSetDefaultPartitionAnalyzer.java} | 6 +- .../AlterTableSetDefaultPartitionDesc.java | 7 +- ...lterTableSetDefaultPartitionOperation.java | 2 +- .../hive/ql/exec/TableScanOperator.java | 3 +- .../metadata/SessionHiveMetaStoreClient.java | 2 +- .../hadoop/hive/ql/parse/ParseUtils.java | 2 +- .../hadoop/hive/ql/plan/HiveOperation.java | 2 +- .../alter_table_set_default_partition.q | 39 ++- .../queries/clientpositive/msck_repair_9.q | 2 +- .../alter_table_set_default_partition.q.out | 238 ++++++++---------- .../hive/metastore/MetaStoreDirectSql.java | 4 +- .../hadoop/hive/metastore/ObjectStore.java | 4 +- .../hive/metastore/cache/CachedStore.java | 9 +- 17 files changed, 151 insertions(+), 187 deletions(-) rename ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/{AlterTableSetDefaultPartitionAnalyser.java => AlterTableSetDefaultPartitionAnalyzer.java} (92%) diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java index 4f798a0cd923..65b98a8aae13 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DynamicPartitionFileRecordWriterContainer.java @@ -27,6 +27,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.api.Table; import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.serde2.AbstractSerDe; import org.apache.hadoop.hive.serde2.SerDeException; @@ -73,7 +74,7 @@ class DynamicPartitionFileRecordWriterContainer extends FileRecordWriterContaine */ public DynamicPartitionFileRecordWriterContainer( RecordWriter, ? super Writable> baseWriter, - TaskAttemptContext context, org.apache.hadoop.hive.metastore.api.Table tbl) + TaskAttemptContext context, Table tbl) throws IOException, InterruptedException { super(baseWriter, context); maxDynamicPartitions = jobInfo.getMaxDynamicPartitions(); @@ -91,7 +92,7 @@ public DynamicPartitionFileRecordWriterContainer( this.dynamicObjectInspectors = new HashMap(); this.dynamicOutputJobInfo = new HashMap(); this.HIVE_DEFAULT_PARTITION_VALUE = PartitionUtils.getDefaultPartitionName(tbl.getParameters(), - HiveConf.getVar(context.getConfiguration(), HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); + context.getConfiguration()); } @Override diff --git a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java index 5658a4d593ff..6e9ab57dd5e9 100644 --- a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java +++ b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java @@ -877,7 +877,7 @@ public DynamicPartitionCtx createDPContext( Table table = IcebergTableUtil.getTable(conf, tableDesc.getProperties()); DynamicPartitionCtx dpCtx = new DynamicPartitionCtx(Maps.newLinkedHashMap(), - PartitionUtils.getDefaultPartitionName(hmsTable.getParameters(), (HiveConf) conf), + PartitionUtils.getDefaultPartitionName(hmsTable.getParameters(), hiveConf), hiveConf.getIntVar(ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE)); if (table.spec().isPartitioned() && diff --git a/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g b/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g index 7c1e2e817e9c..5130f79c02bc 100644 --- a/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g +++ b/parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g @@ -85,6 +85,7 @@ alterTableStatementSuffix | alterStatementSuffixRenameBranch | alterStatementSuffixReplaceBranch | alterStatementSuffixReplaceTag + | alterStatementSuffixSetDefaultPartition ; alterTblPartitionStatementSuffix[boolean partition] @@ -104,7 +105,6 @@ alterTblPartitionStatementSuffix[boolean partition] | alterStatementSuffixRenameCol | alterStatementSuffixAddCol | alterStatementSuffixDropCol - | alterStatementSuffixSetDefaultPartition | alterStatementSuffixUpdateColumns ; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java index c088b0037af6..eab07d40f7c4 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java @@ -24,6 +24,7 @@ import java.util.Map; import java.util.Set; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.api.FieldSchema; @@ -193,16 +194,12 @@ public static void addTablePartsOutputs(Hive db, Set outputs, Table } } - public static String getDefaultPartitionName(Map tableParams, HiveConf conf) { - return getDefaultPartitionName(tableParams, HiveConf.getVar(conf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); - } - - public static String getDefaultPartitionName(Map tableParams, String defaultPartitionName) { + public static String getDefaultPartitionName(Map tableParams, Configuration conf) { // Check if the table has an override for the default partition name if (tableParams != null && tableParams.containsKey(HiveStringUtils.DEFAULT_PARTITION_NAME)) { return tableParams.get(HiveStringUtils.DEFAULT_PARTITION_NAME); } else { - return defaultPartitionName; + return conf.get(HiveConf.ConfVars.DEFAULT_PARTITION_NAME.varname); } } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyzer.java similarity index 92% rename from ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java rename to ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyzer.java index aeb92bf4b6f3..6a0b70cec76b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyser.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionAnalyzer.java @@ -34,9 +34,9 @@ * Analyzer for set default partition command. */ @DDLType(types = HiveParser.TOK_ALTERTABLE_SETDEFAULTPARTITION) -public class AlterTableSetDefaultPartitionAnalyser extends AbstractAlterTableAnalyzer { +public class AlterTableSetDefaultPartitionAnalyzer extends AbstractAlterTableAnalyzer { - public AlterTableSetDefaultPartitionAnalyser(QueryState queryState) throws SemanticException { + public AlterTableSetDefaultPartitionAnalyzer(QueryState queryState) throws SemanticException { super(queryState); } @@ -45,7 +45,7 @@ protected void analyzeCommand(TableName tableName, Map partition throws SemanticException { String tableLevelDefaultPartitionName = unescapeSQLString(command.getChild(0).getText()); AlterTableSetDefaultPartitionDesc desc = new AlterTableSetDefaultPartitionDesc(tableName, - tableLevelDefaultPartitionName); + tableLevelDefaultPartitionName); addInputsOutputsAlterTable(tableName, partitionSpec, desc, desc.getType(), false); rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), desc))); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java index 038c09a6dfd6..ae2e9ca50480 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionDesc.java @@ -39,12 +39,7 @@ public AlterTableSetDefaultPartitionDesc(TableName tableName, String tableLevelD } @Explain(displayName = "default partition name", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) - public String tableLevelDefaultPartitionName() { + public String getTableLevelDefaultPartitionName() { return tableLevelDefaultPartitionName; } - - @Override - public boolean mayNeedWriteId() { - return true; - } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java index 1ec623779f7d..ca7472600ebb 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java @@ -39,7 +39,7 @@ public AlterTableSetDefaultPartitionOperation(DDLOperationContext context, Alter protected void doAlteration(Table table, Partition partition) throws HiveException { if (table.isPartitioned()) { // put the tableLevelDefaultPartitionName in the table property - table.getParameters().put(HiveStringUtils.DEFAULT_PARTITION_NAME, desc.tableLevelDefaultPartitionName()); + table.getParameters().put(HiveStringUtils.DEFAULT_PARTITION_NAME, desc.getTableLevelDefaultPartitionName()); } else { throw new HiveException(ErrorMsg.NON_PARTITIONED_TABLE, table.getTableName()); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java index 245bd6999f29..3a87103d6173 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java @@ -322,8 +322,7 @@ protected void initializeOp(Configuration hconf) throws HiveException { } if (conf.getTableMetadata() != null) { - defaultPartitionName = PartitionUtils.getDefaultPartitionName(conf.getTableMetadata().getParameters(), - HiveConf.getVar(hconf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME)); + defaultPartitionName = PartitionUtils.getDefaultPartitionName(conf.getTableMetadata().getParameters(), hconf); } else { // If the table metadata is not available, we cannot determine the default partition name. defaultPartitionName = HiveConf.getVar(hconf, HiveConf.ConfVars.DEFAULT_PARTITION_NAME); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java index ae69aef5e28c..fe8dc1173bb9 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java @@ -1571,7 +1571,7 @@ public List dropPartitions(String catName, String dbName, String tblN for (Pair pair : partExprs) { byte[] expr = pair.getRight(); String filter = generateJDOFilter(table, expr, PartitionUtils.getDefaultPartitionName(table.getParameters(), - conf.get(HiveConf.ConfVars.DEFAULT_PARTITION_NAME.varname))); + conf)); List partitions = tt.listPartitionsByFilter(filter); for (Partition p : partitions) { Partition droppedPartition = tt.dropPartition(p.getValues()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java index 48d2862c97c6..71b2c878b63d 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java @@ -579,7 +579,7 @@ private static CalcitePlanner getAnalyzer(HiveConf conf, Context ctx) throws Sem */ public static Map> getFullPartitionSpecs( CommonTree ast, Table table, Configuration conf, boolean canGroupExprs) throws SemanticException { - String defaultPartitionName = PartitionUtils.getDefaultPartitionName(table.getParameters(), (HiveConf)conf); + String defaultPartitionName = PartitionUtils.getDefaultPartitionName(table.getParameters(), conf); Map colTypes = new HashMap<>(); List partitionKeys = table.hasNonNativePartitionSupport() ? table.getStorageHandler().getPartitionKeys(table) : table.getPartitionKeys(); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java index 5d4454c18267..98525c786de9 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -49,7 +49,7 @@ public enum HiveOperation { null), ALTERTABLE_DROPCOL("ALTERTABLE_DROPCOL", HiveParser.TOK_ALTERTABLE_DROPCOL, new Privilege[]{Privilege.ALTER_METADATA}, null), - ALTERTABLE_SETDEFAULTPARTITION("ALTERTABLE_SETDEFAULTPARTITION", HiveParser.TOK_ALTERTABLE_SETDEFAULTPARTITION, new Privilege[]{Privilege.ALTER_METADATA}, + ALTERTABLE_SETDEFAULTPARTITION("ALTERTABLE_SETDEFAULTPARTITION", HiveParser.TOK_ALTERTABLE_SETDEFAULTPARTITION, new Privilege[]{Privilege.ALTER_DATA}, null), ALTERTABLE_REPLACECOLS("ALTERTABLE_REPLACECOLS", HiveParser.TOK_ALTERTABLE_REPLACECOLS, new Privilege[]{Privilege.ALTER_METADATA}, null), diff --git a/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q b/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q index 4a3e21ad1838..e85dc8710cfa 100644 --- a/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q +++ b/ql/src/test/queries/clientpositive/alter_table_set_default_partition.q @@ -1,4 +1,3 @@ -drop table if exists tbl_orc; create external table tbl_orc(a int, b string, c int) partitioned by (d int) stored as orc; describe formatted tbl_orc; @@ -18,28 +17,26 @@ dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; drop table if exists tbl_orc; -create external table tbl_orc(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc; -describe formatted tbl_orc; -INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12); -INSERT INTO tbl_orc (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf'); -INSERT INTO tbl_orc (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876); -show partitions tbl_orc; -dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; -alter table tbl_orc set default partition to 'default_partition'; -describe formatted tbl_orc; -select * from tbl_orc; -select count(*) from tbl_orc; -show partitions tbl_orc; -INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23); -select * from tbl_orc; -select count(*) from tbl_orc; -show partitions tbl_orc; -dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc/; -drop table if exists tbl_orc; +create external table tbl_orc_2(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc; +describe formatted tbl_orc_2; +INSERT INTO tbl_orc_2 (a, b, c) values(3, 'ccc', 12); +INSERT INTO tbl_orc_2 (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf'); +INSERT INTO tbl_orc_2 (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876); +show partitions tbl_orc_2; +dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc_2/; +alter table tbl_orc_2 set default partition to 'default_partition'; +describe formatted tbl_orc_2; +select * from tbl_orc_2; +select count(*) from tbl_orc_2; +show partitions tbl_orc_2; +INSERT INTO tbl_orc_2 (a, b, c) values(4, 'ddd', 23); +select * from tbl_orc_2; +select count(*) from tbl_orc_2; +show partitions tbl_orc_2; +dfs -ls ${hiveconf:hive.metastore.warehouse.dir}/tbl_orc_2/; +drop table if exists tbl_orc_2; -drop table if exists tbl_orc_multiple; -drop table if exists tbl_orc_copy_multiple; create external table tbl_orc_multiple(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc location '${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_orc_multiple/'; describe formatted tbl_orc_multiple; INSERT INTO tbl_orc_multiple (a, b, c) values(3, 'ccc', 12); diff --git a/ql/src/test/queries/clientpositive/msck_repair_9.q b/ql/src/test/queries/clientpositive/msck_repair_9.q index 04a3e1bba938..430486e9eeb4 100644 --- a/ql/src/test/queries/clientpositive/msck_repair_9.q +++ b/ql/src/test/queries/clientpositive/msck_repair_9.q @@ -15,6 +15,7 @@ SHOW PARTITIONS tbl_x; CREATE EXTERNAL TABLE tbl_y (id INT, name STRING) PARTITIONED BY (month INT, day INT) stored as ORC location '${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_x/'; alter table tbl_y set default partition to 'ANOTHER_PARTITION'; +dfs ${system:test.dfs.mkdir} -p ${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_x/month=DEFAULT/day=DEFAULT; set hive.msck.path.validation=skip; MSCK REPAIR TABLE tbl_y; @@ -31,7 +32,6 @@ SHOW PARTITIONS tbl_y; set hive.msck.path.validation=ignore; -dfs ${system:test.dfs.mkdir} -p ${system:test.tmp.dir}/apps/hive/warehouse/test.db//tbl_x/month=DEFAULT/day=DEFAULT; MSCK REPAIR TABLE tbl_y; SHOW PARTITIONS tbl_y; diff --git a/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out b/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out index b81242cac317..8391d104dad9 100644 --- a/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out +++ b/ql/src/test/results/clientpositive/llap/alter_table_set_default_partition.q.out @@ -1,9 +1,3 @@ -PREHOOK: query: drop table if exists tbl_orc -PREHOOK: type: DROPTABLE -PREHOOK: Output: database:default -POSTHOOK: query: drop table if exists tbl_orc -POSTHOOK: type: DROPTABLE -POSTHOOK: Output: database:default PREHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int) stored as orc PREHOOK: type: CREATETABLE PREHOOK: Output: database:default @@ -210,20 +204,20 @@ POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@tbl_orc POSTHOOK: Output: database:default POSTHOOK: Output: default@tbl_orc -PREHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc +PREHOOK: query: create external table tbl_orc_2(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc PREHOOK: type: CREATETABLE PREHOOK: Output: database:default -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: create external table tbl_orc(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: create external table tbl_orc_2(a int, b string, c int) partitioned by (d int, e string, f bigint) stored as orc POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default -POSTHOOK: Output: default@tbl_orc -PREHOOK: query: describe formatted tbl_orc +POSTHOOK: Output: default@tbl_orc_2 +PREHOOK: query: describe formatted tbl_orc_2 PREHOOK: type: DESCTABLE -PREHOOK: Input: default@tbl_orc -POSTHOOK: query: describe formatted tbl_orc +PREHOOK: Input: default@tbl_orc_2 +POSTHOOK: query: describe formatted tbl_orc_2 POSTHOOK: type: DESCTABLE -POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc_2 # col_name data_type comment a int b string @@ -262,67 +256,67 @@ Bucket Columns: [] Sort Columns: [] Storage Desc Params: serialization.format 1 -PREHOOK: query: INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12) +PREHOOK: query: INSERT INTO tbl_orc_2 (a, b, c) values(3, 'ccc', 12) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: INSERT INTO tbl_orc (a, b, c) values(3, 'ccc', 12) +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: INSERT INTO tbl_orc_2 (a, b, c) values(3, 'ccc', 12) POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table -POSTHOOK: Output: default@tbl_orc -POSTHOOK: Output: default@tbl_orc@d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ -POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] -PREHOOK: query: INSERT INTO tbl_orc (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') +POSTHOOK: Output: default@tbl_orc_2 +POSTHOOK: Output: default@tbl_orc_2@d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=__HIVE_DEFAULT_PARTITION__,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: INSERT INTO tbl_orc_2 (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: INSERT INTO tbl_orc (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: INSERT INTO tbl_orc_2 (a, b, c, d, e) values(5, 'ddd', 13, 32, 'tgf') POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table -POSTHOOK: Output: default@tbl_orc -POSTHOOK: Output: default@tbl_orc@d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ -POSTHOOK: Lineage: tbl_orc PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] -PREHOOK: query: INSERT INTO tbl_orc (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) +POSTHOOK: Output: default@tbl_orc_2 +POSTHOOK: Output: default@tbl_orc_2@d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=32,e=tgf,f=__HIVE_DEFAULT_PARTITION__).c SCRIPT [] +PREHOOK: query: INSERT INTO tbl_orc_2 (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: INSERT INTO tbl_orc (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: INSERT INTO tbl_orc_2 (a, b, c, e, f) values(6, 'eee', 14, 'tgh', 23456876) POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table -POSTHOOK: Output: default@tbl_orc -POSTHOOK: Output: default@tbl_orc@d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 -POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).a SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).b SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).c SCRIPT [] -PREHOOK: query: show partitions tbl_orc +POSTHOOK: Output: default@tbl_orc_2 +POSTHOOK: Output: default@tbl_orc_2@d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=__HIVE_DEFAULT_PARTITION__,e=tgh,f=23456876).c SCRIPT [] +PREHOOK: query: show partitions tbl_orc_2 PREHOOK: type: SHOWPARTITIONS -PREHOOK: Input: default@tbl_orc -POSTHOOK: query: show partitions tbl_orc +PREHOOK: Input: default@tbl_orc_2 +POSTHOOK: query: show partitions tbl_orc_2 POSTHOOK: type: SHOWPARTITIONS -POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc_2 d=32/e=tgf/f=__HIVE_DEFAULT_PARTITION__ d=__HIVE_DEFAULT_PARTITION__/e=__HIVE_DEFAULT_PARTITION__/f=__HIVE_DEFAULT_PARTITION__ d=__HIVE_DEFAULT_PARTITION__/e=tgh/f=23456876 -Found 3 items +Found 2 items #### A masked pattern was here #### -PREHOOK: query: alter table tbl_orc set default partition to 'default_partition' +PREHOOK: query: alter table tbl_orc_2 set default partition to 'default_partition' PREHOOK: type: ALTERTABLE_SETDEFAULTPARTITION -PREHOOK: Input: default@tbl_orc -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: alter table tbl_orc set default partition to 'default_partition' +PREHOOK: Input: default@tbl_orc_2 +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: alter table tbl_orc_2 set default partition to 'default_partition' POSTHOOK: type: ALTERTABLE_SETDEFAULTPARTITION -POSTHOOK: Input: default@tbl_orc -POSTHOOK: Output: default@tbl_orc -PREHOOK: query: describe formatted tbl_orc +POSTHOOK: Input: default@tbl_orc_2 +POSTHOOK: Output: default@tbl_orc_2 +PREHOOK: query: describe formatted tbl_orc_2 PREHOOK: type: DESCTABLE -PREHOOK: Input: default@tbl_orc -POSTHOOK: query: describe formatted tbl_orc +PREHOOK: Input: default@tbl_orc_2 +POSTHOOK: query: describe formatted tbl_orc_2 POSTHOOK: type: DESCTABLE -POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc_2 # col_name data_type comment a int b string @@ -363,125 +357,113 @@ Bucket Columns: [] Sort Columns: [] Storage Desc Params: serialization.format 1 -PREHOOK: query: select * from tbl_orc +PREHOOK: query: select * from tbl_orc_2 PREHOOK: type: QUERY -PREHOOK: Input: default@tbl_orc -PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +PREHOOK: Input: default@tbl_orc_2 +PREHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### -POSTHOOK: query: select * from tbl_orc +POSTHOOK: query: select * from tbl_orc_2 POSTHOOK: type: QUERY -POSTHOOK: Input: default@tbl_orc -POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +POSTHOOK: Input: default@tbl_orc_2 +POSTHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### 5 ddd 13 32 tgf NULL 3 ccc 12 NULL default_partition NULL 6 eee 14 NULL tgh 23456876 -PREHOOK: query: select count(*) from tbl_orc +PREHOOK: query: select count(*) from tbl_orc_2 PREHOOK: type: QUERY -PREHOOK: Input: default@tbl_orc -PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +PREHOOK: Input: default@tbl_orc_2 +PREHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### -POSTHOOK: query: select count(*) from tbl_orc +POSTHOOK: query: select count(*) from tbl_orc_2 POSTHOOK: type: QUERY -POSTHOOK: Input: default@tbl_orc -POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +POSTHOOK: Input: default@tbl_orc_2 +POSTHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### 3 -PREHOOK: query: show partitions tbl_orc +PREHOOK: query: show partitions tbl_orc_2 PREHOOK: type: SHOWPARTITIONS -PREHOOK: Input: default@tbl_orc -POSTHOOK: query: show partitions tbl_orc +PREHOOK: Input: default@tbl_orc_2 +POSTHOOK: query: show partitions tbl_orc_2 POSTHOOK: type: SHOWPARTITIONS -POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc_2 d=32/e=tgf/f=default_partition d=default_partition/e=default_partition/f=default_partition d=default_partition/e=tgh/f=23456876 -PREHOOK: query: INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23) +PREHOOK: query: INSERT INTO tbl_orc_2 (a, b, c) values(4, 'ddd', 23) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: INSERT INTO tbl_orc (a, b, c) values(4, 'ddd', 23) +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: INSERT INTO tbl_orc_2 (a, b, c) values(4, 'ddd', 23) POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table -POSTHOOK: Output: default@tbl_orc -POSTHOOK: Output: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -POSTHOOK: Lineage: tbl_orc PARTITION(d=default_partition,e=default_partition,f=default_partition).a SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=default_partition,e=default_partition,f=default_partition).b SCRIPT [] -POSTHOOK: Lineage: tbl_orc PARTITION(d=default_partition,e=default_partition,f=default_partition).c SCRIPT [] -PREHOOK: query: select * from tbl_orc +POSTHOOK: Output: default@tbl_orc_2 +POSTHOOK: Output: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=default_partition,e=default_partition,f=default_partition).a SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=default_partition,e=default_partition,f=default_partition).b SCRIPT [] +POSTHOOK: Lineage: tbl_orc_2 PARTITION(d=default_partition,e=default_partition,f=default_partition).c SCRIPT [] +PREHOOK: query: select * from tbl_orc_2 PREHOOK: type: QUERY -PREHOOK: Input: default@tbl_orc -PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +PREHOOK: Input: default@tbl_orc_2 +PREHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### -POSTHOOK: query: select * from tbl_orc +POSTHOOK: query: select * from tbl_orc_2 POSTHOOK: type: QUERY -POSTHOOK: Input: default@tbl_orc -POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +POSTHOOK: Input: default@tbl_orc_2 +POSTHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### 5 ddd 13 32 tgf NULL 3 ccc 12 NULL default_partition NULL 4 ddd 23 NULL default_partition NULL 6 eee 14 NULL tgh 23456876 -PREHOOK: query: select count(*) from tbl_orc +PREHOOK: query: select count(*) from tbl_orc_2 PREHOOK: type: QUERY -PREHOOK: Input: default@tbl_orc -PREHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -PREHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +PREHOOK: Input: default@tbl_orc_2 +PREHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +PREHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### -POSTHOOK: query: select count(*) from tbl_orc +POSTHOOK: query: select count(*) from tbl_orc_2 POSTHOOK: type: QUERY -POSTHOOK: Input: default@tbl_orc -POSTHOOK: Input: default@tbl_orc@d=32/e=tgf/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=default_partition/f=default_partition -POSTHOOK: Input: default@tbl_orc@d=default_partition/e=tgh/f=23456876 +POSTHOOK: Input: default@tbl_orc_2 +POSTHOOK: Input: default@tbl_orc_2@d=32/e=tgf/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=default_partition/f=default_partition +POSTHOOK: Input: default@tbl_orc_2@d=default_partition/e=tgh/f=23456876 #### A masked pattern was here #### 4 -PREHOOK: query: show partitions tbl_orc +PREHOOK: query: show partitions tbl_orc_2 PREHOOK: type: SHOWPARTITIONS -PREHOOK: Input: default@tbl_orc -POSTHOOK: query: show partitions tbl_orc +PREHOOK: Input: default@tbl_orc_2 +POSTHOOK: query: show partitions tbl_orc_2 POSTHOOK: type: SHOWPARTITIONS -POSTHOOK: Input: default@tbl_orc +POSTHOOK: Input: default@tbl_orc_2 d=32/e=tgf/f=default_partition d=default_partition/e=default_partition/f=default_partition d=default_partition/e=tgh/f=23456876 -Found 4 items +Found 3 items #### A masked pattern was here #### -PREHOOK: query: drop table if exists tbl_orc -PREHOOK: type: DROPTABLE -PREHOOK: Input: default@tbl_orc -PREHOOK: Output: database:default -PREHOOK: Output: default@tbl_orc -POSTHOOK: query: drop table if exists tbl_orc -POSTHOOK: type: DROPTABLE -POSTHOOK: Input: default@tbl_orc -POSTHOOK: Output: database:default -POSTHOOK: Output: default@tbl_orc -PREHOOK: query: drop table if exists tbl_orc_multiple -PREHOOK: type: DROPTABLE -PREHOOK: Output: database:default -POSTHOOK: query: drop table if exists tbl_orc_multiple -POSTHOOK: type: DROPTABLE -POSTHOOK: Output: database:default -PREHOOK: query: drop table if exists tbl_orc_copy_multiple +PREHOOK: query: drop table if exists tbl_orc_2 PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tbl_orc_2 PREHOOK: Output: database:default -POSTHOOK: query: drop table if exists tbl_orc_copy_multiple +PREHOOK: Output: default@tbl_orc_2 +POSTHOOK: query: drop table if exists tbl_orc_2 POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tbl_orc_2 POSTHOOK: Output: database:default +POSTHOOK: Output: default@tbl_orc_2 #### A masked pattern was here #### PREHOOK: type: CREATETABLE #### A masked pattern was here #### diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index 45c102afed74..be737aa4d02f 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java @@ -30,7 +30,7 @@ import static org.apache.hadoop.hive.metastore.ColumnType.TIMESTAMP_TYPE_NAME; import static org.apache.hadoop.hive.metastore.ColumnType.TINYINT_TYPE_NAME; import static org.apache.hadoop.hive.metastore.ColumnType.VARCHAR_TYPE_NAME; -import static org.apache.hadoop.hive.metastore.cache.CachedStore.getDefaultPartitionName; +import static org.apache.hadoop.hive.metastore.HiveMetaStoreChecker.getDefaultPartitionName; import java.sql.Connection; import java.sql.SQLException; @@ -887,7 +887,7 @@ public boolean generateSqlFilterForPushdown(String catName, String dbName, Strin result.catName = catName; result.filter = PartitionFilterGenerator.generateSqlFilter(catName, dbName, tableName, partitionKeys, tree, result.params, result.joins, dbHasJoinCastBug, - ((defaultPartitionName == null) ? getDefaultPartitionName(tableParams, conf ) : defaultPartitionName), + ((defaultPartitionName == null) ? getDefaultPartitionName(tableParams, conf) : defaultPartitionName), dbType, schema, result.compactJoins); return result.filter != null; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index a723d3f69ce5..983a7dfb84ee 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -3358,7 +3358,7 @@ public List listPartitionNames(final String catName, final String dbName ExpressionTree tmp = null; if (!isEmptyFilter) { tmp = PartFilterExprUtil.makeExpressionTree(expressionProxy, exprBytes, - defaultPartitionName, conf); + defaultPartitionName, conf); } final ExpressionTree exprTree = tmp; return new GetListHelper(catName, dbName, tblName, true, true) { @@ -4771,7 +4771,7 @@ protected boolean canUseDirectSql(GetHelper> ctx) throws MetaExc // if there are more than one filter string we AND them together initExpressionTree(); return directSql.generateSqlFilterForPushdown(table.getCatName(), table.getDbName(), table.getTableName(), - table.getPartitionKeys(), tree, null, filter, ctx.table.getParameters()); + table.getPartitionKeys(), tree, null, filter, table.getParameters()); } // BY_VALUES and BY_NAMES are always supported return true; diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index bef6768ddb05..ea2afce41c32 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -81,6 +81,7 @@ import com.google.common.annotations.VisibleForTesting; +import static org.apache.hadoop.hive.metastore.HiveMetaStoreChecker.getDefaultPartitionName; import static org.apache.hadoop.hive.metastore.HMSHandler.getPartValsFromName; import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultCatalog; import static org.apache.hadoop.hive.metastore.utils.StringUtils.normalizeIdentifier; @@ -3440,12 +3441,4 @@ private boolean shouldGetConstraintFromRawStore(String catName, String dbName, S return !shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction()) || !sharedCache.isTableConstraintValid(catName, dbName, tblName); } - - public static String getDefaultPartitionName(Map tableParams, Configuration conf) { - if (tableParams != null && tableParams.containsKey(HiveAlterHandler.DEFAULT_PARTITION_NAME)) { - return tableParams.get(HiveAlterHandler.DEFAULT_PARTITION_NAME); - } else { - return MetastoreConf.getVar(conf, MetastoreConf.ConfVars.DEFAULTPARTITIONNAME); - } - } } From b750e864a9fc23b9b9ac202a87dbc9dab531c6b0 Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Mon, 18 Aug 2025 10:16:10 +0530 Subject: [PATCH 04/12] Move get Default partition method to Metastore-common code --- .../apache/hive/common/util/HiveStringUtils.java | 1 - .../ql/ddl/table/partition/PartitionUtils.java | 5 +++-- .../AlterTableSetDefaultPartitionOperation.java | 4 ++-- .../hive/metastore/utils/MetaStoreUtils.java | 10 ++++++++++ .../hadoop/hive/metastore/HiveAlterHandler.java | 5 ++--- .../hive/metastore/HiveMetaStoreChecker.java | 14 +++----------- .../hadoop/hive/metastore/MetaStoreDirectSql.java | 5 ++--- .../apache/hadoop/hive/metastore/ObjectStore.java | 4 ++-- .../hadoop/hive/metastore/cache/CachedStore.java | 2 +- .../hive/metastore/utils/MetaStoreServerUtils.java | 3 +-- 10 files changed, 26 insertions(+), 27 deletions(-) diff --git a/common/src/java/org/apache/hive/common/util/HiveStringUtils.java b/common/src/java/org/apache/hive/common/util/HiveStringUtils.java index 834a562e548e..1b4b34f1a824 100644 --- a/common/src/java/org/apache/hive/common/util/HiveStringUtils.java +++ b/common/src/java/org/apache/hive/common/util/HiveStringUtils.java @@ -416,7 +416,6 @@ public static String[] getTrimmedStrings(String str){ final public static char EQUALS = '='; final public static String COMMA_STR = ","; final public static char ESCAPE_CHAR = '\\'; - final public static String DEFAULT_PARTITION_NAME = "DEFAULT_PARTITION_NAME"; /** * Split a string using the default separator diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java index eab07d40f7c4..d6a80d3addf9 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java @@ -29,6 +29,7 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.GetPartitionsRequest; +import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.ql.ErrorMsg; import org.apache.hadoop.hive.ql.exec.FunctionRegistry; import org.apache.hadoop.hive.ql.hooks.WriteEntity; @@ -196,8 +197,8 @@ public static void addTablePartsOutputs(Hive db, Set outputs, Table public static String getDefaultPartitionName(Map tableParams, Configuration conf) { // Check if the table has an override for the default partition name - if (tableParams != null && tableParams.containsKey(HiveStringUtils.DEFAULT_PARTITION_NAME)) { - return tableParams.get(HiveStringUtils.DEFAULT_PARTITION_NAME); + if (tableParams != null && tableParams.containsKey(MetaStoreUtils.DEFAULT_PARTITION_NAME)) { + return tableParams.get(MetaStoreUtils.DEFAULT_PARTITION_NAME); } else { return conf.get(HiveConf.ConfVars.DEFAULT_PARTITION_NAME.varname); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java index ca7472600ebb..656d2c6418f1 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/setdefaultpartition/AlterTableSetDefaultPartitionOperation.java @@ -18,13 +18,13 @@ package org.apache.hadoop.hive.ql.ddl.table.setdefaultpartition; +import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.ql.ErrorMsg; import org.apache.hadoop.hive.ql.ddl.DDLOperationContext; import org.apache.hadoop.hive.ql.ddl.table.AbstractAlterTableOperation; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.metadata.Partition; import org.apache.hadoop.hive.ql.metadata.Table; -import org.apache.hive.common.util.HiveStringUtils; /** * Operation process of set default column at table level. @@ -39,7 +39,7 @@ public AlterTableSetDefaultPartitionOperation(DDLOperationContext context, Alter protected void doAlteration(Table table, Partition partition) throws HiveException { if (table.isPartitioned()) { // put the tableLevelDefaultPartitionName in the table property - table.getParameters().put(HiveStringUtils.DEFAULT_PARTITION_NAME, desc.getTableLevelDefaultPartitionName()); + table.getParameters().put(MetaStoreUtils.DEFAULT_PARTITION_NAME, desc.getTableLevelDefaultPartitionName()); } else { throw new HiveException(ErrorMsg.NON_PARTITIONED_TABLE, table.getTableName()); } diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java index 70c272fc8ee3..665baf8fcc82 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java @@ -84,6 +84,8 @@ public class MetaStoreUtils { private static final DateTimeFormatter TIMESTAMP_FORMATTER = createDateTimeFormatter("uuuu-MM-dd HH:mm:ss"); + public static final String DEFAULT_PARTITION_NAME = "DEFAULT_PARTITION_NAME"; + private static DateTimeFormatter createDateTimeFormatter(String format) { return DateTimeFormatter.ofPattern(format).withZone(TimeZone.getTimeZone("UTC").toZoneId()) .withResolverStyle(ResolverStyle.STRICT); @@ -1340,4 +1342,12 @@ public static String getHttpPath(String httpPath) { public static boolean isDatabaseRemote(Database db) { return db != null && db.getType() == DatabaseType.REMOTE; } + + public static String getDefaultPartitionName(Map tableParams, Configuration conf) { + if (tableParams != null && tableParams.containsKey(DEFAULT_PARTITION_NAME)) { + return tableParams.get(DEFAULT_PARTITION_NAME); + } else { + return MetastoreConf.getVar(conf, MetastoreConf.ConfVars.DEFAULTPARTITIONNAME); + } + } } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java index 8c90e293b6d1..a1e16a284740 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java @@ -87,7 +87,6 @@ public class HiveAlterHandler implements AlterHandler { private static final Logger LOG = LoggerFactory.getLogger(HiveAlterHandler.class .getName()); private static final String SET_DEFAULT_PARTITION = "SETDEFAULTPARTITION"; - public static final String DEFAULT_PARTITION_NAME = "DEFAULT_PARTITION_NAME"; // hiveConf, getConf and setConf are in this class because AlterHandler extends Configurable. // Always use the configuration from HMS Handler. Making AlterHandler not extend Configurable @@ -549,8 +548,8 @@ private static void setDefaultPartitionName(RawStore msdb, Warehouse wh, String NoSuchObjectException, TException { String clusterLevelDefaultPartitionName = environmentContext.getProperties() .get(MetastoreConf.ConfVars.DEFAULTPARTITIONNAME.getHiveName()); - String oldDefaultPartitionValue = oldt.getParameters().get(DEFAULT_PARTITION_NAME); - String newDefaultPartitionValue = newt.getParameters().get(DEFAULT_PARTITION_NAME); + String oldDefaultPartitionValue = oldt.getParameters().get(MetaStoreUtils.DEFAULT_PARTITION_NAME); + String newDefaultPartitionValue = newt.getParameters().get(MetaStoreUtils.DEFAULT_PARTITION_NAME); PartitionsRequest partitionReq = new PartitionsRequest(dbname, name); partitionReq.setCatName(catName); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java index 0c85f9071c62..0f960348e58b 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java @@ -73,6 +73,7 @@ import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.metastore.utils.FileUtils; +import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.util.functional.RemoteIterators; import org.apache.thrift.TException; import org.slf4j.Logger; @@ -267,7 +268,7 @@ void checkTable(String catName, String dbName, String tableName, byte[] filterEx if (filterExp != null) { List results = new ArrayList<>(); getPartitionListByFilterExp(getMsc(), table, filterExp, - getDefaultPartitionName(table.getParameters(), conf), results); + MetaStoreUtils.getDefaultPartitionName(table.getParameters(), conf), results); parts = new PartitionIterable(results); } else { GetProjectionsSpec projectionsSpec = new GetPartitionProjectionsSpecBuilder() @@ -288,15 +289,6 @@ void checkTable(String catName, String dbName, String tableName, byte[] filterEx checkTable(table, parts, filterExp, result); } - - public static String getDefaultPartitionName(Map tableParams, Configuration conf) { - if (tableParams != null && tableParams.containsKey(HiveAlterHandler.DEFAULT_PARTITION_NAME)) { - return tableParams.get(HiveAlterHandler.DEFAULT_PARTITION_NAME); - } else { - return MetastoreConf.getVar(conf, MetastoreConf.ConfVars.DEFAULTPARTITIONNAME); - } - } - /** * Check the metastore for inconsistencies, data missing in either the * metastore or on the dfs. @@ -346,7 +338,7 @@ void checkTable(Table table, PartitionIterable parts, byte[] filterExp, CheckRes // Remove all partition paths which does not matches the filter expression. expressionProxy.filterPartitionsByExpr(partColumns, filterExp, - getDefaultPartitionName(table.getParameters(), conf), partitions); + MetaStoreUtils.getDefaultPartitionName(table.getParameters(), conf), partitions); // now the partition list will contain all the paths that matches the filter expression. // add them back to partDirs. diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index be737aa4d02f..35ba52a02596 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java @@ -30,7 +30,6 @@ import static org.apache.hadoop.hive.metastore.ColumnType.TIMESTAMP_TYPE_NAME; import static org.apache.hadoop.hive.metastore.ColumnType.TINYINT_TYPE_NAME; import static org.apache.hadoop.hive.metastore.ColumnType.VARCHAR_TYPE_NAME; -import static org.apache.hadoop.hive.metastore.HiveMetaStoreChecker.getDefaultPartitionName; import java.sql.Connection; import java.sql.SQLException; @@ -886,8 +885,8 @@ public boolean generateSqlFilterForPushdown(String catName, String dbName, Strin result.dbName = dbName; result.catName = catName; result.filter = PartitionFilterGenerator.generateSqlFilter(catName, dbName, tableName, - partitionKeys, tree, result.params, result.joins, dbHasJoinCastBug, - ((defaultPartitionName == null) ? getDefaultPartitionName(tableParams, conf) : defaultPartitionName), + partitionKeys, tree, result.params, result.joins, dbHasJoinCastBug, ((defaultPartitionName == null) ? + MetaStoreUtils.getDefaultPartitionName(tableParams, conf) : defaultPartitionName), dbType, schema, result.compactJoins); return result.filter != null; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 983a7dfb84ee..76c860acf1f1 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -4144,8 +4144,8 @@ protected List getJdoResult( */ private String getDefaultPartitionName(String inputDefaultPartName, Map tableParams) { String computedDefaultPartitionName; - if (tableParams != null && tableParams.containsKey(HiveAlterHandler.DEFAULT_PARTITION_NAME)) { - computedDefaultPartitionName = tableParams.get(HiveAlterHandler.DEFAULT_PARTITION_NAME); + if (tableParams != null && tableParams.containsKey(MetaStoreUtils.DEFAULT_PARTITION_NAME)) { + computedDefaultPartitionName = tableParams.get(MetaStoreUtils.DEFAULT_PARTITION_NAME); } else { computedDefaultPartitionName = MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME); } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index ea2afce41c32..75231c5c55af 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -81,9 +81,9 @@ import com.google.common.annotations.VisibleForTesting; -import static org.apache.hadoop.hive.metastore.HiveMetaStoreChecker.getDefaultPartitionName; import static org.apache.hadoop.hive.metastore.HMSHandler.getPartValsFromName; import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultCatalog; +import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultPartitionName; import static org.apache.hadoop.hive.metastore.utils.StringUtils.normalizeIdentifier; // TODO filter->expr diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java index f7219b1f5973..1210b648d785 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java @@ -71,7 +71,6 @@ import org.apache.hadoop.hive.metastore.ColumnType; import org.apache.hadoop.hive.metastore.ExceptionHandler; import org.apache.hadoop.hive.metastore.HiveMetaStore; -import org.apache.hadoop.hive.metastore.HiveMetaStoreChecker; import org.apache.hadoop.hive.metastore.IMetaStoreClient; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; @@ -1653,7 +1652,7 @@ public static String getNormalisedPartitionValue(String partitionValue, String t if (type == null) { return partitionValue; } - if (Objects.equals(partitionValue, HiveMetaStoreChecker.getDefaultPartitionName(tableParams, conf))) { + if (Objects.equals(partitionValue, MetaStoreUtils.getDefaultPartitionName(tableParams, conf))) { // This is the special partition name for NULL values. It should never be parsed. return partitionValue; } From 5def79f37f48f96e4beea3fadc2beb7ca8c09af9 Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Mon, 18 Aug 2025 10:42:54 +0530 Subject: [PATCH 05/12] Handled Hardcoded HIVE_DEFAULT_PARTITION in most of the places --- .../FileOutputCommitterContainer.java | 13 ++++--- .../mapreduce/FosterStorageHandler.java | 4 +- .../hive/hcatalog/mapreduce/HCatFileUtil.java | 6 ++- .../hadoop/hive/ql/exec/DDLPlanUtils.java | 37 ++++++++++--------- .../hadoop/hive/ql/exec/ExplainTask.java | 2 +- 5 files changed, 36 insertions(+), 26 deletions(-) diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java index 8fb821d37124..18ab696f3361 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java @@ -56,6 +56,7 @@ import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.StorageDescriptor; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.metadata.HiveStorageHandler; import org.apache.hadoop.hive.ql.metadata.Table; import org.apache.hadoop.hive.shims.ShimLoader; @@ -406,7 +407,7 @@ private Partition constructPartition( // Set the location in the StorageDescriptor if (dynamicPartitioningUsed) { - String dynamicPartitionDestination = getFinalDynamicPartitionDestination(table, partKVs, jobInfo); + String dynamicPartitionDestination = getFinalDynamicPartitionDestination(table, partKVs, jobInfo, conf); if (harProcessor.isEnabled()) { harProcessor.exec(context, partition, partPath); partition.getSd().setLocation( @@ -421,7 +422,7 @@ private Partition constructPartition( } private String getFinalDynamicPartitionDestination(Table table, Map partKVs, - OutputJobInfo jobInfo) { + OutputJobInfo jobInfo, Configuration conf) { Path partPath = new Path(table.getTTable().getSd().getLocation()); if (!customDynamicLocationUsed) { // file:///tmp/hcat_junit_warehouse/employee/_DYN0.7770480401313761/emp_country=IN/emp_state=KA -> @@ -437,7 +438,8 @@ private String getFinalDynamicPartitionDestination(Table table, Map 0) { partPath = new Path(partPath, jobInfo.getCustomDynamicRoot()); } - return new Path(partPath, HCatFileUtil.resolveCustomPath(jobInfo, partKVs, false)).toString(); + return new Path(partPath, HCatFileUtil.resolveCustomPath(jobInfo, partKVs, false, + table.getParameters(), conf)).toString(); } } @@ -712,7 +714,8 @@ private void discoverPartitions(JobContext context) throws IOException { // construct a path pattern (e.g., /*/*) to find all dynamically generated paths String dynPathSpec = loadPath.toUri().getPath(); - dynPathSpec = dynPathSpec.replace("__HIVE_DEFAULT_PARTITION__", "*"); + dynPathSpec = dynPathSpec.replace(PartitionUtils.getDefaultPartitionName( + jobInfo.getTableInfo().getTable().getParameters(), HCatUtil.getHiveConf(context.getConfiguration())), "*"); // LOG.info("Searching for "+dynPathSpec); Path pathPattern = new Path(dynPathSpec); @@ -990,7 +993,7 @@ private void moveCustomLocationTaskOutputs(FileSystem fs, Table table, Configura // final destination of each partition and move its output. for (Entry> entry : partitionsDiscoveredByPath.entrySet()) { Path src = new Path(entry.getKey()); - Path destPath = new Path(getFinalDynamicPartitionDestination(table, entry.getValue(), jobInfo)); + Path destPath = new Path(getFinalDynamicPartitionDestination(table, entry.getValue(), jobInfo, conf)); moveTaskOutputs(conf, src, src, destPath, true); } // delete the parent temp directory of all custom dynamic partitions diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java index 2f81f9b043d1..88e89d6ad9ae 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java @@ -161,7 +161,9 @@ public void configureOutputJobProperties(TableDesc tableDesc, && jobInfo.getCustomDynamicPath().length() > 0) { // dynamic partitioning with custom path; resolve the custom path // using partition column values - outputLocation = HCatFileUtil.resolveCustomPath(jobInfo, null, true); + outputLocation = HCatFileUtil.resolveCustomPath(jobInfo, null, true, + (jobInfo.getTableInfo() != null && jobInfo.getTableInfo().getTable() != null) ? + jobInfo.getTableInfo().getTable().getParameters() : null, conf); } else if ((dynHash == null) && Boolean.parseBoolean((String)tableDesc.getProperties().get("EXTERNAL")) && jobInfo.getLocation() != null && jobInfo.getLocation().length() > 0) { diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatFileUtil.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatFileUtil.java index 5532b753c4d6..d3aec479944e 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatFileUtil.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatFileUtil.java @@ -25,7 +25,9 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; public class HCatFileUtil { @@ -36,7 +38,7 @@ public class HCatFileUtil { // This method parses the custom dynamic path and replaces each occurrence // of column name within regex pattern with its corresponding value, if provided public static String resolveCustomPath(OutputJobInfo jobInfo, - Map dynPartKVs, boolean createRegexPath) { + Map dynPartKVs, boolean createRegexPath, Map tableParams, Configuration conf) { // get custom path string String customPath = jobInfo.getCustomDynamicPath(); // create matcher for custom path @@ -68,7 +70,7 @@ public static String resolveCustomPath(OutputJobInfo jobInfo, if (columnValue != null) { sb.append(columnValue); } else { - sb.append("__HIVE_DEFAULT_PARTITION__"); + sb.append(PartitionUtils.getDefaultPartitionName(tableParams, conf)); } if (createRegexPath) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java index a5bc66733f46..8ba86dd0569d 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java @@ -26,6 +26,7 @@ import com.google.common.collect.Sets; import java.util.Comparator; import org.apache.commons.lang3.StringUtils; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.common.StatsSetupConst; import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.Warehouse; @@ -46,6 +47,7 @@ import org.apache.hadoop.hive.metastore.api.StringColumnStatsData; import org.apache.hadoop.hive.ql.ddl.ShowUtils; import org.apache.hadoop.hive.ql.ddl.table.create.CreateTableOperation; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.metadata.CheckConstraint; import org.apache.hadoop.hive.ql.metadata.CheckConstraint.CheckConstraintCol; import org.apache.hadoop.hive.ql.metadata.DefaultConstraint; @@ -126,7 +128,6 @@ public class DDLPlanUtils { private static final String ENABLE = "ENABLE"; private static final String RELY = "RELY"; private static final String VALIDATE = "VALIDATE"; - private static final String HIVE_DEFAULT_PARTITION = "__HIVE_DEFAULT_PARTITION__"; private static final String BASE_64_VALUE = "BASE_64"; private static final String numNulls = "'numNulls'='"; private static final String numDVs = "'numDVs'='"; @@ -303,8 +304,8 @@ private Map getPartitionColu return resultMap; } - public boolean checkIfDefaultPartition(String pt) { - if (pt.contains(HIVE_DEFAULT_PARTITION)) { + private boolean checkIfDefaultPartition(String pt, Map tableParams, Configuration conf) { + if (pt.contains(PartitionUtils.getDefaultPartitionName(tableParams, conf))) { return true; } else { return false; @@ -318,13 +319,13 @@ public boolean checkIfDefaultPartition(String pt) { * @return */ //TODO: Adding/Updating Stats to Default Partition Not Allowed. Need to Fix Later - public String getAlterTableAddPartition(Partition pt) { + private String getAlterTableAddPartition(Partition pt, Configuration conf) { Table tb = pt.getTable(); ST command = new ST(ALTER_TABLE_CREATE_PARTITION); command.add(DATABASE_NAME, unparseIdentifier(tb.getDbName())); command.add(TABLE_NAME, unparseIdentifier(tb.getTableName())); command.add(PARTITION, getPartitionActualName(pt)); - if (checkIfDefaultPartition(pt.getName())) { + if (checkIfDefaultPartition(pt.getName(), tb.getParameters(), conf)) { command.add(COMMENT_SQL, "--"); } return command.render(); @@ -561,15 +562,15 @@ public List getAlterTableStmtTableStatsColsAll(Table tbl) * @param dbName * @return */ - public String getAlterTableStmtPartitionColStat(ColumnStatisticsData columnStatisticsData, String colName, - String tblName, String ptName, String dbName) { + private String getAlterTableStmtPartitionColStat(ColumnStatisticsData columnStatisticsData, String colName, + String tblName, String ptName, String dbName, Map tableParams, Configuration conf) { ST command = new ST(ALTER_TABLE_UPDATE_STATISTICS_PARTITION_COLUMN); command.add(DATABASE_NAME, unparseIdentifier(dbName)); command.add(TABLE_NAME, unparseIdentifier(tblName)); command.add(COLUMN_NAME, unparseIdentifier(colName)); command.add(PARTITION_NAME, ptName); command.add(TBLPROPERTIES, addAllColStats(columnStatisticsData)); - if (checkIfDefaultPartition(ptName)) { + if (checkIfDefaultPartition(ptName, tableParams, conf)) { command.add(COMMENT_SQL, "--"); } return command.render(); @@ -584,15 +585,17 @@ public String getAlterTableStmtPartitionColStat(ColumnStatisticsData columnStati * @param ptName * @param dbName */ - public List getAlterTableStmtPartitionStatsColsAll(List columnStatisticsObjList, + private List getAlterTableStmtPartitionStatsColsAll(List columnStatisticsObjList, String tblName, String ptName, - String dbName) { + String dbName, + Map tableParams, + Configuration conf) { List alterTableStmt = new ArrayList<>(); final Comparator colNameComparator = Comparator.comparing(ColumnStatisticsObj::getColName); columnStatisticsObjList.stream().sorted(colNameComparator).forEach(statisticsObj -> { alterTableStmt.add(getAlterTableStmtPartitionColStat( - statisticsObj.getStatsData(), statisticsObj.getColName(), tblName, ptName, dbName)); + statisticsObj.getStatsData(), statisticsObj.getColName(), tblName, ptName, dbName, tableParams, conf)); String base64BitVectors = checkBitVectors(statisticsObj.getStatsData()); if (base64BitVectors != null) { ST command = new ST(EXIST_BIT_VECTORS_PARTITIONED); @@ -635,27 +638,27 @@ public String paramToValues(Map parameters) { * @param pt * @return Returns the alter table .... update statistics for partition. */ - public String getAlterTableStmtPartitionStatsBasic(Partition pt) { + private String getAlterTableStmtPartitionStatsBasic(Partition pt, Configuration conf) { Map parameters = pt.getParameters(); ST command = new ST(ALTER_TABLE_UPDATE_STATISTICS_PARTITION_BASIC); command.add(DATABASE_NAME, unparseIdentifier(pt.getTable().getDbName())); command.add(TABLE_NAME, unparseIdentifier(pt.getTable().getTableName())); command.add(PARTITION_NAME, getPartitionActualName(pt)); command.add(TBLPROPERTIES, paramToValues(parameters)); - if (checkIfDefaultPartition(pt.getName())) { + if (checkIfDefaultPartition(pt.getName(), pt.getTable().getParameters(), conf)) { command.add(COMMENT_SQL, "--"); } return command.render(); } public List getDDLPlanForPartitionWithStats(Table table, - Map> tableToPartitionList + Map> tableToPartitionList, Configuration conf ) throws HiveException { List alterTableStmt = new ArrayList(); String tableName = table.getTableName(); for (Partition pt : tableToPartitionList.get(tableName)) { - alterTableStmt.add(getAlterTableAddPartition(pt)); - alterTableStmt.add(getAlterTableStmtPartitionStatsBasic(pt)); + alterTableStmt.add(getAlterTableAddPartition(pt, conf)); + alterTableStmt.add(getAlterTableStmtPartitionStatsBasic(pt, conf)); } String databaseName = table.getDbName(); List partNames = new ArrayList(); @@ -671,7 +674,7 @@ public List getDDLPlanForPartitionWithStats(Table table, partitionColStats.keySet().stream().sorted().forEach(partitionName -> alterTableStmt.addAll(getAlterTableStmtPartitionStatsColsAll(partitionColStats.get(partitionName), tableName, partitionToActualName.get(partitionName), - databaseName)) + databaseName, table.getParameters(), conf)) ); return alterTableStmt; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java index 4d7b5775c7f9..1161ecee8892 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java @@ -475,7 +475,7 @@ public void addStats(Table table,List alterTableStmt ,Map Date: Mon, 18 Aug 2025 14:21:02 +0530 Subject: [PATCH 06/12] Handle hardcoded __HIVE_DEFAULT_PARTTION__ in common/FileUtils --- .../apache/hadoop/hive/common/FileUtils.java | 33 ++++++++++--------- .../hadoop/hive/common/TestFileUtils.java | 2 +- .../FileOutputCommitterContainer.java | 13 +++++--- .../mapreduce/FosterStorageHandler.java | 4 ++- .../table/lock/show/ShowLocksOperation.java | 4 ++- .../misc/truncate/TruncateTableDesc.java | 4 +++ .../misc/truncate/TruncateTableOperation.java | 4 ++- .../AlterTableRenamePartitionOperation.java | 7 ++-- .../hadoop/hive/ql/exec/FileSinkOperator.java | 8 +++-- .../hive/ql/exec/HashTableSinkOperator.java | 2 +- .../apache/hadoop/hive/ql/exec/MoveTask.java | 2 +- .../hive/ql/exec/SMBMapJoinOperator.java | 8 ++--- .../hive/ql/exec/TableScanOperator.java | 6 +++- .../hive/ql/exec/mr/HashTableLoader.java | 2 +- .../hive/ql/lockmgr/DummyTxnManager.java | 10 +++--- .../hive/ql/lockmgr/EmbeddedLockManager.java | 4 +-- .../hive/ql/lockmgr/HiveLockObject.java | 15 +++++---- .../hive/ql/lockmgr/HiveTxnManagerImpl.java | 4 +-- .../zookeeper/ZooKeeperHiveLockManager.java | 4 +-- .../ListBucketingPruner.java | 9 +++-- .../hive/ql/parse/SemanticAnalyzer.java | 7 ++-- .../hive/ql/plan/BucketMapJoinContext.java | 14 ++++---- .../hadoop/hive/ql/plan/ListBucketingCtx.java | 9 +++-- .../hadoop/hive/ql/plan/MapredLocalWork.java | 5 +-- .../hadoop/hive/ql/stats/BasicStatsTask.java | 21 ++++++------ .../hive/ql/lockmgr/TestDbTxnManager2.java | 2 +- 26 files changed, 120 insertions(+), 83 deletions(-) diff --git a/common/src/java/org/apache/hadoop/hive/common/FileUtils.java b/common/src/java/org/apache/hadoop/hive/common/FileUtils.java index 803da2e8b7a1..54109e75c370 100644 --- a/common/src/java/org/apache/hadoop/hive/common/FileUtils.java +++ b/common/src/java/org/apache/hadoop/hive/common/FileUtils.java @@ -64,6 +64,7 @@ import org.apache.hadoop.fs.PathIsDirectoryException; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; +import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.shims.HadoopShims; import org.apache.hadoop.hive.shims.ShimLoader; import org.apache.hadoop.hive.shims.Utils; @@ -161,9 +162,9 @@ private FileUtils() { // prevent instantiation } - - public static String makePartName(List partCols, List vals) { - return makePartName(partCols, vals, null); + public static String makePartName(List partCols, List vals, Map tableParams, + Configuration conf) { + return makePartName(partCols, vals, null, tableParams, conf); } /** @@ -175,15 +176,15 @@ public static String makePartName(List partCols, List vals) { * @return An escaped, valid partition name. */ public static String makePartName(List partCols, List vals, - String defaultStr) { + String defaultStr, Map tableParams, Configuration conf) { StringBuilder name = new StringBuilder(); for (int i = 0; i < partCols.size(); i++) { if (i > 0) { name.append(Path.SEPARATOR); } - name.append(escapePathName((partCols.get(i)).toLowerCase(), defaultStr)); + name.append(escapePathName((partCols.get(i)).toLowerCase(), defaultStr, tableParams, conf)); name.append('='); - name.append(escapePathName(vals.get(i), defaultStr)); + name.append(escapePathName(vals.get(i), defaultStr, tableParams, conf)); } return name.toString(); } @@ -196,9 +197,9 @@ public static String makePartName(List partCols, List vals, * @return */ public static String makeDefaultListBucketingDirName(List skewedCols, - String name) { + String name, Map tableParams, Configuration conf) { String lbDirName; - String defaultDir = FileUtils.escapePathName(name); + String defaultDir = FileUtils.escapePathName(name, tableParams, conf); StringBuilder defaultDirPath = new StringBuilder(); for (int i = 0; i < skewedCols.size(); i++) { if (i > 0) { @@ -216,15 +217,16 @@ public static String makeDefaultListBucketingDirName(List skewedCols, * @param vals The skewed values * @return An escaped, valid list bucketing directory name. */ - public static String makeListBucketingDirName(List lbCols, List vals) { + public static String makeListBucketingDirName(List lbCols, List vals, Map tableParams, + Configuration conf) { StringBuilder name = new StringBuilder(); for (int i = 0; i < lbCols.size(); i++) { if (i > 0) { name.append(Path.SEPARATOR); } - name.append(escapePathName((lbCols.get(i)).toLowerCase())); + name.append(escapePathName((lbCols.get(i)).toLowerCase(), tableParams, conf)); name.append('='); - name.append(escapePathName(vals.get(i))); + name.append(escapePathName(vals.get(i), tableParams, conf)); } return name.toString(); } @@ -276,8 +278,8 @@ static boolean needsEscaping(char c) { return c < charToEscape.size() && charToEscape.get(c); } - public static String escapePathName(String path) { - return escapePathName(path, null); + public static String escapePathName(String path, Map tableParams, Configuration conf) { + return escapePathName(path, null, tableParams, conf); } /** @@ -287,7 +289,8 @@ public static String escapePathName(String path) { * The default name for the path, if the given path is empty or null. * @return An escaped path name. */ - public static String escapePathName(String path, String defaultPath) { + public static String escapePathName(String path, String defaultPath, Map tableParams, + Configuration conf) { // __HIVE_DEFAULT_NULL__ is the system default value for null and empty string. // TODO: we should allow user to specify default partition or HDFS file location. @@ -295,7 +298,7 @@ public static String escapePathName(String path, String defaultPath) { if (defaultPath == null) { //previously, when path is empty or null and no default path is specified, // __HIVE_DEFAULT_PARTITION__ was the return value for escapePathName - return "__HIVE_DEFAULT_PARTITION__"; + return MetaStoreUtils.getDefaultPartitionName(tableParams, conf); } else { return defaultPath; } diff --git a/common/src/test/org/apache/hadoop/hive/common/TestFileUtils.java b/common/src/test/org/apache/hadoop/hive/common/TestFileUtils.java index 647e67ceb5da..fa567467381a 100644 --- a/common/src/test/org/apache/hadoop/hive/common/TestFileUtils.java +++ b/common/src/test/org/apache/hadoop/hive/common/TestFileUtils.java @@ -309,7 +309,7 @@ public void testPathEscapeChars() { StringBuilder sb = new StringBuilder(); FileUtils.charToEscape.stream().forEach(integer -> sb.append((char) integer)); String path = sb.toString(); - assertEquals(path, FileUtils.unescapePathName(FileUtils.escapePathName(path))); + assertEquals(path, FileUtils.unescapePathName(FileUtils.escapePathName(path, null, new HiveConf()))); } @Test diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java index 18ab696f3361..b1fb19d6ed46 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FileOutputCommitterContainer.java @@ -396,7 +396,8 @@ private Partition constructPartition( HdfsUtils.setFullFileStatus(conf, status, status.getFileStatus().getGroup(), fs, partPath, false); } - partPath = constructPartialPartPath(partPath, partKey.getName().toLowerCase(), partKVs); + partPath = constructPartialPartPath(partPath, partKey.getName().toLowerCase(), partKVs, table.getParameters(), + conf); } } @@ -428,7 +429,8 @@ private String getFinalDynamicPartitionDestination(Table table, Map // file:///tmp/hcat_junit_warehouse/employee/emp_country=IN/emp_state=KA for (FieldSchema partKey : table.getPartitionKeys()) { - partPath = constructPartialPartPath(partPath, partKey.getName().toLowerCase(), partKVs); + partPath = constructPartialPartPath(partPath, partKey.getName().toLowerCase(), partKVs, table.getParameters(), + conf); } return partPath.toString(); @@ -455,11 +457,12 @@ private Map getStorerParameterMap(StorerInfo storer) { return params; } - private Path constructPartialPartPath(Path partialPath, String partKey, Map partKVs) { + private Path constructPartialPartPath(Path partialPath, String partKey, Map partKVs, + Map tableParams, Configuration conf) { - StringBuilder sb = new StringBuilder(FileUtils.escapePathName(partKey)); + StringBuilder sb = new StringBuilder(FileUtils.escapePathName(partKey, tableParams, conf)); sb.append("="); - sb.append(FileUtils.escapePathName(partKVs.get(partKey))); + sb.append(FileUtils.escapePathName(partKVs.get(partKey), tableParams, conf)); return new Path(partialPath, sb.toString()); } diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java index 88e89d6ad9ae..3c18a7fe668f 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java @@ -184,7 +184,9 @@ public void configureOutputJobProperties(TableDesc tableDesc, cols.add(name); values.add(value); } - outputLocation = FileUtils.makePartName(cols, values); + outputLocation = FileUtils.makePartName(cols, values, (jobInfo.getTableInfo() != null && + jobInfo.getTableInfo().getTable() != null) ? jobInfo.getTableInfo().getTable().getParameters() : null, + conf); } if (outputLocation!= null && !outputLocation.isEmpty()){ diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/lock/show/ShowLocksOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/lock/show/ShowLocksOperation.java index d7e71858a0ad..7d36cb2b7b78 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/lock/show/ShowLocksOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/lock/show/ShowLocksOperation.java @@ -44,6 +44,7 @@ import org.apache.hadoop.hive.metastore.api.ShowLocksResponseElement; import org.apache.hadoop.hive.ql.Context; import org.apache.hadoop.hive.ql.ddl.DDLOperation; +import org.apache.hadoop.hive.ql.metadata.Hive; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.session.SessionState; @@ -175,7 +176,8 @@ private ShowLocksResponse getLocksForNewFormat(HiveLockManager lockMgr) throws H keyList.add(partKey); valList.add(partVal); } - String partName = FileUtils.makePartName(keyList, valList); + String partName = FileUtils.makePartName(keyList, valList, Hive.get(context.getConf()).getTable( + request.getDbname(), request.getTablename()).getParameters(), context.getConf()); request.setPartname(partName); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableDesc.java index 6bac3191822a..6a5c2c7f4354 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableDesc.java @@ -76,6 +76,10 @@ public String getTableName() { return tableName.getNotEmptyDbTable(); } + public TableName getTableNameObject() { + return tableName; + } + @Override public String getFullTableName() { return tableName.getNotEmptyDbTable(); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableOperation.java index e738d4f1c317..4798143d471d 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableOperation.java @@ -70,7 +70,9 @@ public int execute() throws HiveException { // or the existing table is newer than our update. LOG.debug("DDLTask: Truncate Table/Partition is skipped as table {} / partition {} is newer than update", tableName, (partSpec == null) ? - "null" : FileUtils.makePartName(new ArrayList<>(partSpec.keySet()), new ArrayList<>(partSpec.values()))); + "null" : FileUtils.makePartName(new ArrayList<>(partSpec.keySet()), new ArrayList<>(partSpec.values()), + context.getDb().getTable(desc.getTableNameObject().getDb(), desc.getTableNameObject().getTable()). + getParameters(), context.getConf())); return 0; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/rename/AlterTableRenamePartitionOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/rename/AlterTableRenamePartitionOperation.java index fab95484ad51..48af1dfc02ee 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/rename/AlterTableRenamePartitionOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/rename/AlterTableRenamePartitionOperation.java @@ -49,11 +49,13 @@ public int execute() throws HiveException { Map oldPartSpec = desc.getOldPartSpec(); ReplicationSpec replicationSpec = desc.getReplicationSpec(); + Table tbl = context.getDb().getTable(tableName); if (!AlterTableUtils.allowOperationInReplicationScope(context.getDb(), tableName, oldPartSpec, replicationSpec)) { // no rename, the table is missing either due to drop/rename which follows the current rename. // or the existing table is newer than our update. LOG.debug("DDLTask: Rename Partition is skipped as table {} / partition {} is newer than update", tableName, - FileUtils.makePartName(new ArrayList<>(oldPartSpec.keySet()), new ArrayList<>(oldPartSpec.values()))); + FileUtils.makePartName(new ArrayList<>(oldPartSpec.keySet()), new ArrayList<>(oldPartSpec.values()), + tbl.getParameters(), context.getConf())); return 0; } @@ -62,11 +64,10 @@ public int execute() throws HiveException { throw new HiveException("Rename Partition: Not allowed as bootstrap dump in progress"); } - Table tbl = context.getDb().getTable(tableName); Partition oldPart = context.getDb().getPartition(tbl, oldPartSpec, false); if (oldPart == null) { String partName = FileUtils.makePartName(new ArrayList(oldPartSpec.keySet()), - new ArrayList(oldPartSpec.values())); + new ArrayList(oldPartSpec.values()), tbl.getParameters(), context.getConf()); throw new HiveException("Rename partition: source partition [" + partName + "] does not exist."); } 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 6a57672207f2..10dfa3a9d749 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 @@ -1371,7 +1371,8 @@ protected String generateListBucketingDirName(Object row) { /* The row matches skewed column names. */ if (allSkewedVals.contains(skewedValsCandidate)) { /* matches skewed values. */ - lbDirName = FileUtils.makeListBucketingDirName(skewedCols, skewedValsCandidate); + lbDirName = FileUtils.makeListBucketingDirName(skewedCols, skewedValsCandidate, conf.getTable() != null ? + conf.getTable().getParameters() : null, hconf); locationMap.put(skewedValsCandidate, lbDirName); } else { lbDirName = createDefaultLbDir(skewedCols, locationMap); @@ -1386,7 +1387,7 @@ private String createDefaultLbDir(List skewedCols, Map, String> locationMap) { String lbDirName; lbDirName = FileUtils.makeDefaultListBucketingDirName(skewedCols, - lbCtx.getDefaultDirName()); + lbCtx.getDefaultDirName(), conf.getTable() != null ? conf.getTable().getParameters() : null, hconf); List defaultKey = Lists.newArrayList(lbCtx.getDefaultKey()); if (!locationMap.containsKey(defaultKey)) { locationMap.put(defaultKey, lbDirName); @@ -1474,7 +1475,8 @@ protected FSPaths getDynOutPaths(List row, String lbDir) throws HiveExce // return the relative path corresponding to the row. // e.g., ds=2008-04-08/hr=11 private String getDynPartDirectory(List row, List dpColNames) { - return FileUtils.makePartName(dpColNames, row); + return FileUtils.makePartName(dpColNames, row, conf.getTable() != null ? + conf.getTable().getParameters() : null, hconf); } @Override diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/HashTableSinkOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/HashTableSinkOperator.java index fff5446daef8..d9c75f007c4e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/HashTableSinkOperator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/HashTableSinkOperator.java @@ -295,7 +295,7 @@ protected void flushToFile() throws IOException, HiveException { } // get current input file name String bigBucketFileName = getExecContext().getCurrentBigBucketFile(); - String fileName = getExecContext().getLocalWork().getBucketFileName(bigBucketFileName); + String fileName = getExecContext().getLocalWork().getBucketFileName(bigBucketFileName, hconf); // get the tmp URI path; it will be a hdfs path if not local mode // TODO [MM gap?]: this doesn't work, however this is MR only. // The path for writer and reader mismatch: diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java index 77d5893ac3ce..31ea8e72f926 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java @@ -968,7 +968,7 @@ private LocalTableLock acquireLockForFileMove(LoadTableDesc loadTableWork) throw queryPlan.getQueryStr(), conf); - HiveLockObject lock = new HiveLockObject(baseTable, lockData); + HiveLockObject lock = new HiveLockObject(baseTable, lockData, conf); for (HiveLockObj hiveLockObj : lockObjects) { if (Arrays.equals(hiveLockObj.getObj().getPaths(), lock.getPaths())) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/SMBMapJoinOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/SMBMapJoinOperator.java index d119e688b710..1184fc86c0f9 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/SMBMapJoinOperator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/SMBMapJoinOperator.java @@ -259,7 +259,7 @@ public void process(Object row, int tag) throws HiveException { for (Map.Entry entry : aliasToMergeQueue.entrySet()) { String alias = entry.getKey(); MergeQueue mergeQueue = entry.getValue(); - setUpFetchContexts(alias, mergeQueue); + setUpFetchContexts(alias, mergeQueue, hconf); } firstFetchHappened = false; inputFileChanged = false; @@ -524,7 +524,7 @@ private boolean processKey(byte alias, List key) } } - private void setUpFetchContexts(String alias, MergeQueue mergeQueue) throws HiveException { + private void setUpFetchContexts(String alias, MergeQueue mergeQueue, Configuration conf) throws HiveException { mergeQueue.clearFetchContext(); Path currentInputPath = getExecContext().getCurrentInputPath(); @@ -533,7 +533,7 @@ private void setUpFetchContexts(String alias, MergeQueue mergeQueue) throws Hive Class bucketMatcherCls = bucketMatcherCxt.getBucketMatcherClass(); BucketMatcher bucketMatcher = ReflectionUtil.newInstance(bucketMatcherCls, null); - getExecContext().setFileId(bucketMatcherCxt.createFileId(currentInputPath.toString())); + getExecContext().setFileId(bucketMatcherCxt.createFileId(currentInputPath.toString(), conf)); LOG.info("set task id: " + getExecContext().getFileId()); bucketMatcher.setAliasBucketFileNameMapping(bucketMatcherCxt @@ -600,7 +600,7 @@ public void closeOp(boolean abort) throws HiveException { for (Map.Entry entry : aliasToMergeQueue.entrySet()) { String alias = entry.getKey(); MergeQueue mergeQueue = entry.getValue(); - setUpFetchContexts(alias, mergeQueue); + setUpFetchContexts(alias, mergeQueue, hconf); } firstFetchHappened = true; for (byte pos = 0; pos < order.length; pos++) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java index 3a87103d6173..25d62bee0f05 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java @@ -79,6 +79,8 @@ public class TableScanOperator extends Operator implements private String defaultPartitionName; + private Configuration configuration; + /** * These values are saved during MapWork, FetchWork, etc preparation and later added to the the * JobConf of each task. @@ -258,7 +260,8 @@ private void gatherStats(Object row) { // to the special partition, __HIVE_DEFAULT_PARTITION__. values.add(o == null ? defaultPartitionName : o.toString()); } - partitionSpecs = FileUtils.makePartName(conf.getPartColumns(), values); + partitionSpecs = FileUtils.makePartName(conf.getPartColumns(), values, conf.getTableMetadata() != null ? + conf.getTableMetadata().getParameters() : null, configuration); LOG.info("Stats Gathering found a new partition spec = " + partitionSpecs); } // find which column contains the raw data size (both partitioned and non partitioned @@ -321,6 +324,7 @@ protected void initializeOp(Configuration hconf) throws HiveException { jc = new JobConf(hconf); } + configuration = hconf; if (conf.getTableMetadata() != null) { defaultPartitionName = PartitionUtils.getDefaultPartitionName(conf.getTableMetadata().getParameters(), hconf); } else { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/HashTableLoader.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/HashTableLoader.java index 34898432f3b7..643cad2c4668 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/HashTableLoader.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/HashTableLoader.java @@ -87,7 +87,7 @@ public void load( if (baseDir == null) { return; } - String fileName = localWork.getBucketFileName(currentInputPath); + String fileName = localWork.getBucketFileName(currentInputPath, hconf); for (int pos = 0; pos < mapJoinTables.length; pos++) { if (pos == desc.getPosBigTable() || mapJoinTables[pos] != null) { continue; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java index 8449ef83a087..a1e9d15d0e94 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java @@ -400,7 +400,7 @@ private List getLockObjects(QueryPlan plan, Database db, } if (t != null) { - locks.add(new HiveLockObj(new HiveLockObject(t, lockData), mode)); + locks.add(new HiveLockObj(new HiveLockObject(t, lockData, conf), mode)); mode = HiveLockMode.SHARED; locks.add(new HiveLockObj(new HiveLockObject(t.getDbName(), lockData), mode)); return locks; @@ -408,7 +408,7 @@ private List getLockObjects(QueryPlan plan, Database db, if (p != null) { if (!(p instanceof DummyPartition)) { - locks.add(new HiveLockObj(new HiveLockObject(p, lockData), mode)); + locks.add(new HiveLockObj(new HiveLockObject(p, lockData, conf), mode)); } // All the parents are locked in shared mode @@ -433,14 +433,14 @@ private List getLockObjects(QueryPlan plan, Database db, partialSpec.put(nameValue[0], nameValue[1]); DummyPartition par = new DummyPartition(p.getTable(), p.getTable().getDbName() - + "/" + FileUtils.escapePathName(p.getTable().getTableName()).toLowerCase() - + "/" + partialName, + + "/" + FileUtils.escapePathName(p.getTable().getTableName(), p.getTable().getParameters(), + conf).toLowerCase() + "/" + partialName, partialSpec); locks.add(new HiveLockObj(new HiveLockObject(par, lockData), mode)); partialName.append("/"); } - locks.add(new HiveLockObj(new HiveLockObject(p.getTable(), lockData), mode)); + locks.add(new HiveLockObj(new HiveLockObject(p.getTable(), lockData, conf), mode)); locks.add(new HiveLockObj(new HiveLockObject(p.getTable().getDbName(), lockData), mode)); } return locks; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/EmbeddedLockManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/EmbeddedLockManager.java index 177cec749a5c..49d8665b9732 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/EmbeddedLockManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/EmbeddedLockManager.java @@ -244,7 +244,7 @@ private HiveLockObject verify(boolean verify, String[] names, HiveLockObjectData return null; } if (names.length == 2) { - return new HiveLockObject(tab, data); + return new HiveLockObject(tab, data, conf); } Map partSpec = new HashMap(); for (int indx = 2; indx < names.length; indx++) { @@ -263,7 +263,7 @@ private HiveLockObject verify(boolean verify, String[] names, HiveLockObjectData return new HiveLockObject(new DummyPartition(tab, null, partSpec), data); } - return new HiveLockObject(partn, data); + return new HiveLockObject(partn, data, conf); } catch (Exception e) { throw new LockException(e); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveLockObject.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveLockObject.java index 197196e0085c..c2a99ade63e7 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveLockObject.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveLockObject.java @@ -22,6 +22,7 @@ import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.common.FileUtils; import org.apache.hadoop.hive.common.StringInternUtils; import org.apache.hadoop.hive.conf.HiveConf; @@ -198,13 +199,15 @@ public HiveLockObject(String[] paths, HiveLockObjectData lockData) { this.data = lockData; } - public HiveLockObject(Table tbl, HiveLockObjectData lockData) { - this(new String[] {tbl.getDbName(), FileUtils.escapePathName(tbl.getTableName()).toLowerCase()}, lockData); + public HiveLockObject(Table tbl, HiveLockObjectData lockData, Configuration conf) { + this(new String[] {tbl.getDbName(), FileUtils.escapePathName(tbl.getTableName(), tbl.getParameters(), + conf).toLowerCase()}, lockData); } - public HiveLockObject(Partition par, HiveLockObjectData lockData) { + public HiveLockObject(Partition par, HiveLockObjectData lockData, Configuration conf) { this(new String[] {par.getTable().getDbName(), - FileUtils.escapePathName(par.getTable().getTableName()).toLowerCase(), par.getName()}, lockData); + FileUtils.escapePathName(par.getTable().getTableName(), par.getTable().getParameters(), conf).toLowerCase(), + par.getName()}, lockData); } public HiveLockObject(DummyPartition par, HiveLockObjectData lockData) { @@ -230,7 +233,7 @@ public static HiveLockObject createFrom(Hive hiveDB, String tableName, HiveLockObject obj = null; if (partSpec == null) { - obj = new HiveLockObject(tbl, null); + obj = new HiveLockObject(tbl, null, hiveDB.getConf()); } else { Partition par = hiveDB.getPartition(tbl, partSpec, false); @@ -238,7 +241,7 @@ public static HiveLockObject createFrom(Hive hiveDB, String tableName, throw new HiveException("Partition " + partSpec + " for table " + tableName + " does not exist"); } - obj = new HiveLockObject(par, null); + obj = new HiveLockObject(par, null, hiveDB.getConf()); } return obj; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManagerImpl.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManagerImpl.java index 9897795db9c7..261277487249 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManagerImpl.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManagerImpl.java @@ -105,7 +105,7 @@ public int lockTable(Hive db, LockTableDesc lockTbl) throws HiveException { conf); if (partSpec == null) { - HiveLock lck = lockMgr.lock(new HiveLockObject(tbl, lockData), mode, true); + HiveLock lck = lockMgr.lock(new HiveLockObject(tbl, lockData, conf), mode, true); if (lck == null) { return 1; } @@ -117,7 +117,7 @@ public int lockTable(Hive db, LockTableDesc lockTbl) throws HiveException { throw new HiveException("Partition " + partSpec + " for table " + tabName + " does not exist"); } - HiveLock lck = lockMgr.lock(new HiveLockObject(par, lockData), mode, true); + HiveLock lck = lockMgr.lock(new HiveLockObject(par, lockData, conf), mode, true); if (lck == null) { return 1; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java index bf8a6f8a5baa..fec26e65555e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java @@ -780,7 +780,7 @@ private static HiveLockObject getLockObject(HiveConf conf, String path, } if (names.length == 2) { - return new HiveLockObject(tab, data); + return new HiveLockObject(tab, data, conf); } Map partSpec = new HashMap(); @@ -800,7 +800,7 @@ private static HiveLockObject getLockObject(HiveConf conf, String path, return new HiveLockObject(new DummyPartition(tab, path, partSpec), data); } - return new HiveLockObject(partn, data); + return new HiveLockObject(partn, data, conf); } catch (Exception e) { LOG.error("Failed to create ZooKeeper object: " + e); throw new LockException(e); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/ListBucketingPruner.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/ListBucketingPruner.java index 076a9961c74c..242398e07ec1 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/ListBucketingPruner.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/ListBucketingPruner.java @@ -24,6 +24,7 @@ import java.util.Map; import java.util.Set; +import org.apache.hadoop.conf.Configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.hadoop.fs.Path; @@ -238,7 +239,7 @@ private static Path[] execute(ParseContext ctx, Partition part, ExprNodeDesc pru selectedPaths, indexCollection, uniqSkewValues); // Decide default directory selection. - decideDefaultDirSelection(part, selectedPaths, nonSkewedValueMatchResult); + decideDefaultDirSelection(part, selectedPaths, nonSkewedValueMatchResult, ctx.getConf()); // Finalize paths. finalPaths = generateFinalPath(part, selectedPaths); @@ -328,7 +329,7 @@ private static List decideSkewedValueDirSelection(Partition part, ExprN * @param nonSkewedValueMatchResult */ private static void decideDefaultDirSelection(Partition part, List selectedPaths, - List nonSkewedValueMatchResult) { + List nonSkewedValueMatchResult, Configuration conf) { boolean skipDefDir = true; for (Boolean v : nonSkewedValueMatchResult) { if ((v == null) || v) { @@ -343,7 +344,9 @@ private static void decideDefaultDirSelection(Partition part, List selecte builder .append((FileUtils.makeDefaultListBucketingDirName( part.getSkewedColNames(), - ListBucketingPrunerUtils.HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME))); + ListBucketingPrunerUtils.HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME, + part.getTable().getParameters(), + conf))); selectedPaths.add(new Path(builder.toString())); } } 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 2cb6fda18058..4be12670fc9e 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 @@ -8582,7 +8582,7 @@ private FileSinkDesc createFileSinkDesc(String dest, TableDesc table_desc, /* Set List Bucketing context. */ if (lbCtx != null) { lbCtx.processRowSkewedIndex(fsRS); - lbCtx.calculateSkewedValueSubDirList(); + lbCtx.calculateSkewedValueSubDirList(dest_tab.getParameters(), conf); } fileSinkDesc.setLbCtx(lbCtx); @@ -12272,8 +12272,9 @@ private void setupStats(TableScanDesc tsDesc, QBParseInfo qbp, Table tab, String // db_name.table_name + partitionSec // as the prefix for easy of read during explain and debugging. // Currently, partition spec can only be static partition. - String k = FileUtils.escapePathName(tblName).toLowerCase() + Path.SEPARATOR; - tsDesc.setStatsAggPrefix(FileUtils.escapePathName(tab.getDbName()).toLowerCase() + "." + k); + String k = FileUtils.escapePathName(tblName, tab.getParameters(), conf).toLowerCase() + Path.SEPARATOR; + tsDesc.setStatsAggPrefix(FileUtils.escapePathName(tab.getDbName(), tab.getParameters(), + conf).toLowerCase() + "." + k); // set up WriteEntity for replication and txn stats WriteEntity we = new WriteEntity(tab, WriteEntity.WriteType.DDL_SHARED); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/BucketMapJoinContext.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/BucketMapJoinContext.java index 4db866154382..8cf5846e4706 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/BucketMapJoinContext.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/BucketMapJoinContext.java @@ -27,6 +27,7 @@ import java.util.Map; import java.util.regex.Pattern; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.common.FileUtils; import org.apache.hadoop.hive.ql.exec.BucketMatcher; @@ -207,31 +208,32 @@ public String getMappingBigFile(String alias, String smallFile) { // returns fileId for SMBJoin, which consists part of result file name // needed to avoid file name conflict when big table is partitioned - public String createFileId(String inputPath) { + public String createFileId(String inputPath, Configuration conf) { String bucketNum = String.valueOf(bucketFileNameMapping.get(inputPath)); if (bigTablePartSpecToFileMapping != null) { // partSpecToFileMapping is null if big table is partitioned - return prependPartSpec(inputPath, bucketNum); + return prependPartSpec(inputPath, bucketNum, conf); } return bucketNum; } // returns name of hashfile made by HASHTABLESINK which is read by MAPJOIN - public String createFileName(String inputPath, String fileName) { + public String createFileName(String inputPath, String fileName, Configuration conf) { if (bigTablePartSpecToFileMapping != null) { // partSpecToFileMapping is null if big table is partitioned - return prependPartSpec(inputPath, fileName); + return prependPartSpec(inputPath, fileName, conf); } return fileName; } // prepends partition spec of input path to candidate file name - private String prependPartSpec(String inputPath, String fileName) { + private String prependPartSpec(String inputPath, String fileName, Configuration conf) { Map mapping = inputToPartSpecMapping == null ? inputToPartSpecMapping = revert(bigTablePartSpecToFileMapping) : inputToPartSpecMapping; String partSpec = mapping.get(URI.create(inputPath).getPath()); + // if partSpec is not null or not empty, tableParams and conf can be null return partSpec == null || partSpec.isEmpty() ? fileName : - "(" + FileUtils.escapePathName(partSpec) + ")" + fileName; + "(" + FileUtils.escapePathName(partSpec, null, conf) + ")" + fileName; } // revert partSpecToFileMapping to inputToPartSpecMapping diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/ListBucketingCtx.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/ListBucketingCtx.java index 86d4fefb7dc9..dee2cb7f54de 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/ListBucketingCtx.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/ListBucketingCtx.java @@ -22,6 +22,7 @@ import java.util.List; import java.util.Map; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.common.FileUtils; import org.apache.hadoop.hive.ql.exec.ColumnInfo; import org.apache.hadoop.hive.ql.exec.FileSinkOperator; @@ -127,15 +128,17 @@ public void processRowSkewedIndex(RowSchema rowSch) { * key=484/value=val_484 * HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME/HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME */ - public void calculateSkewedValueSubDirList() { + public void calculateSkewedValueSubDirList(Map tableParams, Configuration conf) { if (isSkewedStoredAsDir()) { for (List value : this.skewedColValues) { - skewedValuesDirNames.add(FileUtils.makeListBucketingDirName(this.skewedColNames, value)); + skewedValuesDirNames.add(FileUtils.makeListBucketingDirName(this.skewedColNames, value, tableParams, conf)); } // creat default dir skewedValuesDirNames.add(FileUtils.makeDefaultListBucketingDirName( this.skewedColNames, - ListBucketingPrunerUtils.HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME)); + ListBucketingPrunerUtils.HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME, + tableParams, + conf)); } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/MapredLocalWork.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/MapredLocalWork.java index 54fe66f45290..5ddcc4ca5465 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/MapredLocalWork.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/MapredLocalWork.java @@ -28,6 +28,7 @@ import java.util.Map; import java.util.Set; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.ql.exec.MapJoinOperator; import org.apache.hadoop.hive.ql.exec.Operator; @@ -173,13 +174,13 @@ public Path getTmpPath() { return tmpPath; } - public String getBucketFileName(String bigFileName) { + public String getBucketFileName(String bigFileName, Configuration conf) { if (!inputFileChangeSensitive || bigFileName == null || bigFileName.isEmpty()) { return "-"; } String fileName = getFileName(bigFileName); if (bucketMapjoinContext != null) { - fileName = bucketMapjoinContext.createFileName(bigFileName, fileName); + fileName = bucketMapjoinContext.createFileName(bigFileName, fileName, conf); } return fileName; } 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 085954a16760..7ff032e3703f 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 @@ -30,6 +30,7 @@ import java.util.concurrent.Future; import java.util.stream.Collectors; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.common.FileUtils; @@ -141,7 +142,7 @@ public BasicStatsProcessor(Partish partish, BasicStatsWork work, boolean followe } } - public Object process(StatsAggregator statsAggregator) throws HiveException, MetaException { + public Object process(StatsAggregator statsAggregator, Configuration conf) throws HiveException, MetaException { Partish p = partish; Map parameters = p.getPartParameters(); if (work.isTargetRewritten()) { @@ -186,7 +187,7 @@ public Object process(StatsAggregator statsAggregator) throws HiveException, Met // Update stats for transactional tables (MM, or full ACID with overwrite), even // though we are marking stats as not being accurate. if (StatsSetupConst.areBasicStatsUptoDate(parameters) || p.isTransactionalTable()) { - String prefix = getAggregationPrefix(p.getTable(), p.getPartition()); + String prefix = getAggregationPrefix(p.getTable(), p.getPartition(), conf); updateStats(statsAggregator, parameters, prefix); } } @@ -249,7 +250,7 @@ public void process(StatsAggregator statsAggregator) throws HiveException, MetaE } if (partish.isTransactionalTable()) { - String prefix = getAggregationPrefix(partish.getTable(), partish.getPartition()); + String prefix = getAggregationPrefix(partish.getTable(), partish.getPartition(), db.getConf()); long insertCount = toLong(statsAggregator.aggregateStats(prefix, INSERT_COUNT)); long updateCount = toLong(statsAggregator.aggregateStats(prefix, UPDATE_COUNT)); long deleteCount = toLong(statsAggregator.aggregateStats(prefix, DELETE_COUNT)); @@ -299,7 +300,7 @@ private int aggregateStats(Hive db, Table tbl) { BasicStatsProcessor basicStatsProcessor = new BasicStatsProcessor(p, work, followedColStats); basicStatsProcessor.collectFileStatus(wh, conf); - Table res = (Table) basicStatsProcessor.process(statsAggregator); + Table res = (Table) basicStatsProcessor.process(statsAggregator, conf); if (res == null) { return 0; } @@ -368,7 +369,7 @@ public Void call() throws Exception { } for (BasicStatsProcessor basicStatsProcessor : processors) { - Object res = basicStatsProcessor.process(statsAggregator); + Object res = basicStatsProcessor.process(statsAggregator, conf); if (res == null) { LOG.info("Partition " + basicStatsProcessor.partish.getPartition().getSpec() + " stats: [0]"); continue; @@ -527,16 +528,16 @@ public void setDpPartSpecs(Collection dpPartSpecs) { this.dpPartSpecs = dpPartSpecs; } - public static String getAggregationPrefix(Table table, Partition partition) throws MetaException { - String prefix = getAggregationPrefix0(table, partition); + public static String getAggregationPrefix(Table table, Partition partition, Configuration conf) throws MetaException { + String prefix = getAggregationPrefix0(table, partition, conf); return prefix.endsWith(Path.SEPARATOR) ? prefix : prefix + Path.SEPARATOR; } - private static String getAggregationPrefix0(Table table, Partition partition) throws MetaException { + private static String getAggregationPrefix0(Table table, Partition partition, Configuration conf) throws MetaException { // prefix is of the form dbName.tblName - String prefix = FileUtils.escapePathName(table.getDbName()).toLowerCase() + "." + - FileUtils.escapePathName(table.getTableName()).toLowerCase(); + String prefix = FileUtils.escapePathName(table.getDbName(), table.getParameters(), conf).toLowerCase() + "." + + FileUtils.escapePathName(table.getTableName(), table.getParameters(), conf).toLowerCase(); // FIXME: this is a secret contract; reusein getAggrKey() creates a more closer relation to the StatsGatherer // prefix = work.getAggKey(); if (partition != null) { diff --git a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java index 89b1b2a13ec6..7a30d433f672 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java @@ -1801,7 +1801,7 @@ private List getLocksWithFilterOptions(HiveTxnManager rqst.setTablename(tblName); if (partSpec != null) { String partName = FileUtils.makePartName( - new ArrayList<>(partSpec.keySet()), new ArrayList<>(partSpec.values())); + new ArrayList<>(partSpec.keySet()), new ArrayList<>(partSpec.values()), null, conf); rqst.setPartname(partName); } ShowLocksResponse rsp = ((DbLockManager)txnMgr.getLockManager()).getLocks(rqst); From 38d2917ed7cb47d2d504aaa8ae532dd653cbc10a Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Mon, 18 Aug 2025 19:59:26 +0530 Subject: [PATCH 07/12] Handle hardcoded __HIVE_DEFAULT_PARTTION__ in metastore-common/FileUtils --- .../listener/DbNotificationListener.java | 3 +- .../hive/hcatalog/api/HCatPartition.java | 3 +- .../hive/hcatalog/api/TestHCatClient.java | 7 ++- .../mr/hive/HiveIcebergStorageHandler.java | 6 +- .../apache/iceberg/mr/hive/HiveTableUtil.java | 3 +- .../hive/metastore/TestReplChangeManager.java | 6 +- .../TestReplicationScenariosAcidTables.java | 4 +- .../parse/TestStatsReplicationScenarios.java | 5 +- .../compactions/ShowCompactionsOperation.java | 7 ++- ...erTableUpdateColumnStatistictAnalyzer.java | 2 +- .../misc/truncate/TruncateTableAnalyzer.java | 2 +- .../add/AlterTableAddPartitionAnalyzer.java | 2 +- .../add/AlterTableAddPartitionOperation.java | 3 +- .../archive/AlterTableArchiveOperation.java | 10 ++-- .../archive/AlterTableArchiveUtils.java | 4 +- .../archive/AlterTableUnarchiveOperation.java | 4 +- .../hadoop/hive/ql/exec/ArchiveUtils.java | 15 ++--- .../apache/hadoop/hive/ql/exec/MoveTask.java | 3 +- .../apache/hadoop/hive/ql/exec/Utilities.java | 4 +- .../events/filesystem/FSTableEvent.java | 8 ++- .../bootstrap/load/table/LoadPartitions.java | 5 +- .../apache/hadoop/hive/ql/io/AcidUtils.java | 5 +- .../apache/hadoop/hive/ql/metadata/Hive.java | 14 +++-- .../hadoop/hive/ql/metadata/Partition.java | 8 ++- .../hive/ql/metadata/PartitionTree.java | 18 ++++-- .../metadata/SessionHiveMetaStoreClient.java | 37 +++++++----- .../hadoop/hive/ql/metadata/TempTable.java | 13 +++-- .../hive/ql/parse/ImportSemanticAnalyzer.java | 6 +- .../hive/ql/parse/SemanticAnalyzer.java | 7 +-- .../hive/ql/plan/DynamicPartitionCtx.java | 10 ++-- .../hadoop/hive/ql/stats/BasicStatsTask.java | 2 +- .../hive/ql/stats/ColStatsProcessor.java | 2 +- .../hive/ql/stats/StatsUpdaterThread.java | 5 +- .../ql/util/HiveStrictManagedMigration.java | 6 +- .../hive/ql/exec/TestFileSinkOperator.java | 4 +- .../hadoop/hive/metastore/CheckResult.java | 6 +- .../hadoop/hive/metastore/Warehouse.java | 56 ++++++++++--------- .../hive/metastore/utils/FileUtils.java | 21 ++++--- .../hive/metastore/utils/MetaStoreUtils.java | 5 +- .../hive/metastore/AcidEventListener.java | 6 +- .../hadoop/hive/metastore/HMSHandler.java | 43 ++++++++------ .../hive/metastore/HiveAlterHandler.java | 13 +++-- .../hive/metastore/HiveMetaStoreChecker.java | 4 +- .../hive/metastore/MetaStoreDirectSql.java | 20 ++++--- .../apache/hadoop/hive/metastore/Msck.java | 17 +++--- .../hadoop/hive/metastore/ObjectStore.java | 42 ++++++++------ .../hadoop/hive/metastore/RawStore.java | 2 +- .../hive/metastore/cache/CachedStore.java | 32 +++++++---- .../hive/metastore/events/ReloadEvent.java | 3 +- .../hive/metastore/parser/ExpressionTree.java | 17 +++--- .../metatool/MetaToolTaskListExtTblLocs.java | 2 +- .../hadoop/hive/metastore/txn/TxnUtils.java | 4 +- .../txn/jdbc/MultiDataSourceJdbcResource.java | 2 +- .../txn/jdbc/ParameterizedBatchCommand.java | 4 +- .../AddWriteIdsToMinHistoryCommand.java | 3 +- .../AddWriteIdsToTxnToWriteIdCommand.java | 4 +- .../InsertCompletedTxnComponentsCommand.java | 4 +- .../jdbc/commands/InsertHiveLocksCommand.java | 28 ++++++++-- .../commands/InsertTxnComponentsCommand.java | 28 +++++++--- .../functions/CleanupRecordsFunction.java | 3 +- .../metastore/utils/MetaStoreServerUtils.java | 4 +- .../hive/metastore/TestHiveMetaStore.java | 8 +-- .../hive/metastore/VerifyingObjectStore.java | 2 +- .../hive/metastore/cache/TestCachedStore.java | 17 +++--- .../client/TestExchangePartitions.java | 14 +++-- .../metastore/client/TestPartitionStat.java | 9 ++- .../hive/streaming/AbstractRecordWriter.java | 2 +- .../streaming/HiveStreamingConnection.java | 6 +- .../hive/streaming/TransactionBatch.java | 3 +- 69 files changed, 404 insertions(+), 273 deletions(-) diff --git a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java index 755f8bbb6d1e..9aadaf790dae 100644 --- a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java +++ b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java @@ -410,7 +410,8 @@ public PartitionFiles next() { fileIterator = Collections.emptyIterator(); } PartitionFiles partitionFiles = - new PartitionFiles(Warehouse.makePartName(t.getPartitionKeys(), p.getValues()), fileIterator); + new PartitionFiles(Warehouse.makePartName(t.getPartitionKeys(), p.getValues(), t.getParameters(), conf), + fileIterator); return partitionFiles; } catch (MetaException e) { throw new RuntimeException(e); diff --git a/hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatPartition.java b/hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatPartition.java index 796ebc59483b..ee2528fa5e59 100644 --- a/hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatPartition.java +++ b/hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatPartition.java @@ -138,7 +138,8 @@ Partition toHivePartition() throws HCatException { if (sd.getLocation() == null) { LOG.warn("Partition location is not set! Attempting to construct default partition location."); try { - String partName = Warehouse.makePartName(HCatSchemaUtils.getFieldSchemas(hcatTable.getPartCols()), values); + String partName = Warehouse.makePartName(HCatSchemaUtils.getFieldSchemas(hcatTable.getPartCols()), values, + hcatTable.getTblProps(), hcatTable.getConf()); sd.setLocation(new Path(hcatTable.getSd().getLocation(), partName).toString()); } catch(MetaException exception) { diff --git a/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java b/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java index 87cb09e3edcc..24d8660d4774 100644 --- a/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java +++ b/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java @@ -156,7 +156,12 @@ public static String fixPath(String path) { } public static String makePartLocation(HCatTable table, Map partitionSpec) throws MetaException { - return (new Path(table.getSd().getLocation(), Warehouse.makePartPath(partitionSpec))).toUri().toString(); + try { + return (new Path(table.getSd().getLocation(), Warehouse.makePartPath(partitionSpec, + table.toHiveTable().getParameters(), getConf()))).toUri().toString(); + } catch (HCatException e) { + throw new RuntimeException(e); + } } @Test diff --git a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java index 6e9ab57dd5e9..27f96a2b5d03 100644 --- a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java +++ b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java @@ -78,7 +78,6 @@ import org.apache.hadoop.hive.ql.ddl.table.create.CreateTableDesc; import org.apache.hadoop.hive.ql.ddl.table.create.like.CreateTableLikeDesc; import org.apache.hadoop.hive.ql.ddl.table.misc.properties.AlterTableSetPropertiesDesc; -import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.exec.ColumnInfo; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.hooks.WriteEntity; @@ -877,8 +876,7 @@ public DynamicPartitionCtx createDPContext( Table table = IcebergTableUtil.getTable(conf, tableDesc.getProperties()); DynamicPartitionCtx dpCtx = new DynamicPartitionCtx(Maps.newLinkedHashMap(), - PartitionUtils.getDefaultPartitionName(hmsTable.getParameters(), hiveConf), - hiveConf.getIntVar(ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE)); + hiveConf.getIntVar(ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE), hmsTable.getParameters(), hiveConf); if (table.spec().isPartitioned() && hiveConf.getIntVar(ConfVars.HIVE_OPT_SORT_DYNAMIC_PARTITION_THRESHOLD) >= 0) { @@ -2010,7 +2008,7 @@ public Partition getPartition(org.apache.hadoop.hive.ql.metadata.Table table, Map partitionSpec, RewritePolicy policy) throws SemanticException { validatePartSpec(table, partitionSpec, policy); try { - String partName = Warehouse.makePartName(partitionSpec, false); + String partName = Warehouse.makePartName(partitionSpec, false, table.getParameters(), conf); return new DummyPartition(table, partName, partitionSpec); } catch (MetaException e) { throw new SemanticException("Unable to construct name for dummy partition due to: ", e); diff --git a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveTableUtil.java b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveTableUtil.java index daf0d1e525ec..ded188e528ad 100644 --- a/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveTableUtil.java +++ b/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveTableUtil.java @@ -124,7 +124,8 @@ public static void importFiles(String sourceLocation, Partition partition = partitionIterator.next(); Callable task = () -> { Path partitionPath = new Path(partition.getSd().getLocation()); - String partitionName = Warehouse.makePartName(partitionKeys, partition.getValues()); + String partitionName = Warehouse.makePartName(partitionKeys, partition.getValues(), + icebergTable.properties(), conf); Map partitionSpec = Warehouse.makeSpecFromName(partitionName); RemoteIterator iterator = getFilesIterator(partitionPath, conf); List dataFiles = diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestReplChangeManager.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestReplChangeManager.java index 7cdc1bbfa9b8..ed76b215bd27 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestReplChangeManager.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestReplChangeManager.java @@ -197,15 +197,15 @@ public void testRecyclePartTable() throws Exception { Partition part3 = createPartition(dbName, tblName, columns, values, serdeInfo); client.add_partition(part3); - Path part1Path = new Path(warehouse.getDefaultPartitionPath(db, tbl, ImmutableMap.of("dt", "20160101")), "part"); + Path part1Path = new Path(warehouse.getDefaultPartitionPath(db, tbl, ImmutableMap.of("dt", "20160101"), hiveConf), "part"); createFile(part1Path, "p1"); String path1Chksum = ReplChangeManager.checksumFor(part1Path, fs); - Path part2Path = new Path(warehouse.getDefaultPartitionPath(db, tbl, ImmutableMap.of("dt", "20160102")), "part"); + Path part2Path = new Path(warehouse.getDefaultPartitionPath(db, tbl, ImmutableMap.of("dt", "20160102"), hiveConf), "part"); createFile(part2Path, "p2"); String path2Chksum = ReplChangeManager.checksumFor(part2Path, fs); - Path part3Path = new Path(warehouse.getDefaultPartitionPath(db, tbl, ImmutableMap.of("dt", "20160103")), "part"); + Path part3Path = new Path(warehouse.getDefaultPartitionPath(db, tbl, ImmutableMap.of("dt", "20160103"), hiveConf), "part"); createFile(part3Path, "p3"); String path3Chksum = ReplChangeManager.checksumFor(part3Path, fs); diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java index d59f00d4dc14..72b680eba792 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java @@ -4320,7 +4320,7 @@ public void testAcidTablesBootstrapWithMajorCompaction() throws Throwable { List partList = primary.getAllPartitions(primaryDbName, tableNamepart); for (Partition part : partList) { Table tbl = primary.getTable(primaryDbName, tableNamepart); - String partName = Warehouse.makePartName(tbl.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(tbl.getPartitionKeys(), part.getValues(), tbl.getParameters(), conf); runCompaction(primaryDbName, tableNamepart, partName, CompactionType.MAJOR); } @@ -4377,7 +4377,7 @@ public void testAcidTablesBootstrapWithMinorCompaction() throws Throwable { List partList = primary.getAllPartitions(primaryDbName, tableNamepart); for (Partition part : partList) { Table tbl = primary.getTable(primaryDbName, tableNamepart); - String partName = Warehouse.makePartName(tbl.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(tbl.getPartitionKeys(), part.getValues(), tbl.getParameters(), conf); runCompaction(primaryDbName, tableNamepart, partName, CompactionType.MINOR); } List withClause = Arrays.asList( diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestStatsReplicationScenarios.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestStatsReplicationScenarios.java index 45ec72ef9501..c7ae5fea9f3e 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestStatsReplicationScenarios.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestStatsReplicationScenarios.java @@ -191,14 +191,15 @@ private void verifyReplicatedStatsForPartitionsOfTable(String tableName) return; } - List partKeys = primary.getTable(primaryDbName, tableName).getPartitionKeys(); + Table table = primary.getTable(primaryDbName, tableName); + List partKeys = table.getPartitionKeys(); for (Partition pPart : pParts) { Partition rPart = replica.getPartition(replicatedDbName, tableName, pPart.getValues()); Map rParams = collectStatsParams(rPart.getParameters()); Map pParams = collectStatsParams(pPart.getParameters()); - String partName = Warehouse.makePartName(partKeys, pPart.getValues()); + String partName = Warehouse.makePartName(partKeys, pPart.getValues(), table.getParameters(), conf); Assert.assertEquals("Mismatch in stats parameters for partition " + partName + " of table " + tableName, pParams, rParams); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/process/show/compactions/ShowCompactionsOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/process/show/compactions/ShowCompactionsOperation.java index 3678946839d4..02a4d6001734 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/process/show/compactions/ShowCompactionsOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/process/show/compactions/ShowCompactionsOperation.java @@ -97,7 +97,12 @@ private ShowCompactRequest getShowCompactioRequest(ShowCompactionsDesc desc) thr request.setState(compactionStateStr2Enum(desc.getCompactionStatus()).getSqlConst()); } if (isNotEmpty(desc.getPartSpec())) { - request.setPartName(AcidUtils.getPartitionName(desc.getPartSpec())); + try { + request.setPartName(AcidUtils.getPartitionName(desc.getPartSpec(), context.getDb().getTable( + request.getDbName(), request.getTbName()).getParameters(), context.getConf())); + } catch (HiveException e) { + throw new RuntimeException(e); + } } if(desc.getCompactionId()>0){ request.setId(desc.getCompactionId()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/columnstats/AlterTableUpdateColumnStatistictAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/columnstats/AlterTableUpdateColumnStatistictAnalyzer.java index 4289f8314306..52c917bcd393 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/columnstats/AlterTableUpdateColumnStatistictAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/columnstats/AlterTableUpdateColumnStatistictAnalyzer.java @@ -51,7 +51,7 @@ protected void analyzeCommand(TableName tableName, Map partition String columnName = getUnescapedName((ASTNode) command.getChild(0)); Map properties = getProps((ASTNode) (command.getChild(1)).getChild(0)); - String partitionName = AcidUtils.getPartitionName(partitionSpec); + String partitionName = AcidUtils.getPartitionName(partitionSpec, table.getParameters(), conf); String columnType = getColumnType(table, columnName); ColumnStatsUpdateWork work = new ColumnStatsUpdateWork(partitionName, properties, table.getDbName(), diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableAnalyzer.java index 7b6181b0415c..9c4616ceba99 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/truncate/TruncateTableAnalyzer.java @@ -169,7 +169,7 @@ private void addTruncateTableOutputs(ASTNode root, Table table, Map addPartitionsWithRepl private String getPartitionName(Table table, Partition partition) throws HiveException { try { - return Warehouse.makePartName(table.getPartitionKeys(), partition.getValues()); + return Warehouse.makePartName(table.getPartitionKeys(), partition.getValues(), table.getParameters(), + context.getConf()); } catch (MetaException e) { throw new HiveException(e); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/archive/AlterTableArchiveOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/archive/AlterTableArchiveOperation.java index e218e590a24e..06749f5e3c80 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/archive/AlterTableArchiveOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/archive/AlterTableArchiveOperation.java @@ -132,12 +132,12 @@ private Path getOriginalDir(Table table, PartSpecInfo partitionSpecInfo, List partSpec) * @param tbl table in which partition is * @return expected location of partitions matching prefix in filesystem */ - public Path createPath(Table tbl) throws HiveException { + public Path createPath(Table tbl, Configuration conf) throws HiveException { String prefixSubdir; try { - prefixSubdir = Warehouse.makePartName(fields, values); + prefixSubdir = Warehouse.makePartName(fields, values, tbl.getParameters(), conf); } catch (MetaException e) { throw new HiveException("Unable to get partitions directories prefix", e); } @@ -113,9 +114,9 @@ public Path createPath(Table tbl) throws HiveException { /** * Generates name for prefix partial partition specification. */ - public String getName() throws HiveException { + public String getName(Map tableParams, Configuration conf) throws HiveException { try { - return Warehouse.makePartName(fields, values); + return Warehouse.makePartName(fields, values, tableParams, conf); } catch (MetaException e) { throw new HiveException("Unable to create partial name", e); } @@ -221,11 +222,11 @@ public static int getArchivingLevel(Partition p) throws HiveException { * @return prefix of partition's string representation * @throws HiveException */ - public static String getPartialName(Partition p, int level) throws HiveException { + public static String getPartialName(Partition p, int level, Configuration conf) throws HiveException { List fields = p.getTable().getPartCols().subList(0, level); List values = p.getValues().subList(0, level); try { - return Warehouse.makePartName(fields, values); + return Warehouse.makePartName(fields, values, p.getTable().getParameters(), conf); } catch (MetaException e) { throw new HiveException("Wasn't able to generate name" + " for partial specification"); @@ -297,7 +298,7 @@ public static String conflictingArchiveNameOrNull(Hive db, Table tbl, // it is not, which means no archiving at this or upper level return null; } - return getPartialName(p, getArchivingLevel(p)); + return getPartialName(p, getArchivingLevel(p), db.getConf()); } spec.remove(rk); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java index 31ea8e72f926..c8538ff4387a 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java @@ -686,7 +686,8 @@ private DataContainer handleDynParts(Hive db, Table table, LoadTableDesc tbd, dynamicPartitionSpecs = queryPlan.getDynamicPartitionSpecs(work.getLoadTableWork().getWriteId(), tbd.getMoveTaskId(), work.getLoadTableWork().getWriteType(), tbd.getSourcePath()); } - Map dps = Utilities.getFullDPSpecs(conf, dpCtx, dynamicPartitionSpecs); + Map dps = Utilities.getFullDPSpecs(conf, dpCtx, dynamicPartitionSpecs, + table.getParameters()); console.printInfo(System.getProperty("line.separator")); long startTime = Time.monotonicNow(); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java index e417e13f712d..89fb9c9cf899 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java @@ -2882,7 +2882,7 @@ public static final class PartitionDetails { * corresponding to these dynamic partitions. */ public static Map getFullDPSpecs(Configuration conf, DynamicPartitionCtx dpCtx, - Map> dynamicPartitionSpecs) throws HiveException { + Map> dynamicPartitionSpecs, Map tableParams) throws HiveException { try { Path loadPath = dpCtx.getRootPath(); @@ -2917,7 +2917,7 @@ public static Map getFullDPSpecs(Configuration conf, Dyn for (Map.Entry>> partEntry : allPartition.entrySet()) { Path partPath = partEntry.getKey(); Map fullPartSpec = Maps.newLinkedHashMap(partSpec); - String staticParts = Warehouse.makeDynamicPartName(partSpec); + String staticParts = Warehouse.makeDynamicPartName(partSpec, tableParams, conf); Path computedPath = partPath; if (!staticParts.isEmpty() ) { computedPath = new Path(new Path(partPath.getParent(), staticParts), partPath.getName()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java index a141aa2c5381..d1a05d195970 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java @@ -30,6 +30,7 @@ import org.apache.hadoop.hive.metastore.api.StorageDescriptor; import org.apache.hadoop.hive.ql.ddl.table.partition.add.AlterTableAddPartitionDesc; import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.TableEvent; +import org.apache.hadoop.hive.ql.metadata.Hive; import org.apache.hadoop.hive.ql.metadata.Table; import org.apache.hadoop.hive.ql.parse.EximUtil; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; @@ -137,7 +138,8 @@ public List partitions(ImportTableDesc tblDesc) List partitions = new ArrayList<>(); try { for (Partition partition : metadata.getPartitions()) { - String partName = Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues()); + String partName = Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues(), tblDesc.getTblProps(), + hiveConf); partitions.add(partName); } } catch (MetaException e) { @@ -158,7 +160,9 @@ private AlterTableAddPartitionDesc addPartitionDesc(Path fromPath, ImportTableDe * this is required for file listing of all files in a partition for managed table as described in * {@link org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.filesystem.BootstrapEventsIterator} */ - location = new Path(fromPath, Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues())).toString(); + location = new Path(fromPath, Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues(), + Hive.get(hiveConf).getTable(tblDesc.getDatabaseName(), tblDesc.getTableName()).getParameters(), hiveConf)). + toString(); } ColumnStatistics columnStatistics = null; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java index c3760aaeb976..c0fc4058d92c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java @@ -315,7 +315,8 @@ private boolean addTasksForPartition(Table table, AlterTableAddPartitionDesc add boolean copyAtLoad = context.hiveConf.getBoolVar(HiveConf.ConfVars.REPL_RUN_DATA_COPY_TASKS_ON_TARGET); Task copyTask = ReplCopyTask.getLoadCopyTask( event.replicationSpec(), - new Path(event.dataPath() + Path.SEPARATOR + Warehouse.makePartPath(partSpec.getPartSpec())), + new Path(event.dataPath() + Path.SEPARATOR + Warehouse.makePartPath(partSpec.getPartSpec(), + table.getParameters(), context.hiveConf)), replicaWarehousePartitionLocation, context.hiveConf, copyAtLoad, false, (new Path(context.dumpDirectory)).getParent().toString(), this.metricCollector @@ -337,7 +338,7 @@ private boolean addTasksForPartition(Table table, AlterTableAddPartitionDesc add private Path locationOnReplicaWarehouse(Table table, AlterTableAddPartitionDesc.PartitionDesc partSpec) throws MetaException, HiveException { - String child = Warehouse.makePartPath(partSpec.getPartSpec()); + String child = Warehouse.makePartPath(partSpec.getPartSpec(), table.getParameters(), context.hiveConf); if (tableDesc.isExternal()) { String externalLocation = ReplExternalTables.externalTableLocation(context.hiveConf, partSpec.getLocation()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java index dfaf138cc6e7..bba49fe71e8b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java @@ -3417,11 +3417,12 @@ AcidDirectory getDirInfo() { } } - public static String getPartitionName(Map partitionSpec) throws SemanticException { + public static String getPartitionName(Map partitionSpec, Map tableParams, + Configuration conf) throws SemanticException { String partitionName = null; if (partitionSpec != null) { try { - partitionName = Warehouse.makePartName(partitionSpec, false); + partitionName = Warehouse.makePartName(partitionSpec, false, tableParams, conf); } catch (MetaException e) { throw new SemanticException("partition " + partitionSpec.toString() + " not found"); } 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 36c54c0fc3d3..c522904bb568 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 @@ -2762,7 +2762,7 @@ private Partition loadPartitionInternal(Path loadPath, Table tbl, Map partitions, private static Path genPartPathFromTable(Table tbl, Map partSpec, - Path tblDataLocationPath) throws MetaException { - Path partPath = new Path(tbl.getDataLocation(), Warehouse.makePartPath(partSpec)); + Path tblDataLocationPath, HiveConf hiveConf) throws MetaException { + Path partPath = new Path(tbl.getDataLocation(), Warehouse.makePartPath(partSpec, tbl.getParameters(), + hiveConf)); return new Path(tblDataLocationPath.toUri().getScheme(), tblDataLocationPath.toUri().getAuthority(), partPath.toUri().getPath()); } @@ -3272,7 +3273,8 @@ public Map, Partition> loadDynamicPartitions(final LoadTable List partitionNames = new LinkedList<>(); for(PartitionDetails details : partitionDetailsMap.values()) { if (details.fullSpec != null && !details.fullSpec.isEmpty()) { - partitionNames.add(Warehouse.makeDynamicPartNameNoTrailingSeperator(details.fullSpec)); + partitionNames.add(Warehouse.makeDynamicPartNameNoTrailingSeperator(details.fullSpec, tbl.getParameters(), + conf)); } } List partitions = Hive.get().getPartitionsByNames(tbl, partitionNames); @@ -4688,7 +4690,7 @@ static List convertFromPartSpec(Iterator iterator, Tab if (tbl.getDataLocation() != null) { Path partPath = new Path(tbl.getDataLocation(), Warehouse.makePartName(tbl.getPartCols(), - partitionWithoutSD.getValues())); + partitionWithoutSD.getValues(), tbl.getParameters(), SessionState.getSessionConf())); partitionLocation = partPath.toString(); } } else { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java index 884aa2016279..4c21e006db66 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java @@ -172,7 +172,8 @@ protected void initialize(Table table, // set default if location is not set and this is a physical // table partition (not a view partition) if (table.getDataLocation() != null) { - Path partPath = new Path(table.getDataLocation(), Warehouse.makePartName(table.getPartCols(), tPartition.getValues())); + Path partPath = new Path(table.getDataLocation(), Warehouse.makePartName(table.getPartCols(), + tPartition.getValues(), table.getParameters(), SessionState.getSessionConf())); tPartition.getSd().setLocation(partPath.toString()); } } @@ -199,7 +200,8 @@ protected void initialize(Table table, public String getName() { try { - return Warehouse.makePartName(table.getPartCols(), tPartition.getValues()); + return Warehouse.makePartName(table.getPartCols(), tPartition.getValues(), table.getParameters(), + SessionState.getSessionConf()); } catch (MetaException e) { throw new RuntimeException(e); } @@ -451,7 +453,7 @@ public LinkedHashMap getSpec() { public String toString() { String pn = "Invalid Partition"; try { - pn = Warehouse.makePartName(getSpec(), false); + pn = Warehouse.makePartName(getSpec(), false, this.table.getParameters(), SessionState.getSessionConf()); } catch (MetaException e) { // ignore as we most probably in an exception path already otherwise this // error wouldn't occur diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionTree.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionTree.java index 7a34fde78364..cd41023a6794 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionTree.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionTree.java @@ -18,6 +18,7 @@ package org.apache.hadoop.hive.ql.metadata; import com.oracle.truffle.js.scriptengine.GraalJSScriptEngine; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; import org.apache.hadoop.hive.metastore.api.GetPartitionsFilterSpec; import org.apache.hadoop.hive.metastore.api.GetPartitionsRequest; @@ -29,6 +30,7 @@ import org.apache.hadoop.hive.metastore.api.PartitionFilterMode; import org.apache.hadoop.hive.metastore.api.PartitionListComposingSpec; import org.apache.hadoop.hive.metastore.api.PartitionSpec; +import org.apache.hadoop.hive.ql.session.SessionState; import org.graalvm.polyglot.Context; import javax.script.ScriptException; @@ -80,7 +82,8 @@ Partition getPartition(String partName) { * @throws MetaException partition values are incorrect. */ Partition getPartition(List partVals) throws MetaException { - String partName = makePartName(tTable.getPartitionKeys(), partVals); + String partName = makePartName(tTable.getPartitionKeys(), partVals, tTable.getParameters(), + SessionState.getSessionConf()); return getPartition(partName); } @@ -99,7 +102,8 @@ List addPartitions(List partitions, boolean ifNotExists) Map partNameToPartition = new HashMap<>(); // validate that the new partition values is not already added to the table for (Partition partition : partitions) { - String partName = makePartName(tTable.getPartitionKeys(), partition.getValues()); + String partName = makePartName(tTable.getPartitionKeys(), partition.getValues(), tTable.getParameters(), + SessionState.getSessionConf()); if (!ifNotExists && parts.containsKey(partName)) { throw new AlreadyExistsException("Partition " + partName + " already exists"); } @@ -122,11 +126,11 @@ List addPartitions(List partitions, boolean ifNotExists) * So if part cols are a,b,c, {"",2} is a valid list * {@link MetaStoreUtils#getPvals(List, Map)} */ - List getPartitionsByPartitionVals(List partialPartVals) throws MetaException { + List getPartitionsByPartitionVals(List partialPartVals, Configuration conf) throws MetaException { if (partialPartVals == null || partialPartVals.isEmpty()) { throw new MetaException("Partition partial vals cannot be null or empty"); } - String partNameMatcher = makePartNameMatcher(tTable, partialPartVals, ".*"); + String partNameMatcher = makePartNameMatcher(tTable, partialPartVals, ".*", conf); List matchedPartitions = new ArrayList<>(); for (Map.Entry entry : parts.entrySet()) { if (entry.getKey().matches(partNameMatcher)) { @@ -152,7 +156,8 @@ List listPartitions() { * @throws MetaException partition with the provided partition values cannot be found. */ Partition dropPartition(List partVals) throws MetaException, NoSuchObjectException { - String partName = makePartName(tTable.getPartitionKeys(), partVals); + String partName = makePartName(tTable.getPartitionKeys(), partVals, tTable.getParameters(), + SessionState.getSessionConf()); if (!parts.containsKey(partName)) { throw new NoSuchObjectException( "Partition with partition values " + Arrays.toString(partVals.toArray()) + " is not found."); @@ -197,7 +202,8 @@ void alterPartition(List oldPartitionVals, Partition newPartition, boole newPartition.getSd().setLocation(oldPartition.getSd().getLocation()); } dropPartition(oldPartitionVals); - String partName = makePartName(tTable.getPartitionKeys(), newPartition.getValues()); + String partName = makePartName(tTable.getPartitionKeys(), newPartition.getValues(), tTable.getParameters(), + SessionState.getSessionConf()); if (parts.containsKey(partName)) { throw new InvalidOperationException("Partition " + partName + " already exists"); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java index fe8dc1173bb9..e218a18b5d7c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java @@ -393,7 +393,7 @@ public List listPartitionsWithAuthInfo(String catName, String dbName, if (tmpTable != null) { TempTable tt = getPartitionedTempTable(tmpTable); List parts = - tt.listPartitionsByPartitionValsWithAuthInfo(partialPvals, userName, groupNames); + tt.listPartitionsByPartitionValsWithAuthInfo(partialPvals, userName, groupNames, conf); return getPartitionsForMaxParts(parts, maxParts); } } @@ -500,7 +500,8 @@ public List listPartitionNames(String catName, String dbName, String tab List result = new ArrayList<>(); int lastIndex = (maxParts < 0 || maxParts > partitions.size()) ? partitions.size() : maxParts; for (int i = 0; i < lastIndex; i++) { - result.add(makePartName(tmpTable.getPartitionKeys(), partitions.get(i).getValues())); + result.add(makePartName(tmpTable.getPartitionKeys(), partitions.get(i).getValues(), tmpTable.getParameters(), + conf)); } Collections.sort(result); return result; @@ -532,13 +533,14 @@ public GetPartitionNamesPsResponse listPartitionNamesRequest(GetPartitionNamesPs Table tmpTable = getTempTable(req.getDbName(), req.getTblName()); if (tmpTable != null) { TempTable tt = getPartitionedTempTable(tmpTable); - List partitions = tt.getPartitionsByPartitionVals(req.getPartValues()); + List partitions = tt.getPartitionsByPartitionVals(req.getPartValues(), conf); short maxParts = req.getMaxParts(); int lastIndex = (maxParts < 0 || maxParts > partitions.size()) ? partitions.size() : maxParts; List result = new ArrayList<>(); for (int i = 0; i < lastIndex; i++) { - result.add(makePartName(tmpTable.getPartitionKeys(), partitions.get(i).getValues())); + result.add(makePartName(tmpTable.getPartitionKeys(), partitions.get(i).getValues(),tmpTable.getParameters(), + conf)); } Collections.sort(result); GetPartitionNamesPsResponse response = new GetPartitionNamesPsResponse(); @@ -1403,11 +1405,12 @@ public List listPartitionNames(PartitionsByExprRequest req) throws TExce } List results = new ArrayList<>(); - Collections.sort(partitionList, new PartitionNamesComparator(table, req)); + Collections.sort(partitionList, new PartitionNamesComparator(table, req, conf)); short maxParts = req.getMaxParts(); int numPartitions = maxParts < 0 || maxParts > partitionList.size() ? partitionList.size() : maxParts; for(int i = 0; i < numPartitions; i++) { - results.add(Warehouse.makePartName(table.getPartitionKeys(), partitionList.get(i).getValues())); + results.add(Warehouse.makePartName(table.getPartitionKeys(), partitionList.get(i).getValues(), + table.getParameters(), conf)); } return results; } @@ -1418,9 +1421,11 @@ public List listPartitionNames(PartitionsByExprRequest req) throws TExce private static final class PartitionNamesComparator implements java.util.Comparator { private Table table; private PartitionsByExprRequest req; - PartitionNamesComparator(Table table, PartitionsByExprRequest req) { + private Configuration conf; + PartitionNamesComparator(Table table, PartitionsByExprRequest req, Configuration conf) { this.table = table; this.req = req; + this.conf = conf; } @Override public int compare(Partition o1, Partition o2) { @@ -1446,8 +1451,8 @@ public int compare(Partition o1, Partition o2) { } try { - return Warehouse.makePartName(table.getPartitionKeys(), o1.getValues()).compareTo( - Warehouse.makePartName(table.getPartitionKeys(), o2.getValues())); + return Warehouse.makePartName(table.getPartitionKeys(), o1.getValues(), table.getParameters(), conf).compareTo( + Warehouse.makePartName(table.getPartitionKeys(), o2.getValues(), table.getParameters(), conf)); } catch (MetaException e) { throw new RuntimeException(e); } @@ -1474,7 +1479,7 @@ public List listPartitions(String catName, String dbName, String tblN Table table = getTempTable(dbName, tblName); if (table != null) { TempTable tt = getPartitionedTempTable(table); - return getPartitionsForMaxParts(tt.getPartitionsByPartitionVals(partVals), maxParts); + return getPartitionsForMaxParts(tt.getPartitionsByPartitionVals(partVals, conf), maxParts); } } return delegate.listPartitions(catName, dbName, tblName, partVals, maxParts); @@ -1796,7 +1801,7 @@ public PartitionValuesResponse listPartitionValues(PartitionValuesRequest reques tt.listPartitions(); List partitionNames = new ArrayList<>(); for (Partition p : partitions) { - partitionNames.add(makePartName(table.getPartitionKeys(), p.getValues())); + partitionNames.add(makePartName(table.getPartitionKeys(), p.getValues(), table.getParameters(), conf)); } if (partitionNames.isEmpty() && partitions.isEmpty()) { throw new MetaException("Cannot obtain list of partition by filter:\"" + request.getFilter() + @@ -1872,7 +1877,7 @@ private String generateJDOFilter(Table table, ExpressionTree exprTree) ExpressionTree.FilterBuilder filterBuilder = new ExpressionTree.FilterBuilder(true); Map params = new HashMap<>(); exprTree.accept(new ExpressionTree.JDOFilterGenerator(conf, - table.getPartitionKeys(), filterBuilder, params)); + table.getPartitionKeys(), filterBuilder, params, table.getParameters())); StringBuilder stringBuilder = new StringBuilder(filterBuilder.getFilter()); params.entrySet().stream().forEach(e -> { int index = stringBuilder.indexOf(e.getKey()); @@ -1906,7 +1911,7 @@ private List exchangePartitions(Map partitionSpecs, Arrays.toString(partitionVals.toArray())); } List partitionsToExchange = sourceTempTable - .getPartitionsByPartitionVals(partitionVals); + .getPartitionsByPartitionVals(partitionVals, conf); if (partitionSpecs == null) { throw new MetaException("The partition specs must be not null."); } @@ -1922,7 +1927,8 @@ private List exchangePartitions(Map partitionSpecs, } // Check if any of the partitions already exists in the destTable for (Partition partition : partitionsToExchange) { - String partToExchangeName = makePartName(destTable.getPartitionKeys(), partition.getValues()); + String partToExchangeName = makePartName(destTable.getPartitionKeys(), partition.getValues(), + destTable.getParameters(), conf); if (destTempTable.getPartition(partToExchangeName) != null) { throw new MetaException( "The partition " + partToExchangeName + " already exists in the table " + destTable.getTableName()); @@ -2075,7 +2081,8 @@ private Path getPartitionLocation(Table table, Partition partition, // a physical table partition (not a view) if (table.getSd().getLocation() != null) { partLocation = - new Path(table.getSd().getLocation(), makePartName(table.getPartitionKeys(), partition.getValues())); + new Path(table.getSd().getLocation(), makePartName(table.getPartitionKeys(), partition.getValues(), + table.getParameters(), conf)); } } else { if (table.getSd().getLocation() == null) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/TempTable.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/TempTable.java index 145cca12e9c7..3479d1e73618 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/TempTable.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/TempTable.java @@ -17,6 +17,7 @@ */ package org.apache.hadoop.hive.ql.metadata; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.GetPartitionsRequest; @@ -26,6 +27,7 @@ import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; +import org.apache.hadoop.hive.ql.session.SessionState; import java.util.ArrayList; import java.util.Arrays; @@ -51,7 +53,8 @@ public TempTable(org.apache.hadoop.hive.metastore.api.Table t) { } public Partition addPartition(Partition p) throws AlreadyExistsException, MetaException { - String partName = makePartName(tTable.getPartitionKeys(), p.getValues()); + String partName = makePartName(tTable.getPartitionKeys(), p.getValues(), tTable.getParameters(), + SessionState.getSessionConf()); Partition partition = pTree.addPartition(p, partName, false); return partition == null ? pTree.getPartition(partName) : partition; } @@ -93,8 +96,8 @@ public List getPartitionsByNames(List partNames) throws MetaE return partitions; } - public List getPartitionsByPartitionVals(List partialPartVals) throws MetaException { - return pTree.getPartitionsByPartitionVals(partialPartVals); + public List getPartitionsByPartitionVals(List partialPartVals, Configuration conf) throws MetaException { + return pTree.getPartitionsByPartitionVals(partialPartVals, conf); } public Partition getPartitionWithAuthInfo(List partionVals, String userName, List groupNames) @@ -122,8 +125,8 @@ public List listPartitionsWithAuthInfo(String userName, List } public List listPartitionsByPartitionValsWithAuthInfo(List partialVals, String userName, - List groupNames) throws MetaException { - List partitions = pTree.getPartitionsByPartitionVals(partialVals); + List groupNames, Configuration conf) throws MetaException { + List partitions = pTree.getPartitionsByPartitionVals(partialVals, conf); List result = new ArrayList<>(); partitions.forEach(p -> { if (checkPrivilegesForPartition(p, userName, groupNames)) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java index 4d4956fbec13..c4a6aa7cb5a0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java @@ -402,7 +402,8 @@ private static AlterTableAddPartitionDesc getBaseAddPartitionDescFromPartition(P location = ReplExternalTables.externalTableLocation(conf, partition.getSd().getLocation()); LOG.debug("partition {} has data location: {}", partition, location); } else { - location = new Path(fromPath, Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues())).toString(); + location = new Path(fromPath, Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues(), + tblDesc.getTblProps(), conf)).toString(); } long writeId = -1; @@ -767,7 +768,8 @@ we use isExternal and not tableType() method since that always gives type as man return; } Path tableLocation = getTableDataLocation(wh, table, tblDesc, x); - Path tgtPath = new Path(tableLocation, Warehouse.makePartPath(partSpec.getPartSpec())); + Path tgtPath = new Path(tableLocation, Warehouse.makePartPath(partSpec.getPartSpec(), table.getParameters(), + x.getConf())); FileSystem tgtFs = FileSystem.get(tgtPath.toUri(), x.getConf()); checkTargetLocationEmpty(tgtFs, tgtPath, replicationSpec, x.getLOG()); partSpec.setLocation(tgtPath.toString()); 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 4be12670fc9e..a25b8a809a5d 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 @@ -7803,7 +7803,7 @@ protected Operator genFileSinkPlan(String dest, QB qb, Operator input) // but the underlying storage format knows about it. DummyPartition dummyPartition; try { - String partName = Warehouse.makePartName(partSpec, false); + String partName = Warehouse.makePartName(partSpec, false, destinationTable.getParameters(), conf); dummyPartition = new DummyPartition(destinationTable, partName, partSpec); } catch (MetaException e) { throw new SemanticException("Unable to construct name for dummy partition due to: ", e); @@ -8605,7 +8605,7 @@ private FileSinkDesc createFileSinkDesc(String dest, TableDesc table_desc, if (dest_part != null) { try { - String staticSpec = Warehouse.makePartPath(dest_part.getSpec()); + String staticSpec = Warehouse.makePartPath(dest_part.getSpec(), dest_tab.getParameters(), conf); fileSinkDesc.setStaticSpec(staticSpec); } catch (MetaException e) { throw new SemanticException(e); @@ -8785,8 +8785,7 @@ private DynamicPartitionCtx checkDynPart(QB qb, QBMetaData qbm, Table dest_tab, if (dpCtx == null) { dest_tab.validatePartColumnNames(partSpec, false); dpCtx = new DynamicPartitionCtx(partSpec, - PartitionUtils.getDefaultPartitionName(dest_tab.getParameters(), conf), - conf.getIntVar(HiveConf.ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE)); + conf.getIntVar(HiveConf.ConfVars.DYNAMIC_PARTITION_MAX_PARTS_PER_NODE), dest_tab.getParameters(), conf); qbm.setDPCtx(dest, dpCtx); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicPartitionCtx.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicPartitionCtx.java index a83f91f2f422..f7bec4834ad4 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicPartitionCtx.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicPartitionCtx.java @@ -27,9 +27,11 @@ import java.util.regex.Pattern; import org.apache.commons.collections.CollectionUtils; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; +import org.apache.hadoop.hive.ql.ddl.table.partition.PartitionUtils; import org.apache.hadoop.hive.ql.metadata.Hive; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.parse.SemanticException; @@ -101,14 +103,14 @@ public DynamicPartitionCtx(List partColNames, String defaultPartName, this.customSortNullOrder = new LinkedList<>(); } - public DynamicPartitionCtx(Map partSpec, String defaultPartName, - int maxParts) throws SemanticException { + public DynamicPartitionCtx(Map partSpec, + int maxParts, Map tableParams, Configuration conf) throws SemanticException { this.partSpec = partSpec; this.spNames = new ArrayList<>(); this.dpNames = new ArrayList<>(); this.numBuckets = 0; this.maxPartsPerNode = maxParts; - this.defaultPartName = defaultPartName; + this.defaultPartName = PartitionUtils.getDefaultPartitionName(tableParams, conf); for (Map.Entry me: partSpec.entrySet()) { if (me.getValue() == null) { @@ -120,7 +122,7 @@ public DynamicPartitionCtx(Map partSpec, String defaultPartName, this.numDPCols = dpNames.size(); this.numSPCols = spNames.size(); if (this.numSPCols > 0) { - this.spPath = Warehouse.makeDynamicPartName(partSpec); + this.spPath = Warehouse.makeDynamicPartName(partSpec, tableParams, conf); } else { this.spPath = null; } 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 7ff032e3703f..62211831af27 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 @@ -541,7 +541,7 @@ private static String getAggregationPrefix0(Table table, Partition partition, Co // 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 Utilities.join(prefix, Warehouse.makePartPath(partition.getSpec(), table.getParameters(), conf)); } return prefix; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java b/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java index c32e727e599c..03731c6d29c4 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java @@ -166,7 +166,7 @@ private boolean constructColumnStatsFromPackedRows(Table tbl, List findPartitionsToAnalyze(TableName fullTableName, String cat } int currentIxInBatch = nextIxInBatch++; Partition part = currentBatch.get(currentIxInBatch); - String partName = Warehouse.makePartName(t.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(t.getPartitionKeys(), part.getValues(), t.getParameters(), conf); LOG.debug("Processing partition ({} in batch), {}", currentIxInBatch, partName); // Skip the partitions in progress, and the ones for which stats update is disabled. @@ -438,7 +438,8 @@ private void addPreviousPartitions(Table t, List allPartNames, } // Current match may be out of order w.r.t. the global name list, so add specific parts. for (int i = 0; i < currentIxInBatch; ++i) { - String name = Warehouse.makePartName(t.getPartitionKeys(), currentBatch.get(i).getValues()); + String name = Warehouse.makePartName(t.getPartitionKeys(), currentBatch.get(i).getValues(), t.getParameters(), + conf); LOG.trace("Adding previous {}, {}", name, cols); partsToAnalyze.put(name, cols); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/util/HiveStrictManagedMigration.java b/ql/src/java/org/apache/hadoop/hive/ql/util/HiveStrictManagedMigration.java index ede6fc791344..51577734fa5b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/util/HiveStrictManagedMigration.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/util/HiveStrictManagedMigration.java @@ -955,8 +955,8 @@ boolean shouldModifyPartitionLocation(Database dbObj, Table tableObj, Partition Map partSpec) throws IOException, MetaException { String partLocation = partObj.getSd().getLocation(); Path oldDefaultPartLocation = runOptions.shouldMoveExternal ? - oldWh.get().getPartitionPath(dbObj, tableObj, partSpec.values().stream().collect(toList())): - oldWh.get().getDefaultPartitionPath(dbObj, tableObj, partSpec); + oldWh.get().getPartitionPath(dbObj, tableObj, partSpec.values().stream().collect(toList()), conf): + oldWh.get().getDefaultPartitionPath(dbObj, tableObj, partSpec, conf); if (arePathsEqual(conf, partLocation, oldDefaultPartLocation.toString())) { // No need to check encryption zone and EC policy. Data was moved already along with the whole table. return true; @@ -1042,7 +1042,7 @@ void moveTableData(Database dbObj, Table tableObj, Path newTablePath) throws Hiv // Table directory (which includes the partition directory) has already been moved, // just update the partition location in the metastore. if (!runOptions.dryRun) { - Path newPartPath = wh.get().getPartitionPath(newTablePath, partSpec); + Path newPartPath = wh.get().getPartitionPath(newTablePath, partSpec, tableObj.getParameters(), conf); hiveUpdater.get().updatePartitionLocation(dbName, tableObj, partName, partObj, newPartPath); } } diff --git a/ql/src/test/org/apache/hadoop/hive/ql/exec/TestFileSinkOperator.java b/ql/src/test/org/apache/hadoop/hive/ql/exec/TestFileSinkOperator.java index b25f19bb3498..86881585b46e 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/exec/TestFileSinkOperator.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/exec/TestFileSinkOperator.java @@ -401,7 +401,9 @@ private FileSinkOperator getFileSink(AcidUtils.Operation writeType, partCols.add(new ExprNodeColumnDesc(TypeInfoFactory.stringTypeInfo, PARTCOL_NAME, "a", true)); Map partColMap= new LinkedHashMap(1); partColMap.put(PARTCOL_NAME, null); - DynamicPartitionCtx dpCtx = new DynamicPartitionCtx(partColMap, "Sunday", 100); + HiveConf conf = new HiveConf(); + conf.set(HiveConf.ConfVars.DEFAULT_PARTITION_NAME.varname, "Sunday"); + DynamicPartitionCtx dpCtx = new DynamicPartitionCtx(partColMap, 100, null, conf); //todo: does this need the finalDestination? desc = new FileSinkDesc(basePath, tableDesc, false, 1, false, false, 1, 1, partCols, dpCtx, null, false, false, false, false, false, writeType, false); diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/CheckResult.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/CheckResult.java index 9807138c1172..7c0b64002394 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/CheckResult.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/CheckResult.java @@ -17,6 +17,7 @@ */ package org.apache.hadoop.hive.metastore; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.metastore.api.MetaException; @@ -176,9 +177,10 @@ public void setPath(Path path) { this.path = path; } - public Path getLocation(Path tablePath, Map partSpec) throws MetaException { + public Path getLocation(Path tablePath, Map partSpec, Map tableParams, + Configuration conf) throws MetaException { if (this.path == null) { - return new Path(tablePath, Warehouse.makePartPath(partSpec)); + return new Path(tablePath, Warehouse.makePartPath(partSpec, tableParams, conf)); } return this.path; diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java index bbb15191cc52..de4827b6ec1e 100755 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java @@ -531,8 +531,8 @@ public boolean isWritable(Path path) throws IOException { } } - public static String escapePathName(String path) { - return FileUtils.escapePathName(path); + public static String escapePathName(String path, Map tableParams, Configuration conf) { + return FileUtils.escapePathName(path, tableParams, conf); } private static String unescapePathName(String path) { @@ -546,9 +546,9 @@ private static String unescapePathName(String path) { * @return string representation of the partition specification. * @throws MetaException */ - public static String makePartPath(Map spec) - throws MetaException { - return makePartName(spec, true); + public static String makePartPath(Map spec, Map tableParams, Configuration conf) + throws MetaException { + return makePartName(spec, true, tableParams, conf); } /** @@ -559,8 +559,8 @@ public static String makePartPath(Map spec) * @return partition name * @throws MetaException */ - public static String makePartNameUtil(Map spec, boolean addTrailingSeperator, boolean dynamic) - throws MetaException { + public static String makePartNameUtil(Map spec, boolean addTrailingSeperator, boolean dynamic, + Map tableParams, Configuration conf) throws MetaException { StringBuilder suffixBuf = new StringBuilder(); int i = 0; for (Entry e : spec.entrySet()) { @@ -577,9 +577,9 @@ public static String makePartNameUtil(Map spec, boolean addTrail if (i > 0) { suffixBuf.append(Path.SEPARATOR); } - suffixBuf.append(escapePathName(e.getKey())); + suffixBuf.append(escapePathName(e.getKey(), tableParams, conf)); suffixBuf.append('='); - suffixBuf.append(escapePathName(e.getValue())); + suffixBuf.append(escapePathName(e.getValue(), tableParams, conf)); i++; } @@ -598,9 +598,9 @@ public static String makePartNameUtil(Map spec, boolean addTrail * @throws MetaException */ public static String makePartName(Map spec, - boolean addTrailingSeperator) + boolean addTrailingSeperator, Map tableParams, Configuration conf) throws MetaException { - return makePartNameUtil(spec, addTrailingSeperator, false); + return makePartNameUtil(spec, addTrailingSeperator, false, tableParams, conf); } /** @@ -610,10 +610,11 @@ public static String makePartName(Map spec, * @param spec * @return string representation of the static part of the partition specification. */ - public static String makeDynamicPartName(Map spec) { + public static String makeDynamicPartName(Map spec, Map tableParams, + Configuration conf) { String partName = null; try { - partName = makePartNameUtil(spec, true, true); + partName = makePartNameUtil(spec, true, true, tableParams, conf); } catch (MetaException e) { // This exception is not thrown when dynamic=true. This is a Noop and @@ -631,10 +632,11 @@ public static String makeDynamicPartName(Map spec) { * @param spec * @return string representation of the static part of the partition specification. */ - public static String makeDynamicPartNameNoTrailingSeperator(Map spec) { + public static String makeDynamicPartNameNoTrailingSeperator(Map spec, Map tableParams, + Configuration conf) { String partName = null; try { - partName = makePartNameUtil(spec, false, true); + partName = makePartNameUtil(spec, false, true, tableParams, conf); } catch (MetaException e) { // This exception is not thrown when dynamic=true. This is a Noop and @@ -760,8 +762,8 @@ public static Map makeEscSpecFromName(String name) throws MetaEx * @throws MetaException */ public Path getDefaultPartitionPath(Database db, Table table, - Map pm) throws MetaException { - return getPartitionPath(getDefaultTablePath(db, table), pm); + Map pm, Configuration conf) throws MetaException { + return getPartitionPath(getDefaultTablePath(db, table), pm, table.getParameters(), conf); } /** @@ -772,9 +774,9 @@ public Path getDefaultPartitionPath(Database db, Table table, * @return * @throws MetaException */ - public Path getPartitionPath(Path tblPath, Map pm) - throws MetaException { - return new Path(tblPath, makePartPath(pm)); + public Path getPartitionPath(Path tblPath, Map pm, Map tableParams, + Configuration conf) throws MetaException { + return new Path(tblPath, makePartPath(pm, tableParams, conf)); } /** @@ -789,7 +791,7 @@ public Path getPartitionPath(Path tblPath, Map pm) * @return Path corresponding to the partition key-value pairs * @throws MetaException */ - public Path getPartitionPath(Database db, Table table, List vals) + public Path getPartitionPath(Database db, Table table, List vals, Configuration conf) throws MetaException { List partKeys = table.getPartitionKeys(); if (partKeys == null || (partKeys.size() != vals.size())) { @@ -803,9 +805,9 @@ public Path getPartitionPath(Database db, Table table, List vals) } if (table.getSd().getLocation() != null) { - return getPartitionPath(getDnsPath(new Path(table.getSd().getLocation())), pm); + return getPartitionPath(getDnsPath(new Path(table.getSd().getLocation())), pm, table.getParameters(), conf); } else { - return getDefaultPartitionPath(db, table, pm); + return getDefaultPartitionPath(db, table, pm, conf); } } @@ -826,8 +828,8 @@ public boolean isDir(Path f) throws MetaException { } public static String makePartName(List partCols, - List vals) throws MetaException { - return makePartName(partCols, vals, null); + List vals, Map tableParams, Configuration conf) throws MetaException { + return makePartName(partCols, vals, null, tableParams, conf); } /** @@ -885,7 +887,7 @@ public List getFileStatusesForUnpartitionedTable(Database db, Table * @throws MetaException */ public static String makePartName(List partCols, - List vals, String defaultStr) throws MetaException { + List vals, String defaultStr, Map tableParams, Configuration conf) throws MetaException { if ((partCols.size() != vals.size()) || (partCols.size() == 0)) { StringBuilder errorStrBuilder = new StringBuilder("Invalid partition key & values; keys ["); for (FieldSchema fs : partCols) { @@ -901,7 +903,7 @@ public static String makePartName(List partCols, for (FieldSchema col: partCols) { colNames.add(col.getName()); } - return FileUtils.makePartName(colNames, vals, defaultStr); + return FileUtils.makePartName(colNames, vals, defaultStr, tableParams, conf); } public static List getPartValuesFromPartName(String partName) diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FileUtils.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FileUtils.java index 795528f2ec43..e2224ac51d2c 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FileUtils.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FileUtils.java @@ -23,6 +23,7 @@ import java.util.BitSet; import java.util.Collections; import java.util.List; +import java.util.Map; import java.util.NoSuchElementException; import org.apache.hadoop.conf.Configuration; @@ -288,8 +289,8 @@ private static boolean needsEscaping(char c) { return c < charToEscape.size() && charToEscape.get(c); } - public static String escapePathName(String path) { - return escapePathName(path, null); + public static String escapePathName(String path, Map tableParams, Configuration conf) { + return escapePathName(path, null, tableParams, conf); } /** @@ -299,7 +300,8 @@ public static String escapePathName(String path) { * The default name for the path, if the given path is empty or null. * @return An escaped path name. */ - public static String escapePathName(String path, String defaultPath) { + public static String escapePathName(String path, String defaultPath, Map tableParams, + Configuration conf) { // __HIVE_DEFAULT_NULL__ is the system default value for null and empty string. // TODO: we should allow user to specify default partition or HDFS file location. @@ -307,7 +309,7 @@ public static String escapePathName(String path, String defaultPath) { if (defaultPath == null) { //previously, when path is empty or null and no default path is specified, // __HIVE_DEFAULT_PARTITION__ was the return value for escapePathName - return "__HIVE_DEFAULT_PARTITION__"; + return MetaStoreUtils.getDefaultPartitionName(tableParams, conf); } else { return defaultPath; } @@ -435,8 +437,9 @@ public static boolean isS3a(FileSystem fs) { } } - public static String makePartName(List partCols, List vals) { - return makePartName(partCols, vals, null); + public static String makePartName(List partCols, List vals, Map tableParams, + Configuration conf) { + return makePartName(partCols, vals, null, tableParams, conf); } /** @@ -448,15 +451,15 @@ public static String makePartName(List partCols, List vals) { * @return An escaped, valid partition name. */ public static String makePartName(List partCols, List vals, - String defaultStr) { + String defaultStr, Map tableParams, Configuration conf) { StringBuilder name = new StringBuilder(); for (int i = 0; i < partCols.size(); i++) { if (i > 0) { name.append(Path.SEPARATOR); } - name.append(escapePathName((partCols.get(i)).toLowerCase(), defaultStr)); + name.append(escapePathName((partCols.get(i)).toLowerCase(), defaultStr, tableParams, conf)); name.append('='); - name.append(escapePathName(vals.get(i), defaultStr)); + name.append(escapePathName(vals.get(i), defaultStr, tableParams, conf)); } return name.toString(); } diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java index 665baf8fcc82..8b28cc774077 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java @@ -483,7 +483,8 @@ public static boolean arePartValsEmpty(List partVals) { return true; } - public static String makePartNameMatcher(Table table, List partVals, String defaultStr) throws MetaException { + public static String makePartNameMatcher(Table table, List partVals, String defaultStr, + Configuration conf) throws MetaException { List partCols = table.getPartitionKeys(); int numPartKeys = partCols.size(); if (partVals.size() > numPartKeys) { @@ -496,7 +497,7 @@ public static String makePartNameMatcher(Table table, List partVals, Str // or a regex of the form ".*" // This works because the "=" and "/" separating key names and partition key/values // are not escaped. - String partNameMatcher = Warehouse.makePartName(partCols, partVals, defaultStr); + String partNameMatcher = Warehouse.makePartName(partCols, partVals, defaultStr, table.getParameters(), conf); // add ".*" to the regex to match anything else afterwards the partial spec. if (partVals.size() < numPartKeys) { partNameMatcher += defaultStr; diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AcidEventListener.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AcidEventListener.java index 48a264217b49..727b6ca927a9 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AcidEventListener.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AcidEventListener.java @@ -126,7 +126,7 @@ public void onDropPartition(DropPartitionEvent partitionEvent) throws MetaExcep List partCols = partitionEvent.getTable().getPartitionKeys(); // partition columns List partVals = p.getValues(); - rqst.setPartitionname(Warehouse.makePartName(partCols, partVals)); + rqst.setPartitionname(Warehouse.makePartName(partCols, partVals, table.getParameters(), conf)); rqst.putToProperties("location", p.getSd().getLocation()); txnHandler.submitForCleanup(rqst, writeId, currentTxn); @@ -163,8 +163,8 @@ public void onAlterPartition(AlterPartitionEvent partitionEvent) throws MetaExc Partition oldPart = partitionEvent.getOldPartition(); Partition newPart = partitionEvent.getNewPartition(); Table t = partitionEvent.getTable(); - String oldPartName = Warehouse.makePartName(t.getPartitionKeys(), oldPart.getValues()); - String newPartName = Warehouse.makePartName(t.getPartitionKeys(), newPart.getValues()); + String oldPartName = Warehouse.makePartName(t.getPartitionKeys(), oldPart.getValues(), t.getParameters(), conf); + String newPartName = Warehouse.makePartName(t.getPartitionKeys(), newPart.getValues(), t.getParameters(), conf); if (!oldPartName.equals(newPartName)) { txnHandler = getTxnHandler(); txnHandler.onRename(t.getCatName(), t.getDbName(), t.getTableName(), oldPartName, diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java index 086766de41bb..10573c4bc467 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java @@ -4065,7 +4065,7 @@ private Partition append_partition_common(RawStore ms, String catName, String db part.setSd(tbl.getSd().deepCopy()); partLocation = new Path(tbl.getSd().getLocation(), Warehouse - .makePartName(tbl.getPartitionKeys(), part_vals)); + .makePartName(tbl.getPartitionKeys(), part_vals, tbl.getParameters(), conf)); part.getSd().setLocation(partLocation.toString()); Partition old_part; @@ -4324,7 +4324,7 @@ private List add_partitions_core(final RawStore ms, // folders are submitted. This way we can be sure that no partition and no partition // folder will be created if the list contains an invalid partition. validatePartition(part, catName, tblName, dbName, partsToAdd); - nameToPart.put(Warehouse.makePartName(partitionKeys, part.getValues()), part); + nameToPart.put(Warehouse.makePartName(partitionKeys, part.getValues(), tbl.getParameters(), conf), part); } List existedParts = @@ -4332,7 +4332,7 @@ private List add_partitions_core(final RawStore ms, new GetPartitionsArgs.GetPartitionsArgsBuilder().partNames(new ArrayList<>(nameToPart.keySet())).build()); List existedPartNames = new ArrayList<>(); for (Partition part : existedParts) { - String partName = Warehouse.makePartName(partitionKeys, part.getValues()); + String partName = Warehouse.makePartName(partitionKeys, part.getValues(), tbl.getParameters(), conf); existedPartNames.add(partName); existingParts.add(nameToPart.remove(partName)); } @@ -4730,7 +4730,7 @@ private boolean createLocationForAddedPartition( // a physical table partition (not a view) if (tbl.getSd().getLocation() != null) { partLocation = new Path(tbl.getSd().getLocation(), Warehouse - .makePartName(tbl.getPartitionKeys(), part.getValues())); + .makePartName(tbl.getPartitionKeys(), part.getValues(), tbl.getParameters(), conf)); } } else { if (tbl.getSd().getLocation() == null) { @@ -4930,9 +4930,9 @@ public List exchange_partitions(Map partitionSpecs, " Their partitions cannot be exchanged."); } Path sourcePath = new Path(sourceTable.getSd().getLocation(), - Warehouse.makePartName(partitionKeysPresent, partValsPresent)); + Warehouse.makePartName(partitionKeysPresent, partValsPresent, sourceTable.getParameters(), conf)); Path destPath = new Path(destinationTable.getSd().getLocation(), - Warehouse.makePartName(partitionKeysPresent, partValsPresent)); + Warehouse.makePartName(partitionKeysPresent, partValsPresent, destinationTable.getParameters(), conf)); List destPartitions = new ArrayList<>(); Map transactionalListenerResponsesForAddPartition = Collections.emptyMap(); @@ -4945,7 +4945,8 @@ public List exchange_partitions(Map partitionSpecs, if (destPartitionNames != null && !destPartitionNames.isEmpty()) { for (Partition partition : partitionsToExchange) { String partToExchangeName = - Warehouse.makePartName(destinationTable.getPartitionKeys(), partition.getValues()); + Warehouse.makePartName(destinationTable.getPartitionKeys(), partition.getValues(), + destinationTable.getParameters(), conf); if (destPartitionNames.contains(partToExchangeName)) { throw new MetaException("The partition " + partToExchangeName + " already exists in the table " + destTableName); @@ -4966,12 +4967,14 @@ public List exchange_partitions(Map partitionSpecs, destPartition.setDbName(parsedDestDbName[DB_NAME]); destPartition.setTableName(destinationTable.getTableName()); Path destPartitionPath = new Path(destinationTable.getSd().getLocation(), - Warehouse.makePartName(destinationTable.getPartitionKeys(), partition.getValues())); + Warehouse.makePartName(destinationTable.getPartitionKeys(), partition.getValues(), + destinationTable.getParameters(), conf)); destPartition.getSd().setLocation(destPartitionPath.toString()); ms.addPartition(destPartition); destPartitions.add(destPartition); ms.dropPartition(parsedSourceDbName[CAT_NAME], partition.getDbName(), sourceTable.getTableName(), - Warehouse.makePartName(sourceTable.getPartitionKeys(), partition.getValues())); + Warehouse.makePartName(sourceTable.getPartitionKeys(), partition.getValues(), sourceTable.getParameters(), + conf)); } Path destParentPath = destPath.getParent(); if (!wh.isDir(destParentPath)) { @@ -5097,7 +5100,7 @@ private boolean drop_partition_common(RawStore ms, String catName, String db_nam } } - String partName = Warehouse.makePartName(tbl.getPartitionKeys(), part_vals); + String partName = Warehouse.makePartName(tbl.getPartitionKeys(), part_vals, tbl.getParameters(), conf); ms.dropPartition(catName, db_name, tbl_name, partName); if (!transactionalListeners.isEmpty()) { @@ -5332,7 +5335,7 @@ public DropPartitionsResult drop_partitions_req( firePreEvent(new PreDropPartitionEvent(tbl, part, deleteData, this)); if (colNames != null) { - partNames.add(FileUtils.makePartName(colNames, part.getValues())); + partNames.add(FileUtils.makePartName(colNames, part.getValues(), tbl.getParameters(), conf)); } if (tableDataShouldBeDeleted) { if (MetaStoreUtils.isArchived(part)) { @@ -7733,7 +7736,8 @@ private List get_partitions_by_names(final String dbName, final Strin // Since each partition may have stats collected for different set of columns, we // request them separately. for (Partition part: ret) { - String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues(), table.getParameters(), + conf); List partColStatsList = getMS().getPartitionColumnStatistics(parsedCatName, parsedDbName, tblName, Collections.singletonList(partName), @@ -7850,7 +7854,7 @@ private String getPartName(HiveObjectRef hiveObject) throws MetaException { Table table = get_table_core(catName, hiveObject.getDbName(), hiveObject .getObjectName()); partName = Warehouse - .makePartName(table.getPartitionKeys(), partValue); + .makePartName(table.getPartitionKeys(), partValue, table.getParameters(), conf); } catch (NoSuchObjectException e) { throw new MetaException(e.getMessage()); } @@ -8286,7 +8290,7 @@ private List list_partition_column_privileges( return getMS().listPrincipalPartitionColumnGrantsAll(principalName, principalType); } Table tbl = get_table_core(catName, dbName, tableName); - String partName = Warehouse.makePartName(tbl.getPartitionKeys(), partValues); + String partName = Warehouse.makePartName(tbl.getPartitionKeys(), partValues, tbl.getParameters(), conf); if (principalName == null) { return getMS().listPartitionColumnGrantsAll(catName, dbName, tableName, partName, columnName); } @@ -8345,7 +8349,7 @@ private List list_partition_privileges( return getMS().listPrincipalPartitionGrantsAll(principalName, principalType); } Table tbl = get_table_core(catName, dbName, tableName); - String partName = Warehouse.makePartName(tbl.getPartitionKeys(), partValues); + String partName = Warehouse.makePartName(tbl.getPartitionKeys(), partValues, tbl.getParameters(), conf); if (principalName == null) { return getMS().listPartitionGrantsAll(catName, dbName, tableName, partName); } @@ -9199,7 +9203,8 @@ private void addTxnWriteNotificationLog(Table tableObj, Partition ptnObj, WriteN throws MetaException { String partition = ""; //Empty string is an invalid partition name. Can be used for non partitioned table. if (ptnObj != null) { - partition = Warehouse.makePartName(tableObj.getPartitionKeys(), rqst.getPartitionVals()); + partition = Warehouse.makePartName(tableObj.getPartitionKeys(), rqst.getPartitionVals(), + tableObj.getParameters(), conf); } AcidWriteEvent event = new AcidWriteEvent(partition, tableObj, ptnObj, rqst); getTxnHandler().addWriteNotificationLog(event); @@ -9250,7 +9255,8 @@ public WriteNotificationLogBatchResponse add_write_notification_log_in_batch( if (tableObj.getPartitionKeys().size() != 0) { // partitioned table for (WriteNotificationLogRequest rqst : batchRequest.getRequestList()) { - String partition = Warehouse.makePartName(tableObj.getPartitionKeys(), rqst.getPartitionVals()); + String partition = Warehouse.makePartName(tableObj.getPartitionKeys(), rqst.getPartitionVals(), + tableObj.getParameters(), conf); partNameList.add(partition); // This is used to ignore those request for which the partition does not exists. rqstMap.put(partition, rqst); @@ -9269,7 +9275,8 @@ public WriteNotificationLogBatchResponse add_write_notification_log_in_batch( String partition = ""; //Empty string is an invalid partition name. Can be used for non partitioned table. WriteNotificationLogRequest request; if (partObject != null) { - partition = Warehouse.makePartName(tableObj.getPartitionKeys(), partObject.getValues()); + partition = Warehouse.makePartName(tableObj.getPartitionKeys(), partObject.getValues(), + tableObj.getParameters(), conf); request = rqstMap.get(partition); } else { // for non partitioned table, we can get serially from the list. diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java index a1e16a284740..2f49bc779717 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java @@ -775,7 +775,7 @@ public Partition alterPartition(RawStore msdb, Warehouse wh, String catName, Str // if tbl location is available use it // else derive the tbl location from database location - destPath = wh.getPartitionPath(db, tbl, new_part.getValues()); + destPath = wh.getPartitionPath(db, tbl, new_part.getValues(), conf); destPath = constructRenamedPath(destPath, new Path(new_part.getSd().getLocation())); } catch (NoSuchObjectException e) { LOG.debug("Didn't find object in metastore ", e); @@ -851,7 +851,8 @@ public Partition alterPartition(RawStore msdb, Warehouse wh, String catName, Str new_part, tbl, wh, false, true, environmentContext, false); } - String newPartName = Warehouse.makePartName(tbl.getPartitionKeys(), new_part.getValues()); + String newPartName = Warehouse.makePartName(tbl.getPartitionKeys(), new_part.getValues(), tbl.getParameters(), + conf); List multiColumnStats = updateOrGetPartitionColumnStats(msdb, catName, dbname, name, oldPart.getValues(), oldPart.getSd().getCols(), tbl, new_part, null, null); msdb.alterPartition(catName, dbname, name, part_vals, new_part, validWriteIds); @@ -916,7 +917,7 @@ private Map, Partition> getExistingPartitions(final RawStore msdb, // Get list of partition values List partValues = new LinkedList<>(); for (Partition tmpPart : new_parts) { - partValues.add(Warehouse.makePartName(tbl.getPartitionKeys(), tmpPart.getValues())); + partValues.add(Warehouse.makePartName(tbl.getPartitionKeys(), tmpPart.getValues(), tbl.getParameters(), conf)); } // Get existing partitions from store @@ -1231,8 +1232,10 @@ public static List updateOrGetPartitionColumnStats( if (newCols == null) { newCols = part.getSd() == null ? new ArrayList<>() : part.getSd().getCols(); } - String oldPartName = Warehouse.makePartName(table.getPartitionKeys(), partVals); - String newPartName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues()); + String oldPartName = Warehouse.makePartName(table.getPartitionKeys(), partVals, table.getParameters(), + msdb.getConf()); + String newPartName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues(), table.getParameters(), + msdb.getConf()); boolean rename = !part.getDbName().equals(dbname) || !part.getTableName().equals(tblname) || !oldPartName.equals(newPartName); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java index 0f960348e58b..987f9ac581dd 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java @@ -361,7 +361,7 @@ void checkTable(Table table, PartitionIterable parts, byte[] filterExp, CheckRes fs = partPath.getFileSystem(conf); CheckResult.PartitionResult prFromMetastore = new CheckResult.PartitionResult(); - prFromMetastore.setPartitionName(getPartitionName(table, partition)); + prFromMetastore.setPartitionName(getPartitionName(table, partition, conf)); prFromMetastore.setTableName(partition.getTableName()); if (allPartDirs.remove(partPath)) { result.getCorrectPartitions().add(prFromMetastore); @@ -389,7 +389,7 @@ void checkTable(Table table, PartitionIterable parts, byte[] filterExp, CheckRes long partitionAgeSeconds = currentEpochSecs - createdTime; if (partitionAgeSeconds > partitionExpirySeconds) { CheckResult.PartitionResult pr = new CheckResult.PartitionResult(); - pr.setPartitionName(getPartitionName(table, partition)); + pr.setPartitionName(getPartitionName(table, partition, conf)); pr.setTableName(partition.getTableName()); result.getExpiredPartitions().add(pr); if (LOG.isDebugEnabled()) { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index 35ba52a02596..86b841b3b21b 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java @@ -746,7 +746,7 @@ public List getPartitionsViaSqlPs(Table table, GetPartitionsArgs args String tblName = table.getTableName(); String sqlFilter = "" + PARTITIONS + ".\"PART_NAME\" like ? "; - String partialName = MetaStoreUtils.makePartNameMatcher(table, args.getPart_vals(), "_%"); + String partialName = MetaStoreUtils.makePartNameMatcher(table, args.getPart_vals(), "_%", conf); List partitionIds = getPartitionFieldsViaSqlFilter( catName, dbName, tblName, Arrays.asList("\"PART_ID\""), sqlFilter, Arrays.asList(partialName), Collections.emptyList(), args.getMax()); @@ -818,7 +818,7 @@ public List getPartitionsUsingProjectionAndFilterSpec(Table tbl, case BY_VALUES: // we are going to use the SQL regex pattern in the LIKE clause below. So the default string // is _% and not .* - String partNameMatcher = MetaStoreUtils.makePartNameMatcher(tbl, filters, "_%"); + String partNameMatcher = MetaStoreUtils.makePartNameMatcher(tbl, filters, "_%", conf); String partNamesLikeFilter = "" + PARTITIONS + ".\"PART_NAME\" LIKE (?)"; partitionIds = @@ -887,7 +887,7 @@ public boolean generateSqlFilterForPushdown(String catName, String dbName, Strin result.filter = PartitionFilterGenerator.generateSqlFilter(catName, dbName, tableName, partitionKeys, tree, result.params, result.joins, dbHasJoinCastBug, ((defaultPartitionName == null) ? MetaStoreUtils.getDefaultPartitionName(tableParams, conf) : defaultPartitionName), - dbType, schema, result.compactJoins); + dbType, schema, result.compactJoins, conf); return result.filter != null; } @@ -1279,7 +1279,7 @@ public int getNumPartitionsViaSqlFilter(SqlFilterForPushdown filter) throws Meta } public int getNumPartitionsViaSqlPs(Table table, List partVals) throws MetaException { - String partialName = MetaStoreUtils.makePartNameMatcher(table, partVals, "_%"); + String partialName = MetaStoreUtils.makePartNameMatcher(table, partVals, "_%", conf); // Get number of partitions by doing count on PART_ID. String queryText = "select count(" + PARTITIONS + ".\"PART_ID\") from " + PARTITIONS + "" @@ -1320,10 +1320,11 @@ private static class PartitionFilterGenerator extends TreeVisitor { private final String defaultPartName; private final DatabaseProduct dbType; private final String PARTITION_KEY_VALS, PARTITIONS, DBS, TBLS; + private final Configuration conf; private PartitionFilterGenerator(String catName, String dbName, String tableName, - List partitionKeys, List params, List joins, - boolean dbHasJoinCastBug, String defaultPartName, DatabaseProduct dbType, String schema) { + List partitionKeys, List params, List joins, + boolean dbHasJoinCastBug, String defaultPartName, DatabaseProduct dbType, String schema, Configuration conf) { this.catName = catName; this.dbName = dbName; this.tableName = tableName; @@ -1331,6 +1332,7 @@ private PartitionFilterGenerator(String catName, String dbName, String tableName this.params = params; this.joins = joins; this.dbHasJoinCastBug = dbHasJoinCastBug; + this.conf = conf; this.filterBuffer = new FilterBuilder(false); this.defaultPartName = defaultPartName; this.dbType = dbType; @@ -1353,7 +1355,7 @@ private PartitionFilterGenerator(String catName, String dbName, String tableName private static String generateSqlFilter(String catName, String dbName, String tableName, List partitionKeys, ExpressionTree tree, List params, List joins, boolean dbHasJoinCastBug, String defaultPartName, - DatabaseProduct dbType, String schema, boolean compactJoins) throws MetaException { + DatabaseProduct dbType, String schema, boolean compactJoins, Configuration conf) throws MetaException { if (tree == null) { // consistent with other APIs like makeExpressionTree, null is returned to indicate that // the filter could not pushed down due to parsing issue etc @@ -1364,7 +1366,7 @@ private static String generateSqlFilter(String catName, String dbName, String ta } PartitionFilterGenerator visitor = new PartitionFilterGenerator( catName, dbName, tableName, partitionKeys, - params, joins, dbHasJoinCastBug, defaultPartName, dbType, schema); + params, joins, dbHasJoinCastBug, defaultPartName, dbType, schema, conf); tree.accept(visitor); if (visitor.filterBuffer.hasError()) { LOG.info("Unable to push down SQL filter: " + visitor.filterBuffer.getErrorMessage()); @@ -1574,7 +1576,7 @@ public void visit(LeafNode node) throws MetaException { if (StringUtils.isNotEmpty(nodeValueStr) && (isOpEquals || isOpNotEqual)) { Map partKeyToVal = new HashMap<>(); partKeyToVal.put(partCol.getName(), nodeValueStr); - String escapedNameFragment = Warehouse.makePartName(partKeyToVal, false); + String escapedNameFragment = Warehouse.makePartName(partKeyToVal, false, null, conf); if (colType == FilterType.Date) { // Some engines like Pig will record both date and time values, in which case we need // match PART_NAME by like clause. diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java index 1e9c9d9b134e..3810eb17e855 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java @@ -208,7 +208,7 @@ public int repair(MsckInfo msckInfo) throws TException, MetastoreException, IOEx throw new MetastoreException(ex); } for (String val : vals) { - String escapedPath = FileUtils.escapePathName(val); + String escapedPath = FileUtils.escapePathName(val, table.getParameters(), conf); assert escapedPath != null; if (escapedPath.equals(val)) { continue; @@ -482,7 +482,7 @@ public Void execute(int size) throws MetastoreException { continue; } Map partSpec = Warehouse.makeSpecFromName(part.getPartitionName()); - Path location = part.getLocation(tablePath, partSpec); + Path location = part.getLocation(tablePath, partSpec, table.getParameters(), conf); Partition partition = MetaStoreServerUtils.createMetaPartitionObject(table, partSpec, location); partition.setWriteId(table.getWriteId()); partsToAdd.add(partition); @@ -505,7 +505,7 @@ public Void execute(int size) throws MetastoreException { }.run(); } - private static String makePartExpr(Map spec) + private static String makePartExpr(Map spec, Map tableParams, Configuration conf) throws MetaException { StringBuilder suffixBuf = new StringBuilder("("); int i = 0; @@ -516,9 +516,9 @@ private static String makePartExpr(Map spec) if (i > 0) { suffixBuf.append(" AND "); } - suffixBuf.append(Warehouse.escapePathName(e.getKey())); + suffixBuf.append(Warehouse.escapePathName(e.getKey(), tableParams, conf)); suffixBuf.append('='); - suffixBuf.append("'").append(Warehouse.escapePathName(e.getValue())).append("'"); + suffixBuf.append("'").append(Warehouse.escapePathName(e.getValue(), tableParams, conf)).append("'"); i++; } suffixBuf.append(")"); @@ -580,7 +580,7 @@ public Void execute(int size) throws MetastoreException { // so 3rd parameter (deleteData) is set to false // msck is doing a clean up of hms. if for some reason the partition is already // deleted, then it is good. So, the last parameter ifexists is set to true - List> partExprs = getPartitionExpr(dropParts); + List> partExprs = getPartitionExpr(dropParts, table.getParameters(), conf); metastoreClient.dropPartitions(table.getCatName(), table.getDbName(), table.getTableName(), partExprs, dropOptions); // if last batch is successful remove it from partsNotInFs @@ -593,12 +593,13 @@ public Void execute(int size) throws MetastoreException { } } - private List> getPartitionExpr(final List parts) throws MetaException { + private List> getPartitionExpr(final List parts, Map tableParams, + Configuration conf) throws MetaException { StringBuilder exprBuilder = new StringBuilder(); for (int i = 0; i < parts.size(); i++) { String partName = parts.get(i); Map partSpec = Warehouse.makeSpecFromName(partName); - String partExpr = makePartExpr(partSpec); + String partExpr = makePartExpr(partSpec, tableParams, conf); if (LOG.isDebugEnabled()) { LOG.debug("Generated partExpr: {} for partName: {}", partExpr, partName); } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 76c860acf1f1..602cf2b8a7e2 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -2763,10 +2763,11 @@ protected String describeResult() { } private boolean isValidPartition( - Partition part, List partitionKeys, boolean ifNotExists) throws MetaException { + Partition part, List partitionKeys, boolean ifNotExists, Map tableParams) + throws MetaException { MetaStoreServerUtils.validatePartitionNameCharacters(part.getValues(), conf); boolean doesExist = doesPartitionExist(part.getCatName(), - part.getDbName(), part.getTableName(), partitionKeys, part.getValues()); + part.getDbName(), part.getTableName(), partitionKeys, part.getValues(), tableParams); if (doesExist && !ifNotExists) { throw new MetaException("Partition already exists: " + part); } @@ -2806,7 +2807,7 @@ public boolean addPartitions(String catName, String dbName, String tblName, while (iterator.hasNext()) { Partition part = iterator.next(); - if (isValidPartition(part, partitionKeys, ifNotExists)) { + if (isValidPartition(part, partitionKeys, ifNotExists, table.getParameters())) { MPartition mpart = convertToMPart(part, table); pm.makePersistent(mpart); if (tabGrants != null) { @@ -2934,7 +2935,7 @@ private MPartition getMPartition(String catName, String dbName, String tableName // Change the query to use part_vals instead of the name which is // redundant TODO: callers of this often get part_vals out of name for no reason... String name = - Warehouse.makePartName(convertToFieldSchemas(mtbl.getPartitionKeys()), part_vals); + Warehouse.makePartName(convertToFieldSchemas(mtbl.getPartitionKeys()), part_vals, mtbl.getParameters(), conf); result = getMPartition(catName, dbName, tableName, name); committed = commitTransaction(); } finally { @@ -3032,7 +3033,7 @@ private MPartition convertToMPart(Partition part, MTable mt) } return new MPartition(Warehouse.makePartName(convertToFieldSchemas(mt - .getPartitionKeys()), part.getValues()), mt, part.getValues(), part + .getPartitionKeys()), part.getValues(), mt.getParameters(), conf), mt, part.getValues(), part .getCreateTime(), part.getLastAccessTime(), msd, part.getParameters()); } @@ -3167,7 +3168,7 @@ private boolean dropPartitionCommon(MPartition part) throws MetaException, for (MFieldSchema col: schemas) { colNames.add(col.getName()); } - String partName = FileUtils.makePartName(colNames, part.getValues()); + String partName = FileUtils.makePartName(colNames, part.getValues(), part.getTable().getParameters(), conf); List partGrants = listPartitionGrants( part.getTable().getDatabase().getCatalogName(), @@ -3307,7 +3308,7 @@ public Partition getPartitionWithAuth(String catName, String dbName, String tblN Partition part = convertToPart(catName, dbName, tblName, mpart, TxnUtils.isAcidTable(mtbl.getParameters())); if ("TRUE".equalsIgnoreCase(mtbl.getParameters().get("PARTITION_LEVEL_PRIVILEGE"))) { String partName = Warehouse.makePartName(this.convertToFieldSchemas(mtbl - .getPartitionKeys()), partVals); + .getPartitionKeys()), partVals, mtbl.getParameters(), conf); PrincipalPrivilegeSet partAuth = this.getPartitionPrivilegeSet(catName, dbName, tblName, partName, user_name, group_names); part.setPrivileges(partAuth); @@ -3592,7 +3593,8 @@ private PartitionValuesResponse extractPartitionNamesByFilter( for (Partition partition : partitions) { // Check for NULL's just to be safe if (tbl.getPartitionKeys() != null && partition.getValues() != null) { - partitionNames.add(Warehouse.makePartName(tbl.getPartitionKeys(), partition.getValues())); + partitionNames.add(Warehouse.makePartName(tbl.getPartitionKeys(), partition.getValues(), tbl.getParameters(), + conf)); } } } @@ -3882,7 +3884,7 @@ public List listPartitionsPsWithAuth(String catName, String db_name, if (getauth) { for (Partition part : partitions) { String partName = Warehouse.makePartName(this.convertToFieldSchemas(mtbl - .getPartitionKeys()), part.getValues()); + .getPartitionKeys()), part.getValues(), mtbl.getParameters(), conf); PrincipalPrivilegeSet partAuth = getPartitionPrivilegeSet(catName, db_name, tbl_name, partName, userName, groupNames); part.setPrivileges(partAuth); @@ -4325,7 +4327,7 @@ private String getJDOFilterStrForPartitionNames(String catName, String dbName, S private String getJDOFilterStrForPartitionVals(Table table, List vals, Map params) throws MetaException { - String partNameMatcher = MetaStoreUtils.makePartNameMatcher(table, vals, ".*"); + String partNameMatcher = MetaStoreUtils.makePartNameMatcher(table, vals, ".*", conf); params.put("dbName", table.getDbName()); params.put("catName", table.getCatName()); params.put("tableName", table.getTableName()); @@ -4932,7 +4934,8 @@ private String makeQueryFilterString(String catName, String dbName, Table table, } tree.accept(new ExpressionTree.JDOFilterGenerator(getConf(), - table != null ? table.getPartitionKeys() : null, queryBuilder, params)); + table != null ? table.getPartitionKeys() : null, queryBuilder, params, table != null ? + table.getParameters() : null)); if (queryBuilder.hasError()) { assert !isValidatedFilter; LOG.debug("JDO filter pushdown cannot be used: {}", queryBuilder.getErrorMessage()); @@ -4952,7 +4955,8 @@ private String makeQueryFilterString(String catName, String dbName, String tblNa params.put("t1", tblName); params.put("t2", dbName); params.put("t3", catName); - tree.accept(new ExpressionTree.JDOFilterGenerator(getConf(), partitionKeys, queryBuilder, params)); + tree.accept(new ExpressionTree.JDOFilterGenerator(getConf(), partitionKeys, queryBuilder, params, + getTable(catName, dbName, tblName).getParameters())); if (queryBuilder.hasError()) { assert !isValidatedFilter; LOG.debug("JDO filter pushdown cannot be used: {}", queryBuilder.getErrorMessage()); @@ -5293,7 +5297,7 @@ public List alterPartitions(String catName, String dbName, String tbl List partCols = convertToFieldSchemas(table.getPartitionKeys()); List partNames = new ArrayList<>(); for (List partVal : part_vals) { - partNames.add(Warehouse.makePartName(partCols, partVal)); + partNames.add(Warehouse.makePartName(partCols, partVal, table.getParameters(), conf)); } results = alterPartitionsInternal(table, partNames, newParts, queryWriteIdList, true, true); // commit the changes @@ -7651,7 +7655,8 @@ public boolean revokePrivileges(PrivilegeBag privileges, boolean grantOption) hiveObject.getObjectName(), null); String partName = null; if (hiveObject.getPartValues() != null) { - partName = Warehouse.makePartName(tabObj.getPartitionKeys(), hiveObject.getPartValues()); + partName = Warehouse.makePartName(tabObj.getPartitionKeys(), hiveObject.getPartValues(), + tabObj.getParameters(), conf); } List partitionGrants = this .listPrincipalMPartitionGrants(userName, principalType, @@ -7686,7 +7691,7 @@ public boolean revokePrivileges(PrivilegeBag privileges, boolean grantOption) String partName = null; if (hiveObject.getPartValues() != null) { partName = Warehouse.makePartName(tabObj.getPartitionKeys(), - hiveObject.getPartValues()); + hiveObject.getPartValues(), tabObj.getParameters(), conf); } if (partName != null) { @@ -10057,7 +10062,8 @@ public AggrStats get_aggr_stats_for(String catName, String dbName, String tblNam for (Partition part : parts) { if (!isCurrentStatsValidForTheQuery(part, part.getWriteId(), writeIdList, false)) { - String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues(), table.getParameters(), + conf); LOG.debug("The current metastore transactional partition column " + "statistics for {}.{}.{} is not valid for the current query", dbName, tblName, partName); @@ -10797,9 +10803,9 @@ public void setMetaStoreSchemaVersion(String schemaVersion, String comment) thro @Override public boolean doesPartitionExist(String catName, String dbName, String tableName, - List partKeys, List partVals) + List partKeys, List partVals, Map tableParams) throws MetaException { - String name = Warehouse.makePartName(partKeys, partVals); + String name = Warehouse.makePartName(partKeys, partVals, tableParams, conf); return this.getMPartition(catName, dbName, tableName, name) != null; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java index d0e73d75ec92..8b95f62a0974 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -455,7 +455,7 @@ Partition getPartition(String catName, String dbName, String tableName, * @throws NoSuchObjectException this is never thrown. */ boolean doesPartitionExist(String catName, String dbName, String tableName, - List partKeys, List part_vals) + List partKeys, List part_vals, Map tableParams) throws MetaException, NoSuchObjectException; /** diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index 75231c5c55af..6cf9a179a9ad 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -546,7 +546,8 @@ static void prewarm(RawStore rawStore) { cacheObjects.setPartitions(partitions); List partNames = new ArrayList<>(partitions.size()); for (Partition p : partitions) { - partNames.add(Warehouse.makePartName(table.getPartitionKeys(), p.getValues())); + partNames.add(Warehouse.makePartName(table.getPartitionKeys(), p.getValues(), table.getParameters(), + rawStore.getConf())); } if (!partNames.isEmpty()) { // Get partition column stats for this table @@ -571,7 +572,8 @@ static void prewarm(RawStore rawStore) { partCols.add(fs.getName()); partVals.add(defaultPartitionValue); } - String defaultPartitionName = FileUtils.makePartName(partCols, partVals); + String defaultPartitionName = FileUtils.makePartName(partCols, partVals, table.getParameters(), + rawStore.getConf()); partNames.remove(defaultPartitionName); Deadline.startTimer("getAggrPartitionColumnStatistics"); aggrStatsAllButDefaultPartition = @@ -1011,7 +1013,8 @@ private static void updateTableAggregatePartitionColStats(RawStore rawStore, Str partCols.add(fs.getName()); partVals.add(defaultPartitionValue); } - String defaultPartitionName = FileUtils.makePartName(partCols, partVals); + String defaultPartitionName = FileUtils.makePartName(partCols, partVals, table.getParameters(), + rawStore.getConf()); partNames.remove(defaultPartitionName); Deadline.startTimer("getAggregateStatsForAllPartitionsExceptDefault"); AggrStats aggrStatsAllButDefaultPartition = @@ -1437,17 +1440,17 @@ public Table getTable(String catName, String dbName, String tblName, String vali } @Override public boolean doesPartitionExist(String catName, String dbName, String tblName, List partKeys, - List partVals) throws MetaException, NoSuchObjectException { + List partVals, Map tableParams) throws MetaException, NoSuchObjectException { catName = normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { - return rawStore.doesPartitionExist(catName, dbName, tblName, partKeys, partVals); + return rawStore.doesPartitionExist(catName, dbName, tblName, partKeys, partVals, tableParams); } Table tbl = sharedCache.getTableFromCache(catName, dbName, tblName); if (tbl == null) { // The table containing the partition is not yet loaded in cache - return rawStore.doesPartitionExist(catName, dbName, tblName, partKeys, partVals); + return rawStore.doesPartitionExist(catName, dbName, tblName, partKeys, partVals, tableParams); } return sharedCache.existPartitionFromCache(catName, dbName, tblName, partVals); } @@ -1658,7 +1661,8 @@ public List listTableNamesByFilter(String catName, String dbName, String int count = 0; for (Partition part : sharedCache.listCachedPartitions(catName, dbName, tblName, maxParts)) { if (maxParts == -1 || count < maxParts) { - partitionNames.add(Warehouse.makePartName(tbl.getPartitionKeys(), part.getValues())); + partitionNames.add(Warehouse.makePartName(tbl.getPartitionKeys(), part.getValues(), tbl.getParameters(), + rawStore.getConf())); } } return partitionNames; @@ -1723,7 +1727,8 @@ private boolean getPartitionNamesPrunedByExprNoTxn(Table table, byte[] expr, Str StringUtils.normalizeIdentifier(table.getDbName()), StringUtils.normalizeIdentifier(table.getTableName()), maxParts); for (Partition part : parts) { - result.add(Warehouse.makePartName(table.getPartitionKeys(), part.getValues())); + result.add(Warehouse.makePartName(table.getPartitionKeys(), part.getValues(), table.getParameters(), + rawStore.getConf())); } if (defaultPartName == null || defaultPartName.isEmpty()) { defaultPartName = getDefaultPartitionName(table.getParameters(), getConf()); @@ -1985,7 +1990,8 @@ public List getPartitionsByFilter(String catName, String dbName, Stri } Partition p = sharedCache.getPartitionFromCache(catName, dbName, tblName, partVals); if (p != null) { - String partName = Warehouse.makePartName(table.getPartitionKeys(), partVals); + String partName = Warehouse.makePartName(table.getPartitionKeys(), partVals, table.getParameters(), + rawStore.getConf()); PrincipalPrivilegeSet privs = getPartitionPrivilegeSet(catName, dbName, tblName, partName, userName, groupNames); p.setPrivileges(privs); } else { @@ -2012,7 +2018,8 @@ public List getPartitionsByFilter(String catName, String dbName, Stri List allPartitions = sharedCache.listCachedPartitions(catName, dbName, tblName, maxParts); int count = 0; for (Partition part : allPartitions) { - String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues(), table.getParameters(), + rawStore.getConf()); if (partName.matches(partNameMatcher) && (maxParts == -1 || count < maxParts)) { partitionNames.add(partName); count++; @@ -2049,7 +2056,8 @@ public int getNumPartitionsByPs(String catName, String dbName, String tblName, L List allPartitions = sharedCache.listCachedPartitions(catName, dbName, tblName, maxParts); int count = 0; for (Partition part : allPartitions) { - String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues()); + String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues(), table.getParameters(), + rawStore.getConf()); if ((partNameMatcher == null || partName.matches(partNameMatcher)) && (maxParts == -1 || count < maxParts)) { PrincipalPrivilegeSet privs = getPartitionPrivilegeSet(catName, dbName, tblName, partName, args.getUserName(), args.getGroupNames()); @@ -2074,7 +2082,7 @@ private String getPartNameMatcher(Table table, List partSpecs) throws Me // or a regex of the form ".*" // This works because the "=" and "/" separating key names and partition key/values // are not escaped. - String partNameMatcher = Warehouse.makePartName(partCols, partSpecs, ".*"); + String partNameMatcher = Warehouse.makePartName(partCols, partSpecs, ".*", table.getParameters(), conf); // add ".*" to the regex to match anything else afterwards the partial spec. if (partSpecs.size() < numPartKeys) { partNameMatcher += ".*"; diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/events/ReloadEvent.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/events/ReloadEvent.java index b50322ccaec9..8561bfc09bde 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/events/ReloadEvent.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/events/ReloadEvent.java @@ -73,7 +73,8 @@ public ReloadEvent(String catName, String db, String table, List> p this.ptns = new ArrayList<>(); List part_names = new ArrayList<>(); for(List partVal : partVals) { - part_names.add(Warehouse.makePartName(this.tableObj.getPartitionKeys(), partVal)); + part_names.add(Warehouse.makePartName(this.tableObj.getPartitionKeys(), partVal, + this.tableObj.getParameters(), handler.getConf())); } GetPartitionsByNamesRequest partitionsReq = new GetPartitionsByNamesRequest( MetaStoreUtils.prependNotNullCatToDbName(catName, db), table); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java index b6baa3333c1a..32fd41c179c0 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java @@ -304,13 +304,15 @@ public static class JDOFilterGenerator extends TreeVisitor { private Object value; private Operator operator; private boolean isReverseOrder; + private Map tableParams; public JDOFilterGenerator(Configuration conf, List partitionKeys, - FilterBuilder filterBuilder, Map params) { + FilterBuilder filterBuilder, Map params, Map tableParams) { this.conf = conf; this.partitionKeys = partitionKeys; this.filterBuilder = filterBuilder; this.params = params; + this.tableParams = tableParams; } private void beforeParsing() throws MetaException { @@ -349,7 +351,7 @@ protected void visit(LeafNode node) throws MetaException { operator = Operator.LIKE; } if (partitionKeys != null) { - generateJDOFilterOverPartitions(conf, params, filterBuilder, partitionKeys); + generateJDOFilterOverPartitions(conf, params, filterBuilder, partitionKeys, tableParams); } else { generateJDOFilterOverTables(params, filterBuilder); } @@ -435,7 +437,8 @@ private void generateJDOFilterGeneral(Map params, } private void generateJDOFilterOverPartitions(Configuration conf, - Map params, FilterBuilder filterBuilder, List partitionKeys) throws MetaException { + Map params, FilterBuilder filterBuilder, List partitionKeys, + Map tableParams) throws MetaException { int partitionColumnCount = partitionKeys.size(); int partitionColumnIndex = LeafNode.getPartColIndexForFilter(keyName, partitionKeys, filterBuilder); if (filterBuilder.hasError()) return; @@ -457,7 +460,7 @@ private void generateJDOFilterOverPartitions(Configuration conf, if (isOpEquals || Operator.isNotEqualOperator(operator)) { String partitionKey = partitionKeys.get(partitionColumnIndex).getName(); makeFilterForEquals(partitionKey, valueAsString, paramName, params, - partitionColumnIndex, partitionColumnCount, isOpEquals, filterBuilder); + partitionColumnIndex, partitionColumnCount, isOpEquals, filterBuilder, tableParams, conf); return; } //get the value for a partition key form MPartition.values (PARTITION_KEY_VALUES) @@ -581,14 +584,14 @@ public void accept(TreeVisitor treeVisitor) throws MetaException { * @param fltr Filter builder used to append the filter, or report errors. */ private static void makeFilterForEquals(String keyName, String value, String paramName, - Map params, int keyPos, int keyCount, boolean isEq, FilterBuilder fltr) - throws MetaException { + Map params, int keyPos, int keyCount, boolean isEq, FilterBuilder fltr, + Map tableParams, Configuration conf) throws MetaException { Map partKeyToVal = new HashMap<>(); partKeyToVal.put(keyName, value); // If a partition has multiple partition keys, we make the assumption that // makePartName with one key will return a substring of the name made // with both all the keys. - String escapedNameFragment = Warehouse.makePartName(partKeyToVal, false); + String escapedNameFragment = Warehouse.makePartName(partKeyToVal, false, tableParams, conf); if (keyCount == 1) { // Case where this is no other partition columns params.put(paramName, escapedNameFragment); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/metatool/MetaToolTaskListExtTblLocs.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/metatool/MetaToolTaskListExtTblLocs.java index 6eccfb665452..985c9638e84e 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/metatool/MetaToolTaskListExtTblLocs.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/metatool/MetaToolTaskListExtTblLocs.java @@ -114,7 +114,7 @@ private void generateExternalTableInfo(String dbPattern, String outputDir) throw } else { partLocation = partLocation + Path.SEPARATOR + - Warehouse.makePartName(Warehouse.makeSpecFromName(partitionName), false); + Warehouse.makePartName(Warehouse.makeSpecFromName(partitionName), false, t.getParameters(), conf); Path partPath = new Path(partLocation); long partDataSize = getDataSize(partPath, conf); if (isPathWithinSubtree(partPath, defaultDbExtPath)) { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java index d98afb7376ac..729c8334b260 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java @@ -629,12 +629,12 @@ public static String nvl(String input) { return input != null ? " = ? " : " IS NULL "; } - public static String normalizePartitionCase(String s) { + public static String normalizePartitionCase(String s, Map tableParams, Configuration conf) { if (s == null) { return null; } Map map = Splitter.on(Path.SEPARATOR).withKeyValueSeparator('=').split(s); - return FileUtils.makePartName(new ArrayList<>(map.keySet()), new ArrayList<>(map.values())); + return FileUtils.makePartName(new ArrayList<>(map.keySet()), new ArrayList<>(map.values()), tableParams, conf); } @SuppressWarnings("squid:S2245") diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/MultiDataSourceJdbcResource.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/MultiDataSourceJdbcResource.java index 7ab42c1336d8..d5a55d6fe5be 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/MultiDataSourceJdbcResource.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/MultiDataSourceJdbcResource.java @@ -204,7 +204,7 @@ public int[][] execute(ParameterizedBatchCommand command) throws MetaExce int maxBatchSize = MetastoreConf.getIntVar(conf, MetastoreConf.ConfVars.JDBC_MAX_BATCH_SIZE); return getJdbcTemplate().getJdbcTemplate().batchUpdate( command.getParameterizedQueryString(databaseProduct), - command.getQueryParameters(), + command.getQueryParameters(conf), maxBatchSize, command.getPreparedStatementSetter() ); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/ParameterizedBatchCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/ParameterizedBatchCommand.java index 9f2647cb9f79..d0258934a937 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/ParameterizedBatchCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/ParameterizedBatchCommand.java @@ -17,10 +17,12 @@ */ package org.apache.hadoop.hive.metastore.txn.jdbc; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter; import java.util.List; +import java.util.Map; import java.util.function.Function; /** @@ -45,7 +47,7 @@ public interface ParameterizedBatchCommand { /** * A {@link List} instance containing the required parameters for the query string. */ - List getQueryParameters(); + List getQueryParameters(Configuration conf); /** * Implementations must return a {@link ParameterizedPreparedStatementSetter} instance which will be diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToMinHistoryCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToMinHistoryCommand.java index dfe87bd34085..8f0609c4b834 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToMinHistoryCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToMinHistoryCommand.java @@ -17,6 +17,7 @@ */ package org.apache.hadoop.hive.metastore.txn.jdbc.commands; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; import org.apache.hadoop.hive.metastore.txn.TxnHandler; import org.apache.hadoop.hive.metastore.txn.TxnUtils; @@ -51,7 +52,7 @@ public String getParameterizedQueryString(DatabaseProduct databaseProduct) { } @Override - public List getQueryParameters() { + public List getQueryParameters(Configuration conf) { return params; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToTxnToWriteIdCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToTxnToWriteIdCommand.java index eaa6d1e5d9be..61d7ece7ecaa 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToTxnToWriteIdCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/AddWriteIdsToTxnToWriteIdCommand.java @@ -17,6 +17,7 @@ */ package org.apache.hadoop.hive.metastore.txn.jdbc.commands; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; import org.apache.hadoop.hive.metastore.api.TxnToWriteId; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedBatchCommand; @@ -24,6 +25,7 @@ import java.util.ArrayList; import java.util.List; +import java.util.Map; import java.util.function.Function; public class AddWriteIdsToTxnToWriteIdCommand implements ParameterizedBatchCommand { @@ -46,7 +48,7 @@ public String getParameterizedQueryString(DatabaseProduct databaseProduct) { } @Override - public List getQueryParameters() { + public List getQueryParameters(Configuration conf) { return params; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertCompletedTxnComponentsCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertCompletedTxnComponentsCommand.java index 9f9086b755db..7b335db1b846 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertCompletedTxnComponentsCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertCompletedTxnComponentsCommand.java @@ -17,6 +17,7 @@ */ package org.apache.hadoop.hive.metastore.txn.jdbc.commands; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; import org.apache.hadoop.hive.metastore.api.WriteEventInfo; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedBatchCommand; @@ -24,6 +25,7 @@ import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter; import java.util.List; +import java.util.Map; import java.util.function.Function; public class InsertCompletedTxnComponentsCommand implements ParameterizedBatchCommand { @@ -47,7 +49,7 @@ public String getParameterizedQueryString(DatabaseProduct databaseProduct) { } @Override - public List getQueryParameters() { + public List getQueryParameters(Configuration conf) { return infos; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java index 6ef5465616d0..4d9c51816a9d 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java @@ -18,7 +18,11 @@ package org.apache.hadoop.hive.metastore.txn.jdbc.commands; import org.apache.commons.lang3.StringUtils; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; +import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; +import org.apache.hadoop.hive.metastore.ObjectStore; +import org.apache.hadoop.hive.metastore.RawStore; import org.apache.hadoop.hive.metastore.api.LockComponent; import org.apache.hadoop.hive.metastore.api.LockRequest; import org.apache.hadoop.hive.metastore.api.MetaException; @@ -27,10 +31,12 @@ import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedBatchCommand; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedCommand; import org.apache.hadoop.hive.metastore.utils.LockTypeUtil; +import org.apache.thrift.TException; import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter; import java.util.ArrayList; import java.util.List; +import java.util.Map; import java.util.function.Function; import static org.apache.hadoop.hive.metastore.txn.TxnUtils.getEpochFn; @@ -61,15 +67,25 @@ public String getParameterizedQueryString(DatabaseProduct databaseProduct) { } @Override - public List getQueryParameters() { + public List getQueryParameters(Configuration conf) { List params = new ArrayList<>(lockRequest.getComponentSize()); long intLockId = 0; - for (LockComponent lc : lockRequest.getComponent()) { + HiveMetaStoreClient hmsc; + try { + hmsc = new HiveMetaStoreClient(conf); + } catch (MetaException e) { + throw new RuntimeException(e); + } + for (LockComponent lc : lockRequest.getComponent()) { String lockType = LockTypeUtil.getEncodingAsStr(lc.getType()); - params.add(new Object[] {tempExtLockId, ++intLockId, lockRequest.getTxnid(), StringUtils.lowerCase(lc.getDbname()), - StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname()), - Character.toString(LOCK_WAITING), lockType, lockRequest.getUser(), lockRequest.getHostname(), lockRequest.getAgentInfo()}); - } + try { + params.add(new Object[] {tempExtLockId, ++intLockId, lockRequest.getTxnid(), StringUtils.lowerCase(lc.getDbname()), + StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname(), hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters(), conf), + Character.toString(LOCK_WAITING), lockType, lockRequest.getUser(), lockRequest.getHostname(), lockRequest.getAgentInfo()}); + } catch (TException e) { + throw new RuntimeException(e); + } + } return params; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java index 2f4da649c5ad..e25848a2c5c1 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java @@ -19,16 +19,16 @@ import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.tuple.Pair; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; -import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; -import org.apache.hadoop.hive.metastore.api.DataOperationType; -import org.apache.hadoop.hive.metastore.api.LockComponent; -import org.apache.hadoop.hive.metastore.api.LockRequest; +import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; +import org.apache.hadoop.hive.metastore.api.*; import org.apache.hadoop.hive.metastore.txn.entities.OperationType; import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedBatchCommand; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedCommand; import org.apache.hadoop.hive.metastore.utils.JavaUtils; +import org.apache.thrift.TException; import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter; import java.sql.Types; @@ -67,8 +67,8 @@ public String getParameterizedQueryString(DatabaseProduct databaseProduct) { } @Override - public List getQueryParameters() { - return dynamicPartitions == null ? getQueryParametersByLockRequest() : getQueryParametersByDynamicPartitions(); + public List getQueryParameters(Configuration conf) { + return dynamicPartitions == null ? getQueryParametersByLockRequest(conf) : getQueryParametersByDynamicPartitions(); } @Override @@ -88,11 +88,18 @@ public Function resultPolicy() { return ParameterizedCommand.EXACTLY_ONE_ROW; } - private List getQueryParametersByLockRequest() { + private List getQueryParametersByLockRequest(Configuration conf) { assert lockRequest != null; List params = new ArrayList<>(lockRequest.getComponentSize()); Set> alreadyAddedTables = new HashSet<>(); + HiveMetaStoreClient hmsc; + try { + hmsc = new HiveMetaStoreClient(conf); + } catch (MetaException e) { + throw new RuntimeException(e); + } + for (LockComponent lc : lockRequest.getComponent()) { if (lc.isSetIsTransactional() && !lc.isIsTransactional()) { //we don't prevent using non-acid resources in a txn, but we do lock them @@ -107,7 +114,12 @@ private List getQueryParametersByLockRequest() { String dbName = StringUtils.lowerCase(lc.getDbname()); String tblName = StringUtils.lowerCase(lc.getTablename()); - String partName = TxnUtils.normalizePartitionCase(lc.getPartitionname()); + String partName = null; + try { + partName = TxnUtils.normalizePartitionCase(lc.getPartitionname(), hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters(), conf); + } catch (TException e) { + throw new RuntimeException(e); + } OperationType opType = OperationType.fromDataOperationType(lc.getOperationType()); Pair writeIdKey = getWriteIdKey.apply(lc); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/functions/CleanupRecordsFunction.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/functions/CleanupRecordsFunction.java index 5a6696158a7b..b1583034fe0a 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/functions/CleanupRecordsFunction.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/functions/CleanupRecordsFunction.java @@ -154,7 +154,8 @@ public Void execute(MultiDataSourceJdbcResource jdbcResource) throws MetaExcepti paramSources.add(new MapSqlParameterSource() .addValue("dbName", table.getDbName().toLowerCase()) .addValue("tableName", table.getTableName().toLowerCase(), Types.VARCHAR) - .addValue("partName", Warehouse.makePartName(partCols, partVals), Types.VARCHAR) + .addValue("partName", Warehouse.makePartName(partCols, partVals, table.getParameters(), + jdbcResource.getConf()), Types.VARCHAR) .addValue("txnId", null, Types.BIGINT)); } } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java index 1210b648d785..9d5679343a75 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java @@ -1560,9 +1560,9 @@ public static Path getDataLocation(Table table, Partition partition) { } } - public static String getPartitionName(Table table, Partition partition) { + public static String getPartitionName(Table table, Partition partition, Configuration conf) { try { - return Warehouse.makePartName(getPartCols(table), partition.getValues()); + return Warehouse.makePartName(getPartCols(table), partition.getValues(), table.getParameters(), conf); } catch (MetaException e) { throw new RuntimeException("Invalid partition found, location: " + getDataLocation(table, partition), e); diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java index 7abce0f58e17..de1b1c5cf66c 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java @@ -307,10 +307,10 @@ private static void partitionTester(HiveMetaStoreClient client, Configuration co } assertTrue(foundPart); - String partName = "ds=" + FileUtils.escapePathName("2008-07-01 14:13:12") + "/hr=14"; - String part2Name = "ds=" + FileUtils.escapePathName("2008-07-01 14:13:12") + "/hr=15"; - String part3Name = "ds=" + FileUtils.escapePathName("2008-07-02 14:13:12") + "/hr=15"; - String part4Name = "ds=" + FileUtils.escapePathName("2008-07-03 14:13:12") + "/hr=151"; + String partName = "ds=" + FileUtils.escapePathName("2008-07-01 14:13:12", tbl.getParameters(), conf) + "/hr=14"; + String part2Name = "ds=" + FileUtils.escapePathName("2008-07-01 14:13:12", tbl.getParameters(), conf) + "/hr=15"; + String part3Name = "ds=" + FileUtils.escapePathName("2008-07-02 14:13:12", tbl.getParameters(), conf) + "/hr=15"; + String part4Name = "ds=" + FileUtils.escapePathName("2008-07-03 14:13:12", tbl.getParameters(), conf) + "/hr=151"; part_get = client.getPartition(dbName, tblName, partName); assertTrue("Partitions are not the same", part.equals(part_get)); diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/VerifyingObjectStore.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/VerifyingObjectStore.java index 9575bd44b4ca..f6f1dac57746 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/VerifyingObjectStore.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/VerifyingObjectStore.java @@ -135,7 +135,7 @@ public List alterPartitions(String catName, String dbName, String tbl List partCols = convertToFieldSchemas(table.getPartitionKeys()); List partNames = new ArrayList<>(); for (List partVal : part_vals) { - partNames.add(Warehouse.makePartName(partCols, partVal)); + partNames.add(Warehouse.makePartName(partCols, partVal, table.getParameters(), conf)); } List oldParts = getPartitionsByNames(catName, dbName, tblName, partNames); if (oldParts.size() != partNames.size()) { diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java index 4b5e1813f0ba..417a194decc3 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java @@ -28,12 +28,7 @@ import java.util.concurrent.Executors; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.metastore.Deadline; -import org.apache.hadoop.hive.metastore.HMSHandler; -import org.apache.hadoop.hive.metastore.MetaStoreTestUtils; -import org.apache.hadoop.hive.metastore.ObjectStore; -import org.apache.hadoop.hive.metastore.TableType; -import org.apache.hadoop.hive.metastore.Warehouse; +import org.apache.hadoop.hive.metastore.*; import org.apache.hadoop.hive.metastore.annotation.MetastoreCheckinTest; import org.apache.hadoop.hive.metastore.api.*; import org.apache.hadoop.hive.metastore.client.builder.DatabaseBuilder; @@ -361,7 +356,8 @@ public void testPrewarmMemoryEstimation() { List partitionValue = Collections.singletonList(pStat.getKey()); Partition p = createPartition(salesTable, partitionValue); objectStore.addPartition(p); - String pName = FileUtils.makePartName(Collections.singletonList(soldDateCol.getName()), partitionValue); + String pName = FileUtils.makePartName(Collections.singletonList(soldDateCol.getName()), partitionValue, + salesTable.getParameters(), conf); partNames.add(pName); ColumnStatistics stats = createColumnStatistics(pStat.getValue(), salesTable, soldDateCol, pName); @@ -1029,9 +1025,9 @@ public void testAggrStatsRepeatedRead() throws Exception { Assert.assertEquals(100, aggrStats.getColStats().get(0).getStatsData().getLongStats().getNumNulls()); objectStore.deletePartitionColumnStatistics(DEFAULT_CATALOG_NAME, db.getName(), tbl.getTableName(), - Warehouse.makePartName(tbl.getPartitionKeys(), partVals1), partVals1, colName, CacheUtils.HIVE_ENGINE); + Warehouse.makePartName(tbl.getPartitionKeys(), partVals1, tbl.getParameters(), conf), partVals1, colName, CacheUtils.HIVE_ENGINE); objectStore.deletePartitionColumnStatistics(DEFAULT_CATALOG_NAME, db.getName(), tbl.getTableName(), - Warehouse.makePartName(tbl.getPartitionKeys(), partVals2), partVals2, colName, CacheUtils.HIVE_ENGINE); + Warehouse.makePartName(tbl.getPartitionKeys(), partVals2, tbl.getParameters(), conf), partVals2, colName, CacheUtils.HIVE_ENGINE); objectStore.dropPartition(DEFAULT_CATALOG_NAME, db.getName(), tbl.getTableName(), partVals1); objectStore.dropPartition(DEFAULT_CATALOG_NAME, db.getName(), tbl.getTableName(), partVals2); objectStore.dropTable(DEFAULT_CATALOG_NAME, db.getName(), tbl.getTableName()); @@ -2082,7 +2078,8 @@ private PartitionObjectsAndNames createPartitionObjects(Table table) { Partition ptn = createPartition(table, partVals); ptn.setCatName(DEFAULT_CATALOG_NAME); ptns.add(ptn); - ptnNames.add(FileUtils.makePartName(partColNames, partVals)); + ptnNames.add(FileUtils.makePartName(partColNames, partVals, table.getParameters(), + MetastoreConf.newMetastoreConf())); } } return new PartitionObjectsAndNames(ptns, ptnNames); diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestExchangePartitions.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestExchangePartitions.java index 09d386287f05..a0731c1651b6 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestExchangePartitions.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestExchangePartitions.java @@ -135,9 +135,10 @@ public void testExchangePartitions() throws Exception { Assert.assertEquals(1, exchangedPartitions.size()); String partitionName = - Warehouse.makePartName(sourceTable.getPartitionKeys(), partitions[1].getValues()); + Warehouse.makePartName(sourceTable.getPartitionKeys(), partitions[1].getValues(), sourceTable.getParameters(), + metaStore.getConf()); String exchangedPartitionName = Warehouse.makePartName(sourceTable.getPartitionKeys(), - exchangedPartitions.get(0).getValues()); + exchangedPartitions.get(0).getValues(), sourceTable.getParameters(), metaStore.getConf()); Assert.assertEquals(partitionName, exchangedPartitionName); checkExchangedPartitions(sourceTable, destTable, Lists.newArrayList(partitions[1])); @@ -185,7 +186,8 @@ public void testExchangePartitionsYearSet() throws Exception { List exchangedPartNames = new ArrayList<>(); for (Partition exchangedPartition : exchangedPartitions) { String partName = - Warehouse.makePartName(sourceTable.getPartitionKeys(), exchangedPartition.getValues()); + Warehouse.makePartName(sourceTable.getPartitionKeys(), exchangedPartition.getValues(), + sourceTable.getParameters(), metaStore.getConf()); exchangedPartNames.add(partName); } Assert.assertTrue(exchangedPartNames.contains("year=2017/month=march/day=15")); @@ -1292,7 +1294,8 @@ protected void checkExchangedPartitions(Table sourceTable, Table destTable, // Check the location of the result partition. It should be located in the destination table // folder. String partName = - Warehouse.makePartName(sourceTable.getPartitionKeys(), partition.getValues()); + Warehouse.makePartName(sourceTable.getPartitionKeys(), partition.getValues(), sourceTable.getParameters(), + metaStore.getConf()); Assert.assertEquals(destTable.getSd().getLocation() + "/" + partName, resultPart.getSd().getLocation()); Assert.assertTrue(metaStore.isPathExists(new Path(resultPart.getSd().getLocation()))); @@ -1336,7 +1339,8 @@ protected void checkRemainingPartitions(Table sourceTable, Table destTable, // Expected exception } String partName = - Warehouse.makePartName(sourceTable.getPartitionKeys(), partition.getValues()); + Warehouse.makePartName(sourceTable.getPartitionKeys(), partition.getValues(), sourceTable.getParameters(), + metaStore.getConf()); Assert.assertFalse( metaStore.isPathExists(new Path(destTable.getSd().getLocation() + "/" + partName))); } diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestPartitionStat.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestPartitionStat.java index 31dd67edcd24..4a7b9f4df12a 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestPartitionStat.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestPartitionStat.java @@ -175,7 +175,8 @@ private ColumnStatisticsData createStatsData(long numNulls, long numDVs, long lo } private ColumnStatistics createPartColStats(List partValue, ColumnStatisticsData partitionStats) { - String pName = FileUtils.makePartName(Collections.singletonList(PART_COL_NAME), partValue); + String pName = FileUtils.makePartName(Collections.singletonList(PART_COL_NAME), partValue, null, + metaStore.getConf()); ColumnStatistics colStats = new ColumnStatistics(); ColumnStatisticsDesc statsDesc = new ColumnStatisticsDesc(false, DB_NAME, TABLE_NAME); statsDesc.setPartName(pName); @@ -201,7 +202,8 @@ private List updatePartColStat(Map, ColumnStatisticsData> p List pNameList = new ArrayList<>(); for (Map.Entry, ColumnStatisticsData> entry : partitionStats.entrySet()) { ColumnStatistics colStats = createPartColStats(entry.getKey(), entry.getValue()); - String pName = FileUtils.makePartName(Collections.singletonList(PART_COL_NAME), entry.getKey()); + String pName = FileUtils.makePartName(Collections.singletonList(PART_COL_NAME), entry.getKey(), null, + metaStore.getConf()); rqst.addToColStats(colStats); pNameList.add(pName); } @@ -214,7 +216,8 @@ private void validateStats(Map, ColumnStatisticsData> partitionStat Map> statistics = client.getPartitionColumnStatistics(DB_NAME, TABLE_NAME, pNameList, Collections.singletonList(PART_COL_NAME), HIVE_ENGINE); for (Map.Entry, ColumnStatisticsData> entry : partitionStats.entrySet()) { - String pName = FileUtils.makePartName(Collections.singletonList(PART_COL_NAME), entry.getKey()); + String pName = FileUtils.makePartName(Collections.singletonList(PART_COL_NAME), entry.getKey(), null, + metaStore.getConf()); ColumnStatisticsObj statisticsObjs = statistics.get(pName).get(0); ColumnStatisticsData data = entry.getValue(); assertLongStatsEquals(statisticsObjs.getStatsData().getLongStats(), data.getLongStats()); diff --git a/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java b/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java index d781a522c7f4..5fe32327d609 100644 --- a/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java +++ b/streaming/src/java/org/apache/hive/streaming/AbstractRecordWriter.java @@ -550,7 +550,7 @@ public Path getDeltaFileLocation(List partitionValues, Map partSpec = Warehouse.makeSpecFromValues( table.getPartitionKeys(), partitionValues); try { - destLocation = new Path(table.getDataLocation(), Warehouse.makePartPath(partSpec)); + destLocation = new Path(table.getDataLocation(), Warehouse.makePartPath(partSpec, table.getParameters(), conf)); } catch (MetaException e) { throw new StreamingException("Unable to retrieve the delta file location" + " for values: " + partitionValues diff --git a/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java b/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java index a2770e5b008b..699054976322 100644 --- a/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java +++ b/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java @@ -443,10 +443,12 @@ public PartitionInfo createPartitionIfNotExists(final List partitionValu try { Map partSpec = Warehouse.makeSpecFromValues(tableObject.getPartitionKeys(), partitionValues); - Path location = new Path(tableObject.getDataLocation(), Warehouse.makePartPath(partSpec)); + Path location = new Path(tableObject.getDataLocation(), Warehouse.makePartPath(partSpec, + tableObject.getParameters(), conf)); location = new Path(Utilities.getQualifiedPath(conf, location)); partLocation = location.toString(); - partName = Warehouse.makePartName(tableObject.getPartitionKeys(), partitionValues); + partName = Warehouse.makePartName(tableObject.getPartitionKeys(), partitionValues, tableObject.getParameters(), + conf); Partition partition = org.apache.hadoop.hive.ql.metadata.Partition.createMetaPartitionObject(tableObject, partSpec, location); diff --git a/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java b/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java index d11f7950be48..b62e345fa7ba 100644 --- a/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java +++ b/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java @@ -108,7 +108,8 @@ public TransactionBatch(HiveStreamingConnection conn) throws StreamingException try { if (conn.isPartitionedTable() && !conn.isDynamicPartitioning()) { List partKeys = conn.getTable().getPartitionKeys(); - partNameForLock = Warehouse.makePartName(partKeys, conn.getStaticPartitionValues()); + partNameForLock = Warehouse.makePartName(partKeys, conn.getStaticPartitionValues(), + conn.getTable().getParameters(), conn.getConf()); } this.conn = conn; this.username = conn.getUsername(); From 1fc982e2f2e3203bc772c52503551d264ada707f Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Mon, 18 Aug 2025 22:14:32 +0530 Subject: [PATCH 08/12] Fix NPE in locks --- .../metastore/txn/jdbc/commands/InsertHiveLocksCommand.java | 3 ++- .../txn/jdbc/commands/InsertTxnComponentsCommand.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java index 4d9c51816a9d..71c8f52afeff 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java @@ -80,7 +80,8 @@ public List getQueryParameters(Configuration conf) { String lockType = LockTypeUtil.getEncodingAsStr(lc.getType()); try { params.add(new Object[] {tempExtLockId, ++intLockId, lockRequest.getTxnid(), StringUtils.lowerCase(lc.getDbname()), - StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname(), hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters(), conf), + StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname(), + lc.getTablename() != null ? hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters() : null, conf), Character.toString(LOCK_WAITING), lockType, lockRequest.getUser(), lockRequest.getHostname(), lockRequest.getAgentInfo()}); } catch (TException e) { throw new RuntimeException(e); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java index e25848a2c5c1..8c95c6ec4e4c 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java @@ -116,7 +116,8 @@ private List getQueryParametersByLockRequest(Configuration conf) { String tblName = StringUtils.lowerCase(lc.getTablename()); String partName = null; try { - partName = TxnUtils.normalizePartitionCase(lc.getPartitionname(), hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters(), conf); + partName = TxnUtils.normalizePartitionCase(lc.getPartitionname(), lc.getTablename() != null ? + hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters() : null, conf); } catch (TException e) { throw new RuntimeException(e); } From c2b9d1cd2dda391e3180fe7b84096c07b865a55d Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Tue, 19 Aug 2025 17:44:23 +0530 Subject: [PATCH 09/12] Fix table not found --- .../metastore/txn/jdbc/commands/InsertHiveLocksCommand.java | 2 +- .../txn/jdbc/commands/InsertTxnComponentsCommand.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java index 71c8f52afeff..d6fe708e4481 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java @@ -81,7 +81,7 @@ public List getQueryParameters(Configuration conf) { try { params.add(new Object[] {tempExtLockId, ++intLockId, lockRequest.getTxnid(), StringUtils.lowerCase(lc.getDbname()), StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname(), - lc.getTablename() != null ? hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters() : null, conf), + lc.getTablename() != null ? hmsc.tableExists(lc.getDbname(), lc.getTablename()) ? hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters() : null : null, conf), Character.toString(LOCK_WAITING), lockType, lockRequest.getUser(), lockRequest.getHostname(), lockRequest.getAgentInfo()}); } catch (TException e) { throw new RuntimeException(e); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java index 8c95c6ec4e4c..5a7c380f2b8e 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java @@ -117,7 +117,8 @@ private List getQueryParametersByLockRequest(Configuration conf) { String partName = null; try { partName = TxnUtils.normalizePartitionCase(lc.getPartitionname(), lc.getTablename() != null ? - hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters() : null, conf); + hmsc.tableExists(lc.getDbname(), lc.getTablename()) ? hmsc.getTable(lc.getDbname(), + lc.getTablename()).getParameters() : null : null, conf); } catch (TException e) { throw new RuntimeException(e); } From c8c3f3fd2b43a1f3072a683a34885ecf8afd15c0 Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Wed, 20 Aug 2025 08:37:26 +0530 Subject: [PATCH 10/12] Fix further test cases --- .../repl/bootstrap/events/filesystem/FSTableEvent.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java index d1a05d195970..ba32c5a26643 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java @@ -124,9 +124,10 @@ public List partitionDescriptions(ImportTableDesc tb throws SemanticException { List descs = new ArrayList<>(); //TODO: if partitions are loaded lazily via the iterator then we will have to avoid conversion of everything here as it defeats the purpose. + Map tableParams = metadata.getTable().getParameters(); for (Partition partition : metadata.getPartitions()) { // TODO: this should ideally not create AddPartitionDesc per partition - AlterTableAddPartitionDesc partsDesc = addPartitionDesc(fromPathMetadata, tblDesc, partition); + AlterTableAddPartitionDesc partsDesc = addPartitionDesc(fromPathMetadata, tblDesc, partition, tableParams); descs.add(partsDesc); } return descs; @@ -148,8 +149,8 @@ public List partitions(ImportTableDesc tblDesc) return partitions; } - private AlterTableAddPartitionDesc addPartitionDesc(Path fromPath, ImportTableDesc tblDesc, Partition partition) - throws SemanticException { + private AlterTableAddPartitionDesc addPartitionDesc(Path fromPath, ImportTableDesc tblDesc, Partition partition, + Map tableParams) throws SemanticException { try { Map partitionSpec = EximUtil.makePartSpec(tblDesc.getPartCols(), partition.getValues()); @@ -161,7 +162,7 @@ private AlterTableAddPartitionDesc addPartitionDesc(Path fromPath, ImportTableDe * {@link org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.filesystem.BootstrapEventsIterator} */ location = new Path(fromPath, Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues(), - Hive.get(hiveConf).getTable(tblDesc.getDatabaseName(), tblDesc.getTableName()).getParameters(), hiveConf)). + tableParams, hiveConf)). toString(); } From 7f130851514e17ef80919bbdfdc4638ee1fc7c81 Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Mon, 25 Aug 2025 11:31:28 +0530 Subject: [PATCH 11/12] Added tableParams in LockComponent and made changes to set it, optimized locking --- .../apache/hadoop/hive/ql/io/AcidUtils.java | 4 + .../hive/ql/txn/compactor/CompactorTest.java | 1 + .../thrift/gen-cpp/ThriftHiveMetastore.cpp | 2534 +++---- .../thrift/gen-cpp/hive_metastore_types.cpp | 6154 +++++++++-------- .../gen/thrift/gen-cpp/hive_metastore_types.h | 10 +- .../metastore/api/AbortCompactResponse.java | 48 +- .../metastore/api/AbortCompactionRequest.java | 32 +- .../metastore/api/AddDynamicPartitions.java | 32 +- .../metastore/api/AlterPartitionsRequest.java | 72 +- .../hive/metastore/api/AlterTableRequest.java | 32 +- .../api/AppendPartitionsRequest.java | 32 +- .../api/ClearFileMetadataRequest.java | 32 +- .../metastore/api/ClientCapabilities.java | 36 +- .../hive/metastore/api/CompactionRequest.java | 44 +- .../metastore/api/CreateDatabaseRequest.java | 44 +- .../metastore/api/CreateTableRequest.java | 248 +- .../api/DeleteColumnStatisticsRequest.java | 64 +- .../hive/metastore/api/ExtendedTableInfo.java | 64 +- .../metastore/api/FindSchemasByColsResp.java | 36 +- .../hive/metastore/api/FireEventRequest.java | 136 +- .../metastore/api/FireEventRequestData.java | 36 +- .../hive/metastore/api/FireEventResponse.java | 32 +- .../api/GetAllFunctionsResponse.java | 36 +- .../metastore/api/GetDatabaseRequest.java | 32 +- .../hive/metastore/api/GetFieldsResponse.java | 36 +- .../api/GetFileMetadataByExprRequest.java | 32 +- .../api/GetFileMetadataByExprResult.java | 48 +- .../metastore/api/GetFileMetadataRequest.java | 32 +- .../metastore/api/GetFileMetadataResult.java | 44 +- .../metastore/api/GetFunctionsResponse.java | 68 +- ...tLatestCommittedCompactionInfoRequest.java | 32 +- ...LatestCommittedCompactionInfoResponse.java | 36 +- .../metastore/api/GetOpenTxnsRequest.java | 36 +- .../api/GetPartitionNamesPsRequest.java | 32 +- .../api/GetPartitionNamesPsResponse.java | 32 +- .../metastore/api/GetPartitionRequest.java | 32 +- .../api/GetPartitionsFilterSpec.java | 32 +- .../api/GetPartitionsPsWithAuthRequest.java | 96 +- .../api/GetPartitionsPsWithAuthResponse.java | 36 +- .../metastore/api/GetPartitionsRequest.java | 64 +- .../metastore/api/GetPartitionsResponse.java | 36 +- .../metastore/api/GetProjectionsSpec.java | 32 +- .../hive/metastore/api/GetSchemaResponse.java | 36 +- .../hive/metastore/api/GetTableRequest.java | 32 +- .../metastore/api/GetTablesExtRequest.java | 32 +- .../hive/metastore/api/GetTablesRequest.java | 64 +- .../hive/metastore/api/GetTablesResult.java | 36 +- .../api/HeartbeatTxnRangeResponse.java | 64 +- .../metastore/api/InsertEventRequestData.java | 128 +- .../hive/metastore/api/LockComponent.java | 166 +- .../hive/metastore/api/LockRequest.java | 36 +- .../api/NotificationEventRequest.java | 96 +- .../api/NotificationEventResponse.java | 36 +- .../api/NotificationEventsCountRequest.java | 32 +- .../metastore/api/PartitionsResponse.java | 36 +- .../metastore/api/PutFileMetadataRequest.java | 64 +- .../metastore/api/RenamePartitionRequest.java | 32 +- .../api/ReplayedTxnsForPolicyResult.java | 44 +- .../metastore/api/ReplicationMetricList.java | 36 +- .../hive/metastore/api/SchemaVersion.java | 36 +- .../metastore/api/ShowCompactResponse.java | 36 +- .../hive/metastore/api/ShowLocksResponse.java | 36 +- .../metastore/api/ThriftHiveMetastore.java | 2744 ++++---- .../metastore/api/WMFullResourcePlan.java | 144 +- .../api/WMGetAllResourcePlanResponse.java | 36 +- .../WMGetTriggersForResourePlanResponse.java | 36 +- .../api/WMValidateResourcePlanResponse.java | 64 +- .../api/WriteNotificationLogBatchRequest.java | 36 +- .../api/WriteNotificationLogRequest.java | 32 +- .../metastore/AbortCompactResponse.php | 28 +- .../metastore/AbortCompactionRequest.php | 18 +- .../metastore/AddDynamicPartitions.php | 18 +- .../metastore/AlterPartitionsRequest.php | 40 +- .../gen-php/metastore/AlterTableRequest.php | 18 +- .../metastore/AppendPartitionsRequest.php | 18 +- .../metastore/ClearFileMetadataRequest.php | 18 +- .../gen-php/metastore/ClientCapabilities.php | 18 +- .../gen-php/metastore/CompactionRequest.php | 26 +- .../metastore/CreateDatabaseRequest.php | 26 +- .../gen-php/metastore/CreateTableRequest.php | 138 +- .../DeleteColumnStatisticsRequest.php | 36 +- .../gen-php/metastore/ExtendedTableInfo.php | 36 +- .../metastore/FindSchemasByColsResp.php | 20 +- .../gen-php/metastore/FireEventRequest.php | 80 +- .../metastore/FireEventRequestData.php | 20 +- .../gen-php/metastore/FireEventResponse.php | 18 +- .../metastore/GetAllFunctionsResponse.php | 20 +- .../gen-php/metastore/GetDatabaseRequest.php | 18 +- .../gen-php/metastore/GetFieldsResponse.php | 20 +- .../GetFileMetadataByExprRequest.php | 18 +- .../metastore/GetFileMetadataByExprResult.php | 28 +- .../metastore/GetFileMetadataRequest.php | 18 +- .../metastore/GetFileMetadataResult.php | 26 +- .../metastore/GetFunctionsResponse.php | 38 +- ...etLatestCommittedCompactionInfoRequest.php | 18 +- ...tLatestCommittedCompactionInfoResponse.php | 20 +- .../gen-php/metastore/GetOpenTxnsRequest.php | 18 +- .../metastore/GetPartitionNamesPsRequest.php | 18 +- .../metastore/GetPartitionNamesPsResponse.php | 18 +- .../gen-php/metastore/GetPartitionRequest.php | 18 +- .../metastore/GetPartitionsFilterSpec.php | 18 +- .../GetPartitionsPsWithAuthRequest.php | 54 +- .../GetPartitionsPsWithAuthResponse.php | 20 +- .../metastore/GetPartitionsRequest.php | 36 +- .../metastore/GetPartitionsResponse.php | 20 +- .../gen-php/metastore/GetProjectionsSpec.php | 18 +- .../gen-php/metastore/GetSchemaResponse.php | 20 +- .../gen-php/metastore/GetTableRequest.php | 18 +- .../gen-php/metastore/GetTablesExtRequest.php | 18 +- .../gen-php/metastore/GetTablesRequest.php | 36 +- .../gen-php/metastore/GetTablesResult.php | 20 +- .../metastore/HeartbeatTxnRangeResponse.php | 36 +- .../metastore/InsertEventRequestData.php | 72 +- .../gen-php/metastore/LockComponent.php | 52 + .../thrift/gen-php/metastore/LockRequest.php | 20 +- .../metastore/NotificationEventRequest.php | 54 +- .../metastore/NotificationEventResponse.php | 20 +- .../NotificationEventsCountRequest.php | 18 +- .../gen-php/metastore/PartitionsResponse.php | 20 +- .../metastore/PutFileMetadataRequest.php | 36 +- .../metastore/RenamePartitionRequest.php | 18 +- .../metastore/ReplayedTxnsForPolicyResult.php | 26 +- .../metastore/ReplicationMetricList.php | 20 +- .../gen-php/metastore/SchemaVersion.php | 20 +- .../gen-php/metastore/ShowCompactResponse.php | 20 +- .../gen-php/metastore/ShowLocksResponse.php | 20 +- ...hriftHiveMetastore_add_partitions_args.php | 20 +- ...iveMetastore_add_partitions_pspec_args.php | 20 +- ...tore_add_write_ids_to_min_history_args.php | 26 +- ...iftHiveMetastore_alter_partitions_args.php | 20 +- ...rtitions_with_environment_context_args.php | 20 +- ...iftHiveMetastore_append_partition_args.php | 18 +- ...artition_with_environment_context_args.php | 18 +- ...ore_create_table_with_constraints_args.php | 120 +- ...hriftHiveMetastore_drop_partition_args.php | 18 +- ...artition_with_environment_context_args.php | 18 +- ...tHiveMetastore_exchange_partition_args.php | 26 +- ...HiveMetastore_exchange_partitions_args.php | 26 +- ...veMetastore_exchange_partitions_result.php | 20 +- ...store_fetch_partition_names_req_result.php | 18 +- ...tastore_find_columns_with_stats_result.php | 18 +- ...HiveMetastore_get_all_databases_result.php | 18 +- ...ized_view_objects_for_rewriting_result.php | 20 +- ...tHiveMetastore_get_all_packages_result.php | 18 +- ...store_get_all_stored_procedures_result.php | 18 +- ...iftHiveMetastore_get_all_tables_result.php | 18 +- ...store_get_all_token_identifiers_result.php | 18 +- ...astore_get_all_write_event_info_result.php | 20 +- ...riftHiveMetastore_get_databases_result.php | 18 +- ...iveMetastore_get_dataconnectors_result.php | 18 +- .../ThriftHiveMetastore_get_fields_result.php | 20 +- ...fields_with_environment_context_result.php | 20 +- ...riftHiveMetastore_get_functions_result.php | 18 +- ...ftHiveMetastore_get_master_keys_result.php | 18 +- ...aterialized_views_for_rewriting_result.php | 18 +- ...astore_get_part_specs_by_filter_result.php | 20 +- ...ThriftHiveMetastore_get_partition_args.php | 18 +- ...eMetastore_get_partition_names_ps_args.php | 18 +- ...etastore_get_partition_names_ps_result.php | 18 +- ...tastore_get_partition_names_req_result.php | 18 +- ...veMetastore_get_partition_names_result.php | 18 +- ...Metastore_get_partition_with_auth_args.php | 36 +- ...re_get_partitions_by_filter_req_result.php | 20 +- ...astore_get_partitions_by_filter_result.php | 20 +- ...Metastore_get_partitions_by_names_args.php | 18 +- ...tastore_get_partitions_by_names_result.php | 20 +- ...ftHiveMetastore_get_partitions_ps_args.php | 18 +- ...HiveMetastore_get_partitions_ps_result.php | 20 +- ...store_get_partitions_ps_with_auth_args.php | 36 +- ...ore_get_partitions_ps_with_auth_result.php | 20 +- ...eMetastore_get_partitions_pspec_result.php | 20 +- ...iftHiveMetastore_get_partitions_result.php | 20 +- ...etastore_get_partitions_with_auth_args.php | 18 +- ...astore_get_partitions_with_auth_result.php | 20 +- ...ftHiveMetastore_get_privilege_set_args.php | 18 +- ...iftHiveMetastore_get_role_names_result.php | 18 +- ...HiveMetastore_get_runtime_stats_result.php | 20 +- ...tastore_get_schema_all_versions_result.php | 20 +- .../ThriftHiveMetastore_get_schema_result.php | 20 +- ...schema_with_environment_context_result.php | 20 +- ...hriftHiveMetastore_get_table_meta_args.php | 18 +- ...iftHiveMetastore_get_table_meta_result.php | 20 +- ...store_get_table_names_by_filter_result.php | 18 +- ...iveMetastore_get_tables_by_type_result.php | 18 +- ...iftHiveMetastore_get_tables_ext_result.php | 20 +- .../ThriftHiveMetastore_get_tables_result.php | 18 +- ...hriftHiveMetastore_get_type_all_result.php | 28 +- ...tastore_isPartitionMarkedForEvent_args.php | 26 +- ...ftHiveMetastore_list_privileges_result.php | 20 +- .../ThriftHiveMetastore_list_roles_result.php | 20 +- ...veMetastore_markPartitionForEvent_args.php | 26 +- ...rtition_name_has_valid_characters_args.php | 18 +- ...etastore_partition_name_to_spec_result.php | 26 +- ...etastore_partition_name_to_vals_result.php | 18 +- ...iftHiveMetastore_rename_partition_args.php | 18 +- .../ThriftHiveMetastore_set_ugi_args.php | 18 +- .../ThriftHiveMetastore_set_ugi_result.php | 18 +- ...hriftHiveMetastore_truncate_table_args.php | 18 +- .../gen-php/metastore/WMFullResourcePlan.php | 80 +- .../WMGetAllResourcePlanResponse.php | 20 +- .../WMGetTriggersForResourePlanResponse.php | 20 +- .../WMValidateResourcePlanResponse.php | 36 +- .../WriteNotificationLogBatchRequest.php | 20 +- .../metastore/WriteNotificationLogRequest.php | 18 +- .../hive_metastore/ThriftHiveMetastore.py | 1042 +-- .../thrift/gen-py/hive_metastore/ttypes.py | 1200 ++-- .../gen/thrift/gen-rb/hive_metastore_types.rb | 4 +- .../hive/metastore/LockComponentBuilder.java | 12 + .../src/main/thrift/hive_metastore.thrift | 3 +- .../apache/hadoop/hive/metastore/Msck.java | 7 +- .../jdbc/commands/InsertHiveLocksCommand.java | 18 +- .../commands/InsertTxnComponentsCommand.java | 23 +- .../hive/streaming/TransactionBatch.java | 1 + 213 files changed, 10324 insertions(+), 10043 deletions(-) diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java index bba49fe71e8b..40bb3084cba0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java @@ -2934,6 +2934,7 @@ public static List makeLockComponents(Set outputs, S } compBuilder.setDbName(t.getDbName()); compBuilder.setTableName(t.getTableName()); + compBuilder.setTableParams(t.getParameters()); break; case PARTITION: @@ -2945,6 +2946,7 @@ public static List makeLockComponents(Set outputs, S } compBuilder.setDbName(t.getDbName()); compBuilder.setTableName(t.getTableName()); + compBuilder.setTableParams(t.getParameters()); break; default: @@ -2993,6 +2995,7 @@ public static List makeLockComponents(Set outputs, S t = output.getTable(); compBuilder.setDbName(t.getDbName()); compBuilder.setTableName(t.getTableName()); + compBuilder.setTableParams(t.getParameters()); break; case PARTITION: @@ -3000,6 +3003,7 @@ public static List makeLockComponents(Set outputs, S t = output.getPartition().getTable(); compBuilder.setDbName(t.getDbName()); compBuilder.setTableName(t.getTableName()); + compBuilder.setTableParams(t.getParameters()); break; default: diff --git a/ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java b/ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java index ec2f5dacd75a..200bc4645763 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java @@ -290,6 +290,7 @@ protected void acquireLock(Table t, Partition p, long txnId) throws Exception { .setOperationType(DataOperationType.INSERT) .setDbName(t.getDbName()) .setTableName(t.getTableName()) + .setTableParams(t.getParameters()) .setIsTransactional(true); if (p != null) { lockCompBuilder.setPartitionName(t.getPartitionKeys().get(0).getName() + "=" + p.getValues().get(0)); 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 11bdf1675b76..31c8e2f0a44b 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 @@ -3202,14 +3202,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc 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 _size1963; + ::apache::thrift::protocol::TType _etype1966; + xfer += iprot->readListBegin(_etype1966, _size1963); + this->success.resize(_size1963); + uint32_t _i1967; + for (_i1967 = 0; _i1967 < _size1963; ++_i1967) { - xfer += iprot->readString(this->success[_i1959]); + xfer += iprot->readString(this->success[_i1967]); } xfer += iprot->readListEnd(); } @@ -3248,10 +3248,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1960; - for (_iter1960 = this->success.begin(); _iter1960 != this->success.end(); ++_iter1960) + std::vector ::const_iterator _iter1968; + for (_iter1968 = this->success.begin(); _iter1968 != this->success.end(); ++_iter1968) { - xfer += oprot->writeString((*_iter1960)); + xfer += oprot->writeString((*_iter1968)); } xfer += oprot->writeListEnd(); } @@ -3296,14 +3296,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto 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 _size1969; + ::apache::thrift::protocol::TType _etype1972; + xfer += iprot->readListBegin(_etype1972, _size1969); + (*(this->success)).resize(_size1969); + uint32_t _i1973; + for (_i1973 = 0; _i1973 < _size1969; ++_i1973) { - xfer += iprot->readString((*(this->success))[_i1965]); + xfer += iprot->readString((*(this->success))[_i1973]); } xfer += iprot->readListEnd(); } @@ -3420,14 +3420,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr 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 _size1974; + ::apache::thrift::protocol::TType _etype1977; + xfer += iprot->readListBegin(_etype1977, _size1974); + this->success.resize(_size1974); + uint32_t _i1978; + for (_i1978 = 0; _i1978 < _size1974; ++_i1978) { - xfer += iprot->readString(this->success[_i1970]); + xfer += iprot->readString(this->success[_i1978]); } xfer += iprot->readListEnd(); } @@ -3466,10 +3466,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1971; - for (_iter1971 = this->success.begin(); _iter1971 != this->success.end(); ++_iter1971) + std::vector ::const_iterator _iter1979; + for (_iter1979 = this->success.begin(); _iter1979 != this->success.end(); ++_iter1979) { - xfer += oprot->writeString((*_iter1971)); + xfer += oprot->writeString((*_iter1979)); } xfer += oprot->writeListEnd(); } @@ -3514,14 +3514,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p 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 _size1980; + ::apache::thrift::protocol::TType _etype1983; + xfer += iprot->readListBegin(_etype1983, _size1980); + (*(this->success)).resize(_size1980); + uint32_t _i1984; + for (_i1984 = 0; _i1984 < _size1980; ++_i1984) { - xfer += iprot->readString((*(this->success))[_i1976]); + xfer += iprot->readString((*(this->success))[_i1984]); } xfer += iprot->readListEnd(); } @@ -4956,14 +4956,14 @@ uint32_t ThriftHiveMetastore_get_dataconnectors_result::read(::apache::thrift::p 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 _size1985; + ::apache::thrift::protocol::TType _etype1988; + xfer += iprot->readListBegin(_etype1988, _size1985); + this->success.resize(_size1985); + uint32_t _i1989; + for (_i1989 = 0; _i1989 < _size1985; ++_i1989) { - xfer += iprot->readString(this->success[_i1981]); + xfer += iprot->readString(this->success[_i1989]); } xfer += iprot->readListEnd(); } @@ -5002,10 +5002,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(this->success.size())); - std::vector ::const_iterator _iter1982; - for (_iter1982 = this->success.begin(); _iter1982 != this->success.end(); ++_iter1982) + std::vector ::const_iterator _iter1990; + for (_iter1990 = this->success.begin(); _iter1990 != this->success.end(); ++_iter1990) { - xfer += oprot->writeString((*_iter1982)); + xfer += oprot->writeString((*_iter1990)); } xfer += oprot->writeListEnd(); } @@ -5050,14 +5050,14 @@ uint32_t ThriftHiveMetastore_get_dataconnectors_presult::read(::apache::thrift:: 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 _size1991; + ::apache::thrift::protocol::TType _etype1994; + xfer += iprot->readListBegin(_etype1994, _size1991); + (*(this->success)).resize(_size1991); + uint32_t _i1995; + for (_i1995 = 0; _i1995 < _size1991; ++_i1995) { - xfer += iprot->readString((*(this->success))[_i1987]); + xfer += iprot->readString((*(this->success))[_i1995]); } xfer += iprot->readListEnd(); } @@ -6103,17 +6103,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1988; - ::apache::thrift::protocol::TType _ktype1989; - ::apache::thrift::protocol::TType _vtype1990; - xfer += iprot->readMapBegin(_ktype1989, _vtype1990, _size1988); - uint32_t _i1992; - for (_i1992 = 0; _i1992 < _size1988; ++_i1992) + uint32_t _size1996; + ::apache::thrift::protocol::TType _ktype1997; + ::apache::thrift::protocol::TType _vtype1998; + xfer += iprot->readMapBegin(_ktype1997, _vtype1998, _size1996); + uint32_t _i2000; + for (_i2000 = 0; _i2000 < _size1996; ++_i2000) { - std::string _key1993; - xfer += iprot->readString(_key1993); - Type& _val1994 = this->success[_key1993]; - xfer += _val1994.read(iprot); + std::string _key2001; + xfer += iprot->readString(_key2001); + Type& _val2002 = this->success[_key2001]; + xfer += _val2002.read(iprot); } xfer += iprot->readMapEnd(); } @@ -6152,11 +6152,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1995; - for (_iter1995 = this->success.begin(); _iter1995 != this->success.end(); ++_iter1995) + std::map ::const_iterator _iter2003; + for (_iter2003 = this->success.begin(); _iter2003 != this->success.end(); ++_iter2003) { - xfer += oprot->writeString(_iter1995->first); - xfer += _iter1995->second.write(oprot); + xfer += oprot->writeString(_iter2003->first); + xfer += _iter2003->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -6201,17 +6201,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1996; - ::apache::thrift::protocol::TType _ktype1997; - ::apache::thrift::protocol::TType _vtype1998; - xfer += iprot->readMapBegin(_ktype1997, _vtype1998, _size1996); - uint32_t _i2000; - for (_i2000 = 0; _i2000 < _size1996; ++_i2000) + uint32_t _size2004; + ::apache::thrift::protocol::TType _ktype2005; + ::apache::thrift::protocol::TType _vtype2006; + xfer += iprot->readMapBegin(_ktype2005, _vtype2006, _size2004); + uint32_t _i2008; + for (_i2008 = 0; _i2008 < _size2004; ++_i2008) { - std::string _key2001; - xfer += iprot->readString(_key2001); - Type& _val2002 = (*(this->success))[_key2001]; - xfer += _val2002.read(iprot); + std::string _key2009; + xfer += iprot->readString(_key2009); + Type& _val2010 = (*(this->success))[_key2009]; + xfer += _val2010.read(iprot); } xfer += iprot->readMapEnd(); } @@ -6365,14 +6365,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2003; - ::apache::thrift::protocol::TType _etype2006; - xfer += iprot->readListBegin(_etype2006, _size2003); - this->success.resize(_size2003); - uint32_t _i2007; - for (_i2007 = 0; _i2007 < _size2003; ++_i2007) + uint32_t _size2011; + ::apache::thrift::protocol::TType _etype2014; + xfer += iprot->readListBegin(_etype2014, _size2011); + this->success.resize(_size2011); + uint32_t _i2015; + for (_i2015 = 0; _i2015 < _size2011; ++_i2015) { - xfer += this->success[_i2007].read(iprot); + xfer += this->success[_i2015].read(iprot); } xfer += iprot->readListEnd(); } @@ -6427,10 +6427,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2008; - for (_iter2008 = this->success.begin(); _iter2008 != this->success.end(); ++_iter2008) + std::vector ::const_iterator _iter2016; + for (_iter2016 = this->success.begin(); _iter2016 != this->success.end(); ++_iter2016) { - xfer += (*_iter2008).write(oprot); + xfer += (*_iter2016).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6483,14 +6483,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2009; - ::apache::thrift::protocol::TType _etype2012; - xfer += iprot->readListBegin(_etype2012, _size2009); - (*(this->success)).resize(_size2009); - uint32_t _i2013; - for (_i2013 = 0; _i2013 < _size2009; ++_i2013) + uint32_t _size2017; + ::apache::thrift::protocol::TType _etype2020; + xfer += iprot->readListBegin(_etype2020, _size2017); + (*(this->success)).resize(_size2017); + uint32_t _i2021; + for (_i2021 = 0; _i2021 < _size2017; ++_i2021) { - xfer += (*(this->success))[_i2013].read(iprot); + xfer += (*(this->success))[_i2021].read(iprot); } xfer += iprot->readListEnd(); } @@ -6676,14 +6676,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2014; - ::apache::thrift::protocol::TType _etype2017; - xfer += iprot->readListBegin(_etype2017, _size2014); - this->success.resize(_size2014); - uint32_t _i2018; - for (_i2018 = 0; _i2018 < _size2014; ++_i2018) + uint32_t _size2022; + ::apache::thrift::protocol::TType _etype2025; + xfer += iprot->readListBegin(_etype2025, _size2022); + this->success.resize(_size2022); + uint32_t _i2026; + for (_i2026 = 0; _i2026 < _size2022; ++_i2026) { - xfer += this->success[_i2018].read(iprot); + xfer += this->success[_i2026].read(iprot); } xfer += iprot->readListEnd(); } @@ -6738,10 +6738,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2019; - for (_iter2019 = this->success.begin(); _iter2019 != this->success.end(); ++_iter2019) + std::vector ::const_iterator _iter2027; + for (_iter2027 = this->success.begin(); _iter2027 != this->success.end(); ++_iter2027) { - xfer += (*_iter2019).write(oprot); + xfer += (*_iter2027).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6794,14 +6794,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2020; - ::apache::thrift::protocol::TType _etype2023; - xfer += iprot->readListBegin(_etype2023, _size2020); - (*(this->success)).resize(_size2020); - uint32_t _i2024; - for (_i2024 = 0; _i2024 < _size2020; ++_i2024) + uint32_t _size2028; + ::apache::thrift::protocol::TType _etype2031; + xfer += iprot->readListBegin(_etype2031, _size2028); + (*(this->success)).resize(_size2028); + uint32_t _i2032; + for (_i2032 = 0; _i2032 < _size2028; ++_i2032) { - xfer += (*(this->success))[_i2024].read(iprot); + xfer += (*(this->success))[_i2032].read(iprot); } xfer += iprot->readListEnd(); } @@ -7218,14 +7218,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2025; - ::apache::thrift::protocol::TType _etype2028; - xfer += iprot->readListBegin(_etype2028, _size2025); - this->success.resize(_size2025); - uint32_t _i2029; - for (_i2029 = 0; _i2029 < _size2025; ++_i2029) + uint32_t _size2033; + ::apache::thrift::protocol::TType _etype2036; + xfer += iprot->readListBegin(_etype2036, _size2033); + this->success.resize(_size2033); + uint32_t _i2037; + for (_i2037 = 0; _i2037 < _size2033; ++_i2037) { - xfer += this->success[_i2029].read(iprot); + xfer += this->success[_i2037].read(iprot); } xfer += iprot->readListEnd(); } @@ -7280,10 +7280,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2030; - for (_iter2030 = this->success.begin(); _iter2030 != this->success.end(); ++_iter2030) + std::vector ::const_iterator _iter2038; + for (_iter2038 = this->success.begin(); _iter2038 != this->success.end(); ++_iter2038) { - xfer += (*_iter2030).write(oprot); + xfer += (*_iter2038).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7336,14 +7336,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2031; - ::apache::thrift::protocol::TType _etype2034; - xfer += iprot->readListBegin(_etype2034, _size2031); - (*(this->success)).resize(_size2031); - uint32_t _i2035; - for (_i2035 = 0; _i2035 < _size2031; ++_i2035) + uint32_t _size2039; + ::apache::thrift::protocol::TType _etype2042; + xfer += iprot->readListBegin(_etype2042, _size2039); + (*(this->success)).resize(_size2039); + uint32_t _i2043; + for (_i2043 = 0; _i2043 < _size2039; ++_i2043) { - xfer += (*(this->success))[_i2035].read(iprot); + xfer += (*(this->success))[_i2043].read(iprot); } xfer += iprot->readListEnd(); } @@ -7529,14 +7529,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2036; - ::apache::thrift::protocol::TType _etype2039; - xfer += iprot->readListBegin(_etype2039, _size2036); - this->success.resize(_size2036); - uint32_t _i2040; - for (_i2040 = 0; _i2040 < _size2036; ++_i2040) + uint32_t _size2044; + ::apache::thrift::protocol::TType _etype2047; + xfer += iprot->readListBegin(_etype2047, _size2044); + this->success.resize(_size2044); + uint32_t _i2048; + for (_i2048 = 0; _i2048 < _size2044; ++_i2048) { - xfer += this->success[_i2040].read(iprot); + xfer += this->success[_i2048].read(iprot); } xfer += iprot->readListEnd(); } @@ -7591,10 +7591,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2041; - for (_iter2041 = this->success.begin(); _iter2041 != this->success.end(); ++_iter2041) + std::vector ::const_iterator _iter2049; + for (_iter2049 = this->success.begin(); _iter2049 != this->success.end(); ++_iter2049) { - xfer += (*_iter2041).write(oprot); + xfer += (*_iter2049).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7647,14 +7647,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2042; - ::apache::thrift::protocol::TType _etype2045; - xfer += iprot->readListBegin(_etype2045, _size2042); - (*(this->success)).resize(_size2042); - uint32_t _i2046; - for (_i2046 = 0; _i2046 < _size2042; ++_i2046) + uint32_t _size2050; + ::apache::thrift::protocol::TType _etype2053; + xfer += iprot->readListBegin(_etype2053, _size2050); + (*(this->success)).resize(_size2050); + uint32_t _i2054; + for (_i2054 = 0; _i2054 < _size2050; ++_i2054) { - xfer += (*(this->success))[_i2046].read(iprot); + xfer += (*(this->success))[_i2054].read(iprot); } xfer += iprot->readListEnd(); } @@ -8494,14 +8494,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size2047; - ::apache::thrift::protocol::TType _etype2050; - xfer += iprot->readListBegin(_etype2050, _size2047); - this->primaryKeys.resize(_size2047); - uint32_t _i2051; - for (_i2051 = 0; _i2051 < _size2047; ++_i2051) + uint32_t _size2055; + ::apache::thrift::protocol::TType _etype2058; + xfer += iprot->readListBegin(_etype2058, _size2055); + this->primaryKeys.resize(_size2055); + uint32_t _i2059; + for (_i2059 = 0; _i2059 < _size2055; ++_i2059) { - xfer += this->primaryKeys[_i2051].read(iprot); + xfer += this->primaryKeys[_i2059].read(iprot); } xfer += iprot->readListEnd(); } @@ -8514,14 +8514,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size2052; - ::apache::thrift::protocol::TType _etype2055; - xfer += iprot->readListBegin(_etype2055, _size2052); - this->foreignKeys.resize(_size2052); - uint32_t _i2056; - for (_i2056 = 0; _i2056 < _size2052; ++_i2056) + uint32_t _size2060; + ::apache::thrift::protocol::TType _etype2063; + xfer += iprot->readListBegin(_etype2063, _size2060); + this->foreignKeys.resize(_size2060); + uint32_t _i2064; + for (_i2064 = 0; _i2064 < _size2060; ++_i2064) { - xfer += this->foreignKeys[_i2056].read(iprot); + xfer += this->foreignKeys[_i2064].read(iprot); } xfer += iprot->readListEnd(); } @@ -8534,14 +8534,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size2057; - ::apache::thrift::protocol::TType _etype2060; - xfer += iprot->readListBegin(_etype2060, _size2057); - this->uniqueConstraints.resize(_size2057); - uint32_t _i2061; - for (_i2061 = 0; _i2061 < _size2057; ++_i2061) + uint32_t _size2065; + ::apache::thrift::protocol::TType _etype2068; + xfer += iprot->readListBegin(_etype2068, _size2065); + this->uniqueConstraints.resize(_size2065); + uint32_t _i2069; + for (_i2069 = 0; _i2069 < _size2065; ++_i2069) { - xfer += this->uniqueConstraints[_i2061].read(iprot); + xfer += this->uniqueConstraints[_i2069].read(iprot); } xfer += iprot->readListEnd(); } @@ -8554,14 +8554,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size2062; - ::apache::thrift::protocol::TType _etype2065; - xfer += iprot->readListBegin(_etype2065, _size2062); - this->notNullConstraints.resize(_size2062); - uint32_t _i2066; - for (_i2066 = 0; _i2066 < _size2062; ++_i2066) + uint32_t _size2070; + ::apache::thrift::protocol::TType _etype2073; + xfer += iprot->readListBegin(_etype2073, _size2070); + this->notNullConstraints.resize(_size2070); + uint32_t _i2074; + for (_i2074 = 0; _i2074 < _size2070; ++_i2074) { - xfer += this->notNullConstraints[_i2066].read(iprot); + xfer += this->notNullConstraints[_i2074].read(iprot); } xfer += iprot->readListEnd(); } @@ -8574,14 +8574,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size2067; - ::apache::thrift::protocol::TType _etype2070; - xfer += iprot->readListBegin(_etype2070, _size2067); - this->defaultConstraints.resize(_size2067); - uint32_t _i2071; - for (_i2071 = 0; _i2071 < _size2067; ++_i2071) + uint32_t _size2075; + ::apache::thrift::protocol::TType _etype2078; + xfer += iprot->readListBegin(_etype2078, _size2075); + this->defaultConstraints.resize(_size2075); + uint32_t _i2079; + for (_i2079 = 0; _i2079 < _size2075; ++_i2079) { - xfer += this->defaultConstraints[_i2071].read(iprot); + xfer += this->defaultConstraints[_i2079].read(iprot); } xfer += iprot->readListEnd(); } @@ -8594,14 +8594,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size2072; - ::apache::thrift::protocol::TType _etype2075; - xfer += iprot->readListBegin(_etype2075, _size2072); - this->checkConstraints.resize(_size2072); - uint32_t _i2076; - for (_i2076 = 0; _i2076 < _size2072; ++_i2076) + uint32_t _size2080; + ::apache::thrift::protocol::TType _etype2083; + xfer += iprot->readListBegin(_etype2083, _size2080); + this->checkConstraints.resize(_size2080); + uint32_t _i2084; + for (_i2084 = 0; _i2084 < _size2080; ++_i2084) { - xfer += this->checkConstraints[_i2076].read(iprot); + xfer += this->checkConstraints[_i2084].read(iprot); } xfer += iprot->readListEnd(); } @@ -8634,10 +8634,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(this->primaryKeys.size())); - std::vector ::const_iterator _iter2077; - for (_iter2077 = this->primaryKeys.begin(); _iter2077 != this->primaryKeys.end(); ++_iter2077) + std::vector ::const_iterator _iter2085; + for (_iter2085 = this->primaryKeys.begin(); _iter2085 != this->primaryKeys.end(); ++_iter2085) { - xfer += (*_iter2077).write(oprot); + xfer += (*_iter2085).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8646,10 +8646,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(this->foreignKeys.size())); - std::vector ::const_iterator _iter2078; - for (_iter2078 = this->foreignKeys.begin(); _iter2078 != this->foreignKeys.end(); ++_iter2078) + std::vector ::const_iterator _iter2086; + for (_iter2086 = this->foreignKeys.begin(); _iter2086 != this->foreignKeys.end(); ++_iter2086) { - xfer += (*_iter2078).write(oprot); + xfer += (*_iter2086).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8658,10 +8658,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(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter2079; - for (_iter2079 = this->uniqueConstraints.begin(); _iter2079 != this->uniqueConstraints.end(); ++_iter2079) + std::vector ::const_iterator _iter2087; + for (_iter2087 = this->uniqueConstraints.begin(); _iter2087 != this->uniqueConstraints.end(); ++_iter2087) { - xfer += (*_iter2079).write(oprot); + xfer += (*_iter2087).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8670,10 +8670,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(this->notNullConstraints.size())); - std::vector ::const_iterator _iter2080; - for (_iter2080 = this->notNullConstraints.begin(); _iter2080 != this->notNullConstraints.end(); ++_iter2080) + std::vector ::const_iterator _iter2088; + for (_iter2088 = this->notNullConstraints.begin(); _iter2088 != this->notNullConstraints.end(); ++_iter2088) { - xfer += (*_iter2080).write(oprot); + xfer += (*_iter2088).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8682,10 +8682,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(this->defaultConstraints.size())); - std::vector ::const_iterator _iter2081; - for (_iter2081 = this->defaultConstraints.begin(); _iter2081 != this->defaultConstraints.end(); ++_iter2081) + std::vector ::const_iterator _iter2089; + for (_iter2089 = this->defaultConstraints.begin(); _iter2089 != this->defaultConstraints.end(); ++_iter2089) { - xfer += (*_iter2081).write(oprot); + xfer += (*_iter2089).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8694,10 +8694,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(this->checkConstraints.size())); - std::vector ::const_iterator _iter2082; - for (_iter2082 = this->checkConstraints.begin(); _iter2082 != this->checkConstraints.end(); ++_iter2082) + std::vector ::const_iterator _iter2090; + for (_iter2090 = this->checkConstraints.begin(); _iter2090 != this->checkConstraints.end(); ++_iter2090) { - xfer += (*_iter2082).write(oprot); + xfer += (*_iter2090).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8725,10 +8725,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((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter2083; - for (_iter2083 = (*(this->primaryKeys)).begin(); _iter2083 != (*(this->primaryKeys)).end(); ++_iter2083) + std::vector ::const_iterator _iter2091; + for (_iter2091 = (*(this->primaryKeys)).begin(); _iter2091 != (*(this->primaryKeys)).end(); ++_iter2091) { - xfer += (*_iter2083).write(oprot); + xfer += (*_iter2091).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8737,10 +8737,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((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter2084; - for (_iter2084 = (*(this->foreignKeys)).begin(); _iter2084 != (*(this->foreignKeys)).end(); ++_iter2084) + std::vector ::const_iterator _iter2092; + for (_iter2092 = (*(this->foreignKeys)).begin(); _iter2092 != (*(this->foreignKeys)).end(); ++_iter2092) { - xfer += (*_iter2084).write(oprot); + xfer += (*_iter2092).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8749,10 +8749,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((*(this->uniqueConstraints)).size())); - std::vector ::const_iterator _iter2085; - for (_iter2085 = (*(this->uniqueConstraints)).begin(); _iter2085 != (*(this->uniqueConstraints)).end(); ++_iter2085) + std::vector ::const_iterator _iter2093; + for (_iter2093 = (*(this->uniqueConstraints)).begin(); _iter2093 != (*(this->uniqueConstraints)).end(); ++_iter2093) { - xfer += (*_iter2085).write(oprot); + xfer += (*_iter2093).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8761,10 +8761,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((*(this->notNullConstraints)).size())); - std::vector ::const_iterator _iter2086; - for (_iter2086 = (*(this->notNullConstraints)).begin(); _iter2086 != (*(this->notNullConstraints)).end(); ++_iter2086) + std::vector ::const_iterator _iter2094; + for (_iter2094 = (*(this->notNullConstraints)).begin(); _iter2094 != (*(this->notNullConstraints)).end(); ++_iter2094) { - xfer += (*_iter2086).write(oprot); + xfer += (*_iter2094).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8773,10 +8773,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((*(this->defaultConstraints)).size())); - std::vector ::const_iterator _iter2087; - for (_iter2087 = (*(this->defaultConstraints)).begin(); _iter2087 != (*(this->defaultConstraints)).end(); ++_iter2087) + std::vector ::const_iterator _iter2095; + for (_iter2095 = (*(this->defaultConstraints)).begin(); _iter2095 != (*(this->defaultConstraints)).end(); ++_iter2095) { - xfer += (*_iter2087).write(oprot); + xfer += (*_iter2095).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8785,10 +8785,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((*(this->checkConstraints)).size())); - std::vector ::const_iterator _iter2088; - for (_iter2088 = (*(this->checkConstraints)).begin(); _iter2088 != (*(this->checkConstraints)).end(); ++_iter2088) + std::vector ::const_iterator _iter2096; + for (_iter2096 = (*(this->checkConstraints)).begin(); _iter2096 != (*(this->checkConstraints)).end(); ++_iter2096) { - xfer += (*_iter2088).write(oprot); + xfer += (*_iter2096).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11677,14 +11677,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size2089; - ::apache::thrift::protocol::TType _etype2092; - xfer += iprot->readListBegin(_etype2092, _size2089); - this->partNames.resize(_size2089); - uint32_t _i2093; - for (_i2093 = 0; _i2093 < _size2089; ++_i2093) + uint32_t _size2097; + ::apache::thrift::protocol::TType _etype2100; + xfer += iprot->readListBegin(_etype2100, _size2097); + this->partNames.resize(_size2097); + uint32_t _i2101; + for (_i2101 = 0; _i2101 < _size2097; ++_i2101) { - xfer += iprot->readString(this->partNames[_i2093]); + xfer += iprot->readString(this->partNames[_i2101]); } xfer += iprot->readListEnd(); } @@ -11721,10 +11721,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(this->partNames.size())); - std::vector ::const_iterator _iter2094; - for (_iter2094 = this->partNames.begin(); _iter2094 != this->partNames.end(); ++_iter2094) + std::vector ::const_iterator _iter2102; + for (_iter2102 = this->partNames.begin(); _iter2102 != this->partNames.end(); ++_iter2102) { - xfer += oprot->writeString((*_iter2094)); + xfer += oprot->writeString((*_iter2102)); } xfer += oprot->writeListEnd(); } @@ -11756,10 +11756,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((*(this->partNames)).size())); - std::vector ::const_iterator _iter2095; - for (_iter2095 = (*(this->partNames)).begin(); _iter2095 != (*(this->partNames)).end(); ++_iter2095) + std::vector ::const_iterator _iter2103; + for (_iter2103 = (*(this->partNames)).begin(); _iter2103 != (*(this->partNames)).end(); ++_iter2103) { - xfer += oprot->writeString((*_iter2095)); + xfer += oprot->writeString((*_iter2103)); } xfer += oprot->writeListEnd(); } @@ -12210,14 +12210,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2096; - ::apache::thrift::protocol::TType _etype2099; - xfer += iprot->readListBegin(_etype2099, _size2096); - this->success.resize(_size2096); - uint32_t _i2100; - for (_i2100 = 0; _i2100 < _size2096; ++_i2100) + 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) { - xfer += iprot->readString(this->success[_i2100]); + xfer += iprot->readString(this->success[_i2108]); } xfer += iprot->readListEnd(); } @@ -12256,10 +12256,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2101; - for (_iter2101 = this->success.begin(); _iter2101 != this->success.end(); ++_iter2101) + std::vector ::const_iterator _iter2109; + for (_iter2109 = this->success.begin(); _iter2109 != this->success.end(); ++_iter2109) { - xfer += oprot->writeString((*_iter2101)); + xfer += oprot->writeString((*_iter2109)); } xfer += oprot->writeListEnd(); } @@ -12304,14 +12304,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2110; + ::apache::thrift::protocol::TType _etype2113; + xfer += iprot->readListBegin(_etype2113, _size2110); + (*(this->success)).resize(_size2110); + uint32_t _i2114; + for (_i2114 = 0; _i2114 < _size2110; ++_i2114) { - xfer += iprot->readString((*(this->success))[_i2106]); + xfer += iprot->readString((*(this->success))[_i2114]); } xfer += iprot->readListEnd(); } @@ -12481,14 +12481,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 _size2107; - ::apache::thrift::protocol::TType _etype2110; - xfer += iprot->readListBegin(_etype2110, _size2107); - this->success.resize(_size2107); - uint32_t _i2111; - for (_i2111 = 0; _i2111 < _size2107; ++_i2111) + 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) { - xfer += iprot->readString(this->success[_i2111]); + xfer += iprot->readString(this->success[_i2119]); } xfer += iprot->readListEnd(); } @@ -12527,10 +12527,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(this->success.size())); - std::vector ::const_iterator _iter2112; - for (_iter2112 = this->success.begin(); _iter2112 != this->success.end(); ++_iter2112) + std::vector ::const_iterator _iter2120; + for (_iter2120 = this->success.begin(); _iter2120 != this->success.end(); ++_iter2120) { - xfer += oprot->writeString((*_iter2112)); + xfer += oprot->writeString((*_iter2120)); } xfer += oprot->writeListEnd(); } @@ -12575,14 +12575,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2121; + ::apache::thrift::protocol::TType _etype2124; + xfer += iprot->readListBegin(_etype2124, _size2121); + (*(this->success)).resize(_size2121); + uint32_t _i2125; + for (_i2125 = 0; _i2125 < _size2121; ++_i2125) { - xfer += iprot->readString((*(this->success))[_i2117]); + xfer += iprot->readString((*(this->success))[_i2125]); } xfer += iprot->readListEnd(); } @@ -12699,14 +12699,14 @@ uint32_t ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_res if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2118; - ::apache::thrift::protocol::TType _etype2121; - xfer += iprot->readListBegin(_etype2121, _size2118); - this->success.resize(_size2118); - uint32_t _i2122; - for (_i2122 = 0; _i2122 < _size2118; ++_i2122) + 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) { - xfer += this->success[_i2122].read(iprot); + xfer += this->success[_i2130].read(iprot); } xfer += iprot->readListEnd(); } @@ -12745,10 +12745,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(this->success.size())); - std::vector ::const_iterator _iter2123; - for (_iter2123 = this->success.begin(); _iter2123 != this->success.end(); ++_iter2123) + std::vector
::const_iterator _iter2131; + for (_iter2131 = this->success.begin(); _iter2131 != this->success.end(); ++_iter2131) { - xfer += (*_iter2123).write(oprot); + xfer += (*_iter2131).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12793,14 +12793,14 @@ uint32_t ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_pre if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2132; + ::apache::thrift::protocol::TType _etype2135; + xfer += iprot->readListBegin(_etype2135, _size2132); + (*(this->success)).resize(_size2132); + uint32_t _i2136; + for (_i2136 = 0; _i2136 < _size2132; ++_i2136) { - xfer += (*(this->success))[_i2128].read(iprot); + xfer += (*(this->success))[_i2136].read(iprot); } xfer += iprot->readListEnd(); } @@ -12938,14 +12938,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2129; - ::apache::thrift::protocol::TType _etype2132; - xfer += iprot->readListBegin(_etype2132, _size2129); - this->success.resize(_size2129); - uint32_t _i2133; - for (_i2133 = 0; _i2133 < _size2129; ++_i2133) + uint32_t _size2137; + ::apache::thrift::protocol::TType _etype2140; + xfer += iprot->readListBegin(_etype2140, _size2137); + this->success.resize(_size2137); + uint32_t _i2141; + for (_i2141 = 0; _i2141 < _size2137; ++_i2141) { - xfer += iprot->readString(this->success[_i2133]); + xfer += iprot->readString(this->success[_i2141]); } xfer += iprot->readListEnd(); } @@ -12984,10 +12984,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(this->success.size())); - std::vector ::const_iterator _iter2134; - for (_iter2134 = this->success.begin(); _iter2134 != this->success.end(); ++_iter2134) + std::vector ::const_iterator _iter2142; + for (_iter2142 = this->success.begin(); _iter2142 != this->success.end(); ++_iter2142) { - xfer += oprot->writeString((*_iter2134)); + xfer += oprot->writeString((*_iter2142)); } xfer += oprot->writeListEnd(); } @@ -13032,14 +13032,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2135; - ::apache::thrift::protocol::TType _etype2138; - xfer += iprot->readListBegin(_etype2138, _size2135); - (*(this->success)).resize(_size2135); - uint32_t _i2139; - for (_i2139 = 0; _i2139 < _size2135; ++_i2139) + uint32_t _size2143; + ::apache::thrift::protocol::TType _etype2146; + xfer += iprot->readListBegin(_etype2146, _size2143); + (*(this->success)).resize(_size2143); + uint32_t _i2147; + for (_i2147 = 0; _i2147 < _size2143; ++_i2147) { - xfer += iprot->readString((*(this->success))[_i2139]); + xfer += iprot->readString((*(this->success))[_i2147]); } xfer += iprot->readListEnd(); } @@ -13114,14 +13114,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 _size2140; - ::apache::thrift::protocol::TType _etype2143; - xfer += iprot->readListBegin(_etype2143, _size2140); - this->tbl_types.resize(_size2140); - uint32_t _i2144; - for (_i2144 = 0; _i2144 < _size2140; ++_i2144) + uint32_t _size2148; + ::apache::thrift::protocol::TType _etype2151; + xfer += iprot->readListBegin(_etype2151, _size2148); + this->tbl_types.resize(_size2148); + uint32_t _i2152; + for (_i2152 = 0; _i2152 < _size2148; ++_i2152) { - xfer += iprot->readString(this->tbl_types[_i2144]); + xfer += iprot->readString(this->tbl_types[_i2152]); } xfer += iprot->readListEnd(); } @@ -13158,10 +13158,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(this->tbl_types.size())); - std::vector ::const_iterator _iter2145; - for (_iter2145 = this->tbl_types.begin(); _iter2145 != this->tbl_types.end(); ++_iter2145) + std::vector ::const_iterator _iter2153; + for (_iter2153 = this->tbl_types.begin(); _iter2153 != this->tbl_types.end(); ++_iter2153) { - xfer += oprot->writeString((*_iter2145)); + xfer += oprot->writeString((*_iter2153)); } xfer += oprot->writeListEnd(); } @@ -13193,10 +13193,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((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter2146; - for (_iter2146 = (*(this->tbl_types)).begin(); _iter2146 != (*(this->tbl_types)).end(); ++_iter2146) + std::vector ::const_iterator _iter2154; + for (_iter2154 = (*(this->tbl_types)).begin(); _iter2154 != (*(this->tbl_types)).end(); ++_iter2154) { - xfer += oprot->writeString((*_iter2146)); + xfer += oprot->writeString((*_iter2154)); } xfer += oprot->writeListEnd(); } @@ -13237,14 +13237,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2147; - ::apache::thrift::protocol::TType _etype2150; - xfer += iprot->readListBegin(_etype2150, _size2147); - this->success.resize(_size2147); - uint32_t _i2151; - for (_i2151 = 0; _i2151 < _size2147; ++_i2151) + uint32_t _size2155; + ::apache::thrift::protocol::TType _etype2158; + xfer += iprot->readListBegin(_etype2158, _size2155); + this->success.resize(_size2155); + uint32_t _i2159; + for (_i2159 = 0; _i2159 < _size2155; ++_i2159) { - xfer += this->success[_i2151].read(iprot); + xfer += this->success[_i2159].read(iprot); } xfer += iprot->readListEnd(); } @@ -13283,10 +13283,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(this->success.size())); - std::vector ::const_iterator _iter2152; - for (_iter2152 = this->success.begin(); _iter2152 != this->success.end(); ++_iter2152) + std::vector ::const_iterator _iter2160; + for (_iter2160 = this->success.begin(); _iter2160 != this->success.end(); ++_iter2160) { - xfer += (*_iter2152).write(oprot); + xfer += (*_iter2160).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13331,14 +13331,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2153; - ::apache::thrift::protocol::TType _etype2156; - xfer += iprot->readListBegin(_etype2156, _size2153); - (*(this->success)).resize(_size2153); - uint32_t _i2157; - for (_i2157 = 0; _i2157 < _size2153; ++_i2157) + uint32_t _size2161; + ::apache::thrift::protocol::TType _etype2164; + xfer += iprot->readListBegin(_etype2164, _size2161); + (*(this->success)).resize(_size2161); + uint32_t _i2165; + for (_i2165 = 0; _i2165 < _size2161; ++_i2165) { - xfer += (*(this->success))[_i2157].read(iprot); + xfer += (*(this->success))[_i2165].read(iprot); } xfer += iprot->readListEnd(); } @@ -13476,14 +13476,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2158; - ::apache::thrift::protocol::TType _etype2161; - xfer += iprot->readListBegin(_etype2161, _size2158); - this->success.resize(_size2158); - uint32_t _i2162; - for (_i2162 = 0; _i2162 < _size2158; ++_i2162) + uint32_t _size2166; + ::apache::thrift::protocol::TType _etype2169; + xfer += iprot->readListBegin(_etype2169, _size2166); + this->success.resize(_size2166); + uint32_t _i2170; + for (_i2170 = 0; _i2170 < _size2166; ++_i2170) { - xfer += iprot->readString(this->success[_i2162]); + xfer += iprot->readString(this->success[_i2170]); } xfer += iprot->readListEnd(); } @@ -13522,10 +13522,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2163; - for (_iter2163 = this->success.begin(); _iter2163 != this->success.end(); ++_iter2163) + std::vector ::const_iterator _iter2171; + for (_iter2171 = this->success.begin(); _iter2171 != this->success.end(); ++_iter2171) { - xfer += oprot->writeString((*_iter2163)); + xfer += oprot->writeString((*_iter2171)); } xfer += oprot->writeListEnd(); } @@ -13570,14 +13570,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2164; - ::apache::thrift::protocol::TType _etype2167; - xfer += iprot->readListBegin(_etype2167, _size2164); - (*(this->success)).resize(_size2164); - uint32_t _i2168; - for (_i2168 = 0; _i2168 < _size2164; ++_i2168) + uint32_t _size2172; + ::apache::thrift::protocol::TType _etype2175; + xfer += iprot->readListBegin(_etype2175, _size2172); + (*(this->success)).resize(_size2172); + uint32_t _i2176; + for (_i2176 = 0; _i2176 < _size2172; ++_i2176) { - xfer += iprot->readString((*(this->success))[_i2168]); + xfer += iprot->readString((*(this->success))[_i2176]); } xfer += iprot->readListEnd(); } @@ -13715,14 +13715,14 @@ uint32_t ThriftHiveMetastore_get_tables_ext_result::read(::apache::thrift::proto 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 _size2177; + ::apache::thrift::protocol::TType _etype2180; + xfer += iprot->readListBegin(_etype2180, _size2177); + this->success.resize(_size2177); + uint32_t _i2181; + for (_i2181 = 0; _i2181 < _size2177; ++_i2181) { - xfer += this->success[_i2173].read(iprot); + xfer += this->success[_i2181].read(iprot); } xfer += iprot->readListEnd(); } @@ -13761,10 +13761,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(this->success.size())); - std::vector ::const_iterator _iter2174; - for (_iter2174 = this->success.begin(); _iter2174 != this->success.end(); ++_iter2174) + std::vector ::const_iterator _iter2182; + for (_iter2182 = this->success.begin(); _iter2182 != this->success.end(); ++_iter2182) { - xfer += (*_iter2174).write(oprot); + xfer += (*_iter2182).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13809,14 +13809,14 @@ uint32_t ThriftHiveMetastore_get_tables_ext_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2175; - ::apache::thrift::protocol::TType _etype2178; - xfer += iprot->readListBegin(_etype2178, _size2175); - (*(this->success)).resize(_size2175); - uint32_t _i2179; - for (_i2179 = 0; _i2179 < _size2175; ++_i2179) + uint32_t _size2183; + ::apache::thrift::protocol::TType _etype2186; + xfer += iprot->readListBegin(_etype2186, _size2183); + (*(this->success)).resize(_size2183); + uint32_t _i2187; + for (_i2187 = 0; _i2187 < _size2183; ++_i2187) { - xfer += (*(this->success))[_i2179].read(iprot); + xfer += (*(this->success))[_i2187].read(iprot); } xfer += iprot->readListEnd(); } @@ -14998,14 +14998,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 _size2180; - ::apache::thrift::protocol::TType _etype2183; - xfer += iprot->readListBegin(_etype2183, _size2180); - this->success.resize(_size2180); - uint32_t _i2184; - for (_i2184 = 0; _i2184 < _size2180; ++_i2184) + uint32_t _size2188; + ::apache::thrift::protocol::TType _etype2191; + xfer += iprot->readListBegin(_etype2191, _size2188); + this->success.resize(_size2188); + uint32_t _i2192; + for (_i2192 = 0; _i2192 < _size2188; ++_i2192) { - xfer += iprot->readString(this->success[_i2184]); + xfer += iprot->readString(this->success[_i2192]); } xfer += iprot->readListEnd(); } @@ -15060,10 +15060,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2185; - for (_iter2185 = this->success.begin(); _iter2185 != this->success.end(); ++_iter2185) + std::vector ::const_iterator _iter2193; + for (_iter2193 = this->success.begin(); _iter2193 != this->success.end(); ++_iter2193) { - xfer += oprot->writeString((*_iter2185)); + xfer += oprot->writeString((*_iter2193)); } xfer += oprot->writeListEnd(); } @@ -15116,14 +15116,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 _size2186; - ::apache::thrift::protocol::TType _etype2189; - xfer += iprot->readListBegin(_etype2189, _size2186); - (*(this->success)).resize(_size2186); - uint32_t _i2190; - for (_i2190 = 0; _i2190 < _size2186; ++_i2190) + uint32_t _size2194; + ::apache::thrift::protocol::TType _etype2197; + xfer += iprot->readListBegin(_etype2197, _size2194); + (*(this->success)).resize(_size2194); + uint32_t _i2198; + for (_i2198 = 0; _i2198 < _size2194; ++_i2198) { - xfer += iprot->readString((*(this->success))[_i2190]); + xfer += iprot->readString((*(this->success))[_i2198]); } xfer += iprot->readListEnd(); } @@ -16684,14 +16684,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size2191; - ::apache::thrift::protocol::TType _etype2194; - xfer += iprot->readListBegin(_etype2194, _size2191); - this->new_parts.resize(_size2191); - uint32_t _i2195; - for (_i2195 = 0; _i2195 < _size2191; ++_i2195) + uint32_t _size2199; + ::apache::thrift::protocol::TType _etype2202; + xfer += iprot->readListBegin(_etype2202, _size2199); + this->new_parts.resize(_size2199); + uint32_t _i2203; + for (_i2203 = 0; _i2203 < _size2199; ++_i2203) { - xfer += this->new_parts[_i2195].read(iprot); + xfer += this->new_parts[_i2203].read(iprot); } xfer += iprot->readListEnd(); } @@ -16720,10 +16720,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter2196; - for (_iter2196 = this->new_parts.begin(); _iter2196 != this->new_parts.end(); ++_iter2196) + std::vector ::const_iterator _iter2204; + for (_iter2204 = this->new_parts.begin(); _iter2204 != this->new_parts.end(); ++_iter2204) { - xfer += (*_iter2196).write(oprot); + xfer += (*_iter2204).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16747,10 +16747,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter2197; - for (_iter2197 = (*(this->new_parts)).begin(); _iter2197 != (*(this->new_parts)).end(); ++_iter2197) + std::vector ::const_iterator _iter2205; + for (_iter2205 = (*(this->new_parts)).begin(); _iter2205 != (*(this->new_parts)).end(); ++_iter2205) { - xfer += (*_iter2197).write(oprot); + xfer += (*_iter2205).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16959,14 +16959,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 _size2198; - ::apache::thrift::protocol::TType _etype2201; - xfer += iprot->readListBegin(_etype2201, _size2198); - this->new_parts.resize(_size2198); - uint32_t _i2202; - for (_i2202 = 0; _i2202 < _size2198; ++_i2202) + uint32_t _size2206; + ::apache::thrift::protocol::TType _etype2209; + xfer += iprot->readListBegin(_etype2209, _size2206); + this->new_parts.resize(_size2206); + uint32_t _i2210; + for (_i2210 = 0; _i2210 < _size2206; ++_i2210) { - xfer += this->new_parts[_i2202].read(iprot); + xfer += this->new_parts[_i2210].read(iprot); } xfer += iprot->readListEnd(); } @@ -16995,10 +16995,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter2203; - for (_iter2203 = this->new_parts.begin(); _iter2203 != this->new_parts.end(); ++_iter2203) + std::vector ::const_iterator _iter2211; + for (_iter2211 = this->new_parts.begin(); _iter2211 != this->new_parts.end(); ++_iter2211) { - xfer += (*_iter2203).write(oprot); + xfer += (*_iter2211).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17022,10 +17022,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter2204; - for (_iter2204 = (*(this->new_parts)).begin(); _iter2204 != (*(this->new_parts)).end(); ++_iter2204) + std::vector ::const_iterator _iter2212; + for (_iter2212 = (*(this->new_parts)).begin(); _iter2212 != (*(this->new_parts)).end(); ++_iter2212) { - xfer += (*_iter2204).write(oprot); + xfer += (*_iter2212).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17250,14 +17250,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2205; - ::apache::thrift::protocol::TType _etype2208; - xfer += iprot->readListBegin(_etype2208, _size2205); - this->part_vals.resize(_size2205); - uint32_t _i2209; - for (_i2209 = 0; _i2209 < _size2205; ++_i2209) + uint32_t _size2213; + ::apache::thrift::protocol::TType _etype2216; + xfer += iprot->readListBegin(_etype2216, _size2213); + this->part_vals.resize(_size2213); + uint32_t _i2217; + for (_i2217 = 0; _i2217 < _size2213; ++_i2217) { - xfer += iprot->readString(this->part_vals[_i2209]); + xfer += iprot->readString(this->part_vals[_i2217]); } xfer += iprot->readListEnd(); } @@ -17294,10 +17294,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2210; - for (_iter2210 = this->part_vals.begin(); _iter2210 != this->part_vals.end(); ++_iter2210) + std::vector ::const_iterator _iter2218; + for (_iter2218 = this->part_vals.begin(); _iter2218 != this->part_vals.end(); ++_iter2218) { - xfer += oprot->writeString((*_iter2210)); + xfer += oprot->writeString((*_iter2218)); } xfer += oprot->writeListEnd(); } @@ -17329,10 +17329,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2211; - for (_iter2211 = (*(this->part_vals)).begin(); _iter2211 != (*(this->part_vals)).end(); ++_iter2211) + std::vector ::const_iterator _iter2219; + for (_iter2219 = (*(this->part_vals)).begin(); _iter2219 != (*(this->part_vals)).end(); ++_iter2219) { - xfer += oprot->writeString((*_iter2211)); + xfer += oprot->writeString((*_iter2219)); } xfer += oprot->writeListEnd(); } @@ -17804,14 +17804,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2212; - ::apache::thrift::protocol::TType _etype2215; - xfer += iprot->readListBegin(_etype2215, _size2212); - this->part_vals.resize(_size2212); - uint32_t _i2216; - for (_i2216 = 0; _i2216 < _size2212; ++_i2216) + uint32_t _size2220; + ::apache::thrift::protocol::TType _etype2223; + xfer += iprot->readListBegin(_etype2223, _size2220); + this->part_vals.resize(_size2220); + uint32_t _i2224; + for (_i2224 = 0; _i2224 < _size2220; ++_i2224) { - xfer += iprot->readString(this->part_vals[_i2216]); + xfer += iprot->readString(this->part_vals[_i2224]); } xfer += iprot->readListEnd(); } @@ -17856,10 +17856,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2217; - for (_iter2217 = this->part_vals.begin(); _iter2217 != this->part_vals.end(); ++_iter2217) + std::vector ::const_iterator _iter2225; + for (_iter2225 = this->part_vals.begin(); _iter2225 != this->part_vals.end(); ++_iter2225) { - xfer += oprot->writeString((*_iter2217)); + xfer += oprot->writeString((*_iter2225)); } xfer += oprot->writeListEnd(); } @@ -17895,10 +17895,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2218; - for (_iter2218 = (*(this->part_vals)).begin(); _iter2218 != (*(this->part_vals)).end(); ++_iter2218) + std::vector ::const_iterator _iter2226; + for (_iter2226 = (*(this->part_vals)).begin(); _iter2226 != (*(this->part_vals)).end(); ++_iter2226) { - xfer += oprot->writeString((*_iter2218)); + xfer += oprot->writeString((*_iter2226)); } xfer += oprot->writeListEnd(); } @@ -18948,14 +18948,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2219; - ::apache::thrift::protocol::TType _etype2222; - xfer += iprot->readListBegin(_etype2222, _size2219); - this->part_vals.resize(_size2219); - uint32_t _i2223; - for (_i2223 = 0; _i2223 < _size2219; ++_i2223) + uint32_t _size2227; + ::apache::thrift::protocol::TType _etype2230; + xfer += iprot->readListBegin(_etype2230, _size2227); + this->part_vals.resize(_size2227); + uint32_t _i2231; + for (_i2231 = 0; _i2231 < _size2227; ++_i2231) { - xfer += iprot->readString(this->part_vals[_i2223]); + xfer += iprot->readString(this->part_vals[_i2231]); } xfer += iprot->readListEnd(); } @@ -19000,10 +19000,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2224; - for (_iter2224 = this->part_vals.begin(); _iter2224 != this->part_vals.end(); ++_iter2224) + std::vector ::const_iterator _iter2232; + for (_iter2232 = this->part_vals.begin(); _iter2232 != this->part_vals.end(); ++_iter2232) { - xfer += oprot->writeString((*_iter2224)); + xfer += oprot->writeString((*_iter2232)); } xfer += oprot->writeListEnd(); } @@ -19039,10 +19039,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2225; - for (_iter2225 = (*(this->part_vals)).begin(); _iter2225 != (*(this->part_vals)).end(); ++_iter2225) + std::vector ::const_iterator _iter2233; + for (_iter2233 = (*(this->part_vals)).begin(); _iter2233 != (*(this->part_vals)).end(); ++_iter2233) { - xfer += oprot->writeString((*_iter2225)); + xfer += oprot->writeString((*_iter2233)); } xfer += oprot->writeListEnd(); } @@ -19251,14 +19251,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2226; - ::apache::thrift::protocol::TType _etype2229; - xfer += iprot->readListBegin(_etype2229, _size2226); - this->part_vals.resize(_size2226); - uint32_t _i2230; - for (_i2230 = 0; _i2230 < _size2226; ++_i2230) + uint32_t _size2234; + ::apache::thrift::protocol::TType _etype2237; + xfer += iprot->readListBegin(_etype2237, _size2234); + this->part_vals.resize(_size2234); + uint32_t _i2238; + for (_i2238 = 0; _i2238 < _size2234; ++_i2238) { - xfer += iprot->readString(this->part_vals[_i2230]); + xfer += iprot->readString(this->part_vals[_i2238]); } xfer += iprot->readListEnd(); } @@ -19311,10 +19311,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2231; - for (_iter2231 = this->part_vals.begin(); _iter2231 != this->part_vals.end(); ++_iter2231) + std::vector ::const_iterator _iter2239; + for (_iter2239 = this->part_vals.begin(); _iter2239 != this->part_vals.end(); ++_iter2239) { - xfer += oprot->writeString((*_iter2231)); + xfer += oprot->writeString((*_iter2239)); } xfer += oprot->writeListEnd(); } @@ -19354,10 +19354,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2232; - for (_iter2232 = (*(this->part_vals)).begin(); _iter2232 != (*(this->part_vals)).end(); ++_iter2232) + std::vector ::const_iterator _iter2240; + for (_iter2240 = (*(this->part_vals)).begin(); _iter2240 != (*(this->part_vals)).end(); ++_iter2240) { - xfer += oprot->writeString((*_iter2232)); + xfer += oprot->writeString((*_iter2240)); } xfer += oprot->writeListEnd(); } @@ -20590,14 +20590,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2233; - ::apache::thrift::protocol::TType _etype2236; - xfer += iprot->readListBegin(_etype2236, _size2233); - this->part_vals.resize(_size2233); - uint32_t _i2237; - for (_i2237 = 0; _i2237 < _size2233; ++_i2237) + uint32_t _size2241; + ::apache::thrift::protocol::TType _etype2244; + xfer += iprot->readListBegin(_etype2244, _size2241); + this->part_vals.resize(_size2241); + uint32_t _i2245; + for (_i2245 = 0; _i2245 < _size2241; ++_i2245) { - xfer += iprot->readString(this->part_vals[_i2237]); + xfer += iprot->readString(this->part_vals[_i2245]); } xfer += iprot->readListEnd(); } @@ -20634,10 +20634,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2238; - for (_iter2238 = this->part_vals.begin(); _iter2238 != this->part_vals.end(); ++_iter2238) + std::vector ::const_iterator _iter2246; + for (_iter2246 = this->part_vals.begin(); _iter2246 != this->part_vals.end(); ++_iter2246) { - xfer += oprot->writeString((*_iter2238)); + xfer += oprot->writeString((*_iter2246)); } xfer += oprot->writeListEnd(); } @@ -20669,10 +20669,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2239; - for (_iter2239 = (*(this->part_vals)).begin(); _iter2239 != (*(this->part_vals)).end(); ++_iter2239) + std::vector ::const_iterator _iter2247; + for (_iter2247 = (*(this->part_vals)).begin(); _iter2247 != (*(this->part_vals)).end(); ++_iter2247) { - xfer += oprot->writeString((*_iter2239)); + xfer += oprot->writeString((*_iter2247)); } xfer += oprot->writeListEnd(); } @@ -21088,17 +21088,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size2240; - ::apache::thrift::protocol::TType _ktype2241; - ::apache::thrift::protocol::TType _vtype2242; - xfer += iprot->readMapBegin(_ktype2241, _vtype2242, _size2240); - uint32_t _i2244; - for (_i2244 = 0; _i2244 < _size2240; ++_i2244) + uint32_t _size2248; + ::apache::thrift::protocol::TType _ktype2249; + ::apache::thrift::protocol::TType _vtype2250; + xfer += iprot->readMapBegin(_ktype2249, _vtype2250, _size2248); + uint32_t _i2252; + for (_i2252 = 0; _i2252 < _size2248; ++_i2252) { - std::string _key2245; - xfer += iprot->readString(_key2245); - std::string& _val2246 = this->partitionSpecs[_key2245]; - xfer += iprot->readString(_val2246); + std::string _key2253; + xfer += iprot->readString(_key2253); + std::string& _val2254 = this->partitionSpecs[_key2253]; + xfer += iprot->readString(_val2254); } xfer += iprot->readMapEnd(); } @@ -21159,11 +21159,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter2247; - for (_iter2247 = this->partitionSpecs.begin(); _iter2247 != this->partitionSpecs.end(); ++_iter2247) + std::map ::const_iterator _iter2255; + for (_iter2255 = this->partitionSpecs.begin(); _iter2255 != this->partitionSpecs.end(); ++_iter2255) { - xfer += oprot->writeString(_iter2247->first); - xfer += oprot->writeString(_iter2247->second); + xfer += oprot->writeString(_iter2255->first); + xfer += oprot->writeString(_iter2255->second); } xfer += oprot->writeMapEnd(); } @@ -21203,11 +21203,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter2248; - for (_iter2248 = (*(this->partitionSpecs)).begin(); _iter2248 != (*(this->partitionSpecs)).end(); ++_iter2248) + std::map ::const_iterator _iter2256; + for (_iter2256 = (*(this->partitionSpecs)).begin(); _iter2256 != (*(this->partitionSpecs)).end(); ++_iter2256) { - xfer += oprot->writeString(_iter2248->first); - xfer += oprot->writeString(_iter2248->second); + xfer += oprot->writeString(_iter2256->first); + xfer += oprot->writeString(_iter2256->second); } xfer += oprot->writeMapEnd(); } @@ -21452,17 +21452,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size2249; - ::apache::thrift::protocol::TType _ktype2250; - ::apache::thrift::protocol::TType _vtype2251; - xfer += iprot->readMapBegin(_ktype2250, _vtype2251, _size2249); - uint32_t _i2253; - for (_i2253 = 0; _i2253 < _size2249; ++_i2253) + uint32_t _size2257; + ::apache::thrift::protocol::TType _ktype2258; + ::apache::thrift::protocol::TType _vtype2259; + xfer += iprot->readMapBegin(_ktype2258, _vtype2259, _size2257); + uint32_t _i2261; + for (_i2261 = 0; _i2261 < _size2257; ++_i2261) { - std::string _key2254; - xfer += iprot->readString(_key2254); - std::string& _val2255 = this->partitionSpecs[_key2254]; - xfer += iprot->readString(_val2255); + std::string _key2262; + xfer += iprot->readString(_key2262); + std::string& _val2263 = this->partitionSpecs[_key2262]; + xfer += iprot->readString(_val2263); } xfer += iprot->readMapEnd(); } @@ -21523,11 +21523,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(this->partitionSpecs.size())); - std::map ::const_iterator _iter2256; - for (_iter2256 = this->partitionSpecs.begin(); _iter2256 != this->partitionSpecs.end(); ++_iter2256) + std::map ::const_iterator _iter2264; + for (_iter2264 = this->partitionSpecs.begin(); _iter2264 != this->partitionSpecs.end(); ++_iter2264) { - xfer += oprot->writeString(_iter2256->first); - xfer += oprot->writeString(_iter2256->second); + xfer += oprot->writeString(_iter2264->first); + xfer += oprot->writeString(_iter2264->second); } xfer += oprot->writeMapEnd(); } @@ -21567,11 +21567,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((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter2257; - for (_iter2257 = (*(this->partitionSpecs)).begin(); _iter2257 != (*(this->partitionSpecs)).end(); ++_iter2257) + std::map ::const_iterator _iter2265; + for (_iter2265 = (*(this->partitionSpecs)).begin(); _iter2265 != (*(this->partitionSpecs)).end(); ++_iter2265) { - xfer += oprot->writeString(_iter2257->first); - xfer += oprot->writeString(_iter2257->second); + xfer += oprot->writeString(_iter2265->first); + xfer += oprot->writeString(_iter2265->second); } xfer += oprot->writeMapEnd(); } @@ -21628,14 +21628,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2258; - ::apache::thrift::protocol::TType _etype2261; - xfer += iprot->readListBegin(_etype2261, _size2258); - this->success.resize(_size2258); - uint32_t _i2262; - for (_i2262 = 0; _i2262 < _size2258; ++_i2262) + uint32_t _size2266; + ::apache::thrift::protocol::TType _etype2269; + xfer += iprot->readListBegin(_etype2269, _size2266); + this->success.resize(_size2266); + uint32_t _i2270; + for (_i2270 = 0; _i2270 < _size2266; ++_i2270) { - xfer += this->success[_i2262].read(iprot); + xfer += this->success[_i2270].read(iprot); } xfer += iprot->readListEnd(); } @@ -21698,10 +21698,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(this->success.size())); - std::vector ::const_iterator _iter2263; - for (_iter2263 = this->success.begin(); _iter2263 != this->success.end(); ++_iter2263) + std::vector ::const_iterator _iter2271; + for (_iter2271 = this->success.begin(); _iter2271 != this->success.end(); ++_iter2271) { - xfer += (*_iter2263).write(oprot); + xfer += (*_iter2271).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21758,14 +21758,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2264; - ::apache::thrift::protocol::TType _etype2267; - xfer += iprot->readListBegin(_etype2267, _size2264); - (*(this->success)).resize(_size2264); - uint32_t _i2268; - for (_i2268 = 0; _i2268 < _size2264; ++_i2268) + uint32_t _size2272; + ::apache::thrift::protocol::TType _etype2275; + xfer += iprot->readListBegin(_etype2275, _size2272); + (*(this->success)).resize(_size2272); + uint32_t _i2276; + for (_i2276 = 0; _i2276 < _size2272; ++_i2276) { - xfer += (*(this->success))[_i2268].read(iprot); + xfer += (*(this->success))[_i2276].read(iprot); } xfer += iprot->readListEnd(); } @@ -21864,14 +21864,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 _size2269; - ::apache::thrift::protocol::TType _etype2272; - xfer += iprot->readListBegin(_etype2272, _size2269); - this->part_vals.resize(_size2269); - uint32_t _i2273; - for (_i2273 = 0; _i2273 < _size2269; ++_i2273) + uint32_t _size2277; + ::apache::thrift::protocol::TType _etype2280; + xfer += iprot->readListBegin(_etype2280, _size2277); + this->part_vals.resize(_size2277); + uint32_t _i2281; + for (_i2281 = 0; _i2281 < _size2277; ++_i2281) { - xfer += iprot->readString(this->part_vals[_i2273]); + xfer += iprot->readString(this->part_vals[_i2281]); } xfer += iprot->readListEnd(); } @@ -21892,14 +21892,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 _size2274; - ::apache::thrift::protocol::TType _etype2277; - xfer += iprot->readListBegin(_etype2277, _size2274); - this->group_names.resize(_size2274); - uint32_t _i2278; - for (_i2278 = 0; _i2278 < _size2274; ++_i2278) + uint32_t _size2282; + ::apache::thrift::protocol::TType _etype2285; + xfer += iprot->readListBegin(_etype2285, _size2282); + this->group_names.resize(_size2282); + uint32_t _i2286; + for (_i2286 = 0; _i2286 < _size2282; ++_i2286) { - xfer += iprot->readString(this->group_names[_i2278]); + xfer += iprot->readString(this->group_names[_i2286]); } xfer += iprot->readListEnd(); } @@ -21936,10 +21936,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2279; - for (_iter2279 = this->part_vals.begin(); _iter2279 != this->part_vals.end(); ++_iter2279) + std::vector ::const_iterator _iter2287; + for (_iter2287 = this->part_vals.begin(); _iter2287 != this->part_vals.end(); ++_iter2287) { - xfer += oprot->writeString((*_iter2279)); + xfer += oprot->writeString((*_iter2287)); } xfer += oprot->writeListEnd(); } @@ -21952,10 +21952,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter2280; - for (_iter2280 = this->group_names.begin(); _iter2280 != this->group_names.end(); ++_iter2280) + std::vector ::const_iterator _iter2288; + for (_iter2288 = this->group_names.begin(); _iter2288 != this->group_names.end(); ++_iter2288) { - xfer += oprot->writeString((*_iter2280)); + xfer += oprot->writeString((*_iter2288)); } xfer += oprot->writeListEnd(); } @@ -21987,10 +21987,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2281; - for (_iter2281 = (*(this->part_vals)).begin(); _iter2281 != (*(this->part_vals)).end(); ++_iter2281) + std::vector ::const_iterator _iter2289; + for (_iter2289 = (*(this->part_vals)).begin(); _iter2289 != (*(this->part_vals)).end(); ++_iter2289) { - xfer += oprot->writeString((*_iter2281)); + xfer += oprot->writeString((*_iter2289)); } xfer += oprot->writeListEnd(); } @@ -22003,10 +22003,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter2282; - for (_iter2282 = (*(this->group_names)).begin(); _iter2282 != (*(this->group_names)).end(); ++_iter2282) + std::vector ::const_iterator _iter2290; + for (_iter2290 = (*(this->group_names)).begin(); _iter2290 != (*(this->group_names)).end(); ++_iter2290) { - xfer += oprot->writeString((*_iter2282)); + xfer += oprot->writeString((*_iter2290)); } xfer += oprot->writeListEnd(); } @@ -22565,14 +22565,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2283; - ::apache::thrift::protocol::TType _etype2286; - xfer += iprot->readListBegin(_etype2286, _size2283); - this->success.resize(_size2283); - uint32_t _i2287; - for (_i2287 = 0; _i2287 < _size2283; ++_i2287) + uint32_t _size2291; + ::apache::thrift::protocol::TType _etype2294; + xfer += iprot->readListBegin(_etype2294, _size2291); + this->success.resize(_size2291); + uint32_t _i2295; + for (_i2295 = 0; _i2295 < _size2291; ++_i2295) { - xfer += this->success[_i2287].read(iprot); + xfer += this->success[_i2295].read(iprot); } xfer += iprot->readListEnd(); } @@ -22619,10 +22619,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2288; - for (_iter2288 = this->success.begin(); _iter2288 != this->success.end(); ++_iter2288) + std::vector ::const_iterator _iter2296; + for (_iter2296 = this->success.begin(); _iter2296 != this->success.end(); ++_iter2296) { - xfer += (*_iter2288).write(oprot); + xfer += (*_iter2296).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22671,14 +22671,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2289; - ::apache::thrift::protocol::TType _etype2292; - xfer += iprot->readListBegin(_etype2292, _size2289); - (*(this->success)).resize(_size2289); - uint32_t _i2293; - for (_i2293 = 0; _i2293 < _size2289; ++_i2293) + uint32_t _size2297; + ::apache::thrift::protocol::TType _etype2300; + xfer += iprot->readListBegin(_etype2300, _size2297); + (*(this->success)).resize(_size2297); + uint32_t _i2301; + for (_i2301 = 0; _i2301 < _size2297; ++_i2301) { - xfer += (*(this->success))[_i2293].read(iprot); + xfer += (*(this->success))[_i2301].read(iprot); } xfer += iprot->readListEnd(); } @@ -23004,14 +23004,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 _size2294; - ::apache::thrift::protocol::TType _etype2297; - xfer += iprot->readListBegin(_etype2297, _size2294); - this->group_names.resize(_size2294); - uint32_t _i2298; - for (_i2298 = 0; _i2298 < _size2294; ++_i2298) + uint32_t _size2302; + ::apache::thrift::protocol::TType _etype2305; + xfer += iprot->readListBegin(_etype2305, _size2302); + this->group_names.resize(_size2302); + uint32_t _i2306; + for (_i2306 = 0; _i2306 < _size2302; ++_i2306) { - xfer += iprot->readString(this->group_names[_i2298]); + xfer += iprot->readString(this->group_names[_i2306]); } xfer += iprot->readListEnd(); } @@ -23056,10 +23056,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter2299; - for (_iter2299 = this->group_names.begin(); _iter2299 != this->group_names.end(); ++_iter2299) + std::vector ::const_iterator _iter2307; + for (_iter2307 = this->group_names.begin(); _iter2307 != this->group_names.end(); ++_iter2307) { - xfer += oprot->writeString((*_iter2299)); + xfer += oprot->writeString((*_iter2307)); } xfer += oprot->writeListEnd(); } @@ -23099,10 +23099,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter2300; - for (_iter2300 = (*(this->group_names)).begin(); _iter2300 != (*(this->group_names)).end(); ++_iter2300) + std::vector ::const_iterator _iter2308; + for (_iter2308 = (*(this->group_names)).begin(); _iter2308 != (*(this->group_names)).end(); ++_iter2308) { - xfer += oprot->writeString((*_iter2300)); + xfer += oprot->writeString((*_iter2308)); } xfer += oprot->writeListEnd(); } @@ -23143,14 +23143,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2301; - ::apache::thrift::protocol::TType _etype2304; - xfer += iprot->readListBegin(_etype2304, _size2301); - this->success.resize(_size2301); - uint32_t _i2305; - for (_i2305 = 0; _i2305 < _size2301; ++_i2305) + uint32_t _size2309; + ::apache::thrift::protocol::TType _etype2312; + xfer += iprot->readListBegin(_etype2312, _size2309); + this->success.resize(_size2309); + uint32_t _i2313; + for (_i2313 = 0; _i2313 < _size2309; ++_i2313) { - xfer += this->success[_i2305].read(iprot); + xfer += this->success[_i2313].read(iprot); } xfer += iprot->readListEnd(); } @@ -23197,10 +23197,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2306; - for (_iter2306 = this->success.begin(); _iter2306 != this->success.end(); ++_iter2306) + std::vector ::const_iterator _iter2314; + for (_iter2314 = this->success.begin(); _iter2314 != this->success.end(); ++_iter2314) { - xfer += (*_iter2306).write(oprot); + xfer += (*_iter2314).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23249,14 +23249,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2307; - ::apache::thrift::protocol::TType _etype2310; - xfer += iprot->readListBegin(_etype2310, _size2307); - (*(this->success)).resize(_size2307); - uint32_t _i2311; - for (_i2311 = 0; _i2311 < _size2307; ++_i2311) + uint32_t _size2315; + ::apache::thrift::protocol::TType _etype2318; + xfer += iprot->readListBegin(_etype2318, _size2315); + (*(this->success)).resize(_size2315); + uint32_t _i2319; + for (_i2319 = 0; _i2319 < _size2315; ++_i2319) { - xfer += (*(this->success))[_i2311].read(iprot); + xfer += (*(this->success))[_i2319].read(iprot); } xfer += iprot->readListEnd(); } @@ -23434,14 +23434,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2312; - ::apache::thrift::protocol::TType _etype2315; - xfer += iprot->readListBegin(_etype2315, _size2312); - this->success.resize(_size2312); - uint32_t _i2316; - for (_i2316 = 0; _i2316 < _size2312; ++_i2316) + uint32_t _size2320; + ::apache::thrift::protocol::TType _etype2323; + xfer += iprot->readListBegin(_etype2323, _size2320); + this->success.resize(_size2320); + uint32_t _i2324; + for (_i2324 = 0; _i2324 < _size2320; ++_i2324) { - xfer += this->success[_i2316].read(iprot); + xfer += this->success[_i2324].read(iprot); } xfer += iprot->readListEnd(); } @@ -23488,10 +23488,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2317; - for (_iter2317 = this->success.begin(); _iter2317 != this->success.end(); ++_iter2317) + std::vector ::const_iterator _iter2325; + for (_iter2325 = this->success.begin(); _iter2325 != this->success.end(); ++_iter2325) { - xfer += (*_iter2317).write(oprot); + xfer += (*_iter2325).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23540,14 +23540,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2318; - ::apache::thrift::protocol::TType _etype2321; - xfer += iprot->readListBegin(_etype2321, _size2318); - (*(this->success)).resize(_size2318); - uint32_t _i2322; - for (_i2322 = 0; _i2322 < _size2318; ++_i2322) + uint32_t _size2326; + ::apache::thrift::protocol::TType _etype2329; + xfer += iprot->readListBegin(_etype2329, _size2326); + (*(this->success)).resize(_size2326); + uint32_t _i2330; + for (_i2330 = 0; _i2330 < _size2326; ++_i2330) { - xfer += (*(this->success))[_i2322].read(iprot); + xfer += (*(this->success))[_i2330].read(iprot); } xfer += iprot->readListEnd(); } @@ -23725,14 +23725,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: 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 _size2331; + ::apache::thrift::protocol::TType _etype2334; + xfer += iprot->readListBegin(_etype2334, _size2331); + this->success.resize(_size2331); + uint32_t _i2335; + for (_i2335 = 0; _i2335 < _size2331; ++_i2335) { - xfer += iprot->readString(this->success[_i2327]); + xfer += iprot->readString(this->success[_i2335]); } xfer += iprot->readListEnd(); } @@ -23779,10 +23779,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2328; - for (_iter2328 = this->success.begin(); _iter2328 != this->success.end(); ++_iter2328) + std::vector ::const_iterator _iter2336; + for (_iter2336 = this->success.begin(); _iter2336 != this->success.end(); ++_iter2336) { - xfer += oprot->writeString((*_iter2328)); + xfer += oprot->writeString((*_iter2336)); } xfer += oprot->writeListEnd(); } @@ -23831,14 +23831,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2329; - ::apache::thrift::protocol::TType _etype2332; - xfer += iprot->readListBegin(_etype2332, _size2329); - (*(this->success)).resize(_size2329); - uint32_t _i2333; - for (_i2333 = 0; _i2333 < _size2329; ++_i2333) + uint32_t _size2337; + ::apache::thrift::protocol::TType _etype2340; + xfer += iprot->readListBegin(_etype2340, _size2337); + (*(this->success)).resize(_size2337); + uint32_t _i2341; + for (_i2341 = 0; _i2341 < _size2337; ++_i2341) { - xfer += iprot->readString((*(this->success))[_i2333]); + xfer += iprot->readString((*(this->success))[_i2341]); } xfer += iprot->readListEnd(); } @@ -23984,14 +23984,14 @@ uint32_t ThriftHiveMetastore_fetch_partition_names_req_result::read(::apache::th 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 _size2342; + ::apache::thrift::protocol::TType _etype2345; + xfer += iprot->readListBegin(_etype2345, _size2342); + this->success.resize(_size2342); + uint32_t _i2346; + for (_i2346 = 0; _i2346 < _size2342; ++_i2346) { - xfer += iprot->readString(this->success[_i2338]); + xfer += iprot->readString(this->success[_i2346]); } xfer += iprot->readListEnd(); } @@ -24038,10 +24038,10 @@ uint32_t ThriftHiveMetastore_fetch_partition_names_req_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2339; - for (_iter2339 = this->success.begin(); _iter2339 != this->success.end(); ++_iter2339) + std::vector ::const_iterator _iter2347; + for (_iter2347 = this->success.begin(); _iter2347 != this->success.end(); ++_iter2347) { - xfer += oprot->writeString((*_iter2339)); + xfer += oprot->writeString((*_iter2347)); } xfer += oprot->writeListEnd(); } @@ -24090,14 +24090,14 @@ uint32_t ThriftHiveMetastore_fetch_partition_names_req_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2340; - ::apache::thrift::protocol::TType _etype2343; - xfer += iprot->readListBegin(_etype2343, _size2340); - (*(this->success)).resize(_size2340); - uint32_t _i2344; - for (_i2344 = 0; _i2344 < _size2340; ++_i2344) + uint32_t _size2348; + ::apache::thrift::protocol::TType _etype2351; + xfer += iprot->readListBegin(_etype2351, _size2348); + (*(this->success)).resize(_size2348); + uint32_t _i2352; + for (_i2352 = 0; _i2352 < _size2348; ++_i2352) { - xfer += iprot->readString((*(this->success))[_i2344]); + xfer += iprot->readString((*(this->success))[_i2352]); } xfer += iprot->readListEnd(); } @@ -24407,14 +24407,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 _size2345; - ::apache::thrift::protocol::TType _etype2348; - xfer += iprot->readListBegin(_etype2348, _size2345); - this->part_vals.resize(_size2345); - uint32_t _i2349; - for (_i2349 = 0; _i2349 < _size2345; ++_i2349) + uint32_t _size2353; + ::apache::thrift::protocol::TType _etype2356; + xfer += iprot->readListBegin(_etype2356, _size2353); + this->part_vals.resize(_size2353); + uint32_t _i2357; + for (_i2357 = 0; _i2357 < _size2353; ++_i2357) { - xfer += iprot->readString(this->part_vals[_i2349]); + xfer += iprot->readString(this->part_vals[_i2357]); } xfer += iprot->readListEnd(); } @@ -24459,10 +24459,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2350; - for (_iter2350 = this->part_vals.begin(); _iter2350 != this->part_vals.end(); ++_iter2350) + std::vector ::const_iterator _iter2358; + for (_iter2358 = this->part_vals.begin(); _iter2358 != this->part_vals.end(); ++_iter2358) { - xfer += oprot->writeString((*_iter2350)); + xfer += oprot->writeString((*_iter2358)); } xfer += oprot->writeListEnd(); } @@ -24498,10 +24498,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2351; - for (_iter2351 = (*(this->part_vals)).begin(); _iter2351 != (*(this->part_vals)).end(); ++_iter2351) + std::vector ::const_iterator _iter2359; + for (_iter2359 = (*(this->part_vals)).begin(); _iter2359 != (*(this->part_vals)).end(); ++_iter2359) { - xfer += oprot->writeString((*_iter2351)); + xfer += oprot->writeString((*_iter2359)); } xfer += oprot->writeListEnd(); } @@ -24546,14 +24546,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2352; - ::apache::thrift::protocol::TType _etype2355; - xfer += iprot->readListBegin(_etype2355, _size2352); - this->success.resize(_size2352); - uint32_t _i2356; - for (_i2356 = 0; _i2356 < _size2352; ++_i2356) + uint32_t _size2360; + ::apache::thrift::protocol::TType _etype2363; + xfer += iprot->readListBegin(_etype2363, _size2360); + this->success.resize(_size2360); + uint32_t _i2364; + for (_i2364 = 0; _i2364 < _size2360; ++_i2364) { - xfer += this->success[_i2356].read(iprot); + xfer += this->success[_i2364].read(iprot); } xfer += iprot->readListEnd(); } @@ -24600,10 +24600,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2357; - for (_iter2357 = this->success.begin(); _iter2357 != this->success.end(); ++_iter2357) + std::vector ::const_iterator _iter2365; + for (_iter2365 = this->success.begin(); _iter2365 != this->success.end(); ++_iter2365) { - xfer += (*_iter2357).write(oprot); + xfer += (*_iter2365).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24652,14 +24652,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2358; - ::apache::thrift::protocol::TType _etype2361; - xfer += iprot->readListBegin(_etype2361, _size2358); - (*(this->success)).resize(_size2358); - uint32_t _i2362; - for (_i2362 = 0; _i2362 < _size2358; ++_i2362) + 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))[_i2362].read(iprot); + xfer += (*(this->success))[_i2370].read(iprot); } xfer += iprot->readListEnd(); } @@ -24742,14 +24742,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 _size2363; - ::apache::thrift::protocol::TType _etype2366; - xfer += iprot->readListBegin(_etype2366, _size2363); - this->part_vals.resize(_size2363); - uint32_t _i2367; - for (_i2367 = 0; _i2367 < _size2363; ++_i2367) + uint32_t _size2371; + ::apache::thrift::protocol::TType _etype2374; + xfer += iprot->readListBegin(_etype2374, _size2371); + this->part_vals.resize(_size2371); + uint32_t _i2375; + for (_i2375 = 0; _i2375 < _size2371; ++_i2375) { - xfer += iprot->readString(this->part_vals[_i2367]); + xfer += iprot->readString(this->part_vals[_i2375]); } xfer += iprot->readListEnd(); } @@ -24778,14 +24778,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 _size2368; - ::apache::thrift::protocol::TType _etype2371; - xfer += iprot->readListBegin(_etype2371, _size2368); - this->group_names.resize(_size2368); - uint32_t _i2372; - for (_i2372 = 0; _i2372 < _size2368; ++_i2372) + uint32_t _size2376; + ::apache::thrift::protocol::TType _etype2379; + xfer += iprot->readListBegin(_etype2379, _size2376); + this->group_names.resize(_size2376); + uint32_t _i2380; + for (_i2380 = 0; _i2380 < _size2376; ++_i2380) { - xfer += iprot->readString(this->group_names[_i2372]); + xfer += iprot->readString(this->group_names[_i2380]); } xfer += iprot->readListEnd(); } @@ -24822,10 +24822,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2373; - for (_iter2373 = this->part_vals.begin(); _iter2373 != this->part_vals.end(); ++_iter2373) + std::vector ::const_iterator _iter2381; + for (_iter2381 = this->part_vals.begin(); _iter2381 != this->part_vals.end(); ++_iter2381) { - xfer += oprot->writeString((*_iter2373)); + xfer += oprot->writeString((*_iter2381)); } xfer += oprot->writeListEnd(); } @@ -24842,10 +24842,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter2374; - for (_iter2374 = this->group_names.begin(); _iter2374 != this->group_names.end(); ++_iter2374) + std::vector ::const_iterator _iter2382; + for (_iter2382 = this->group_names.begin(); _iter2382 != this->group_names.end(); ++_iter2382) { - xfer += oprot->writeString((*_iter2374)); + xfer += oprot->writeString((*_iter2382)); } xfer += oprot->writeListEnd(); } @@ -24877,10 +24877,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2375; - for (_iter2375 = (*(this->part_vals)).begin(); _iter2375 != (*(this->part_vals)).end(); ++_iter2375) + std::vector ::const_iterator _iter2383; + for (_iter2383 = (*(this->part_vals)).begin(); _iter2383 != (*(this->part_vals)).end(); ++_iter2383) { - xfer += oprot->writeString((*_iter2375)); + xfer += oprot->writeString((*_iter2383)); } xfer += oprot->writeListEnd(); } @@ -24897,10 +24897,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter2376; - for (_iter2376 = (*(this->group_names)).begin(); _iter2376 != (*(this->group_names)).end(); ++_iter2376) + std::vector ::const_iterator _iter2384; + for (_iter2384 = (*(this->group_names)).begin(); _iter2384 != (*(this->group_names)).end(); ++_iter2384) { - xfer += oprot->writeString((*_iter2376)); + xfer += oprot->writeString((*_iter2384)); } xfer += oprot->writeListEnd(); } @@ -24941,14 +24941,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2377; - ::apache::thrift::protocol::TType _etype2380; - xfer += iprot->readListBegin(_etype2380, _size2377); - this->success.resize(_size2377); - uint32_t _i2381; - for (_i2381 = 0; _i2381 < _size2377; ++_i2381) + uint32_t _size2385; + ::apache::thrift::protocol::TType _etype2388; + xfer += iprot->readListBegin(_etype2388, _size2385); + this->success.resize(_size2385); + uint32_t _i2389; + for (_i2389 = 0; _i2389 < _size2385; ++_i2389) { - xfer += this->success[_i2381].read(iprot); + xfer += this->success[_i2389].read(iprot); } xfer += iprot->readListEnd(); } @@ -24995,10 +24995,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2382; - for (_iter2382 = this->success.begin(); _iter2382 != this->success.end(); ++_iter2382) + std::vector ::const_iterator _iter2390; + for (_iter2390 = this->success.begin(); _iter2390 != this->success.end(); ++_iter2390) { - xfer += (*_iter2382).write(oprot); + xfer += (*_iter2390).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25047,14 +25047,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2383; - ::apache::thrift::protocol::TType _etype2386; - xfer += iprot->readListBegin(_etype2386, _size2383); - (*(this->success)).resize(_size2383); - uint32_t _i2387; - for (_i2387 = 0; _i2387 < _size2383; ++_i2387) + 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) { - xfer += (*(this->success))[_i2387].read(iprot); + xfer += (*(this->success))[_i2395].read(iprot); } xfer += iprot->readListEnd(); } @@ -25364,14 +25364,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 _size2388; - ::apache::thrift::protocol::TType _etype2391; - xfer += iprot->readListBegin(_etype2391, _size2388); - this->part_vals.resize(_size2388); - uint32_t _i2392; - for (_i2392 = 0; _i2392 < _size2388; ++_i2392) + uint32_t _size2396; + ::apache::thrift::protocol::TType _etype2399; + xfer += iprot->readListBegin(_etype2399, _size2396); + this->part_vals.resize(_size2396); + uint32_t _i2400; + for (_i2400 = 0; _i2400 < _size2396; ++_i2400) { - xfer += iprot->readString(this->part_vals[_i2392]); + xfer += iprot->readString(this->part_vals[_i2400]); } xfer += iprot->readListEnd(); } @@ -25416,10 +25416,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2393; - for (_iter2393 = this->part_vals.begin(); _iter2393 != this->part_vals.end(); ++_iter2393) + std::vector ::const_iterator _iter2401; + for (_iter2401 = this->part_vals.begin(); _iter2401 != this->part_vals.end(); ++_iter2401) { - xfer += oprot->writeString((*_iter2393)); + xfer += oprot->writeString((*_iter2401)); } xfer += oprot->writeListEnd(); } @@ -25455,10 +25455,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2394; - for (_iter2394 = (*(this->part_vals)).begin(); _iter2394 != (*(this->part_vals)).end(); ++_iter2394) + std::vector ::const_iterator _iter2402; + for (_iter2402 = (*(this->part_vals)).begin(); _iter2402 != (*(this->part_vals)).end(); ++_iter2402) { - xfer += oprot->writeString((*_iter2394)); + xfer += oprot->writeString((*_iter2402)); } xfer += oprot->writeListEnd(); } @@ -25503,14 +25503,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size2403; + ::apache::thrift::protocol::TType _etype2406; + xfer += iprot->readListBegin(_etype2406, _size2403); + this->success.resize(_size2403); + uint32_t _i2407; + for (_i2407 = 0; _i2407 < _size2403; ++_i2407) { - xfer += iprot->readString(this->success[_i2399]); + xfer += iprot->readString(this->success[_i2407]); } xfer += iprot->readListEnd(); } @@ -25557,10 +25557,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2400; - for (_iter2400 = this->success.begin(); _iter2400 != this->success.end(); ++_iter2400) + std::vector ::const_iterator _iter2408; + for (_iter2408 = this->success.begin(); _iter2408 != this->success.end(); ++_iter2408) { - xfer += oprot->writeString((*_iter2400)); + xfer += oprot->writeString((*_iter2408)); } xfer += oprot->writeListEnd(); } @@ -25609,14 +25609,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2409; + ::apache::thrift::protocol::TType _etype2412; + xfer += iprot->readListBegin(_etype2412, _size2409); + (*(this->success)).resize(_size2409); + uint32_t _i2413; + for (_i2413 = 0; _i2413 < _size2409; ++_i2413) { - xfer += iprot->readString((*(this->success))[_i2405]); + xfer += iprot->readString((*(this->success))[_i2413]); } xfer += iprot->readListEnd(); } @@ -25989,14 +25989,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size2414; + ::apache::thrift::protocol::TType _etype2417; + xfer += iprot->readListBegin(_etype2417, _size2414); + this->success.resize(_size2414); + uint32_t _i2418; + for (_i2418 = 0; _i2418 < _size2414; ++_i2418) { - xfer += iprot->readString(this->success[_i2410]); + xfer += iprot->readString(this->success[_i2418]); } xfer += iprot->readListEnd(); } @@ -26043,10 +26043,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(this->success.size())); - std::vector ::const_iterator _iter2411; - for (_iter2411 = this->success.begin(); _iter2411 != this->success.end(); ++_iter2411) + std::vector ::const_iterator _iter2419; + for (_iter2419 = this->success.begin(); _iter2419 != this->success.end(); ++_iter2419) { - xfer += oprot->writeString((*_iter2411)); + xfer += oprot->writeString((*_iter2419)); } xfer += oprot->writeListEnd(); } @@ -26095,14 +26095,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2420; + ::apache::thrift::protocol::TType _etype2423; + xfer += iprot->readListBegin(_etype2423, _size2420); + (*(this->success)).resize(_size2420); + uint32_t _i2424; + for (_i2424 = 0; _i2424 < _size2420; ++_i2424) { - xfer += iprot->readString((*(this->success))[_i2416]); + xfer += iprot->readString((*(this->success))[_i2424]); } xfer += iprot->readListEnd(); } @@ -26296,14 +26296,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size2425; + ::apache::thrift::protocol::TType _etype2428; + xfer += iprot->readListBegin(_etype2428, _size2425); + this->success.resize(_size2425); + uint32_t _i2429; + for (_i2429 = 0; _i2429 < _size2425; ++_i2429) { - xfer += this->success[_i2421].read(iprot); + xfer += this->success[_i2429].read(iprot); } xfer += iprot->readListEnd(); } @@ -26350,10 +26350,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2422; - for (_iter2422 = this->success.begin(); _iter2422 != this->success.end(); ++_iter2422) + std::vector ::const_iterator _iter2430; + for (_iter2430 = this->success.begin(); _iter2430 != this->success.end(); ++_iter2430) { - xfer += (*_iter2422).write(oprot); + xfer += (*_iter2430).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26402,14 +26402,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2431; + ::apache::thrift::protocol::TType _etype2434; + xfer += iprot->readListBegin(_etype2434, _size2431); + (*(this->success)).resize(_size2431); + uint32_t _i2435; + for (_i2435 = 0; _i2435 < _size2431; ++_i2435) { - xfer += (*(this->success))[_i2427].read(iprot); + xfer += (*(this->success))[_i2435].read(iprot); } xfer += iprot->readListEnd(); } @@ -26555,14 +26555,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_req_result::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size2436; + ::apache::thrift::protocol::TType _etype2439; + xfer += iprot->readListBegin(_etype2439, _size2436); + this->success.resize(_size2436); + uint32_t _i2440; + for (_i2440 = 0; _i2440 < _size2436; ++_i2440) { - xfer += this->success[_i2432].read(iprot); + xfer += this->success[_i2440].read(iprot); } xfer += iprot->readListEnd(); } @@ -26609,10 +26609,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_req_result::write(::apache xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2433; - for (_iter2433 = this->success.begin(); _iter2433 != this->success.end(); ++_iter2433) + std::vector ::const_iterator _iter2441; + for (_iter2441 = this->success.begin(); _iter2441 != this->success.end(); ++_iter2441) { - xfer += (*_iter2433).write(oprot); + xfer += (*_iter2441).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26661,14 +26661,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_req_presult::read(::apache if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size2442; + ::apache::thrift::protocol::TType _etype2445; + xfer += iprot->readListBegin(_etype2445, _size2442); + (*(this->success)).resize(_size2442); + uint32_t _i2446; + for (_i2446 = 0; _i2446 < _size2442; ++_i2446) { - xfer += (*(this->success))[_i2438].read(iprot); + xfer += (*(this->success))[_i2446].read(iprot); } xfer += iprot->readListEnd(); } @@ -26862,14 +26862,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 _size2439; - ::apache::thrift::protocol::TType _etype2442; - xfer += iprot->readListBegin(_etype2442, _size2439); - this->success.resize(_size2439); - uint32_t _i2443; - for (_i2443 = 0; _i2443 < _size2439; ++_i2443) + uint32_t _size2447; + ::apache::thrift::protocol::TType _etype2450; + xfer += iprot->readListBegin(_etype2450, _size2447); + this->success.resize(_size2447); + uint32_t _i2451; + for (_i2451 = 0; _i2451 < _size2447; ++_i2451) { - xfer += this->success[_i2443].read(iprot); + xfer += this->success[_i2451].read(iprot); } xfer += iprot->readListEnd(); } @@ -26916,10 +26916,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2444; - for (_iter2444 = this->success.begin(); _iter2444 != this->success.end(); ++_iter2444) + std::vector ::const_iterator _iter2452; + for (_iter2452 = this->success.begin(); _iter2452 != this->success.end(); ++_iter2452) { - xfer += (*_iter2444).write(oprot); + xfer += (*_iter2452).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26968,14 +26968,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 _size2445; - ::apache::thrift::protocol::TType _etype2448; - xfer += iprot->readListBegin(_etype2448, _size2445); - (*(this->success)).resize(_size2445); - uint32_t _i2449; - for (_i2449 = 0; _i2449 < _size2445; ++_i2449) + uint32_t _size2453; + ::apache::thrift::protocol::TType _etype2456; + xfer += iprot->readListBegin(_etype2456, _size2453); + (*(this->success)).resize(_size2453); + uint32_t _i2457; + for (_i2457 = 0; _i2457 < _size2453; ++_i2457) { - xfer += (*(this->success))[_i2449].read(iprot); + xfer += (*(this->success))[_i2457].read(iprot); } xfer += iprot->readListEnd(); } @@ -27771,14 +27771,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size2450; - ::apache::thrift::protocol::TType _etype2453; - xfer += iprot->readListBegin(_etype2453, _size2450); - this->names.resize(_size2450); - uint32_t _i2454; - for (_i2454 = 0; _i2454 < _size2450; ++_i2454) + uint32_t _size2458; + ::apache::thrift::protocol::TType _etype2461; + xfer += iprot->readListBegin(_etype2461, _size2458); + this->names.resize(_size2458); + uint32_t _i2462; + for (_i2462 = 0; _i2462 < _size2458; ++_i2462) { - xfer += iprot->readString(this->names[_i2454]); + xfer += iprot->readString(this->names[_i2462]); } xfer += iprot->readListEnd(); } @@ -27815,10 +27815,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter2455; - for (_iter2455 = this->names.begin(); _iter2455 != this->names.end(); ++_iter2455) + std::vector ::const_iterator _iter2463; + for (_iter2463 = this->names.begin(); _iter2463 != this->names.end(); ++_iter2463) { - xfer += oprot->writeString((*_iter2455)); + xfer += oprot->writeString((*_iter2463)); } xfer += oprot->writeListEnd(); } @@ -27850,10 +27850,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter2456; - for (_iter2456 = (*(this->names)).begin(); _iter2456 != (*(this->names)).end(); ++_iter2456) + std::vector ::const_iterator _iter2464; + for (_iter2464 = (*(this->names)).begin(); _iter2464 != (*(this->names)).end(); ++_iter2464) { - xfer += oprot->writeString((*_iter2456)); + xfer += oprot->writeString((*_iter2464)); } xfer += oprot->writeListEnd(); } @@ -27894,14 +27894,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri 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 _size2465; + ::apache::thrift::protocol::TType _etype2468; + xfer += iprot->readListBegin(_etype2468, _size2465); + this->success.resize(_size2465); + uint32_t _i2469; + for (_i2469 = 0; _i2469 < _size2465; ++_i2469) { - xfer += this->success[_i2461].read(iprot); + xfer += this->success[_i2469].read(iprot); } xfer += iprot->readListEnd(); } @@ -27956,10 +27956,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2462; - for (_iter2462 = this->success.begin(); _iter2462 != this->success.end(); ++_iter2462) + std::vector ::const_iterator _iter2470; + for (_iter2470 = this->success.begin(); _iter2470 != this->success.end(); ++_iter2470) { - xfer += (*_iter2462).write(oprot); + xfer += (*_iter2470).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28012,14 +28012,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr 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 _size2471; + ::apache::thrift::protocol::TType _etype2474; + xfer += iprot->readListBegin(_etype2474, _size2471); + (*(this->success)).resize(_size2471); + uint32_t _i2475; + for (_i2475 = 0; _i2475 < _size2471; ++_i2475) { - xfer += (*(this->success))[_i2467].read(iprot); + xfer += (*(this->success))[_i2475].read(iprot); } xfer += iprot->readListEnd(); } @@ -29050,14 +29050,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size2468; - ::apache::thrift::protocol::TType _etype2471; - xfer += iprot->readListBegin(_etype2471, _size2468); - this->new_parts.resize(_size2468); - uint32_t _i2472; - for (_i2472 = 0; _i2472 < _size2468; ++_i2472) + uint32_t _size2476; + ::apache::thrift::protocol::TType _etype2479; + xfer += iprot->readListBegin(_etype2479, _size2476); + this->new_parts.resize(_size2476); + uint32_t _i2480; + for (_i2480 = 0; _i2480 < _size2476; ++_i2480) { - xfer += this->new_parts[_i2472].read(iprot); + xfer += this->new_parts[_i2480].read(iprot); } xfer += iprot->readListEnd(); } @@ -29094,10 +29094,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter2473; - for (_iter2473 = this->new_parts.begin(); _iter2473 != this->new_parts.end(); ++_iter2473) + std::vector ::const_iterator _iter2481; + for (_iter2481 = this->new_parts.begin(); _iter2481 != this->new_parts.end(); ++_iter2481) { - xfer += (*_iter2473).write(oprot); + xfer += (*_iter2481).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29129,10 +29129,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter2474; - for (_iter2474 = (*(this->new_parts)).begin(); _iter2474 != (*(this->new_parts)).end(); ++_iter2474) + std::vector ::const_iterator _iter2482; + for (_iter2482 = (*(this->new_parts)).begin(); _iter2482 != (*(this->new_parts)).end(); ++_iter2482) { - xfer += (*_iter2474).write(oprot); + xfer += (*_iter2482).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29317,14 +29317,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size2475; - ::apache::thrift::protocol::TType _etype2478; - xfer += iprot->readListBegin(_etype2478, _size2475); - this->new_parts.resize(_size2475); - uint32_t _i2479; - for (_i2479 = 0; _i2479 < _size2475; ++_i2479) + uint32_t _size2483; + ::apache::thrift::protocol::TType _etype2486; + xfer += iprot->readListBegin(_etype2486, _size2483); + this->new_parts.resize(_size2483); + uint32_t _i2487; + for (_i2487 = 0; _i2487 < _size2483; ++_i2487) { - xfer += this->new_parts[_i2479].read(iprot); + xfer += this->new_parts[_i2487].read(iprot); } xfer += iprot->readListEnd(); } @@ -29369,10 +29369,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(this->new_parts.size())); - std::vector ::const_iterator _iter2480; - for (_iter2480 = this->new_parts.begin(); _iter2480 != this->new_parts.end(); ++_iter2480) + std::vector ::const_iterator _iter2488; + for (_iter2488 = this->new_parts.begin(); _iter2488 != this->new_parts.end(); ++_iter2488) { - xfer += (*_iter2480).write(oprot); + xfer += (*_iter2488).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29408,10 +29408,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((*(this->new_parts)).size())); - std::vector ::const_iterator _iter2481; - for (_iter2481 = (*(this->new_parts)).begin(); _iter2481 != (*(this->new_parts)).end(); ++_iter2481) + std::vector ::const_iterator _iter2489; + for (_iter2489 = (*(this->new_parts)).begin(); _iter2489 != (*(this->new_parts)).end(); ++_iter2489) { - xfer += (*_iter2481).write(oprot); + xfer += (*_iter2489).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30082,14 +30082,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2482; - ::apache::thrift::protocol::TType _etype2485; - xfer += iprot->readListBegin(_etype2485, _size2482); - this->part_vals.resize(_size2482); - uint32_t _i2486; - for (_i2486 = 0; _i2486 < _size2482; ++_i2486) + uint32_t _size2490; + ::apache::thrift::protocol::TType _etype2493; + xfer += iprot->readListBegin(_etype2493, _size2490); + this->part_vals.resize(_size2490); + uint32_t _i2494; + for (_i2494 = 0; _i2494 < _size2490; ++_i2494) { - xfer += iprot->readString(this->part_vals[_i2486]); + xfer += iprot->readString(this->part_vals[_i2494]); } xfer += iprot->readListEnd(); } @@ -30134,10 +30134,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2487; - for (_iter2487 = this->part_vals.begin(); _iter2487 != this->part_vals.end(); ++_iter2487) + std::vector ::const_iterator _iter2495; + for (_iter2495 = this->part_vals.begin(); _iter2495 != this->part_vals.end(); ++_iter2495) { - xfer += oprot->writeString((*_iter2487)); + xfer += oprot->writeString((*_iter2495)); } xfer += oprot->writeListEnd(); } @@ -30173,10 +30173,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2488; - for (_iter2488 = (*(this->part_vals)).begin(); _iter2488 != (*(this->part_vals)).end(); ++_iter2488) + std::vector ::const_iterator _iter2496; + for (_iter2496 = (*(this->part_vals)).begin(); _iter2496 != (*(this->part_vals)).end(); ++_iter2496) { - xfer += oprot->writeString((*_iter2488)); + xfer += oprot->writeString((*_iter2496)); } xfer += oprot->writeListEnd(); } @@ -30576,14 +30576,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 _size2489; - ::apache::thrift::protocol::TType _etype2492; - xfer += iprot->readListBegin(_etype2492, _size2489); - this->part_vals.resize(_size2489); - uint32_t _i2493; - for (_i2493 = 0; _i2493 < _size2489; ++_i2493) + uint32_t _size2497; + ::apache::thrift::protocol::TType _etype2500; + xfer += iprot->readListBegin(_etype2500, _size2497); + this->part_vals.resize(_size2497); + uint32_t _i2501; + for (_i2501 = 0; _i2501 < _size2497; ++_i2501) { - xfer += iprot->readString(this->part_vals[_i2493]); + xfer += iprot->readString(this->part_vals[_i2501]); } xfer += iprot->readListEnd(); } @@ -30620,10 +30620,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2494; - for (_iter2494 = this->part_vals.begin(); _iter2494 != this->part_vals.end(); ++_iter2494) + std::vector ::const_iterator _iter2502; + for (_iter2502 = this->part_vals.begin(); _iter2502 != this->part_vals.end(); ++_iter2502) { - xfer += oprot->writeString((*_iter2494)); + xfer += oprot->writeString((*_iter2502)); } xfer += oprot->writeListEnd(); } @@ -30651,10 +30651,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2495; - for (_iter2495 = (*(this->part_vals)).begin(); _iter2495 != (*(this->part_vals)).end(); ++_iter2495) + std::vector ::const_iterator _iter2503; + for (_iter2503 = (*(this->part_vals)).begin(); _iter2503 != (*(this->part_vals)).end(); ++_iter2503) { - xfer += oprot->writeString((*_iter2495)); + xfer += oprot->writeString((*_iter2503)); } xfer += oprot->writeListEnd(); } @@ -31129,14 +31129,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2496; - ::apache::thrift::protocol::TType _etype2499; - xfer += iprot->readListBegin(_etype2499, _size2496); - this->success.resize(_size2496); - uint32_t _i2500; - for (_i2500 = 0; _i2500 < _size2496; ++_i2500) + uint32_t _size2504; + ::apache::thrift::protocol::TType _etype2507; + xfer += iprot->readListBegin(_etype2507, _size2504); + this->success.resize(_size2504); + uint32_t _i2508; + for (_i2508 = 0; _i2508 < _size2504; ++_i2508) { - xfer += iprot->readString(this->success[_i2500]); + xfer += iprot->readString(this->success[_i2508]); } xfer += iprot->readListEnd(); } @@ -31175,10 +31175,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2501; - for (_iter2501 = this->success.begin(); _iter2501 != this->success.end(); ++_iter2501) + std::vector ::const_iterator _iter2509; + for (_iter2509 = this->success.begin(); _iter2509 != this->success.end(); ++_iter2509) { - xfer += oprot->writeString((*_iter2501)); + xfer += oprot->writeString((*_iter2509)); } xfer += oprot->writeListEnd(); } @@ -31223,14 +31223,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2502; - ::apache::thrift::protocol::TType _etype2505; - xfer += iprot->readListBegin(_etype2505, _size2502); - (*(this->success)).resize(_size2502); - uint32_t _i2506; - for (_i2506 = 0; _i2506 < _size2502; ++_i2506) + uint32_t _size2510; + ::apache::thrift::protocol::TType _etype2513; + xfer += iprot->readListBegin(_etype2513, _size2510); + (*(this->success)).resize(_size2510); + uint32_t _i2514; + for (_i2514 = 0; _i2514 < _size2510; ++_i2514) { - xfer += iprot->readString((*(this->success))[_i2506]); + xfer += iprot->readString((*(this->success))[_i2514]); } xfer += iprot->readListEnd(); } @@ -31368,17 +31368,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size2507; - ::apache::thrift::protocol::TType _ktype2508; - ::apache::thrift::protocol::TType _vtype2509; - xfer += iprot->readMapBegin(_ktype2508, _vtype2509, _size2507); - uint32_t _i2511; - for (_i2511 = 0; _i2511 < _size2507; ++_i2511) + uint32_t _size2515; + ::apache::thrift::protocol::TType _ktype2516; + ::apache::thrift::protocol::TType _vtype2517; + xfer += iprot->readMapBegin(_ktype2516, _vtype2517, _size2515); + uint32_t _i2519; + for (_i2519 = 0; _i2519 < _size2515; ++_i2519) { - std::string _key2512; - xfer += iprot->readString(_key2512); - std::string& _val2513 = this->success[_key2512]; - xfer += iprot->readString(_val2513); + std::string _key2520; + xfer += iprot->readString(_key2520); + std::string& _val2521 = this->success[_key2520]; + xfer += iprot->readString(_val2521); } xfer += iprot->readMapEnd(); } @@ -31417,11 +31417,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter2514; - for (_iter2514 = this->success.begin(); _iter2514 != this->success.end(); ++_iter2514) + std::map ::const_iterator _iter2522; + for (_iter2522 = this->success.begin(); _iter2522 != this->success.end(); ++_iter2522) { - xfer += oprot->writeString(_iter2514->first); - xfer += oprot->writeString(_iter2514->second); + xfer += oprot->writeString(_iter2522->first); + xfer += oprot->writeString(_iter2522->second); } xfer += oprot->writeMapEnd(); } @@ -31466,17 +31466,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size2515; - ::apache::thrift::protocol::TType _ktype2516; - ::apache::thrift::protocol::TType _vtype2517; - xfer += iprot->readMapBegin(_ktype2516, _vtype2517, _size2515); - uint32_t _i2519; - for (_i2519 = 0; _i2519 < _size2515; ++_i2519) + uint32_t _size2523; + ::apache::thrift::protocol::TType _ktype2524; + ::apache::thrift::protocol::TType _vtype2525; + xfer += iprot->readMapBegin(_ktype2524, _vtype2525, _size2523); + uint32_t _i2527; + for (_i2527 = 0; _i2527 < _size2523; ++_i2527) { - std::string _key2520; - xfer += iprot->readString(_key2520); - std::string& _val2521 = (*(this->success))[_key2520]; - xfer += iprot->readString(_val2521); + std::string _key2528; + xfer += iprot->readString(_key2528); + std::string& _val2529 = (*(this->success))[_key2528]; + xfer += iprot->readString(_val2529); } xfer += iprot->readMapEnd(); } @@ -31551,17 +31551,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size2522; - ::apache::thrift::protocol::TType _ktype2523; - ::apache::thrift::protocol::TType _vtype2524; - xfer += iprot->readMapBegin(_ktype2523, _vtype2524, _size2522); - uint32_t _i2526; - for (_i2526 = 0; _i2526 < _size2522; ++_i2526) + uint32_t _size2530; + ::apache::thrift::protocol::TType _ktype2531; + ::apache::thrift::protocol::TType _vtype2532; + xfer += iprot->readMapBegin(_ktype2531, _vtype2532, _size2530); + uint32_t _i2534; + for (_i2534 = 0; _i2534 < _size2530; ++_i2534) { - std::string _key2527; - xfer += iprot->readString(_key2527); - std::string& _val2528 = this->part_vals[_key2527]; - xfer += iprot->readString(_val2528); + std::string _key2535; + xfer += iprot->readString(_key2535); + std::string& _val2536 = this->part_vals[_key2535]; + xfer += iprot->readString(_val2536); } xfer += iprot->readMapEnd(); } @@ -31572,9 +31572,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2529; - xfer += iprot->readI32(ecast2529); - this->eventType = static_cast(ecast2529); + int32_t ecast2537; + xfer += iprot->readI32(ecast2537); + this->eventType = static_cast(ecast2537); this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -31608,11 +31608,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter2530; - for (_iter2530 = this->part_vals.begin(); _iter2530 != this->part_vals.end(); ++_iter2530) + std::map ::const_iterator _iter2538; + for (_iter2538 = this->part_vals.begin(); _iter2538 != this->part_vals.end(); ++_iter2538) { - xfer += oprot->writeString(_iter2530->first); - xfer += oprot->writeString(_iter2530->second); + xfer += oprot->writeString(_iter2538->first); + xfer += oprot->writeString(_iter2538->second); } xfer += oprot->writeMapEnd(); } @@ -31648,11 +31648,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter2531; - for (_iter2531 = (*(this->part_vals)).begin(); _iter2531 != (*(this->part_vals)).end(); ++_iter2531) + std::map ::const_iterator _iter2539; + for (_iter2539 = (*(this->part_vals)).begin(); _iter2539 != (*(this->part_vals)).end(); ++_iter2539) { - xfer += oprot->writeString(_iter2531->first); - xfer += oprot->writeString(_iter2531->second); + xfer += oprot->writeString(_iter2539->first); + xfer += oprot->writeString(_iter2539->second); } xfer += oprot->writeMapEnd(); } @@ -31921,17 +31921,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size2532; - ::apache::thrift::protocol::TType _ktype2533; - ::apache::thrift::protocol::TType _vtype2534; - xfer += iprot->readMapBegin(_ktype2533, _vtype2534, _size2532); - uint32_t _i2536; - for (_i2536 = 0; _i2536 < _size2532; ++_i2536) + uint32_t _size2540; + ::apache::thrift::protocol::TType _ktype2541; + ::apache::thrift::protocol::TType _vtype2542; + xfer += iprot->readMapBegin(_ktype2541, _vtype2542, _size2540); + uint32_t _i2544; + for (_i2544 = 0; _i2544 < _size2540; ++_i2544) { - std::string _key2537; - xfer += iprot->readString(_key2537); - std::string& _val2538 = this->part_vals[_key2537]; - xfer += iprot->readString(_val2538); + std::string _key2545; + xfer += iprot->readString(_key2545); + std::string& _val2546 = this->part_vals[_key2545]; + xfer += iprot->readString(_val2546); } xfer += iprot->readMapEnd(); } @@ -31942,9 +31942,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2539; - xfer += iprot->readI32(ecast2539); - this->eventType = static_cast(ecast2539); + int32_t ecast2547; + xfer += iprot->readI32(ecast2547); + this->eventType = static_cast(ecast2547); this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -31978,11 +31978,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter2540; - for (_iter2540 = this->part_vals.begin(); _iter2540 != this->part_vals.end(); ++_iter2540) + std::map ::const_iterator _iter2548; + for (_iter2548 = this->part_vals.begin(); _iter2548 != this->part_vals.end(); ++_iter2548) { - xfer += oprot->writeString(_iter2540->first); - xfer += oprot->writeString(_iter2540->second); + xfer += oprot->writeString(_iter2548->first); + xfer += oprot->writeString(_iter2548->second); } xfer += oprot->writeMapEnd(); } @@ -32018,11 +32018,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter2541; - for (_iter2541 = (*(this->part_vals)).begin(); _iter2541 != (*(this->part_vals)).end(); ++_iter2541) + std::map ::const_iterator _iter2549; + for (_iter2549 = (*(this->part_vals)).begin(); _iter2549 != (*(this->part_vals)).end(); ++_iter2549) { - xfer += oprot->writeString(_iter2541->first); - xfer += oprot->writeString(_iter2541->second); + xfer += oprot->writeString(_iter2549->first); + xfer += oprot->writeString(_iter2549->second); } xfer += oprot->writeMapEnd(); } @@ -38418,14 +38418,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2542; - ::apache::thrift::protocol::TType _etype2545; - xfer += iprot->readListBegin(_etype2545, _size2542); - this->success.resize(_size2542); - uint32_t _i2546; - for (_i2546 = 0; _i2546 < _size2542; ++_i2546) + uint32_t _size2550; + ::apache::thrift::protocol::TType _etype2553; + xfer += iprot->readListBegin(_etype2553, _size2550); + this->success.resize(_size2550); + uint32_t _i2554; + for (_i2554 = 0; _i2554 < _size2550; ++_i2554) { - xfer += iprot->readString(this->success[_i2546]); + xfer += iprot->readString(this->success[_i2554]); } xfer += iprot->readListEnd(); } @@ -38464,10 +38464,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2547; - for (_iter2547 = this->success.begin(); _iter2547 != this->success.end(); ++_iter2547) + std::vector ::const_iterator _iter2555; + for (_iter2555 = this->success.begin(); _iter2555 != this->success.end(); ++_iter2555) { - xfer += oprot->writeString((*_iter2547)); + xfer += oprot->writeString((*_iter2555)); } xfer += oprot->writeListEnd(); } @@ -38512,14 +38512,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2548; - ::apache::thrift::protocol::TType _etype2551; - xfer += iprot->readListBegin(_etype2551, _size2548); - (*(this->success)).resize(_size2548); - uint32_t _i2552; - for (_i2552 = 0; _i2552 < _size2548; ++_i2552) + uint32_t _size2556; + ::apache::thrift::protocol::TType _etype2559; + xfer += iprot->readListBegin(_etype2559, _size2556); + (*(this->success)).resize(_size2556); + uint32_t _i2560; + for (_i2560 = 0; _i2560 < _size2556; ++_i2560) { - xfer += iprot->readString((*(this->success))[_i2552]); + xfer += iprot->readString((*(this->success))[_i2560]); } xfer += iprot->readListEnd(); } @@ -39686,14 +39686,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2553; - ::apache::thrift::protocol::TType _etype2556; - xfer += iprot->readListBegin(_etype2556, _size2553); - this->success.resize(_size2553); - uint32_t _i2557; - for (_i2557 = 0; _i2557 < _size2553; ++_i2557) + uint32_t _size2561; + ::apache::thrift::protocol::TType _etype2564; + xfer += iprot->readListBegin(_etype2564, _size2561); + this->success.resize(_size2561); + uint32_t _i2565; + for (_i2565 = 0; _i2565 < _size2561; ++_i2565) { - xfer += iprot->readString(this->success[_i2557]); + xfer += iprot->readString(this->success[_i2565]); } xfer += iprot->readListEnd(); } @@ -39732,10 +39732,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2558; - for (_iter2558 = this->success.begin(); _iter2558 != this->success.end(); ++_iter2558) + std::vector ::const_iterator _iter2566; + for (_iter2566 = this->success.begin(); _iter2566 != this->success.end(); ++_iter2566) { - xfer += oprot->writeString((*_iter2558)); + xfer += oprot->writeString((*_iter2566)); } xfer += oprot->writeListEnd(); } @@ -39780,14 +39780,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2559; - ::apache::thrift::protocol::TType _etype2562; - xfer += iprot->readListBegin(_etype2562, _size2559); - (*(this->success)).resize(_size2559); - uint32_t _i2563; - for (_i2563 = 0; _i2563 < _size2559; ++_i2563) + uint32_t _size2567; + ::apache::thrift::protocol::TType _etype2570; + xfer += iprot->readListBegin(_etype2570, _size2567); + (*(this->success)).resize(_size2567); + uint32_t _i2571; + for (_i2571 = 0; _i2571 < _size2567; ++_i2571) { - xfer += iprot->readString((*(this->success))[_i2563]); + xfer += iprot->readString((*(this->success))[_i2571]); } xfer += iprot->readListEnd(); } @@ -39860,9 +39860,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2564; - xfer += iprot->readI32(ecast2564); - this->principal_type = static_cast(ecast2564); + int32_t ecast2572; + xfer += iprot->readI32(ecast2572); + this->principal_type = static_cast(ecast2572); this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -39878,9 +39878,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2565; - xfer += iprot->readI32(ecast2565); - this->grantorType = static_cast(ecast2565); + int32_t ecast2573; + xfer += iprot->readI32(ecast2573); + this->grantorType = static_cast(ecast2573); this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -40151,9 +40151,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2566; - xfer += iprot->readI32(ecast2566); - this->principal_type = static_cast(ecast2566); + int32_t ecast2574; + xfer += iprot->readI32(ecast2574); + this->principal_type = static_cast(ecast2574); this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -40384,9 +40384,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2567; - xfer += iprot->readI32(ecast2567); - this->principal_type = static_cast(ecast2567); + int32_t ecast2575; + xfer += iprot->readI32(ecast2575); + this->principal_type = static_cast(ecast2575); this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -40475,14 +40475,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2568; - ::apache::thrift::protocol::TType _etype2571; - xfer += iprot->readListBegin(_etype2571, _size2568); - this->success.resize(_size2568); - uint32_t _i2572; - for (_i2572 = 0; _i2572 < _size2568; ++_i2572) + uint32_t _size2576; + ::apache::thrift::protocol::TType _etype2579; + xfer += iprot->readListBegin(_etype2579, _size2576); + this->success.resize(_size2576); + uint32_t _i2580; + for (_i2580 = 0; _i2580 < _size2576; ++_i2580) { - xfer += this->success[_i2572].read(iprot); + xfer += this->success[_i2580].read(iprot); } xfer += iprot->readListEnd(); } @@ -40521,10 +40521,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2573; - for (_iter2573 = this->success.begin(); _iter2573 != this->success.end(); ++_iter2573) + std::vector ::const_iterator _iter2581; + for (_iter2581 = this->success.begin(); _iter2581 != this->success.end(); ++_iter2581) { - xfer += (*_iter2573).write(oprot); + xfer += (*_iter2581).write(oprot); } xfer += oprot->writeListEnd(); } @@ -40569,14 +40569,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2574; - ::apache::thrift::protocol::TType _etype2577; - xfer += iprot->readListBegin(_etype2577, _size2574); - (*(this->success)).resize(_size2574); - uint32_t _i2578; - for (_i2578 = 0; _i2578 < _size2574; ++_i2578) + uint32_t _size2582; + ::apache::thrift::protocol::TType _etype2585; + xfer += iprot->readListBegin(_etype2585, _size2582); + (*(this->success)).resize(_size2582); + uint32_t _i2586; + for (_i2586 = 0; _i2586 < _size2582; ++_i2586) { - xfer += (*(this->success))[_i2578].read(iprot); + xfer += (*(this->success))[_i2586].read(iprot); } xfer += iprot->readListEnd(); } @@ -41272,14 +41272,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 _size2579; - ::apache::thrift::protocol::TType _etype2582; - xfer += iprot->readListBegin(_etype2582, _size2579); - this->group_names.resize(_size2579); - uint32_t _i2583; - for (_i2583 = 0; _i2583 < _size2579; ++_i2583) + uint32_t _size2587; + ::apache::thrift::protocol::TType _etype2590; + xfer += iprot->readListBegin(_etype2590, _size2587); + this->group_names.resize(_size2587); + uint32_t _i2591; + for (_i2591 = 0; _i2591 < _size2587; ++_i2591) { - xfer += iprot->readString(this->group_names[_i2583]); + xfer += iprot->readString(this->group_names[_i2591]); } xfer += iprot->readListEnd(); } @@ -41316,10 +41316,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter2584; - for (_iter2584 = this->group_names.begin(); _iter2584 != this->group_names.end(); ++_iter2584) + std::vector ::const_iterator _iter2592; + for (_iter2592 = this->group_names.begin(); _iter2592 != this->group_names.end(); ++_iter2592) { - xfer += oprot->writeString((*_iter2584)); + xfer += oprot->writeString((*_iter2592)); } xfer += oprot->writeListEnd(); } @@ -41351,10 +41351,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter2585; - for (_iter2585 = (*(this->group_names)).begin(); _iter2585 != (*(this->group_names)).end(); ++_iter2585) + std::vector ::const_iterator _iter2593; + for (_iter2593 = (*(this->group_names)).begin(); _iter2593 != (*(this->group_names)).end(); ++_iter2593) { - xfer += oprot->writeString((*_iter2585)); + xfer += oprot->writeString((*_iter2593)); } xfer += oprot->writeListEnd(); } @@ -41529,9 +41529,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2586; - xfer += iprot->readI32(ecast2586); - this->principal_type = static_cast(ecast2586); + int32_t ecast2594; + xfer += iprot->readI32(ecast2594); + this->principal_type = static_cast(ecast2594); this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -41636,14 +41636,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2587; - ::apache::thrift::protocol::TType _etype2590; - xfer += iprot->readListBegin(_etype2590, _size2587); - this->success.resize(_size2587); - uint32_t _i2591; - for (_i2591 = 0; _i2591 < _size2587; ++_i2591) + uint32_t _size2595; + ::apache::thrift::protocol::TType _etype2598; + xfer += iprot->readListBegin(_etype2598, _size2595); + this->success.resize(_size2595); + uint32_t _i2599; + for (_i2599 = 0; _i2599 < _size2595; ++_i2599) { - xfer += this->success[_i2591].read(iprot); + xfer += this->success[_i2599].read(iprot); } xfer += iprot->readListEnd(); } @@ -41682,10 +41682,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2592; - for (_iter2592 = this->success.begin(); _iter2592 != this->success.end(); ++_iter2592) + std::vector ::const_iterator _iter2600; + for (_iter2600 = this->success.begin(); _iter2600 != this->success.end(); ++_iter2600) { - xfer += (*_iter2592).write(oprot); + xfer += (*_iter2600).write(oprot); } xfer += oprot->writeListEnd(); } @@ -41730,14 +41730,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2593; - ::apache::thrift::protocol::TType _etype2596; - xfer += iprot->readListBegin(_etype2596, _size2593); - (*(this->success)).resize(_size2593); - uint32_t _i2597; - for (_i2597 = 0; _i2597 < _size2593; ++_i2597) + uint32_t _size2601; + ::apache::thrift::protocol::TType _etype2604; + xfer += iprot->readListBegin(_etype2604, _size2601); + (*(this->success)).resize(_size2601); + uint32_t _i2605; + for (_i2605 = 0; _i2605 < _size2601; ++_i2605) { - xfer += (*(this->success))[_i2597].read(iprot); + xfer += (*(this->success))[_i2605].read(iprot); } xfer += iprot->readListEnd(); } @@ -42664,14 +42664,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 _size2598; - ::apache::thrift::protocol::TType _etype2601; - xfer += iprot->readListBegin(_etype2601, _size2598); - this->group_names.resize(_size2598); - uint32_t _i2602; - for (_i2602 = 0; _i2602 < _size2598; ++_i2602) + uint32_t _size2606; + ::apache::thrift::protocol::TType _etype2609; + xfer += iprot->readListBegin(_etype2609, _size2606); + this->group_names.resize(_size2606); + uint32_t _i2610; + for (_i2610 = 0; _i2610 < _size2606; ++_i2610) { - xfer += iprot->readString(this->group_names[_i2602]); + xfer += iprot->readString(this->group_names[_i2610]); } xfer += iprot->readListEnd(); } @@ -42704,10 +42704,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter2603; - for (_iter2603 = this->group_names.begin(); _iter2603 != this->group_names.end(); ++_iter2603) + std::vector ::const_iterator _iter2611; + for (_iter2611 = this->group_names.begin(); _iter2611 != this->group_names.end(); ++_iter2611) { - xfer += oprot->writeString((*_iter2603)); + xfer += oprot->writeString((*_iter2611)); } xfer += oprot->writeListEnd(); } @@ -42735,10 +42735,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter2604; - for (_iter2604 = (*(this->group_names)).begin(); _iter2604 != (*(this->group_names)).end(); ++_iter2604) + std::vector ::const_iterator _iter2612; + for (_iter2612 = (*(this->group_names)).begin(); _iter2612 != (*(this->group_names)).end(); ++_iter2612) { - xfer += oprot->writeString((*_iter2604)); + xfer += oprot->writeString((*_iter2612)); } xfer += oprot->writeListEnd(); } @@ -42779,14 +42779,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2605; - ::apache::thrift::protocol::TType _etype2608; - xfer += iprot->readListBegin(_etype2608, _size2605); - this->success.resize(_size2605); - uint32_t _i2609; - for (_i2609 = 0; _i2609 < _size2605; ++_i2609) + uint32_t _size2613; + ::apache::thrift::protocol::TType _etype2616; + xfer += iprot->readListBegin(_etype2616, _size2613); + this->success.resize(_size2613); + uint32_t _i2617; + for (_i2617 = 0; _i2617 < _size2613; ++_i2617) { - xfer += iprot->readString(this->success[_i2609]); + xfer += iprot->readString(this->success[_i2617]); } xfer += iprot->readListEnd(); } @@ -42825,10 +42825,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2610; - for (_iter2610 = this->success.begin(); _iter2610 != this->success.end(); ++_iter2610) + std::vector ::const_iterator _iter2618; + for (_iter2618 = this->success.begin(); _iter2618 != this->success.end(); ++_iter2618) { - xfer += oprot->writeString((*_iter2610)); + xfer += oprot->writeString((*_iter2618)); } xfer += oprot->writeListEnd(); } @@ -42873,14 +42873,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2611; - ::apache::thrift::protocol::TType _etype2614; - xfer += iprot->readListBegin(_etype2614, _size2611); - (*(this->success)).resize(_size2611); - uint32_t _i2615; - for (_i2615 = 0; _i2615 < _size2611; ++_i2615) + uint32_t _size2619; + ::apache::thrift::protocol::TType _etype2622; + xfer += iprot->readListBegin(_etype2622, _size2619); + (*(this->success)).resize(_size2619); + uint32_t _i2623; + for (_i2623 = 0; _i2623 < _size2619; ++_i2623) { - xfer += iprot->readString((*(this->success))[_i2615]); + xfer += iprot->readString((*(this->success))[_i2623]); } xfer += iprot->readListEnd(); } @@ -44191,14 +44191,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2616; - ::apache::thrift::protocol::TType _etype2619; - xfer += iprot->readListBegin(_etype2619, _size2616); - this->success.resize(_size2616); - uint32_t _i2620; - for (_i2620 = 0; _i2620 < _size2616; ++_i2620) + uint32_t _size2624; + ::apache::thrift::protocol::TType _etype2627; + xfer += iprot->readListBegin(_etype2627, _size2624); + this->success.resize(_size2624); + uint32_t _i2628; + for (_i2628 = 0; _i2628 < _size2624; ++_i2628) { - xfer += iprot->readString(this->success[_i2620]); + xfer += iprot->readString(this->success[_i2628]); } xfer += iprot->readListEnd(); } @@ -44229,10 +44229,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(this->success.size())); - std::vector ::const_iterator _iter2621; - for (_iter2621 = this->success.begin(); _iter2621 != this->success.end(); ++_iter2621) + std::vector ::const_iterator _iter2629; + for (_iter2629 = this->success.begin(); _iter2629 != this->success.end(); ++_iter2629) { - xfer += oprot->writeString((*_iter2621)); + xfer += oprot->writeString((*_iter2629)); } xfer += oprot->writeListEnd(); } @@ -44273,14 +44273,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2622; - ::apache::thrift::protocol::TType _etype2625; - xfer += iprot->readListBegin(_etype2625, _size2622); - (*(this->success)).resize(_size2622); - uint32_t _i2626; - for (_i2626 = 0; _i2626 < _size2622; ++_i2626) + uint32_t _size2630; + ::apache::thrift::protocol::TType _etype2633; + xfer += iprot->readListBegin(_etype2633, _size2630); + (*(this->success)).resize(_size2630); + uint32_t _i2634; + for (_i2634 = 0; _i2634 < _size2630; ++_i2634) { - xfer += iprot->readString((*(this->success))[_i2626]); + xfer += iprot->readString((*(this->success))[_i2634]); } xfer += iprot->readListEnd(); } @@ -45006,14 +45006,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2627; - ::apache::thrift::protocol::TType _etype2630; - xfer += iprot->readListBegin(_etype2630, _size2627); - this->success.resize(_size2627); - uint32_t _i2631; - for (_i2631 = 0; _i2631 < _size2627; ++_i2631) + uint32_t _size2635; + ::apache::thrift::protocol::TType _etype2638; + xfer += iprot->readListBegin(_etype2638, _size2635); + this->success.resize(_size2635); + uint32_t _i2639; + for (_i2639 = 0; _i2639 < _size2635; ++_i2639) { - xfer += iprot->readString(this->success[_i2631]); + xfer += iprot->readString(this->success[_i2639]); } xfer += iprot->readListEnd(); } @@ -45044,10 +45044,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(this->success.size())); - std::vector ::const_iterator _iter2632; - for (_iter2632 = this->success.begin(); _iter2632 != this->success.end(); ++_iter2632) + std::vector ::const_iterator _iter2640; + for (_iter2640 = this->success.begin(); _iter2640 != this->success.end(); ++_iter2640) { - xfer += oprot->writeString((*_iter2632)); + xfer += oprot->writeString((*_iter2640)); } xfer += oprot->writeListEnd(); } @@ -45088,14 +45088,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2633; - ::apache::thrift::protocol::TType _etype2636; - xfer += iprot->readListBegin(_etype2636, _size2633); - (*(this->success)).resize(_size2633); - uint32_t _i2637; - for (_i2637 = 0; _i2637 < _size2633; ++_i2637) + uint32_t _size2641; + ::apache::thrift::protocol::TType _etype2644; + xfer += iprot->readListBegin(_etype2644, _size2641); + (*(this->success)).resize(_size2641); + uint32_t _i2645; + for (_i2645 = 0; _i2645 < _size2641; ++_i2645) { - xfer += iprot->readString((*(this->success))[_i2637]); + xfer += iprot->readString((*(this->success))[_i2645]); } xfer += iprot->readListEnd(); } @@ -46844,17 +46844,17 @@ uint32_t ThriftHiveMetastore_add_write_ids_to_min_history_args::read(::apache::t if (ftype == ::apache::thrift::protocol::T_MAP) { { this->writeIds.clear(); - uint32_t _size2638; - ::apache::thrift::protocol::TType _ktype2639; - ::apache::thrift::protocol::TType _vtype2640; - xfer += iprot->readMapBegin(_ktype2639, _vtype2640, _size2638); - uint32_t _i2642; - for (_i2642 = 0; _i2642 < _size2638; ++_i2642) + uint32_t _size2646; + ::apache::thrift::protocol::TType _ktype2647; + ::apache::thrift::protocol::TType _vtype2648; + xfer += iprot->readMapBegin(_ktype2647, _vtype2648, _size2646); + uint32_t _i2650; + for (_i2650 = 0; _i2650 < _size2646; ++_i2650) { - std::string _key2643; - xfer += iprot->readString(_key2643); - int64_t& _val2644 = this->writeIds[_key2643]; - xfer += iprot->readI64(_val2644); + std::string _key2651; + xfer += iprot->readString(_key2651); + int64_t& _val2652 = this->writeIds[_key2651]; + xfer += iprot->readI64(_val2652); } xfer += iprot->readMapEnd(); } @@ -46887,11 +46887,11 @@ uint32_t ThriftHiveMetastore_add_write_ids_to_min_history_args::write(::apache:: xfer += oprot->writeFieldBegin("writeIds", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I64, static_cast(this->writeIds.size())); - std::map ::const_iterator _iter2645; - for (_iter2645 = this->writeIds.begin(); _iter2645 != this->writeIds.end(); ++_iter2645) + std::map ::const_iterator _iter2653; + for (_iter2653 = this->writeIds.begin(); _iter2653 != this->writeIds.end(); ++_iter2653) { - xfer += oprot->writeString(_iter2645->first); - xfer += oprot->writeI64(_iter2645->second); + xfer += oprot->writeString(_iter2653->first); + xfer += oprot->writeI64(_iter2653->second); } xfer += oprot->writeMapEnd(); } @@ -46919,11 +46919,11 @@ uint32_t ThriftHiveMetastore_add_write_ids_to_min_history_pargs::write(::apache: xfer += oprot->writeFieldBegin("writeIds", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I64, static_cast((*(this->writeIds)).size())); - std::map ::const_iterator _iter2646; - for (_iter2646 = (*(this->writeIds)).begin(); _iter2646 != (*(this->writeIds)).end(); ++_iter2646) + std::map ::const_iterator _iter2654; + for (_iter2654 = (*(this->writeIds)).begin(); _iter2654 != (*(this->writeIds)).end(); ++_iter2654) { - xfer += oprot->writeString(_iter2646->first); - xfer += oprot->writeI64(_iter2646->second); + xfer += oprot->writeString(_iter2654->first); + xfer += oprot->writeI64(_iter2654->second); } xfer += oprot->writeMapEnd(); } @@ -50823,14 +50823,14 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2647; - ::apache::thrift::protocol::TType _etype2650; - xfer += iprot->readListBegin(_etype2650, _size2647); - this->success.resize(_size2647); - uint32_t _i2651; - for (_i2651 = 0; _i2651 < _size2647; ++_i2651) + uint32_t _size2655; + ::apache::thrift::protocol::TType _etype2658; + xfer += iprot->readListBegin(_etype2658, _size2655); + this->success.resize(_size2655); + uint32_t _i2659; + for (_i2659 = 0; _i2659 < _size2655; ++_i2659) { - xfer += iprot->readString(this->success[_i2651]); + xfer += iprot->readString(this->success[_i2659]); } xfer += iprot->readListEnd(); } @@ -50861,10 +50861,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(this->success.size())); - std::vector ::const_iterator _iter2652; - for (_iter2652 = this->success.begin(); _iter2652 != this->success.end(); ++_iter2652) + std::vector ::const_iterator _iter2660; + for (_iter2660 = this->success.begin(); _iter2660 != this->success.end(); ++_iter2660) { - xfer += oprot->writeString((*_iter2652)); + xfer += oprot->writeString((*_iter2660)); } xfer += oprot->writeListEnd(); } @@ -50905,14 +50905,14 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2653; - ::apache::thrift::protocol::TType _etype2656; - xfer += iprot->readListBegin(_etype2656, _size2653); - (*(this->success)).resize(_size2653); - uint32_t _i2657; - for (_i2657 = 0; _i2657 < _size2653; ++_i2657) + uint32_t _size2661; + ::apache::thrift::protocol::TType _etype2664; + xfer += iprot->readListBegin(_etype2664, _size2661); + (*(this->success)).resize(_size2661); + uint32_t _i2665; + for (_i2665 = 0; _i2665 < _size2661; ++_i2665) { - xfer += iprot->readString((*(this->success))[_i2657]); + xfer += iprot->readString((*(this->success))[_i2665]); } xfer += iprot->readListEnd(); } @@ -60835,14 +60835,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2658; - ::apache::thrift::protocol::TType _etype2661; - xfer += iprot->readListBegin(_etype2661, _size2658); - this->success.resize(_size2658); - uint32_t _i2662; - for (_i2662 = 0; _i2662 < _size2658; ++_i2662) + uint32_t _size2666; + ::apache::thrift::protocol::TType _etype2669; + xfer += iprot->readListBegin(_etype2669, _size2666); + this->success.resize(_size2666); + uint32_t _i2670; + for (_i2670 = 0; _i2670 < _size2666; ++_i2670) { - xfer += this->success[_i2662].read(iprot); + xfer += this->success[_i2670].read(iprot); } xfer += iprot->readListEnd(); } @@ -60889,10 +60889,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(this->success.size())); - std::vector ::const_iterator _iter2663; - for (_iter2663 = this->success.begin(); _iter2663 != this->success.end(); ++_iter2663) + std::vector ::const_iterator _iter2671; + for (_iter2671 = this->success.begin(); _iter2671 != this->success.end(); ++_iter2671) { - xfer += (*_iter2663).write(oprot); + xfer += (*_iter2671).write(oprot); } xfer += oprot->writeListEnd(); } @@ -60941,14 +60941,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2664; - ::apache::thrift::protocol::TType _etype2667; - xfer += iprot->readListBegin(_etype2667, _size2664); - (*(this->success)).resize(_size2664); - uint32_t _i2668; - for (_i2668 = 0; _i2668 < _size2664; ++_i2668) + uint32_t _size2672; + ::apache::thrift::protocol::TType _etype2675; + xfer += iprot->readListBegin(_etype2675, _size2672); + (*(this->success)).resize(_size2672); + uint32_t _i2676; + for (_i2676 = 0; _i2676 < _size2672; ++_i2676) { - xfer += (*(this->success))[_i2668].read(iprot); + xfer += (*(this->success))[_i2676].read(iprot); } xfer += iprot->readListEnd(); } @@ -63001,14 +63001,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2669; - ::apache::thrift::protocol::TType _etype2672; - xfer += iprot->readListBegin(_etype2672, _size2669); - this->success.resize(_size2669); - uint32_t _i2673; - for (_i2673 = 0; _i2673 < _size2669; ++_i2673) + uint32_t _size2677; + ::apache::thrift::protocol::TType _etype2680; + xfer += iprot->readListBegin(_etype2680, _size2677); + this->success.resize(_size2677); + uint32_t _i2681; + for (_i2681 = 0; _i2681 < _size2677; ++_i2681) { - xfer += this->success[_i2673].read(iprot); + xfer += this->success[_i2681].read(iprot); } xfer += iprot->readListEnd(); } @@ -63047,10 +63047,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(this->success.size())); - std::vector ::const_iterator _iter2674; - for (_iter2674 = this->success.begin(); _iter2674 != this->success.end(); ++_iter2674) + std::vector ::const_iterator _iter2682; + for (_iter2682 = this->success.begin(); _iter2682 != this->success.end(); ++_iter2682) { - xfer += (*_iter2674).write(oprot); + xfer += (*_iter2682).write(oprot); } xfer += oprot->writeListEnd(); } @@ -63095,14 +63095,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2675; - ::apache::thrift::protocol::TType _etype2678; - xfer += iprot->readListBegin(_etype2678, _size2675); - (*(this->success)).resize(_size2675); - uint32_t _i2679; - for (_i2679 = 0; _i2679 < _size2675; ++_i2679) + uint32_t _size2683; + ::apache::thrift::protocol::TType _etype2686; + xfer += iprot->readListBegin(_etype2686, _size2683); + (*(this->success)).resize(_size2683); + uint32_t _i2687; + for (_i2687 = 0; _i2687 < _size2683; ++_i2687) { - xfer += (*(this->success))[_i2679].read(iprot); + xfer += (*(this->success))[_i2687].read(iprot); } xfer += iprot->readListEnd(); } @@ -65537,14 +65537,14 @@ uint32_t ThriftHiveMetastore_get_all_stored_procedures_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2680; - ::apache::thrift::protocol::TType _etype2683; - xfer += iprot->readListBegin(_etype2683, _size2680); - this->success.resize(_size2680); - uint32_t _i2684; - for (_i2684 = 0; _i2684 < _size2680; ++_i2684) + uint32_t _size2688; + ::apache::thrift::protocol::TType _etype2691; + xfer += iprot->readListBegin(_etype2691, _size2688); + this->success.resize(_size2688); + uint32_t _i2692; + for (_i2692 = 0; _i2692 < _size2688; ++_i2692) { - xfer += iprot->readString(this->success[_i2684]); + xfer += iprot->readString(this->success[_i2692]); } xfer += iprot->readListEnd(); } @@ -65583,10 +65583,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(this->success.size())); - std::vector ::const_iterator _iter2685; - for (_iter2685 = this->success.begin(); _iter2685 != this->success.end(); ++_iter2685) + std::vector ::const_iterator _iter2693; + for (_iter2693 = this->success.begin(); _iter2693 != this->success.end(); ++_iter2693) { - xfer += oprot->writeString((*_iter2685)); + xfer += oprot->writeString((*_iter2693)); } xfer += oprot->writeListEnd(); } @@ -65631,14 +65631,14 @@ uint32_t ThriftHiveMetastore_get_all_stored_procedures_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2686; - ::apache::thrift::protocol::TType _etype2689; - xfer += iprot->readListBegin(_etype2689, _size2686); - (*(this->success)).resize(_size2686); - uint32_t _i2690; - for (_i2690 = 0; _i2690 < _size2686; ++_i2690) + uint32_t _size2694; + ::apache::thrift::protocol::TType _etype2697; + xfer += iprot->readListBegin(_etype2697, _size2694); + (*(this->success)).resize(_size2694); + uint32_t _i2698; + for (_i2698 = 0; _i2698 < _size2694; ++_i2698) { - xfer += iprot->readString((*(this->success))[_i2690]); + xfer += iprot->readString((*(this->success))[_i2698]); } xfer += iprot->readListEnd(); } @@ -66190,14 +66190,14 @@ uint32_t ThriftHiveMetastore_get_all_packages_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2691; - ::apache::thrift::protocol::TType _etype2694; - xfer += iprot->readListBegin(_etype2694, _size2691); - this->success.resize(_size2691); - uint32_t _i2695; - for (_i2695 = 0; _i2695 < _size2691; ++_i2695) + uint32_t _size2699; + ::apache::thrift::protocol::TType _etype2702; + xfer += iprot->readListBegin(_etype2702, _size2699); + this->success.resize(_size2699); + uint32_t _i2703; + for (_i2703 = 0; _i2703 < _size2699; ++_i2703) { - xfer += iprot->readString(this->success[_i2695]); + xfer += iprot->readString(this->success[_i2703]); } xfer += iprot->readListEnd(); } @@ -66236,10 +66236,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(this->success.size())); - std::vector ::const_iterator _iter2696; - for (_iter2696 = this->success.begin(); _iter2696 != this->success.end(); ++_iter2696) + std::vector ::const_iterator _iter2704; + for (_iter2704 = this->success.begin(); _iter2704 != this->success.end(); ++_iter2704) { - xfer += oprot->writeString((*_iter2696)); + xfer += oprot->writeString((*_iter2704)); } xfer += oprot->writeListEnd(); } @@ -66284,14 +66284,14 @@ uint32_t ThriftHiveMetastore_get_all_packages_presult::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2697; - ::apache::thrift::protocol::TType _etype2700; - xfer += iprot->readListBegin(_etype2700, _size2697); - (*(this->success)).resize(_size2697); - uint32_t _i2701; - for (_i2701 = 0; _i2701 < _size2697; ++_i2701) + uint32_t _size2705; + ::apache::thrift::protocol::TType _etype2708; + xfer += iprot->readListBegin(_etype2708, _size2705); + (*(this->success)).resize(_size2705); + uint32_t _i2709; + for (_i2709 = 0; _i2709 < _size2705; ++_i2709) { - xfer += iprot->readString((*(this->success))[_i2701]); + xfer += iprot->readString((*(this->success))[_i2709]); } xfer += iprot->readListEnd(); } @@ -66616,14 +66616,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 _size2702; - ::apache::thrift::protocol::TType _etype2705; - xfer += iprot->readListBegin(_etype2705, _size2702); - this->success.resize(_size2702); - uint32_t _i2706; - for (_i2706 = 0; _i2706 < _size2702; ++_i2706) + uint32_t _size2710; + ::apache::thrift::protocol::TType _etype2713; + xfer += iprot->readListBegin(_etype2713, _size2710); + this->success.resize(_size2710); + uint32_t _i2714; + for (_i2714 = 0; _i2714 < _size2710; ++_i2714) { - xfer += this->success[_i2706].read(iprot); + xfer += this->success[_i2714].read(iprot); } xfer += iprot->readListEnd(); } @@ -66662,10 +66662,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(this->success.size())); - std::vector ::const_iterator _iter2707; - for (_iter2707 = this->success.begin(); _iter2707 != this->success.end(); ++_iter2707) + std::vector ::const_iterator _iter2715; + for (_iter2715 = this->success.begin(); _iter2715 != this->success.end(); ++_iter2715) { - xfer += (*_iter2707).write(oprot); + xfer += (*_iter2715).write(oprot); } xfer += oprot->writeListEnd(); } @@ -66710,14 +66710,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 _size2708; - ::apache::thrift::protocol::TType _etype2711; - xfer += iprot->readListBegin(_etype2711, _size2708); - (*(this->success)).resize(_size2708); - uint32_t _i2712; - for (_i2712 = 0; _i2712 < _size2708; ++_i2712) + uint32_t _size2716; + ::apache::thrift::protocol::TType _etype2719; + xfer += iprot->readListBegin(_etype2719, _size2716); + (*(this->success)).resize(_size2716); + uint32_t _i2720; + for (_i2720 = 0; _i2720 < _size2716; ++_i2720) { - xfer += (*(this->success))[_i2712].read(iprot); + xfer += (*(this->success))[_i2720].read(iprot); } xfer += iprot->readListEnd(); } 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 1be1a922423b..a055ad87944b 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 @@ -26058,6 +26058,11 @@ void LockComponent::__set_isDynamicPartitionWrite(const bool val) { this->isDynamicPartitionWrite = val; __isset.isDynamicPartitionWrite = true; } + +void LockComponent::__set_tableParams(const std::map & val) { + this->tableParams = val; +__isset.tableParams = true; +} std::ostream& operator<<(std::ostream& out, const LockComponent& obj) { obj.printTo(out); @@ -26159,6 +26164,29 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 9: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->tableParams.clear(); + uint32_t _size984; + ::apache::thrift::protocol::TType _ktype985; + ::apache::thrift::protocol::TType _vtype986; + xfer += iprot->readMapBegin(_ktype985, _vtype986, _size984); + uint32_t _i988; + for (_i988 = 0; _i988 < _size984; ++_i988) + { + std::string _key989; + xfer += iprot->readString(_key989); + std::string& _val990 = this->tableParams[_key989]; + xfer += iprot->readString(_val990); + } + xfer += iprot->readMapEnd(); + } + this->__isset.tableParams = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -26219,6 +26247,20 @@ uint32_t LockComponent::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeBool(this->isDynamicPartitionWrite); xfer += oprot->writeFieldEnd(); } + if (this->__isset.tableParams) { + xfer += oprot->writeFieldBegin("tableParams", ::apache::thrift::protocol::T_MAP, 9); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->tableParams.size())); + std::map ::const_iterator _iter991; + for (_iter991 = this->tableParams.begin(); _iter991 != this->tableParams.end(); ++_iter991) + { + xfer += oprot->writeString(_iter991->first); + xfer += oprot->writeString(_iter991->second); + } + xfer += oprot->writeMapEnd(); + } + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -26234,30 +26276,33 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.operationType, b.operationType); swap(a.isTransactional, b.isTransactional); swap(a.isDynamicPartitionWrite, b.isDynamicPartitionWrite); + swap(a.tableParams, b.tableParams); swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other984) { - type = other984.type; - level = other984.level; - dbname = other984.dbname; - tablename = other984.tablename; - partitionname = other984.partitionname; - operationType = other984.operationType; - isTransactional = other984.isTransactional; - isDynamicPartitionWrite = other984.isDynamicPartitionWrite; - __isset = other984.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other985) { - type = other985.type; - level = other985.level; - dbname = other985.dbname; - tablename = other985.tablename; - partitionname = other985.partitionname; - operationType = other985.operationType; - isTransactional = other985.isTransactional; - isDynamicPartitionWrite = other985.isDynamicPartitionWrite; - __isset = other985.__isset; +LockComponent::LockComponent(const LockComponent& other992) { + type = other992.type; + level = other992.level; + dbname = other992.dbname; + tablename = other992.tablename; + partitionname = other992.partitionname; + operationType = other992.operationType; + isTransactional = other992.isTransactional; + isDynamicPartitionWrite = other992.isDynamicPartitionWrite; + tableParams = other992.tableParams; + __isset = other992.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other993) { + type = other993.type; + level = other993.level; + dbname = other993.dbname; + tablename = other993.tablename; + partitionname = other993.partitionname; + operationType = other993.operationType; + isTransactional = other993.isTransactional; + isDynamicPartitionWrite = other993.isDynamicPartitionWrite; + tableParams = other993.tableParams; + __isset = other993.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -26271,6 +26316,7 @@ void LockComponent::printTo(std::ostream& out) const { out << ", " << "operationType="; (__isset.operationType ? (out << to_string(operationType)) : (out << "")); out << ", " << "isTransactional="; (__isset.isTransactional ? (out << to_string(isTransactional)) : (out << "")); out << ", " << "isDynamicPartitionWrite="; (__isset.isDynamicPartitionWrite ? (out << to_string(isDynamicPartitionWrite)) : (out << "")); + out << ", " << "tableParams="; (__isset.tableParams ? (out << to_string(tableParams)) : (out << "")); out << ")"; } @@ -26350,14 +26396,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size986; - ::apache::thrift::protocol::TType _etype989; - xfer += iprot->readListBegin(_etype989, _size986); - this->component.resize(_size986); - uint32_t _i990; - for (_i990 = 0; _i990 < _size986; ++_i990) + uint32_t _size994; + ::apache::thrift::protocol::TType _etype997; + xfer += iprot->readListBegin(_etype997, _size994); + this->component.resize(_size994); + uint32_t _i998; + for (_i998 = 0; _i998 < _size994; ++_i998) { - xfer += this->component[_i990].read(iprot); + xfer += this->component[_i998].read(iprot); } xfer += iprot->readListEnd(); } @@ -26448,10 +26494,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter991; - for (_iter991 = this->component.begin(); _iter991 != this->component.end(); ++_iter991) + std::vector ::const_iterator _iter999; + for (_iter999 = this->component.begin(); _iter999 != this->component.end(); ++_iter999) { - xfer += (*_iter991).write(oprot); + xfer += (*_iter999).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26508,27 +26554,27 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other992) { - component = other992.component; - txnid = other992.txnid; - user = other992.user; - hostname = other992.hostname; - agentInfo = other992.agentInfo; - zeroWaitReadEnabled = other992.zeroWaitReadEnabled; - exclusiveCTAS = other992.exclusiveCTAS; - locklessReadsEnabled = other992.locklessReadsEnabled; - __isset = other992.__isset; +LockRequest::LockRequest(const LockRequest& other1000) { + component = other1000.component; + txnid = other1000.txnid; + user = other1000.user; + hostname = other1000.hostname; + agentInfo = other1000.agentInfo; + zeroWaitReadEnabled = other1000.zeroWaitReadEnabled; + exclusiveCTAS = other1000.exclusiveCTAS; + locklessReadsEnabled = other1000.locklessReadsEnabled; + __isset = other1000.__isset; } -LockRequest& LockRequest::operator=(const LockRequest& other993) { - component = other993.component; - txnid = other993.txnid; - user = other993.user; - hostname = other993.hostname; - agentInfo = other993.agentInfo; - zeroWaitReadEnabled = other993.zeroWaitReadEnabled; - exclusiveCTAS = other993.exclusiveCTAS; - locklessReadsEnabled = other993.locklessReadsEnabled; - __isset = other993.__isset; +LockRequest& LockRequest::operator=(const LockRequest& other1001) { + component = other1001.component; + txnid = other1001.txnid; + user = other1001.user; + hostname = other1001.hostname; + agentInfo = other1001.agentInfo; + zeroWaitReadEnabled = other1001.zeroWaitReadEnabled; + exclusiveCTAS = other1001.exclusiveCTAS; + locklessReadsEnabled = other1001.locklessReadsEnabled; + __isset = other1001.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -26602,9 +26648,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast994; - xfer += iprot->readI32(ecast994); - this->state = static_cast(ecast994); + int32_t ecast1002; + xfer += iprot->readI32(ecast1002); + this->state = static_cast(ecast1002); isset_state = true; } else { xfer += iprot->skip(ftype); @@ -26665,17 +26711,17 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.__isset, b.__isset); } -LockResponse::LockResponse(const LockResponse& other995) { - lockid = other995.lockid; - state = other995.state; - errorMessage = other995.errorMessage; - __isset = other995.__isset; +LockResponse::LockResponse(const LockResponse& other1003) { + lockid = other1003.lockid; + state = other1003.state; + errorMessage = other1003.errorMessage; + __isset = other1003.__isset; } -LockResponse& LockResponse::operator=(const LockResponse& other996) { - lockid = other996.lockid; - state = other996.state; - errorMessage = other996.errorMessage; - __isset = other996.__isset; +LockResponse& LockResponse::operator=(const LockResponse& other1004) { + lockid = other1004.lockid; + state = other1004.state; + errorMessage = other1004.errorMessage; + __isset = other1004.__isset; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -26804,17 +26850,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other997) noexcept { - lockid = other997.lockid; - txnid = other997.txnid; - elapsed_ms = other997.elapsed_ms; - __isset = other997.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other1005) noexcept { + lockid = other1005.lockid; + txnid = other1005.txnid; + elapsed_ms = other1005.elapsed_ms; + __isset = other1005.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other998) noexcept { - lockid = other998.lockid; - txnid = other998.txnid; - elapsed_ms = other998.elapsed_ms; - __isset = other998.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other1006) noexcept { + lockid = other1006.lockid; + txnid = other1006.txnid; + elapsed_ms = other1006.elapsed_ms; + __isset = other1006.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -26904,11 +26950,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other999) noexcept { - lockid = other999.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other1007) noexcept { + lockid = other1007.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other1000) noexcept { - lockid = other1000.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other1008) noexcept { + lockid = other1008.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -27072,21 +27118,21 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other1001) { - dbname = other1001.dbname; - tablename = other1001.tablename; - partname = other1001.partname; - isExtended = other1001.isExtended; - txnid = other1001.txnid; - __isset = other1001.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other1009) { + dbname = other1009.dbname; + tablename = other1009.tablename; + partname = other1009.partname; + isExtended = other1009.isExtended; + txnid = other1009.txnid; + __isset = other1009.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other1002) { - dbname = other1002.dbname; - tablename = other1002.tablename; - partname = other1002.partname; - isExtended = other1002.isExtended; - txnid = other1002.txnid; - __isset = other1002.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other1010) { + dbname = other1010.dbname; + tablename = other1010.tablename; + partname = other1010.partname; + isExtended = other1010.isExtended; + txnid = other1010.txnid; + __isset = other1010.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -27246,9 +27292,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1003; - xfer += iprot->readI32(ecast1003); - this->state = static_cast(ecast1003); + int32_t ecast1011; + xfer += iprot->readI32(ecast1011); + this->state = static_cast(ecast1011); isset_state = true; } else { xfer += iprot->skip(ftype); @@ -27256,9 +27302,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1004; - xfer += iprot->readI32(ecast1004); - this->type = static_cast(ecast1004); + int32_t ecast1012; + xfer += iprot->readI32(ecast1012); + this->type = static_cast(ecast1012); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -27474,43 +27520,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other1005) { - lockid = other1005.lockid; - dbname = other1005.dbname; - tablename = other1005.tablename; - partname = other1005.partname; - state = other1005.state; - type = other1005.type; - txnid = other1005.txnid; - lastheartbeat = other1005.lastheartbeat; - acquiredat = other1005.acquiredat; - user = other1005.user; - hostname = other1005.hostname; - heartbeatCount = other1005.heartbeatCount; - agentInfo = other1005.agentInfo; - blockedByExtId = other1005.blockedByExtId; - blockedByIntId = other1005.blockedByIntId; - lockIdInternal = other1005.lockIdInternal; - __isset = other1005.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other1013) { + lockid = other1013.lockid; + dbname = other1013.dbname; + tablename = other1013.tablename; + partname = other1013.partname; + state = other1013.state; + type = other1013.type; + txnid = other1013.txnid; + lastheartbeat = other1013.lastheartbeat; + acquiredat = other1013.acquiredat; + user = other1013.user; + hostname = other1013.hostname; + heartbeatCount = other1013.heartbeatCount; + agentInfo = other1013.agentInfo; + blockedByExtId = other1013.blockedByExtId; + blockedByIntId = other1013.blockedByIntId; + lockIdInternal = other1013.lockIdInternal; + __isset = other1013.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other1006) { - lockid = other1006.lockid; - dbname = other1006.dbname; - tablename = other1006.tablename; - partname = other1006.partname; - state = other1006.state; - type = other1006.type; - txnid = other1006.txnid; - lastheartbeat = other1006.lastheartbeat; - acquiredat = other1006.acquiredat; - user = other1006.user; - hostname = other1006.hostname; - heartbeatCount = other1006.heartbeatCount; - agentInfo = other1006.agentInfo; - blockedByExtId = other1006.blockedByExtId; - blockedByIntId = other1006.blockedByIntId; - lockIdInternal = other1006.lockIdInternal; - __isset = other1006.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other1014) { + lockid = other1014.lockid; + dbname = other1014.dbname; + tablename = other1014.tablename; + partname = other1014.partname; + state = other1014.state; + type = other1014.type; + txnid = other1014.txnid; + lastheartbeat = other1014.lastheartbeat; + acquiredat = other1014.acquiredat; + user = other1014.user; + hostname = other1014.hostname; + heartbeatCount = other1014.heartbeatCount; + agentInfo = other1014.agentInfo; + blockedByExtId = other1014.blockedByExtId; + blockedByIntId = other1014.blockedByIntId; + lockIdInternal = other1014.lockIdInternal; + __isset = other1014.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -27575,14 +27621,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size1007; - ::apache::thrift::protocol::TType _etype1010; - xfer += iprot->readListBegin(_etype1010, _size1007); - this->locks.resize(_size1007); - uint32_t _i1011; - for (_i1011 = 0; _i1011 < _size1007; ++_i1011) + uint32_t _size1015; + ::apache::thrift::protocol::TType _etype1018; + xfer += iprot->readListBegin(_etype1018, _size1015); + this->locks.resize(_size1015); + uint32_t _i1019; + for (_i1019 = 0; _i1019 < _size1015; ++_i1019) { - xfer += this->locks[_i1011].read(iprot); + xfer += this->locks[_i1019].read(iprot); } xfer += iprot->readListEnd(); } @@ -27611,10 +27657,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter1012; - for (_iter1012 = this->locks.begin(); _iter1012 != this->locks.end(); ++_iter1012) + std::vector ::const_iterator _iter1020; + for (_iter1020 = this->locks.begin(); _iter1020 != this->locks.end(); ++_iter1020) { - xfer += (*_iter1012).write(oprot); + xfer += (*_iter1020).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27631,13 +27677,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other1013) { - locks = other1013.locks; - __isset = other1013.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other1021) { + locks = other1021.locks; + __isset = other1021.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other1014) { - locks = other1014.locks; - __isset = other1014.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other1022) { + locks = other1022.locks; + __isset = other1022.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -27744,15 +27790,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other1015) noexcept { - lockid = other1015.lockid; - txnid = other1015.txnid; - __isset = other1015.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other1023) noexcept { + lockid = other1023.lockid; + txnid = other1023.txnid; + __isset = other1023.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other1016) noexcept { - lockid = other1016.lockid; - txnid = other1016.txnid; - __isset = other1016.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other1024) noexcept { + lockid = other1024.lockid; + txnid = other1024.txnid; + __isset = other1024.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -27861,13 +27907,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other1017) noexcept { - min = other1017.min; - max = other1017.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other1025) noexcept { + min = other1025.min; + max = other1025.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other1018) noexcept { - min = other1018.min; - max = other1018.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other1026) noexcept { + min = other1026.min; + max = other1026.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -27924,15 +27970,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size1019; - ::apache::thrift::protocol::TType _etype1022; - xfer += iprot->readSetBegin(_etype1022, _size1019); - uint32_t _i1023; - for (_i1023 = 0; _i1023 < _size1019; ++_i1023) + uint32_t _size1027; + ::apache::thrift::protocol::TType _etype1030; + xfer += iprot->readSetBegin(_etype1030, _size1027); + uint32_t _i1031; + for (_i1031 = 0; _i1031 < _size1027; ++_i1031) { - int64_t _elem1024; - xfer += iprot->readI64(_elem1024); - this->aborted.insert(_elem1024); + int64_t _elem1032; + xfer += iprot->readI64(_elem1032); + this->aborted.insert(_elem1032); } xfer += iprot->readSetEnd(); } @@ -27945,15 +27991,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size1025; - ::apache::thrift::protocol::TType _etype1028; - xfer += iprot->readSetBegin(_etype1028, _size1025); - uint32_t _i1029; - for (_i1029 = 0; _i1029 < _size1025; ++_i1029) + uint32_t _size1033; + ::apache::thrift::protocol::TType _etype1036; + xfer += iprot->readSetBegin(_etype1036, _size1033); + uint32_t _i1037; + for (_i1037 = 0; _i1037 < _size1033; ++_i1037) { - int64_t _elem1030; - xfer += iprot->readI64(_elem1030); - this->nosuch.insert(_elem1030); + int64_t _elem1038; + xfer += iprot->readI64(_elem1038); + this->nosuch.insert(_elem1038); } xfer += iprot->readSetEnd(); } @@ -27986,10 +28032,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter1031; - for (_iter1031 = this->aborted.begin(); _iter1031 != this->aborted.end(); ++_iter1031) + std::set ::const_iterator _iter1039; + for (_iter1039 = this->aborted.begin(); _iter1039 != this->aborted.end(); ++_iter1039) { - xfer += oprot->writeI64((*_iter1031)); + xfer += oprot->writeI64((*_iter1039)); } xfer += oprot->writeSetEnd(); } @@ -27998,10 +28044,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter1032; - for (_iter1032 = this->nosuch.begin(); _iter1032 != this->nosuch.end(); ++_iter1032) + std::set ::const_iterator _iter1040; + for (_iter1040 = this->nosuch.begin(); _iter1040 != this->nosuch.end(); ++_iter1040) { - xfer += oprot->writeI64((*_iter1032)); + xfer += oprot->writeI64((*_iter1040)); } xfer += oprot->writeSetEnd(); } @@ -28018,13 +28064,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other1033) { - aborted = other1033.aborted; - nosuch = other1033.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other1041) { + aborted = other1041.aborted; + nosuch = other1041.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other1034) { - aborted = other1034.aborted; - nosuch = other1034.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other1042) { + aborted = other1042.aborted; + nosuch = other1042.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -28148,9 +28194,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1035; - xfer += iprot->readI32(ecast1035); - this->type = static_cast(ecast1035); + int32_t ecast1043; + xfer += iprot->readI32(ecast1043); + this->type = static_cast(ecast1043); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -28168,17 +28214,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size1036; - ::apache::thrift::protocol::TType _ktype1037; - ::apache::thrift::protocol::TType _vtype1038; - xfer += iprot->readMapBegin(_ktype1037, _vtype1038, _size1036); - uint32_t _i1040; - for (_i1040 = 0; _i1040 < _size1036; ++_i1040) + uint32_t _size1044; + ::apache::thrift::protocol::TType _ktype1045; + ::apache::thrift::protocol::TType _vtype1046; + xfer += iprot->readMapBegin(_ktype1045, _vtype1046, _size1044); + uint32_t _i1048; + for (_i1048 = 0; _i1048 < _size1044; ++_i1048) { - std::string _key1041; - xfer += iprot->readString(_key1041); - std::string& _val1042 = this->properties[_key1041]; - xfer += iprot->readString(_val1042); + std::string _key1049; + xfer += iprot->readString(_key1049); + std::string& _val1050 = this->properties[_key1049]; + xfer += iprot->readString(_val1050); } xfer += iprot->readMapEnd(); } @@ -28276,11 +28322,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter1043; - for (_iter1043 = this->properties.begin(); _iter1043 != this->properties.end(); ++_iter1043) + std::map ::const_iterator _iter1051; + for (_iter1051 = this->properties.begin(); _iter1051 != this->properties.end(); ++_iter1051) { - xfer += oprot->writeString(_iter1043->first); - xfer += oprot->writeString(_iter1043->second); + xfer += oprot->writeString(_iter1051->first); + xfer += oprot->writeString(_iter1051->second); } xfer += oprot->writeMapEnd(); } @@ -28332,33 +28378,33 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other1044) { - dbname = other1044.dbname; - tablename = other1044.tablename; - partitionname = other1044.partitionname; - type = other1044.type; - runas = other1044.runas; - properties = other1044.properties; - initiatorId = other1044.initiatorId; - initiatorVersion = other1044.initiatorVersion; - poolName = other1044.poolName; - numberOfBuckets = other1044.numberOfBuckets; - orderByClause = other1044.orderByClause; - __isset = other1044.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other1045) { - dbname = other1045.dbname; - tablename = other1045.tablename; - partitionname = other1045.partitionname; - type = other1045.type; - runas = other1045.runas; - properties = other1045.properties; - initiatorId = other1045.initiatorId; - initiatorVersion = other1045.initiatorVersion; - poolName = other1045.poolName; - numberOfBuckets = other1045.numberOfBuckets; - orderByClause = other1045.orderByClause; - __isset = other1045.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other1052) { + dbname = other1052.dbname; + tablename = other1052.tablename; + partitionname = other1052.partitionname; + type = other1052.type; + runas = other1052.runas; + properties = other1052.properties; + initiatorId = other1052.initiatorId; + initiatorVersion = other1052.initiatorVersion; + poolName = other1052.poolName; + numberOfBuckets = other1052.numberOfBuckets; + orderByClause = other1052.orderByClause; + __isset = other1052.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other1053) { + dbname = other1053.dbname; + tablename = other1053.tablename; + partitionname = other1053.partitionname; + type = other1053.type; + runas = other1053.runas; + properties = other1053.properties; + initiatorId = other1053.initiatorId; + initiatorVersion = other1053.initiatorVersion; + poolName = other1053.poolName; + numberOfBuckets = other1053.numberOfBuckets; + orderByClause = other1053.orderByClause; + __isset = other1053.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -28539,9 +28585,9 @@ uint32_t CompactionInfoStruct::read(::apache::thrift::protocol::TProtocol* iprot break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1046; - xfer += iprot->readI32(ecast1046); - this->type = static_cast(ecast1046); + int32_t ecast1054; + xfer += iprot->readI32(ecast1054); + this->type = static_cast(ecast1054); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -28804,49 +28850,49 @@ void swap(CompactionInfoStruct &a, CompactionInfoStruct &b) { swap(a.__isset, b.__isset); } -CompactionInfoStruct::CompactionInfoStruct(const CompactionInfoStruct& other1047) { - id = other1047.id; - dbname = other1047.dbname; - tablename = other1047.tablename; - partitionname = other1047.partitionname; - type = other1047.type; - runas = other1047.runas; - properties = other1047.properties; - toomanyaborts = other1047.toomanyaborts; - state = other1047.state; - workerId = other1047.workerId; - start = other1047.start; - highestWriteId = other1047.highestWriteId; - errorMessage = other1047.errorMessage; - hasoldabort = other1047.hasoldabort; - enqueueTime = other1047.enqueueTime; - retryRetention = other1047.retryRetention; - poolname = other1047.poolname; - numberOfBuckets = other1047.numberOfBuckets; - orderByClause = other1047.orderByClause; - __isset = other1047.__isset; -} -CompactionInfoStruct& CompactionInfoStruct::operator=(const CompactionInfoStruct& other1048) { - id = other1048.id; - dbname = other1048.dbname; - tablename = other1048.tablename; - partitionname = other1048.partitionname; - type = other1048.type; - runas = other1048.runas; - properties = other1048.properties; - toomanyaborts = other1048.toomanyaborts; - state = other1048.state; - workerId = other1048.workerId; - start = other1048.start; - highestWriteId = other1048.highestWriteId; - errorMessage = other1048.errorMessage; - hasoldabort = other1048.hasoldabort; - enqueueTime = other1048.enqueueTime; - retryRetention = other1048.retryRetention; - poolname = other1048.poolname; - numberOfBuckets = other1048.numberOfBuckets; - orderByClause = other1048.orderByClause; - __isset = other1048.__isset; +CompactionInfoStruct::CompactionInfoStruct(const CompactionInfoStruct& other1055) { + id = other1055.id; + dbname = other1055.dbname; + tablename = other1055.tablename; + partitionname = other1055.partitionname; + type = other1055.type; + runas = other1055.runas; + properties = other1055.properties; + toomanyaborts = other1055.toomanyaborts; + state = other1055.state; + workerId = other1055.workerId; + start = other1055.start; + highestWriteId = other1055.highestWriteId; + errorMessage = other1055.errorMessage; + hasoldabort = other1055.hasoldabort; + enqueueTime = other1055.enqueueTime; + retryRetention = other1055.retryRetention; + poolname = other1055.poolname; + numberOfBuckets = other1055.numberOfBuckets; + orderByClause = other1055.orderByClause; + __isset = other1055.__isset; +} +CompactionInfoStruct& CompactionInfoStruct::operator=(const CompactionInfoStruct& other1056) { + id = other1056.id; + dbname = other1056.dbname; + tablename = other1056.tablename; + partitionname = other1056.partitionname; + type = other1056.type; + runas = other1056.runas; + properties = other1056.properties; + toomanyaborts = other1056.toomanyaborts; + state = other1056.state; + workerId = other1056.workerId; + start = other1056.start; + highestWriteId = other1056.highestWriteId; + errorMessage = other1056.errorMessage; + hasoldabort = other1056.hasoldabort; + enqueueTime = other1056.enqueueTime; + retryRetention = other1056.retryRetention; + poolname = other1056.poolname; + numberOfBuckets = other1056.numberOfBuckets; + orderByClause = other1056.orderByClause; + __isset = other1056.__isset; return *this; } void CompactionInfoStruct::printTo(std::ostream& out) const { @@ -28952,13 +28998,13 @@ void swap(OptionalCompactionInfoStruct &a, OptionalCompactionInfoStruct &b) { swap(a.__isset, b.__isset); } -OptionalCompactionInfoStruct::OptionalCompactionInfoStruct(const OptionalCompactionInfoStruct& other1049) { - ci = other1049.ci; - __isset = other1049.__isset; +OptionalCompactionInfoStruct::OptionalCompactionInfoStruct(const OptionalCompactionInfoStruct& other1057) { + ci = other1057.ci; + __isset = other1057.__isset; } -OptionalCompactionInfoStruct& OptionalCompactionInfoStruct::operator=(const OptionalCompactionInfoStruct& other1050) { - ci = other1050.ci; - __isset = other1050.__isset; +OptionalCompactionInfoStruct& OptionalCompactionInfoStruct::operator=(const OptionalCompactionInfoStruct& other1058) { + ci = other1058.ci; + __isset = other1058.__isset; return *this; } void OptionalCompactionInfoStruct::printTo(std::ostream& out) const { @@ -29061,9 +29107,9 @@ uint32_t CompactionMetricsDataStruct::read(::apache::thrift::protocol::TProtocol break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1051; - xfer += iprot->readI32(ecast1051); - this->type = static_cast(ecast1051); + int32_t ecast1059; + xfer += iprot->readI32(ecast1059); + this->type = static_cast(ecast1059); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -29168,25 +29214,25 @@ void swap(CompactionMetricsDataStruct &a, CompactionMetricsDataStruct &b) { swap(a.__isset, b.__isset); } -CompactionMetricsDataStruct::CompactionMetricsDataStruct(const CompactionMetricsDataStruct& other1052) { - dbname = other1052.dbname; - tblname = other1052.tblname; - partitionname = other1052.partitionname; - type = other1052.type; - metricvalue = other1052.metricvalue; - version = other1052.version; - threshold = other1052.threshold; - __isset = other1052.__isset; +CompactionMetricsDataStruct::CompactionMetricsDataStruct(const CompactionMetricsDataStruct& other1060) { + dbname = other1060.dbname; + tblname = other1060.tblname; + partitionname = other1060.partitionname; + type = other1060.type; + metricvalue = other1060.metricvalue; + version = other1060.version; + threshold = other1060.threshold; + __isset = other1060.__isset; } -CompactionMetricsDataStruct& CompactionMetricsDataStruct::operator=(const CompactionMetricsDataStruct& other1053) { - dbname = other1053.dbname; - tblname = other1053.tblname; - partitionname = other1053.partitionname; - type = other1053.type; - metricvalue = other1053.metricvalue; - version = other1053.version; - threshold = other1053.threshold; - __isset = other1053.__isset; +CompactionMetricsDataStruct& CompactionMetricsDataStruct::operator=(const CompactionMetricsDataStruct& other1061) { + dbname = other1061.dbname; + tblname = other1061.tblname; + partitionname = other1061.partitionname; + type = other1061.type; + metricvalue = other1061.metricvalue; + version = other1061.version; + threshold = other1061.threshold; + __isset = other1061.__isset; return *this; } void CompactionMetricsDataStruct::printTo(std::ostream& out) const { @@ -29280,13 +29326,13 @@ void swap(CompactionMetricsDataResponse &a, CompactionMetricsDataResponse &b) { swap(a.__isset, b.__isset); } -CompactionMetricsDataResponse::CompactionMetricsDataResponse(const CompactionMetricsDataResponse& other1054) { - data = other1054.data; - __isset = other1054.__isset; +CompactionMetricsDataResponse::CompactionMetricsDataResponse(const CompactionMetricsDataResponse& other1062) { + data = other1062.data; + __isset = other1062.__isset; } -CompactionMetricsDataResponse& CompactionMetricsDataResponse::operator=(const CompactionMetricsDataResponse& other1055) { - data = other1055.data; - __isset = other1055.__isset; +CompactionMetricsDataResponse& CompactionMetricsDataResponse::operator=(const CompactionMetricsDataResponse& other1063) { + data = other1063.data; + __isset = other1063.__isset; return *this; } void CompactionMetricsDataResponse::printTo(std::ostream& out) const { @@ -29374,9 +29420,9 @@ uint32_t CompactionMetricsDataRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1056; - xfer += iprot->readI32(ecast1056); - this->type = static_cast(ecast1056); + int32_t ecast1064; + xfer += iprot->readI32(ecast1064); + this->type = static_cast(ecast1064); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -29436,19 +29482,19 @@ void swap(CompactionMetricsDataRequest &a, CompactionMetricsDataRequest &b) { swap(a.__isset, b.__isset); } -CompactionMetricsDataRequest::CompactionMetricsDataRequest(const CompactionMetricsDataRequest& other1057) { - dbName = other1057.dbName; - tblName = other1057.tblName; - partitionName = other1057.partitionName; - type = other1057.type; - __isset = other1057.__isset; +CompactionMetricsDataRequest::CompactionMetricsDataRequest(const CompactionMetricsDataRequest& other1065) { + dbName = other1065.dbName; + tblName = other1065.tblName; + partitionName = other1065.partitionName; + type = other1065.type; + __isset = other1065.__isset; } -CompactionMetricsDataRequest& CompactionMetricsDataRequest::operator=(const CompactionMetricsDataRequest& other1058) { - dbName = other1058.dbName; - tblName = other1058.tblName; - partitionName = other1058.partitionName; - type = other1058.type; - __isset = other1058.__isset; +CompactionMetricsDataRequest& CompactionMetricsDataRequest::operator=(const CompactionMetricsDataRequest& other1066) { + dbName = other1066.dbName; + tblName = other1066.tblName; + partitionName = other1066.partitionName; + type = other1066.type; + __isset = other1066.__isset; return *this; } void CompactionMetricsDataRequest::printTo(std::ostream& out) const { @@ -29599,19 +29645,19 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.__isset, b.__isset); } -CompactionResponse::CompactionResponse(const CompactionResponse& other1059) { - id = other1059.id; - state = other1059.state; - accepted = other1059.accepted; - errormessage = other1059.errormessage; - __isset = other1059.__isset; +CompactionResponse::CompactionResponse(const CompactionResponse& other1067) { + id = other1067.id; + state = other1067.state; + accepted = other1067.accepted; + errormessage = other1067.errormessage; + __isset = other1067.__isset; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other1060) { - id = other1060.id; - state = other1060.state; - accepted = other1060.accepted; - errormessage = other1060.errormessage; - __isset = other1060.__isset; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other1068) { + id = other1068.id; + state = other1068.state; + accepted = other1068.accepted; + errormessage = other1068.errormessage; + __isset = other1068.__isset; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -29743,9 +29789,9 @@ uint32_t ShowCompactRequest::read(::apache::thrift::protocol::TProtocol* iprot) break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1061; - xfer += iprot->readI32(ecast1061); - this->type = static_cast(ecast1061); + int32_t ecast1069; + xfer += iprot->readI32(ecast1069); + this->type = static_cast(ecast1069); this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -29856,29 +29902,29 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { swap(a.__isset, b.__isset); } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other1062) { - id = other1062.id; - poolName = other1062.poolName; - dbName = other1062.dbName; - tbName = other1062.tbName; - partName = other1062.partName; - type = other1062.type; - state = other1062.state; - limit = other1062.limit; - order = other1062.order; - __isset = other1062.__isset; -} -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other1063) { - id = other1063.id; - poolName = other1063.poolName; - dbName = other1063.dbName; - tbName = other1063.tbName; - partName = other1063.partName; - type = other1063.type; - state = other1063.state; - limit = other1063.limit; - order = other1063.order; - __isset = other1063.__isset; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other1070) { + id = other1070.id; + poolName = other1070.poolName; + dbName = other1070.dbName; + tbName = other1070.tbName; + partName = other1070.partName; + type = other1070.type; + state = other1070.state; + limit = other1070.limit; + order = other1070.order; + __isset = other1070.__isset; +} +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other1071) { + id = other1071.id; + poolName = other1071.poolName; + dbName = other1071.dbName; + tbName = other1071.tbName; + partName = other1071.partName; + type = other1071.type; + state = other1071.state; + limit = other1071.limit; + order = other1071.order; + __isset = other1071.__isset; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -30074,9 +30120,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1064; - xfer += iprot->readI32(ecast1064); - this->type = static_cast(ecast1064); + int32_t ecast1072; + xfer += iprot->readI32(ecast1072); + this->type = static_cast(ecast1072); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -30417,59 +30463,59 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other1065) { - dbname = other1065.dbname; - tablename = other1065.tablename; - partitionname = other1065.partitionname; - type = other1065.type; - state = other1065.state; - workerid = other1065.workerid; - start = other1065.start; - runAs = other1065.runAs; - hightestTxnId = other1065.hightestTxnId; - metaInfo = other1065.metaInfo; - endTime = other1065.endTime; - hadoopJobId = other1065.hadoopJobId; - id = other1065.id; - errorMessage = other1065.errorMessage; - enqueueTime = other1065.enqueueTime; - workerVersion = other1065.workerVersion; - initiatorId = other1065.initiatorId; - initiatorVersion = other1065.initiatorVersion; - cleanerStart = other1065.cleanerStart; - poolName = other1065.poolName; - nextTxnId = other1065.nextTxnId; - txnId = other1065.txnId; - commitTime = other1065.commitTime; - hightestWriteId = other1065.hightestWriteId; - __isset = other1065.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other1066) { - dbname = other1066.dbname; - tablename = other1066.tablename; - partitionname = other1066.partitionname; - type = other1066.type; - state = other1066.state; - workerid = other1066.workerid; - start = other1066.start; - runAs = other1066.runAs; - hightestTxnId = other1066.hightestTxnId; - metaInfo = other1066.metaInfo; - endTime = other1066.endTime; - hadoopJobId = other1066.hadoopJobId; - id = other1066.id; - errorMessage = other1066.errorMessage; - enqueueTime = other1066.enqueueTime; - workerVersion = other1066.workerVersion; - initiatorId = other1066.initiatorId; - initiatorVersion = other1066.initiatorVersion; - cleanerStart = other1066.cleanerStart; - poolName = other1066.poolName; - nextTxnId = other1066.nextTxnId; - txnId = other1066.txnId; - commitTime = other1066.commitTime; - hightestWriteId = other1066.hightestWriteId; - __isset = other1066.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other1073) { + dbname = other1073.dbname; + tablename = other1073.tablename; + partitionname = other1073.partitionname; + type = other1073.type; + state = other1073.state; + workerid = other1073.workerid; + start = other1073.start; + runAs = other1073.runAs; + hightestTxnId = other1073.hightestTxnId; + metaInfo = other1073.metaInfo; + endTime = other1073.endTime; + hadoopJobId = other1073.hadoopJobId; + id = other1073.id; + errorMessage = other1073.errorMessage; + enqueueTime = other1073.enqueueTime; + workerVersion = other1073.workerVersion; + initiatorId = other1073.initiatorId; + initiatorVersion = other1073.initiatorVersion; + cleanerStart = other1073.cleanerStart; + poolName = other1073.poolName; + nextTxnId = other1073.nextTxnId; + txnId = other1073.txnId; + commitTime = other1073.commitTime; + hightestWriteId = other1073.hightestWriteId; + __isset = other1073.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other1074) { + dbname = other1074.dbname; + tablename = other1074.tablename; + partitionname = other1074.partitionname; + type = other1074.type; + state = other1074.state; + workerid = other1074.workerid; + start = other1074.start; + runAs = other1074.runAs; + hightestTxnId = other1074.hightestTxnId; + metaInfo = other1074.metaInfo; + endTime = other1074.endTime; + hadoopJobId = other1074.hadoopJobId; + id = other1074.id; + errorMessage = other1074.errorMessage; + enqueueTime = other1074.enqueueTime; + workerVersion = other1074.workerVersion; + initiatorId = other1074.initiatorId; + initiatorVersion = other1074.initiatorVersion; + cleanerStart = other1074.cleanerStart; + poolName = other1074.poolName; + nextTxnId = other1074.nextTxnId; + txnId = other1074.txnId; + commitTime = other1074.commitTime; + hightestWriteId = other1074.hightestWriteId; + __isset = other1074.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -30543,14 +30589,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size1067; - ::apache::thrift::protocol::TType _etype1070; - xfer += iprot->readListBegin(_etype1070, _size1067); - this->compacts.resize(_size1067); - uint32_t _i1071; - for (_i1071 = 0; _i1071 < _size1067; ++_i1071) + uint32_t _size1075; + ::apache::thrift::protocol::TType _etype1078; + xfer += iprot->readListBegin(_etype1078, _size1075); + this->compacts.resize(_size1075); + uint32_t _i1079; + for (_i1079 = 0; _i1079 < _size1075; ++_i1079) { - xfer += this->compacts[_i1071].read(iprot); + xfer += this->compacts[_i1079].read(iprot); } xfer += iprot->readListEnd(); } @@ -30581,10 +30627,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter1072; - for (_iter1072 = this->compacts.begin(); _iter1072 != this->compacts.end(); ++_iter1072) + std::vector ::const_iterator _iter1080; + for (_iter1080 = this->compacts.begin(); _iter1080 != this->compacts.end(); ++_iter1080) { - xfer += (*_iter1072).write(oprot); + xfer += (*_iter1080).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30600,11 +30646,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other1073) { - compacts = other1073.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other1081) { + compacts = other1081.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other1074) { - compacts = other1074.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other1082) { + compacts = other1082.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -30665,14 +30711,14 @@ uint32_t AbortCompactionRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compactionIds.clear(); - uint32_t _size1075; - ::apache::thrift::protocol::TType _etype1078; - xfer += iprot->readListBegin(_etype1078, _size1075); - this->compactionIds.resize(_size1075); - uint32_t _i1079; - for (_i1079 = 0; _i1079 < _size1075; ++_i1079) + uint32_t _size1083; + ::apache::thrift::protocol::TType _etype1086; + xfer += iprot->readListBegin(_etype1086, _size1083); + this->compactionIds.resize(_size1083); + uint32_t _i1087; + for (_i1087 = 0; _i1087 < _size1083; ++_i1087) { - xfer += iprot->readI64(this->compactionIds[_i1079]); + xfer += iprot->readI64(this->compactionIds[_i1087]); } xfer += iprot->readListEnd(); } @@ -30719,10 +30765,10 @@ uint32_t AbortCompactionRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("compactionIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->compactionIds.size())); - std::vector ::const_iterator _iter1080; - for (_iter1080 = this->compactionIds.begin(); _iter1080 != this->compactionIds.end(); ++_iter1080) + std::vector ::const_iterator _iter1088; + for (_iter1088 = this->compactionIds.begin(); _iter1088 != this->compactionIds.end(); ++_iter1088) { - xfer += oprot->writeI64((*_iter1080)); + xfer += oprot->writeI64((*_iter1088)); } xfer += oprot->writeListEnd(); } @@ -30751,17 +30797,17 @@ void swap(AbortCompactionRequest &a, AbortCompactionRequest &b) { swap(a.__isset, b.__isset); } -AbortCompactionRequest::AbortCompactionRequest(const AbortCompactionRequest& other1081) { - compactionIds = other1081.compactionIds; - type = other1081.type; - poolName = other1081.poolName; - __isset = other1081.__isset; +AbortCompactionRequest::AbortCompactionRequest(const AbortCompactionRequest& other1089) { + compactionIds = other1089.compactionIds; + type = other1089.type; + poolName = other1089.poolName; + __isset = other1089.__isset; } -AbortCompactionRequest& AbortCompactionRequest::operator=(const AbortCompactionRequest& other1082) { - compactionIds = other1082.compactionIds; - type = other1082.type; - poolName = other1082.poolName; - __isset = other1082.__isset; +AbortCompactionRequest& AbortCompactionRequest::operator=(const AbortCompactionRequest& other1090) { + compactionIds = other1090.compactionIds; + type = other1090.type; + poolName = other1090.poolName; + __isset = other1090.__isset; return *this; } void AbortCompactionRequest::printTo(std::ostream& out) const { @@ -30890,17 +30936,17 @@ void swap(AbortCompactionResponseElement &a, AbortCompactionResponseElement &b) swap(a.__isset, b.__isset); } -AbortCompactionResponseElement::AbortCompactionResponseElement(const AbortCompactionResponseElement& other1083) { - compactionId = other1083.compactionId; - status = other1083.status; - message = other1083.message; - __isset = other1083.__isset; +AbortCompactionResponseElement::AbortCompactionResponseElement(const AbortCompactionResponseElement& other1091) { + compactionId = other1091.compactionId; + status = other1091.status; + message = other1091.message; + __isset = other1091.__isset; } -AbortCompactionResponseElement& AbortCompactionResponseElement::operator=(const AbortCompactionResponseElement& other1084) { - compactionId = other1084.compactionId; - status = other1084.status; - message = other1084.message; - __isset = other1084.__isset; +AbortCompactionResponseElement& AbortCompactionResponseElement::operator=(const AbortCompactionResponseElement& other1092) { + compactionId = other1092.compactionId; + status = other1092.status; + message = other1092.message; + __isset = other1092.__isset; return *this; } void AbortCompactionResponseElement::printTo(std::ostream& out) const { @@ -30953,17 +30999,17 @@ uint32_t AbortCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_MAP) { { this->abortedcompacts.clear(); - uint32_t _size1085; - ::apache::thrift::protocol::TType _ktype1086; - ::apache::thrift::protocol::TType _vtype1087; - xfer += iprot->readMapBegin(_ktype1086, _vtype1087, _size1085); - uint32_t _i1089; - for (_i1089 = 0; _i1089 < _size1085; ++_i1089) + uint32_t _size1093; + ::apache::thrift::protocol::TType _ktype1094; + ::apache::thrift::protocol::TType _vtype1095; + xfer += iprot->readMapBegin(_ktype1094, _vtype1095, _size1093); + uint32_t _i1097; + for (_i1097 = 0; _i1097 < _size1093; ++_i1097) { - int64_t _key1090; - xfer += iprot->readI64(_key1090); - AbortCompactionResponseElement& _val1091 = this->abortedcompacts[_key1090]; - xfer += _val1091.read(iprot); + int64_t _key1098; + xfer += iprot->readI64(_key1098); + AbortCompactionResponseElement& _val1099 = this->abortedcompacts[_key1098]; + xfer += _val1099.read(iprot); } xfer += iprot->readMapEnd(); } @@ -30994,11 +31040,11 @@ uint32_t AbortCompactResponse::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("abortedcompacts", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->abortedcompacts.size())); - std::map ::const_iterator _iter1092; - for (_iter1092 = this->abortedcompacts.begin(); _iter1092 != this->abortedcompacts.end(); ++_iter1092) + std::map ::const_iterator _iter1100; + for (_iter1100 = this->abortedcompacts.begin(); _iter1100 != this->abortedcompacts.end(); ++_iter1100) { - xfer += oprot->writeI64(_iter1092->first); - xfer += _iter1092->second.write(oprot); + xfer += oprot->writeI64(_iter1100->first); + xfer += _iter1100->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -31014,11 +31060,11 @@ void swap(AbortCompactResponse &a, AbortCompactResponse &b) { swap(a.abortedcompacts, b.abortedcompacts); } -AbortCompactResponse::AbortCompactResponse(const AbortCompactResponse& other1093) { - abortedcompacts = other1093.abortedcompacts; +AbortCompactResponse::AbortCompactResponse(const AbortCompactResponse& other1101) { + abortedcompacts = other1101.abortedcompacts; } -AbortCompactResponse& AbortCompactResponse::operator=(const AbortCompactResponse& other1094) { - abortedcompacts = other1094.abortedcompacts; +AbortCompactResponse& AbortCompactResponse::operator=(const AbortCompactResponse& other1102) { + abortedcompacts = other1102.abortedcompacts; return *this; } void AbortCompactResponse::printTo(std::ostream& out) const { @@ -31100,14 +31146,14 @@ uint32_t GetLatestCommittedCompactionInfoRequest::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size1095; - ::apache::thrift::protocol::TType _etype1098; - xfer += iprot->readListBegin(_etype1098, _size1095); - this->partitionnames.resize(_size1095); - uint32_t _i1099; - for (_i1099 = 0; _i1099 < _size1095; ++_i1099) + uint32_t _size1103; + ::apache::thrift::protocol::TType _etype1106; + xfer += iprot->readListBegin(_etype1106, _size1103); + this->partitionnames.resize(_size1103); + uint32_t _i1107; + for (_i1107 = 0; _i1107 < _size1103; ++_i1107) { - xfer += iprot->readString(this->partitionnames[_i1099]); + xfer += iprot->readString(this->partitionnames[_i1107]); } xfer += iprot->readListEnd(); } @@ -31157,10 +31203,10 @@ uint32_t GetLatestCommittedCompactionInfoRequest::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter1100; - for (_iter1100 = this->partitionnames.begin(); _iter1100 != this->partitionnames.end(); ++_iter1100) + std::vector ::const_iterator _iter1108; + for (_iter1108 = this->partitionnames.begin(); _iter1108 != this->partitionnames.end(); ++_iter1108) { - xfer += oprot->writeString((*_iter1100)); + xfer += oprot->writeString((*_iter1108)); } xfer += oprot->writeListEnd(); } @@ -31185,19 +31231,19 @@ void swap(GetLatestCommittedCompactionInfoRequest &a, GetLatestCommittedCompacti swap(a.__isset, b.__isset); } -GetLatestCommittedCompactionInfoRequest::GetLatestCommittedCompactionInfoRequest(const GetLatestCommittedCompactionInfoRequest& other1101) { - dbname = other1101.dbname; - tablename = other1101.tablename; - partitionnames = other1101.partitionnames; - lastCompactionId = other1101.lastCompactionId; - __isset = other1101.__isset; +GetLatestCommittedCompactionInfoRequest::GetLatestCommittedCompactionInfoRequest(const GetLatestCommittedCompactionInfoRequest& other1109) { + dbname = other1109.dbname; + tablename = other1109.tablename; + partitionnames = other1109.partitionnames; + lastCompactionId = other1109.lastCompactionId; + __isset = other1109.__isset; } -GetLatestCommittedCompactionInfoRequest& GetLatestCommittedCompactionInfoRequest::operator=(const GetLatestCommittedCompactionInfoRequest& other1102) { - dbname = other1102.dbname; - tablename = other1102.tablename; - partitionnames = other1102.partitionnames; - lastCompactionId = other1102.lastCompactionId; - __isset = other1102.__isset; +GetLatestCommittedCompactionInfoRequest& GetLatestCommittedCompactionInfoRequest::operator=(const GetLatestCommittedCompactionInfoRequest& other1110) { + dbname = other1110.dbname; + tablename = other1110.tablename; + partitionnames = other1110.partitionnames; + lastCompactionId = other1110.lastCompactionId; + __isset = other1110.__isset; return *this; } void GetLatestCommittedCompactionInfoRequest::printTo(std::ostream& out) const { @@ -31251,14 +31297,14 @@ uint32_t GetLatestCommittedCompactionInfoResponse::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compactions.clear(); - uint32_t _size1103; - ::apache::thrift::protocol::TType _etype1106; - xfer += iprot->readListBegin(_etype1106, _size1103); - this->compactions.resize(_size1103); - uint32_t _i1107; - for (_i1107 = 0; _i1107 < _size1103; ++_i1107) + uint32_t _size1111; + ::apache::thrift::protocol::TType _etype1114; + xfer += iprot->readListBegin(_etype1114, _size1111); + this->compactions.resize(_size1111); + uint32_t _i1115; + for (_i1115 = 0; _i1115 < _size1111; ++_i1115) { - xfer += this->compactions[_i1107].read(iprot); + xfer += this->compactions[_i1115].read(iprot); } xfer += iprot->readListEnd(); } @@ -31289,10 +31335,10 @@ uint32_t GetLatestCommittedCompactionInfoResponse::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("compactions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compactions.size())); - std::vector ::const_iterator _iter1108; - for (_iter1108 = this->compactions.begin(); _iter1108 != this->compactions.end(); ++_iter1108) + std::vector ::const_iterator _iter1116; + for (_iter1116 = this->compactions.begin(); _iter1116 != this->compactions.end(); ++_iter1116) { - xfer += (*_iter1108).write(oprot); + xfer += (*_iter1116).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31308,11 +31354,11 @@ void swap(GetLatestCommittedCompactionInfoResponse &a, GetLatestCommittedCompact swap(a.compactions, b.compactions); } -GetLatestCommittedCompactionInfoResponse::GetLatestCommittedCompactionInfoResponse(const GetLatestCommittedCompactionInfoResponse& other1109) { - compactions = other1109.compactions; +GetLatestCommittedCompactionInfoResponse::GetLatestCommittedCompactionInfoResponse(const GetLatestCommittedCompactionInfoResponse& other1117) { + compactions = other1117.compactions; } -GetLatestCommittedCompactionInfoResponse& GetLatestCommittedCompactionInfoResponse::operator=(const GetLatestCommittedCompactionInfoResponse& other1110) { - compactions = other1110.compactions; +GetLatestCommittedCompactionInfoResponse& GetLatestCommittedCompactionInfoResponse::operator=(const GetLatestCommittedCompactionInfoResponse& other1118) { + compactions = other1118.compactions; return *this; } void GetLatestCommittedCompactionInfoResponse::printTo(std::ostream& out) const { @@ -31438,17 +31484,17 @@ void swap(FindNextCompactRequest &a, FindNextCompactRequest &b) { swap(a.__isset, b.__isset); } -FindNextCompactRequest::FindNextCompactRequest(const FindNextCompactRequest& other1111) { - workerId = other1111.workerId; - workerVersion = other1111.workerVersion; - poolName = other1111.poolName; - __isset = other1111.__isset; +FindNextCompactRequest::FindNextCompactRequest(const FindNextCompactRequest& other1119) { + workerId = other1119.workerId; + workerVersion = other1119.workerVersion; + poolName = other1119.poolName; + __isset = other1119.__isset; } -FindNextCompactRequest& FindNextCompactRequest::operator=(const FindNextCompactRequest& other1112) { - workerId = other1112.workerId; - workerVersion = other1112.workerVersion; - poolName = other1112.poolName; - __isset = other1112.__isset; +FindNextCompactRequest& FindNextCompactRequest::operator=(const FindNextCompactRequest& other1120) { + workerId = other1120.workerId; + workerVersion = other1120.workerVersion; + poolName = other1120.poolName; + __isset = other1120.__isset; return *this; } void FindNextCompactRequest::printTo(std::ostream& out) const { @@ -31558,14 +31604,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size1113; - ::apache::thrift::protocol::TType _etype1116; - xfer += iprot->readListBegin(_etype1116, _size1113); - this->partitionnames.resize(_size1113); - uint32_t _i1117; - for (_i1117 = 0; _i1117 < _size1113; ++_i1117) + uint32_t _size1121; + ::apache::thrift::protocol::TType _etype1124; + xfer += iprot->readListBegin(_etype1124, _size1121); + this->partitionnames.resize(_size1121); + uint32_t _i1125; + for (_i1125 = 0; _i1125 < _size1121; ++_i1125) { - xfer += iprot->readString(this->partitionnames[_i1117]); + xfer += iprot->readString(this->partitionnames[_i1125]); } xfer += iprot->readListEnd(); } @@ -31576,9 +31622,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1118; - xfer += iprot->readI32(ecast1118); - this->operationType = static_cast(ecast1118); + int32_t ecast1126; + xfer += iprot->readI32(ecast1126); + this->operationType = static_cast(ecast1126); this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -31630,10 +31676,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter1119; - for (_iter1119 = this->partitionnames.begin(); _iter1119 != this->partitionnames.end(); ++_iter1119) + std::vector ::const_iterator _iter1127; + for (_iter1127 = this->partitionnames.begin(); _iter1127 != this->partitionnames.end(); ++_iter1127) { - xfer += oprot->writeString((*_iter1119)); + xfer += oprot->writeString((*_iter1127)); } xfer += oprot->writeListEnd(); } @@ -31660,23 +31706,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other1120) { - txnid = other1120.txnid; - writeid = other1120.writeid; - dbname = other1120.dbname; - tablename = other1120.tablename; - partitionnames = other1120.partitionnames; - operationType = other1120.operationType; - __isset = other1120.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other1128) { + txnid = other1128.txnid; + writeid = other1128.writeid; + dbname = other1128.dbname; + tablename = other1128.tablename; + partitionnames = other1128.partitionnames; + operationType = other1128.operationType; + __isset = other1128.__isset; } -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other1121) { - txnid = other1121.txnid; - writeid = other1121.writeid; - dbname = other1121.dbname; - tablename = other1121.tablename; - partitionnames = other1121.partitionnames; - operationType = other1121.operationType; - __isset = other1121.__isset; +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other1129) { + txnid = other1129.txnid; + writeid = other1129.writeid; + dbname = other1129.dbname; + tablename = other1129.tablename; + partitionnames = other1129.partitionnames; + operationType = other1129.operationType; + __isset = other1129.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -31865,23 +31911,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other1122) { - isnull = other1122.isnull; - time = other1122.time; - txnid = other1122.txnid; - dbname = other1122.dbname; - tablename = other1122.tablename; - partitionname = other1122.partitionname; - __isset = other1122.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other1130) { + isnull = other1130.isnull; + time = other1130.time; + txnid = other1130.txnid; + dbname = other1130.dbname; + tablename = other1130.tablename; + partitionname = other1130.partitionname; + __isset = other1130.__isset; } -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other1123) { - isnull = other1123.isnull; - time = other1123.time; - txnid = other1123.txnid; - dbname = other1123.dbname; - tablename = other1123.tablename; - partitionname = other1123.partitionname; - __isset = other1123.__isset; +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other1131) { + isnull = other1131.isnull; + time = other1131.time; + txnid = other1131.txnid; + dbname = other1131.dbname; + tablename = other1131.tablename; + partitionname = other1131.partitionname; + __isset = other1131.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -31983,14 +32029,14 @@ uint32_t NotificationEventRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->eventTypeSkipList.clear(); - uint32_t _size1124; - ::apache::thrift::protocol::TType _etype1127; - xfer += iprot->readListBegin(_etype1127, _size1124); - this->eventTypeSkipList.resize(_size1124); - uint32_t _i1128; - for (_i1128 = 0; _i1128 < _size1124; ++_i1128) + uint32_t _size1132; + ::apache::thrift::protocol::TType _etype1135; + xfer += iprot->readListBegin(_etype1135, _size1132); + this->eventTypeSkipList.resize(_size1132); + uint32_t _i1136; + for (_i1136 = 0; _i1136 < _size1132; ++_i1136) { - xfer += iprot->readString(this->eventTypeSkipList[_i1128]); + xfer += iprot->readString(this->eventTypeSkipList[_i1136]); } xfer += iprot->readListEnd(); } @@ -32019,14 +32065,14 @@ uint32_t NotificationEventRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableNames.clear(); - uint32_t _size1129; - ::apache::thrift::protocol::TType _etype1132; - xfer += iprot->readListBegin(_etype1132, _size1129); - this->tableNames.resize(_size1129); - uint32_t _i1133; - for (_i1133 = 0; _i1133 < _size1129; ++_i1133) + uint32_t _size1137; + ::apache::thrift::protocol::TType _etype1140; + xfer += iprot->readListBegin(_etype1140, _size1137); + this->tableNames.resize(_size1137); + uint32_t _i1141; + for (_i1141 = 0; _i1141 < _size1137; ++_i1141) { - xfer += iprot->readString(this->tableNames[_i1133]); + xfer += iprot->readString(this->tableNames[_i1141]); } xfer += iprot->readListEnd(); } @@ -32039,14 +32085,14 @@ uint32_t NotificationEventRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->eventTypeList.clear(); - uint32_t _size1134; - ::apache::thrift::protocol::TType _etype1137; - xfer += iprot->readListBegin(_etype1137, _size1134); - this->eventTypeList.resize(_size1134); - uint32_t _i1138; - for (_i1138 = 0; _i1138 < _size1134; ++_i1138) + uint32_t _size1142; + ::apache::thrift::protocol::TType _etype1145; + xfer += iprot->readListBegin(_etype1145, _size1142); + this->eventTypeList.resize(_size1142); + uint32_t _i1146; + for (_i1146 = 0; _i1146 < _size1142; ++_i1146) { - xfer += iprot->readString(this->eventTypeList[_i1138]); + xfer += iprot->readString(this->eventTypeList[_i1146]); } xfer += iprot->readListEnd(); } @@ -32087,10 +32133,10 @@ uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("eventTypeSkipList", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->eventTypeSkipList.size())); - std::vector ::const_iterator _iter1139; - for (_iter1139 = this->eventTypeSkipList.begin(); _iter1139 != this->eventTypeSkipList.end(); ++_iter1139) + std::vector ::const_iterator _iter1147; + for (_iter1147 = this->eventTypeSkipList.begin(); _iter1147 != this->eventTypeSkipList.end(); ++_iter1147) { - xfer += oprot->writeString((*_iter1139)); + xfer += oprot->writeString((*_iter1147)); } xfer += oprot->writeListEnd(); } @@ -32110,10 +32156,10 @@ uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("tableNames", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tableNames.size())); - std::vector ::const_iterator _iter1140; - for (_iter1140 = this->tableNames.begin(); _iter1140 != this->tableNames.end(); ++_iter1140) + std::vector ::const_iterator _iter1148; + for (_iter1148 = this->tableNames.begin(); _iter1148 != this->tableNames.end(); ++_iter1148) { - xfer += oprot->writeString((*_iter1140)); + xfer += oprot->writeString((*_iter1148)); } xfer += oprot->writeListEnd(); } @@ -32123,10 +32169,10 @@ uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("eventTypeList", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->eventTypeList.size())); - std::vector ::const_iterator _iter1141; - for (_iter1141 = this->eventTypeList.begin(); _iter1141 != this->eventTypeList.end(); ++_iter1141) + std::vector ::const_iterator _iter1149; + for (_iter1149 = this->eventTypeList.begin(); _iter1149 != this->eventTypeList.end(); ++_iter1149) { - xfer += oprot->writeString((*_iter1141)); + xfer += oprot->writeString((*_iter1149)); } xfer += oprot->writeListEnd(); } @@ -32149,25 +32195,25 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other1142) { - lastEvent = other1142.lastEvent; - maxEvents = other1142.maxEvents; - eventTypeSkipList = other1142.eventTypeSkipList; - catName = other1142.catName; - dbName = other1142.dbName; - tableNames = other1142.tableNames; - eventTypeList = other1142.eventTypeList; - __isset = other1142.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other1150) { + lastEvent = other1150.lastEvent; + maxEvents = other1150.maxEvents; + eventTypeSkipList = other1150.eventTypeSkipList; + catName = other1150.catName; + dbName = other1150.dbName; + tableNames = other1150.tableNames; + eventTypeList = other1150.eventTypeList; + __isset = other1150.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other1143) { - lastEvent = other1143.lastEvent; - maxEvents = other1143.maxEvents; - eventTypeSkipList = other1143.eventTypeSkipList; - catName = other1143.catName; - dbName = other1143.dbName; - tableNames = other1143.tableNames; - eventTypeList = other1143.eventTypeList; - __isset = other1143.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other1151) { + lastEvent = other1151.lastEvent; + maxEvents = other1151.maxEvents; + eventTypeSkipList = other1151.eventTypeSkipList; + catName = other1151.catName; + dbName = other1151.dbName; + tableNames = other1151.tableNames; + eventTypeList = other1151.eventTypeList; + __isset = other1151.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -32398,27 +32444,27 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other1144) { - eventId = other1144.eventId; - eventTime = other1144.eventTime; - eventType = other1144.eventType; - dbName = other1144.dbName; - tableName = other1144.tableName; - message = other1144.message; - messageFormat = other1144.messageFormat; - catName = other1144.catName; - __isset = other1144.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other1145) { - eventId = other1145.eventId; - eventTime = other1145.eventTime; - eventType = other1145.eventType; - dbName = other1145.dbName; - tableName = other1145.tableName; - message = other1145.message; - messageFormat = other1145.messageFormat; - catName = other1145.catName; - __isset = other1145.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other1152) { + eventId = other1152.eventId; + eventTime = other1152.eventTime; + eventType = other1152.eventType; + dbName = other1152.dbName; + tableName = other1152.tableName; + message = other1152.message; + messageFormat = other1152.messageFormat; + catName = other1152.catName; + __isset = other1152.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other1153) { + eventId = other1153.eventId; + eventTime = other1153.eventTime; + eventType = other1153.eventType; + dbName = other1153.dbName; + tableName = other1153.tableName; + message = other1153.message; + messageFormat = other1153.messageFormat; + catName = other1153.catName; + __isset = other1153.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -32476,14 +32522,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size1146; - ::apache::thrift::protocol::TType _etype1149; - xfer += iprot->readListBegin(_etype1149, _size1146); - this->events.resize(_size1146); - uint32_t _i1150; - for (_i1150 = 0; _i1150 < _size1146; ++_i1150) + uint32_t _size1154; + ::apache::thrift::protocol::TType _etype1157; + xfer += iprot->readListBegin(_etype1157, _size1154); + this->events.resize(_size1154); + uint32_t _i1158; + for (_i1158 = 0; _i1158 < _size1154; ++_i1158) { - xfer += this->events[_i1150].read(iprot); + xfer += this->events[_i1158].read(iprot); } xfer += iprot->readListEnd(); } @@ -32514,10 +32560,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter1151; - for (_iter1151 = this->events.begin(); _iter1151 != this->events.end(); ++_iter1151) + std::vector ::const_iterator _iter1159; + for (_iter1159 = this->events.begin(); _iter1159 != this->events.end(); ++_iter1159) { - xfer += (*_iter1151).write(oprot); + xfer += (*_iter1159).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32533,11 +32579,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other1152) { - events = other1152.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other1160) { + events = other1160.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other1153) { - events = other1153.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other1161) { + events = other1161.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -32625,11 +32671,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other1154) noexcept { - eventId = other1154.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other1162) noexcept { + eventId = other1162.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other1155) noexcept { - eventId = other1155.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other1163) noexcept { + eventId = other1163.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -32745,14 +32791,14 @@ uint32_t NotificationEventsCountRequest::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableNames.clear(); - uint32_t _size1156; - ::apache::thrift::protocol::TType _etype1159; - xfer += iprot->readListBegin(_etype1159, _size1156); - this->tableNames.resize(_size1156); - uint32_t _i1160; - for (_i1160 = 0; _i1160 < _size1156; ++_i1160) + uint32_t _size1164; + ::apache::thrift::protocol::TType _etype1167; + xfer += iprot->readListBegin(_etype1167, _size1164); + this->tableNames.resize(_size1164); + uint32_t _i1168; + for (_i1168 = 0; _i1168 < _size1164; ++_i1168) { - xfer += iprot->readString(this->tableNames[_i1160]); + xfer += iprot->readString(this->tableNames[_i1168]); } xfer += iprot->readListEnd(); } @@ -32809,10 +32855,10 @@ uint32_t NotificationEventsCountRequest::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("tableNames", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tableNames.size())); - std::vector ::const_iterator _iter1161; - for (_iter1161 = this->tableNames.begin(); _iter1161 != this->tableNames.end(); ++_iter1161) + std::vector ::const_iterator _iter1169; + for (_iter1169 = this->tableNames.begin(); _iter1169 != this->tableNames.end(); ++_iter1169) { - xfer += oprot->writeString((*_iter1161)); + xfer += oprot->writeString((*_iter1169)); } xfer += oprot->writeListEnd(); } @@ -32834,23 +32880,23 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.__isset, b.__isset); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other1162) { - fromEventId = other1162.fromEventId; - dbName = other1162.dbName; - catName = other1162.catName; - toEventId = other1162.toEventId; - limit = other1162.limit; - tableNames = other1162.tableNames; - __isset = other1162.__isset; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other1170) { + fromEventId = other1170.fromEventId; + dbName = other1170.dbName; + catName = other1170.catName; + toEventId = other1170.toEventId; + limit = other1170.limit; + tableNames = other1170.tableNames; + __isset = other1170.__isset; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other1163) { - fromEventId = other1163.fromEventId; - dbName = other1163.dbName; - catName = other1163.catName; - toEventId = other1163.toEventId; - limit = other1163.limit; - tableNames = other1163.tableNames; - __isset = other1163.__isset; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other1171) { + fromEventId = other1171.fromEventId; + dbName = other1171.dbName; + catName = other1171.catName; + toEventId = other1171.toEventId; + limit = other1171.limit; + tableNames = other1171.tableNames; + __isset = other1171.__isset; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -32943,11 +32989,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other1164) noexcept { - eventsCount = other1164.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other1172) noexcept { + eventsCount = other1172.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other1165) noexcept { - eventsCount = other1165.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other1173) noexcept { + eventsCount = other1173.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -33026,14 +33072,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size1166; - ::apache::thrift::protocol::TType _etype1169; - xfer += iprot->readListBegin(_etype1169, _size1166); - this->filesAdded.resize(_size1166); - uint32_t _i1170; - for (_i1170 = 0; _i1170 < _size1166; ++_i1170) + uint32_t _size1174; + ::apache::thrift::protocol::TType _etype1177; + xfer += iprot->readListBegin(_etype1177, _size1174); + this->filesAdded.resize(_size1174); + uint32_t _i1178; + for (_i1178 = 0; _i1178 < _size1174; ++_i1178) { - xfer += iprot->readString(this->filesAdded[_i1170]); + xfer += iprot->readString(this->filesAdded[_i1178]); } xfer += iprot->readListEnd(); } @@ -33046,14 +33092,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size1171; - ::apache::thrift::protocol::TType _etype1174; - xfer += iprot->readListBegin(_etype1174, _size1171); - this->filesAddedChecksum.resize(_size1171); - uint32_t _i1175; - for (_i1175 = 0; _i1175 < _size1171; ++_i1175) + uint32_t _size1179; + ::apache::thrift::protocol::TType _etype1182; + xfer += iprot->readListBegin(_etype1182, _size1179); + this->filesAddedChecksum.resize(_size1179); + uint32_t _i1183; + for (_i1183 = 0; _i1183 < _size1179; ++_i1183) { - xfer += iprot->readString(this->filesAddedChecksum[_i1175]); + xfer += iprot->readString(this->filesAddedChecksum[_i1183]); } xfer += iprot->readListEnd(); } @@ -33066,14 +33112,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->subDirectoryList.clear(); - uint32_t _size1176; - ::apache::thrift::protocol::TType _etype1179; - xfer += iprot->readListBegin(_etype1179, _size1176); - this->subDirectoryList.resize(_size1176); - uint32_t _i1180; - for (_i1180 = 0; _i1180 < _size1176; ++_i1180) + uint32_t _size1184; + ::apache::thrift::protocol::TType _etype1187; + xfer += iprot->readListBegin(_etype1187, _size1184); + this->subDirectoryList.resize(_size1184); + uint32_t _i1188; + for (_i1188 = 0; _i1188 < _size1184; ++_i1188) { - xfer += iprot->readString(this->subDirectoryList[_i1180]); + xfer += iprot->readString(this->subDirectoryList[_i1188]); } xfer += iprot->readListEnd(); } @@ -33086,14 +33132,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVal.clear(); - uint32_t _size1181; - ::apache::thrift::protocol::TType _etype1184; - xfer += iprot->readListBegin(_etype1184, _size1181); - this->partitionVal.resize(_size1181); - uint32_t _i1185; - for (_i1185 = 0; _i1185 < _size1181; ++_i1185) + uint32_t _size1189; + ::apache::thrift::protocol::TType _etype1192; + xfer += iprot->readListBegin(_etype1192, _size1189); + this->partitionVal.resize(_size1189); + uint32_t _i1193; + for (_i1193 = 0; _i1193 < _size1189; ++_i1193) { - xfer += iprot->readString(this->partitionVal[_i1185]); + xfer += iprot->readString(this->partitionVal[_i1193]); } xfer += iprot->readListEnd(); } @@ -33129,10 +33175,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter1186; - for (_iter1186 = this->filesAdded.begin(); _iter1186 != this->filesAdded.end(); ++_iter1186) + std::vector ::const_iterator _iter1194; + for (_iter1194 = this->filesAdded.begin(); _iter1194 != this->filesAdded.end(); ++_iter1194) { - xfer += oprot->writeString((*_iter1186)); + xfer += oprot->writeString((*_iter1194)); } xfer += oprot->writeListEnd(); } @@ -33142,10 +33188,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAddedChecksum", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAddedChecksum.size())); - std::vector ::const_iterator _iter1187; - for (_iter1187 = this->filesAddedChecksum.begin(); _iter1187 != this->filesAddedChecksum.end(); ++_iter1187) + std::vector ::const_iterator _iter1195; + for (_iter1195 = this->filesAddedChecksum.begin(); _iter1195 != this->filesAddedChecksum.end(); ++_iter1195) { - xfer += oprot->writeString((*_iter1187)); + xfer += oprot->writeString((*_iter1195)); } xfer += oprot->writeListEnd(); } @@ -33155,10 +33201,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("subDirectoryList", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->subDirectoryList.size())); - std::vector ::const_iterator _iter1188; - for (_iter1188 = this->subDirectoryList.begin(); _iter1188 != this->subDirectoryList.end(); ++_iter1188) + std::vector ::const_iterator _iter1196; + for (_iter1196 = this->subDirectoryList.begin(); _iter1196 != this->subDirectoryList.end(); ++_iter1196) { - xfer += oprot->writeString((*_iter1188)); + xfer += oprot->writeString((*_iter1196)); } xfer += oprot->writeListEnd(); } @@ -33168,10 +33214,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitionVal", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVal.size())); - std::vector ::const_iterator _iter1189; - for (_iter1189 = this->partitionVal.begin(); _iter1189 != this->partitionVal.end(); ++_iter1189) + std::vector ::const_iterator _iter1197; + for (_iter1197 = this->partitionVal.begin(); _iter1197 != this->partitionVal.end(); ++_iter1197) { - xfer += oprot->writeString((*_iter1189)); + xfer += oprot->writeString((*_iter1197)); } xfer += oprot->writeListEnd(); } @@ -33192,21 +33238,21 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other1190) { - replace = other1190.replace; - filesAdded = other1190.filesAdded; - filesAddedChecksum = other1190.filesAddedChecksum; - subDirectoryList = other1190.subDirectoryList; - partitionVal = other1190.partitionVal; - __isset = other1190.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other1198) { + replace = other1198.replace; + filesAdded = other1198.filesAdded; + filesAddedChecksum = other1198.filesAddedChecksum; + subDirectoryList = other1198.subDirectoryList; + partitionVal = other1198.partitionVal; + __isset = other1198.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other1191) { - replace = other1191.replace; - filesAdded = other1191.filesAdded; - filesAddedChecksum = other1191.filesAddedChecksum; - subDirectoryList = other1191.subDirectoryList; - partitionVal = other1191.partitionVal; - __isset = other1191.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other1199) { + replace = other1199.replace; + filesAdded = other1199.filesAdded; + filesAddedChecksum = other1199.filesAddedChecksum; + subDirectoryList = other1199.subDirectoryList; + partitionVal = other1199.partitionVal; + __isset = other1199.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -33279,14 +33325,14 @@ uint32_t FireEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->insertDatas.clear(); - uint32_t _size1192; - ::apache::thrift::protocol::TType _etype1195; - xfer += iprot->readListBegin(_etype1195, _size1192); - this->insertDatas.resize(_size1192); - uint32_t _i1196; - for (_i1196 = 0; _i1196 < _size1192; ++_i1196) + uint32_t _size1200; + ::apache::thrift::protocol::TType _etype1203; + xfer += iprot->readListBegin(_etype1203, _size1200); + this->insertDatas.resize(_size1200); + uint32_t _i1204; + for (_i1204 = 0; _i1204 < _size1200; ++_i1204) { - xfer += this->insertDatas[_i1196].read(iprot); + xfer += this->insertDatas[_i1204].read(iprot); } xfer += iprot->readListEnd(); } @@ -33329,10 +33375,10 @@ uint32_t FireEventRequestData::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("insertDatas", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->insertDatas.size())); - std::vector ::const_iterator _iter1197; - for (_iter1197 = this->insertDatas.begin(); _iter1197 != this->insertDatas.end(); ++_iter1197) + std::vector ::const_iterator _iter1205; + for (_iter1205 = this->insertDatas.begin(); _iter1205 != this->insertDatas.end(); ++_iter1205) { - xfer += (*_iter1197).write(oprot); + xfer += (*_iter1205).write(oprot); } xfer += oprot->writeListEnd(); } @@ -33356,17 +33402,17 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other1198) { - insertData = other1198.insertData; - insertDatas = other1198.insertDatas; - refreshEvent = other1198.refreshEvent; - __isset = other1198.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other1206) { + insertData = other1206.insertData; + insertDatas = other1206.insertDatas; + refreshEvent = other1206.refreshEvent; + __isset = other1206.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other1199) { - insertData = other1199.insertData; - insertDatas = other1199.insertDatas; - refreshEvent = other1199.refreshEvent; - __isset = other1199.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other1207) { + insertData = other1207.insertData; + insertDatas = other1207.insertDatas; + refreshEvent = other1207.refreshEvent; + __isset = other1207.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -33486,14 +33532,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size1200; - ::apache::thrift::protocol::TType _etype1203; - xfer += iprot->readListBegin(_etype1203, _size1200); - this->partitionVals.resize(_size1200); - uint32_t _i1204; - for (_i1204 = 0; _i1204 < _size1200; ++_i1204) + uint32_t _size1208; + ::apache::thrift::protocol::TType _etype1211; + xfer += iprot->readListBegin(_etype1211, _size1208); + this->partitionVals.resize(_size1208); + uint32_t _i1212; + for (_i1212 = 0; _i1212 < _size1208; ++_i1212) { - xfer += iprot->readString(this->partitionVals[_i1204]); + xfer += iprot->readString(this->partitionVals[_i1212]); } xfer += iprot->readListEnd(); } @@ -33514,17 +33560,17 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->tblParams.clear(); - uint32_t _size1205; - ::apache::thrift::protocol::TType _ktype1206; - ::apache::thrift::protocol::TType _vtype1207; - xfer += iprot->readMapBegin(_ktype1206, _vtype1207, _size1205); - uint32_t _i1209; - for (_i1209 = 0; _i1209 < _size1205; ++_i1209) + uint32_t _size1213; + ::apache::thrift::protocol::TType _ktype1214; + ::apache::thrift::protocol::TType _vtype1215; + xfer += iprot->readMapBegin(_ktype1214, _vtype1215, _size1213); + uint32_t _i1217; + for (_i1217 = 0; _i1217 < _size1213; ++_i1217) { - std::string _key1210; - xfer += iprot->readString(_key1210); - std::string& _val1211 = this->tblParams[_key1210]; - xfer += iprot->readString(_val1211); + std::string _key1218; + xfer += iprot->readString(_key1218); + std::string& _val1219 = this->tblParams[_key1218]; + xfer += iprot->readString(_val1219); } xfer += iprot->readMapEnd(); } @@ -33537,23 +33583,23 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->batchPartitionValsForRefresh.clear(); - uint32_t _size1212; - ::apache::thrift::protocol::TType _etype1215; - xfer += iprot->readListBegin(_etype1215, _size1212); - this->batchPartitionValsForRefresh.resize(_size1212); - uint32_t _i1216; - for (_i1216 = 0; _i1216 < _size1212; ++_i1216) + uint32_t _size1220; + ::apache::thrift::protocol::TType _etype1223; + xfer += iprot->readListBegin(_etype1223, _size1220); + this->batchPartitionValsForRefresh.resize(_size1220); + uint32_t _i1224; + for (_i1224 = 0; _i1224 < _size1220; ++_i1224) { { - this->batchPartitionValsForRefresh[_i1216].clear(); - uint32_t _size1217; - ::apache::thrift::protocol::TType _etype1220; - xfer += iprot->readListBegin(_etype1220, _size1217); - this->batchPartitionValsForRefresh[_i1216].resize(_size1217); - uint32_t _i1221; - for (_i1221 = 0; _i1221 < _size1217; ++_i1221) + this->batchPartitionValsForRefresh[_i1224].clear(); + uint32_t _size1225; + ::apache::thrift::protocol::TType _etype1228; + xfer += iprot->readListBegin(_etype1228, _size1225); + this->batchPartitionValsForRefresh[_i1224].resize(_size1225); + uint32_t _i1229; + for (_i1229 = 0; _i1229 < _size1225; ++_i1229) { - xfer += iprot->readString(this->batchPartitionValsForRefresh[_i1216][_i1221]); + xfer += iprot->readString(this->batchPartitionValsForRefresh[_i1224][_i1229]); } xfer += iprot->readListEnd(); } @@ -33608,10 +33654,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter1222; - for (_iter1222 = this->partitionVals.begin(); _iter1222 != this->partitionVals.end(); ++_iter1222) + std::vector ::const_iterator _iter1230; + for (_iter1230 = this->partitionVals.begin(); _iter1230 != this->partitionVals.end(); ++_iter1230) { - xfer += oprot->writeString((*_iter1222)); + xfer += oprot->writeString((*_iter1230)); } xfer += oprot->writeListEnd(); } @@ -33626,11 +33672,11 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblParams", ::apache::thrift::protocol::T_MAP, 7); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->tblParams.size())); - std::map ::const_iterator _iter1223; - for (_iter1223 = this->tblParams.begin(); _iter1223 != this->tblParams.end(); ++_iter1223) + std::map ::const_iterator _iter1231; + for (_iter1231 = this->tblParams.begin(); _iter1231 != this->tblParams.end(); ++_iter1231) { - xfer += oprot->writeString(_iter1223->first); - xfer += oprot->writeString(_iter1223->second); + xfer += oprot->writeString(_iter1231->first); + xfer += oprot->writeString(_iter1231->second); } xfer += oprot->writeMapEnd(); } @@ -33640,15 +33686,15 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("batchPartitionValsForRefresh", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_LIST, static_cast(this->batchPartitionValsForRefresh.size())); - std::vector > ::const_iterator _iter1224; - for (_iter1224 = this->batchPartitionValsForRefresh.begin(); _iter1224 != this->batchPartitionValsForRefresh.end(); ++_iter1224) + std::vector > ::const_iterator _iter1232; + for (_iter1232 = this->batchPartitionValsForRefresh.begin(); _iter1232 != this->batchPartitionValsForRefresh.end(); ++_iter1232) { { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*_iter1224).size())); - std::vector ::const_iterator _iter1225; - for (_iter1225 = (*_iter1224).begin(); _iter1225 != (*_iter1224).end(); ++_iter1225) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*_iter1232).size())); + std::vector ::const_iterator _iter1233; + for (_iter1233 = (*_iter1232).begin(); _iter1233 != (*_iter1232).end(); ++_iter1233) { - xfer += oprot->writeString((*_iter1225)); + xfer += oprot->writeString((*_iter1233)); } xfer += oprot->writeListEnd(); } @@ -33675,27 +33721,27 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other1226) { - successful = other1226.successful; - data = other1226.data; - dbName = other1226.dbName; - tableName = other1226.tableName; - partitionVals = other1226.partitionVals; - catName = other1226.catName; - tblParams = other1226.tblParams; - batchPartitionValsForRefresh = other1226.batchPartitionValsForRefresh; - __isset = other1226.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other1227) { - successful = other1227.successful; - data = other1227.data; - dbName = other1227.dbName; - tableName = other1227.tableName; - partitionVals = other1227.partitionVals; - catName = other1227.catName; - tblParams = other1227.tblParams; - batchPartitionValsForRefresh = other1227.batchPartitionValsForRefresh; - __isset = other1227.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other1234) { + successful = other1234.successful; + data = other1234.data; + dbName = other1234.dbName; + tableName = other1234.tableName; + partitionVals = other1234.partitionVals; + catName = other1234.catName; + tblParams = other1234.tblParams; + batchPartitionValsForRefresh = other1234.batchPartitionValsForRefresh; + __isset = other1234.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other1235) { + successful = other1235.successful; + data = other1235.data; + dbName = other1235.dbName; + tableName = other1235.tableName; + partitionVals = other1235.partitionVals; + catName = other1235.catName; + tblParams = other1235.tblParams; + batchPartitionValsForRefresh = other1235.batchPartitionValsForRefresh; + __isset = other1235.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -33752,14 +33798,14 @@ uint32_t FireEventResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->eventIds.clear(); - uint32_t _size1228; - ::apache::thrift::protocol::TType _etype1231; - xfer += iprot->readListBegin(_etype1231, _size1228); - this->eventIds.resize(_size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1236; + ::apache::thrift::protocol::TType _etype1239; + xfer += iprot->readListBegin(_etype1239, _size1236); + this->eventIds.resize(_size1236); + uint32_t _i1240; + for (_i1240 = 0; _i1240 < _size1236; ++_i1240) { - xfer += iprot->readI64(this->eventIds[_i1232]); + xfer += iprot->readI64(this->eventIds[_i1240]); } xfer += iprot->readListEnd(); } @@ -33788,10 +33834,10 @@ uint32_t FireEventResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("eventIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->eventIds.size())); - std::vector ::const_iterator _iter1233; - for (_iter1233 = this->eventIds.begin(); _iter1233 != this->eventIds.end(); ++_iter1233) + std::vector ::const_iterator _iter1241; + for (_iter1241 = this->eventIds.begin(); _iter1241 != this->eventIds.end(); ++_iter1241) { - xfer += oprot->writeI64((*_iter1233)); + xfer += oprot->writeI64((*_iter1241)); } xfer += oprot->writeListEnd(); } @@ -33808,13 +33854,13 @@ void swap(FireEventResponse &a, FireEventResponse &b) { swap(a.__isset, b.__isset); } -FireEventResponse::FireEventResponse(const FireEventResponse& other1234) { - eventIds = other1234.eventIds; - __isset = other1234.__isset; +FireEventResponse::FireEventResponse(const FireEventResponse& other1242) { + eventIds = other1242.eventIds; + __isset = other1242.__isset; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other1235) { - eventIds = other1235.eventIds; - __isset = other1235.__isset; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other1243) { + eventIds = other1243.eventIds; + __isset = other1243.__isset; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -33930,14 +33976,14 @@ uint32_t WriteNotificationLogRequest::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size1236; - ::apache::thrift::protocol::TType _etype1239; - xfer += iprot->readListBegin(_etype1239, _size1236); - this->partitionVals.resize(_size1236); - uint32_t _i1240; - for (_i1240 = 0; _i1240 < _size1236; ++_i1240) + uint32_t _size1244; + ::apache::thrift::protocol::TType _etype1247; + xfer += iprot->readListBegin(_etype1247, _size1244); + this->partitionVals.resize(_size1244); + uint32_t _i1248; + for (_i1248 = 0; _i1248 < _size1244; ++_i1248) { - xfer += iprot->readString(this->partitionVals[_i1240]); + xfer += iprot->readString(this->partitionVals[_i1248]); } xfer += iprot->readListEnd(); } @@ -33997,10 +34043,10 @@ uint32_t WriteNotificationLogRequest::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter1241; - for (_iter1241 = this->partitionVals.begin(); _iter1241 != this->partitionVals.end(); ++_iter1241) + std::vector ::const_iterator _iter1249; + for (_iter1249 = this->partitionVals.begin(); _iter1249 != this->partitionVals.end(); ++_iter1249) { - xfer += oprot->writeString((*_iter1241)); + xfer += oprot->writeString((*_iter1249)); } xfer += oprot->writeListEnd(); } @@ -34022,23 +34068,23 @@ void swap(WriteNotificationLogRequest &a, WriteNotificationLogRequest &b) { swap(a.__isset, b.__isset); } -WriteNotificationLogRequest::WriteNotificationLogRequest(const WriteNotificationLogRequest& other1242) { - txnId = other1242.txnId; - writeId = other1242.writeId; - db = other1242.db; - table = other1242.table; - fileInfo = other1242.fileInfo; - partitionVals = other1242.partitionVals; - __isset = other1242.__isset; +WriteNotificationLogRequest::WriteNotificationLogRequest(const WriteNotificationLogRequest& other1250) { + txnId = other1250.txnId; + writeId = other1250.writeId; + db = other1250.db; + table = other1250.table; + fileInfo = other1250.fileInfo; + partitionVals = other1250.partitionVals; + __isset = other1250.__isset; } -WriteNotificationLogRequest& WriteNotificationLogRequest::operator=(const WriteNotificationLogRequest& other1243) { - txnId = other1243.txnId; - writeId = other1243.writeId; - db = other1243.db; - table = other1243.table; - fileInfo = other1243.fileInfo; - partitionVals = other1243.partitionVals; - __isset = other1243.__isset; +WriteNotificationLogRequest& WriteNotificationLogRequest::operator=(const WriteNotificationLogRequest& other1251) { + txnId = other1251.txnId; + writeId = other1251.writeId; + db = other1251.db; + table = other1251.table; + fileInfo = other1251.fileInfo; + partitionVals = other1251.partitionVals; + __isset = other1251.__isset; return *this; } void WriteNotificationLogRequest::printTo(std::ostream& out) const { @@ -34108,11 +34154,11 @@ void swap(WriteNotificationLogResponse &a, WriteNotificationLogResponse &b) { (void) b; } -WriteNotificationLogResponse::WriteNotificationLogResponse(const WriteNotificationLogResponse& other1244) noexcept { - (void) other1244; +WriteNotificationLogResponse::WriteNotificationLogResponse(const WriteNotificationLogResponse& other1252) noexcept { + (void) other1252; } -WriteNotificationLogResponse& WriteNotificationLogResponse::operator=(const WriteNotificationLogResponse& other1245) noexcept { - (void) other1245; +WriteNotificationLogResponse& WriteNotificationLogResponse::operator=(const WriteNotificationLogResponse& other1253) noexcept { + (void) other1253; return *this; } void WriteNotificationLogResponse::printTo(std::ostream& out) const { @@ -34201,14 +34247,14 @@ uint32_t WriteNotificationLogBatchRequest::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->requestList.clear(); - uint32_t _size1246; - ::apache::thrift::protocol::TType _etype1249; - xfer += iprot->readListBegin(_etype1249, _size1246); - this->requestList.resize(_size1246); - uint32_t _i1250; - for (_i1250 = 0; _i1250 < _size1246; ++_i1250) + uint32_t _size1254; + ::apache::thrift::protocol::TType _etype1257; + xfer += iprot->readListBegin(_etype1257, _size1254); + this->requestList.resize(_size1254); + uint32_t _i1258; + for (_i1258 = 0; _i1258 < _size1254; ++_i1258) { - xfer += this->requestList[_i1250].read(iprot); + xfer += this->requestList[_i1258].read(iprot); } xfer += iprot->readListEnd(); } @@ -34257,10 +34303,10 @@ uint32_t WriteNotificationLogBatchRequest::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("requestList", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->requestList.size())); - std::vector ::const_iterator _iter1251; - for (_iter1251 = this->requestList.begin(); _iter1251 != this->requestList.end(); ++_iter1251) + std::vector ::const_iterator _iter1259; + for (_iter1259 = this->requestList.begin(); _iter1259 != this->requestList.end(); ++_iter1259) { - xfer += (*_iter1251).write(oprot); + xfer += (*_iter1259).write(oprot); } xfer += oprot->writeListEnd(); } @@ -34279,17 +34325,17 @@ void swap(WriteNotificationLogBatchRequest &a, WriteNotificationLogBatchRequest swap(a.requestList, b.requestList); } -WriteNotificationLogBatchRequest::WriteNotificationLogBatchRequest(const WriteNotificationLogBatchRequest& other1252) { - catalog = other1252.catalog; - db = other1252.db; - table = other1252.table; - requestList = other1252.requestList; +WriteNotificationLogBatchRequest::WriteNotificationLogBatchRequest(const WriteNotificationLogBatchRequest& other1260) { + catalog = other1260.catalog; + db = other1260.db; + table = other1260.table; + requestList = other1260.requestList; } -WriteNotificationLogBatchRequest& WriteNotificationLogBatchRequest::operator=(const WriteNotificationLogBatchRequest& other1253) { - catalog = other1253.catalog; - db = other1253.db; - table = other1253.table; - requestList = other1253.requestList; +WriteNotificationLogBatchRequest& WriteNotificationLogBatchRequest::operator=(const WriteNotificationLogBatchRequest& other1261) { + catalog = other1261.catalog; + db = other1261.db; + table = other1261.table; + requestList = other1261.requestList; return *this; } void WriteNotificationLogBatchRequest::printTo(std::ostream& out) const { @@ -34357,11 +34403,11 @@ void swap(WriteNotificationLogBatchResponse &a, WriteNotificationLogBatchRespons (void) b; } -WriteNotificationLogBatchResponse::WriteNotificationLogBatchResponse(const WriteNotificationLogBatchResponse& other1254) noexcept { - (void) other1254; +WriteNotificationLogBatchResponse::WriteNotificationLogBatchResponse(const WriteNotificationLogBatchResponse& other1262) noexcept { + (void) other1262; } -WriteNotificationLogBatchResponse& WriteNotificationLogBatchResponse::operator=(const WriteNotificationLogBatchResponse& other1255) noexcept { - (void) other1255; +WriteNotificationLogBatchResponse& WriteNotificationLogBatchResponse::operator=(const WriteNotificationLogBatchResponse& other1263) noexcept { + (void) other1263; return *this; } void WriteNotificationLogBatchResponse::printTo(std::ostream& out) const { @@ -34467,15 +34513,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other1256) { - metadata = other1256.metadata; - includeBitset = other1256.includeBitset; - __isset = other1256.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other1264) { + metadata = other1264.metadata; + includeBitset = other1264.includeBitset; + __isset = other1264.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other1257) { - metadata = other1257.metadata; - includeBitset = other1257.includeBitset; - __isset = other1257.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other1265) { + metadata = other1265.metadata; + includeBitset = other1265.includeBitset; + __isset = other1265.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -34532,17 +34578,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size1258; - ::apache::thrift::protocol::TType _ktype1259; - ::apache::thrift::protocol::TType _vtype1260; - xfer += iprot->readMapBegin(_ktype1259, _vtype1260, _size1258); - uint32_t _i1262; - for (_i1262 = 0; _i1262 < _size1258; ++_i1262) + uint32_t _size1266; + ::apache::thrift::protocol::TType _ktype1267; + ::apache::thrift::protocol::TType _vtype1268; + xfer += iprot->readMapBegin(_ktype1267, _vtype1268, _size1266); + uint32_t _i1270; + for (_i1270 = 0; _i1270 < _size1266; ++_i1270) { - int64_t _key1263; - xfer += iprot->readI64(_key1263); - MetadataPpdResult& _val1264 = this->metadata[_key1263]; - xfer += _val1264.read(iprot); + int64_t _key1271; + xfer += iprot->readI64(_key1271); + MetadataPpdResult& _val1272 = this->metadata[_key1271]; + xfer += _val1272.read(iprot); } xfer += iprot->readMapEnd(); } @@ -34583,11 +34629,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter1265; - for (_iter1265 = this->metadata.begin(); _iter1265 != this->metadata.end(); ++_iter1265) + std::map ::const_iterator _iter1273; + for (_iter1273 = this->metadata.begin(); _iter1273 != this->metadata.end(); ++_iter1273) { - xfer += oprot->writeI64(_iter1265->first); - xfer += _iter1265->second.write(oprot); + xfer += oprot->writeI64(_iter1273->first); + xfer += _iter1273->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -34608,13 +34654,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other1266) { - metadata = other1266.metadata; - isSupported = other1266.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other1274) { + metadata = other1274.metadata; + isSupported = other1274.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other1267) { - metadata = other1267.metadata; - isSupported = other1267.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other1275) { + metadata = other1275.metadata; + isSupported = other1275.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -34681,14 +34727,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size1268; - ::apache::thrift::protocol::TType _etype1271; - xfer += iprot->readListBegin(_etype1271, _size1268); - this->fileIds.resize(_size1268); - uint32_t _i1272; - for (_i1272 = 0; _i1272 < _size1268; ++_i1272) + uint32_t _size1276; + ::apache::thrift::protocol::TType _etype1279; + xfer += iprot->readListBegin(_etype1279, _size1276); + this->fileIds.resize(_size1276); + uint32_t _i1280; + for (_i1280 = 0; _i1280 < _size1276; ++_i1280) { - xfer += iprot->readI64(this->fileIds[_i1272]); + xfer += iprot->readI64(this->fileIds[_i1280]); } xfer += iprot->readListEnd(); } @@ -34715,9 +34761,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1273; - xfer += iprot->readI32(ecast1273); - this->type = static_cast(ecast1273); + int32_t ecast1281; + xfer += iprot->readI32(ecast1281); + this->type = static_cast(ecast1281); this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -34747,10 +34793,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter1274; - for (_iter1274 = this->fileIds.begin(); _iter1274 != this->fileIds.end(); ++_iter1274) + std::vector ::const_iterator _iter1282; + for (_iter1282 = this->fileIds.begin(); _iter1282 != this->fileIds.end(); ++_iter1282) { - xfer += oprot->writeI64((*_iter1274)); + xfer += oprot->writeI64((*_iter1282)); } xfer += oprot->writeListEnd(); } @@ -34784,19 +34830,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other1275) { - fileIds = other1275.fileIds; - expr = other1275.expr; - doGetFooters = other1275.doGetFooters; - type = other1275.type; - __isset = other1275.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other1283) { + fileIds = other1283.fileIds; + expr = other1283.expr; + doGetFooters = other1283.doGetFooters; + type = other1283.type; + __isset = other1283.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other1276) { - fileIds = other1276.fileIds; - expr = other1276.expr; - doGetFooters = other1276.doGetFooters; - type = other1276.type; - __isset = other1276.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other1284) { + fileIds = other1284.fileIds; + expr = other1284.expr; + doGetFooters = other1284.doGetFooters; + type = other1284.type; + __isset = other1284.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -34855,17 +34901,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size1277; - ::apache::thrift::protocol::TType _ktype1278; - ::apache::thrift::protocol::TType _vtype1279; - xfer += iprot->readMapBegin(_ktype1278, _vtype1279, _size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + uint32_t _size1285; + ::apache::thrift::protocol::TType _ktype1286; + ::apache::thrift::protocol::TType _vtype1287; + xfer += iprot->readMapBegin(_ktype1286, _vtype1287, _size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - int64_t _key1282; - xfer += iprot->readI64(_key1282); - std::string& _val1283 = this->metadata[_key1282]; - xfer += iprot->readBinary(_val1283); + int64_t _key1290; + xfer += iprot->readI64(_key1290); + std::string& _val1291 = this->metadata[_key1290]; + xfer += iprot->readBinary(_val1291); } xfer += iprot->readMapEnd(); } @@ -34906,11 +34952,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter1284; - for (_iter1284 = this->metadata.begin(); _iter1284 != this->metadata.end(); ++_iter1284) + std::map ::const_iterator _iter1292; + for (_iter1292 = this->metadata.begin(); _iter1292 != this->metadata.end(); ++_iter1292) { - xfer += oprot->writeI64(_iter1284->first); - xfer += oprot->writeBinary(_iter1284->second); + xfer += oprot->writeI64(_iter1292->first); + xfer += oprot->writeBinary(_iter1292->second); } xfer += oprot->writeMapEnd(); } @@ -34931,13 +34977,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other1285) { - metadata = other1285.metadata; - isSupported = other1285.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other1293) { + metadata = other1293.metadata; + isSupported = other1293.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other1286) { - metadata = other1286.metadata; - isSupported = other1286.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other1294) { + metadata = other1294.metadata; + isSupported = other1294.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -34989,14 +35035,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size1287; - ::apache::thrift::protocol::TType _etype1290; - xfer += iprot->readListBegin(_etype1290, _size1287); - this->fileIds.resize(_size1287); - uint32_t _i1291; - for (_i1291 = 0; _i1291 < _size1287; ++_i1291) + uint32_t _size1295; + ::apache::thrift::protocol::TType _etype1298; + xfer += iprot->readListBegin(_etype1298, _size1295); + this->fileIds.resize(_size1295); + uint32_t _i1299; + for (_i1299 = 0; _i1299 < _size1295; ++_i1299) { - xfer += iprot->readI64(this->fileIds[_i1291]); + xfer += iprot->readI64(this->fileIds[_i1299]); } xfer += iprot->readListEnd(); } @@ -35027,10 +35073,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter1292; - for (_iter1292 = this->fileIds.begin(); _iter1292 != this->fileIds.end(); ++_iter1292) + std::vector ::const_iterator _iter1300; + for (_iter1300 = this->fileIds.begin(); _iter1300 != this->fileIds.end(); ++_iter1300) { - xfer += oprot->writeI64((*_iter1292)); + xfer += oprot->writeI64((*_iter1300)); } xfer += oprot->writeListEnd(); } @@ -35046,11 +35092,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other1293) { - fileIds = other1293.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other1301) { + fileIds = other1301.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other1294) { - fileIds = other1294.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other1302) { + fileIds = other1302.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -35115,11 +35161,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other1295) noexcept { - (void) other1295; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other1303) noexcept { + (void) other1303; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other1296) noexcept { - (void) other1296; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other1304) noexcept { + (void) other1304; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -35179,14 +35225,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size1297; - ::apache::thrift::protocol::TType _etype1300; - xfer += iprot->readListBegin(_etype1300, _size1297); - this->fileIds.resize(_size1297); - uint32_t _i1301; - for (_i1301 = 0; _i1301 < _size1297; ++_i1301) + uint32_t _size1305; + ::apache::thrift::protocol::TType _etype1308; + xfer += iprot->readListBegin(_etype1308, _size1305); + this->fileIds.resize(_size1305); + uint32_t _i1309; + for (_i1309 = 0; _i1309 < _size1305; ++_i1309) { - xfer += iprot->readI64(this->fileIds[_i1301]); + xfer += iprot->readI64(this->fileIds[_i1309]); } xfer += iprot->readListEnd(); } @@ -35199,14 +35245,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size1302; - ::apache::thrift::protocol::TType _etype1305; - xfer += iprot->readListBegin(_etype1305, _size1302); - this->metadata.resize(_size1302); - uint32_t _i1306; - for (_i1306 = 0; _i1306 < _size1302; ++_i1306) + uint32_t _size1310; + ::apache::thrift::protocol::TType _etype1313; + xfer += iprot->readListBegin(_etype1313, _size1310); + this->metadata.resize(_size1310); + uint32_t _i1314; + for (_i1314 = 0; _i1314 < _size1310; ++_i1314) { - xfer += iprot->readBinary(this->metadata[_i1306]); + xfer += iprot->readBinary(this->metadata[_i1314]); } xfer += iprot->readListEnd(); } @@ -35217,9 +35263,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1307; - xfer += iprot->readI32(ecast1307); - this->type = static_cast(ecast1307); + int32_t ecast1315; + xfer += iprot->readI32(ecast1315); + this->type = static_cast(ecast1315); this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -35249,10 +35295,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter1308; - for (_iter1308 = this->fileIds.begin(); _iter1308 != this->fileIds.end(); ++_iter1308) + std::vector ::const_iterator _iter1316; + for (_iter1316 = this->fileIds.begin(); _iter1316 != this->fileIds.end(); ++_iter1316) { - xfer += oprot->writeI64((*_iter1308)); + xfer += oprot->writeI64((*_iter1316)); } xfer += oprot->writeListEnd(); } @@ -35261,10 +35307,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter1309; - for (_iter1309 = this->metadata.begin(); _iter1309 != this->metadata.end(); ++_iter1309) + std::vector ::const_iterator _iter1317; + for (_iter1317 = this->metadata.begin(); _iter1317 != this->metadata.end(); ++_iter1317) { - xfer += oprot->writeBinary((*_iter1309)); + xfer += oprot->writeBinary((*_iter1317)); } xfer += oprot->writeListEnd(); } @@ -35288,17 +35334,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other1310) { - fileIds = other1310.fileIds; - metadata = other1310.metadata; - type = other1310.type; - __isset = other1310.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other1318) { + fileIds = other1318.fileIds; + metadata = other1318.metadata; + type = other1318.type; + __isset = other1318.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other1311) { - fileIds = other1311.fileIds; - metadata = other1311.metadata; - type = other1311.type; - __isset = other1311.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other1319) { + fileIds = other1319.fileIds; + metadata = other1319.metadata; + type = other1319.type; + __isset = other1319.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -35365,11 +35411,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other1312) noexcept { - (void) other1312; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other1320) noexcept { + (void) other1320; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other1313) noexcept { - (void) other1313; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other1321) noexcept { + (void) other1321; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -35419,14 +35465,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size1314; - ::apache::thrift::protocol::TType _etype1317; - xfer += iprot->readListBegin(_etype1317, _size1314); - this->fileIds.resize(_size1314); - uint32_t _i1318; - for (_i1318 = 0; _i1318 < _size1314; ++_i1318) + uint32_t _size1322; + ::apache::thrift::protocol::TType _etype1325; + xfer += iprot->readListBegin(_etype1325, _size1322); + this->fileIds.resize(_size1322); + uint32_t _i1326; + for (_i1326 = 0; _i1326 < _size1322; ++_i1326) { - xfer += iprot->readI64(this->fileIds[_i1318]); + xfer += iprot->readI64(this->fileIds[_i1326]); } xfer += iprot->readListEnd(); } @@ -35457,10 +35503,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter1319; - for (_iter1319 = this->fileIds.begin(); _iter1319 != this->fileIds.end(); ++_iter1319) + std::vector ::const_iterator _iter1327; + for (_iter1327 = this->fileIds.begin(); _iter1327 != this->fileIds.end(); ++_iter1327) { - xfer += oprot->writeI64((*_iter1319)); + xfer += oprot->writeI64((*_iter1327)); } xfer += oprot->writeListEnd(); } @@ -35476,11 +35522,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other1320) { - fileIds = other1320.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other1328) { + fileIds = other1328.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other1321) { - fileIds = other1321.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other1329) { + fileIds = other1329.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -35568,11 +35614,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other1322) noexcept { - isSupported = other1322.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other1330) noexcept { + isSupported = other1330.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other1323) noexcept { - isSupported = other1323.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other1331) noexcept { + isSupported = other1331.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -35719,19 +35765,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other1324) { - dbName = other1324.dbName; - tblName = other1324.tblName; - partName = other1324.partName; - isAllParts = other1324.isAllParts; - __isset = other1324.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other1332) { + dbName = other1332.dbName; + tblName = other1332.tblName; + partName = other1332.partName; + isAllParts = other1332.isAllParts; + __isset = other1332.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other1325) { - dbName = other1325.dbName; - tblName = other1325.tblName; - partName = other1325.partName; - isAllParts = other1325.isAllParts; - __isset = other1325.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other1333) { + dbName = other1333.dbName; + tblName = other1333.tblName; + partName = other1333.partName; + isAllParts = other1333.isAllParts; + __isset = other1333.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -35785,14 +35831,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size1326; - ::apache::thrift::protocol::TType _etype1329; - xfer += iprot->readListBegin(_etype1329, _size1326); - this->functions.resize(_size1326); - uint32_t _i1330; - for (_i1330 = 0; _i1330 < _size1326; ++_i1330) + uint32_t _size1334; + ::apache::thrift::protocol::TType _etype1337; + xfer += iprot->readListBegin(_etype1337, _size1334); + this->functions.resize(_size1334); + uint32_t _i1338; + for (_i1338 = 0; _i1338 < _size1334; ++_i1338) { - xfer += this->functions[_i1330].read(iprot); + xfer += this->functions[_i1338].read(iprot); } xfer += iprot->readListEnd(); } @@ -35822,10 +35868,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter1331; - for (_iter1331 = this->functions.begin(); _iter1331 != this->functions.end(); ++_iter1331) + std::vector ::const_iterator _iter1339; + for (_iter1339 = this->functions.begin(); _iter1339 != this->functions.end(); ++_iter1339) { - xfer += (*_iter1331).write(oprot); + xfer += (*_iter1339).write(oprot); } xfer += oprot->writeListEnd(); } @@ -35842,13 +35888,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other1332) { - functions = other1332.functions; - __isset = other1332.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other1340) { + functions = other1340.functions; + __isset = other1340.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other1333) { - functions = other1333.functions; - __isset = other1333.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other1341) { + functions = other1341.functions; + __isset = other1341.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -35899,16 +35945,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size1334; - ::apache::thrift::protocol::TType _etype1337; - xfer += iprot->readListBegin(_etype1337, _size1334); - this->values.resize(_size1334); - uint32_t _i1338; - for (_i1338 = 0; _i1338 < _size1334; ++_i1338) + uint32_t _size1342; + ::apache::thrift::protocol::TType _etype1345; + xfer += iprot->readListBegin(_etype1345, _size1342); + this->values.resize(_size1342); + uint32_t _i1346; + for (_i1346 = 0; _i1346 < _size1342; ++_i1346) { - int32_t ecast1339; - xfer += iprot->readI32(ecast1339); - this->values[_i1338] = static_cast(ecast1339); + int32_t ecast1347; + xfer += iprot->readI32(ecast1347); + this->values[_i1346] = static_cast(ecast1347); } xfer += iprot->readListEnd(); } @@ -35939,10 +35985,10 @@ uint32_t ClientCapabilities::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter1340; - for (_iter1340 = this->values.begin(); _iter1340 != this->values.end(); ++_iter1340) + std::vector ::const_iterator _iter1348; + for (_iter1348 = this->values.begin(); _iter1348 != this->values.end(); ++_iter1348) { - xfer += oprot->writeI32(static_cast((*_iter1340))); + xfer += oprot->writeI32(static_cast((*_iter1348))); } xfer += oprot->writeListEnd(); } @@ -35958,11 +36004,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other1341) { - values = other1341.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other1349) { + values = other1349.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other1342) { - values = other1342.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other1350) { + values = other1350.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -36020,14 +36066,14 @@ uint32_t GetProjectionsSpec::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fieldList.clear(); - uint32_t _size1343; - ::apache::thrift::protocol::TType _etype1346; - xfer += iprot->readListBegin(_etype1346, _size1343); - this->fieldList.resize(_size1343); - uint32_t _i1347; - for (_i1347 = 0; _i1347 < _size1343; ++_i1347) + uint32_t _size1351; + ::apache::thrift::protocol::TType _etype1354; + xfer += iprot->readListBegin(_etype1354, _size1351); + this->fieldList.resize(_size1351); + uint32_t _i1355; + for (_i1355 = 0; _i1355 < _size1351; ++_i1355) { - xfer += iprot->readString(this->fieldList[_i1347]); + xfer += iprot->readString(this->fieldList[_i1355]); } xfer += iprot->readListEnd(); } @@ -36072,10 +36118,10 @@ uint32_t GetProjectionsSpec::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("fieldList", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->fieldList.size())); - std::vector ::const_iterator _iter1348; - for (_iter1348 = this->fieldList.begin(); _iter1348 != this->fieldList.end(); ++_iter1348) + std::vector ::const_iterator _iter1356; + for (_iter1356 = this->fieldList.begin(); _iter1356 != this->fieldList.end(); ++_iter1356) { - xfer += oprot->writeString((*_iter1348)); + xfer += oprot->writeString((*_iter1356)); } xfer += oprot->writeListEnd(); } @@ -36102,17 +36148,17 @@ void swap(GetProjectionsSpec &a, GetProjectionsSpec &b) { swap(a.__isset, b.__isset); } -GetProjectionsSpec::GetProjectionsSpec(const GetProjectionsSpec& other1349) { - fieldList = other1349.fieldList; - includeParamKeyPattern = other1349.includeParamKeyPattern; - excludeParamKeyPattern = other1349.excludeParamKeyPattern; - __isset = other1349.__isset; +GetProjectionsSpec::GetProjectionsSpec(const GetProjectionsSpec& other1357) { + fieldList = other1357.fieldList; + includeParamKeyPattern = other1357.includeParamKeyPattern; + excludeParamKeyPattern = other1357.excludeParamKeyPattern; + __isset = other1357.__isset; } -GetProjectionsSpec& GetProjectionsSpec::operator=(const GetProjectionsSpec& other1350) { - fieldList = other1350.fieldList; - includeParamKeyPattern = other1350.includeParamKeyPattern; - excludeParamKeyPattern = other1350.excludeParamKeyPattern; - __isset = other1350.__isset; +GetProjectionsSpec& GetProjectionsSpec::operator=(const GetProjectionsSpec& other1358) { + fieldList = other1358.fieldList; + includeParamKeyPattern = other1358.includeParamKeyPattern; + excludeParamKeyPattern = other1358.excludeParamKeyPattern; + __isset = other1358.__isset; return *this; } void GetProjectionsSpec::printTo(std::ostream& out) const { @@ -36258,14 +36304,14 @@ uint32_t GetTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1351; - ::apache::thrift::protocol::TType _etype1354; - xfer += iprot->readListBegin(_etype1354, _size1351); - this->processorCapabilities.resize(_size1351); - uint32_t _i1355; - for (_i1355 = 0; _i1355 < _size1351; ++_i1355) + uint32_t _size1359; + ::apache::thrift::protocol::TType _etype1362; + xfer += iprot->readListBegin(_etype1362, _size1359); + this->processorCapabilities.resize(_size1359); + uint32_t _i1363; + for (_i1363 = 0; _i1363 < _size1359; ++_i1363) { - xfer += iprot->readString(this->processorCapabilities[_i1355]); + xfer += iprot->readString(this->processorCapabilities[_i1363]); } xfer += iprot->readListEnd(); } @@ -36351,10 +36397,10 @@ uint32_t GetTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1356; - for (_iter1356 = this->processorCapabilities.begin(); _iter1356 != this->processorCapabilities.end(); ++_iter1356) + std::vector ::const_iterator _iter1364; + for (_iter1364 = this->processorCapabilities.begin(); _iter1364 != this->processorCapabilities.end(); ++_iter1364) { - xfer += oprot->writeString((*_iter1356)); + xfer += oprot->writeString((*_iter1364)); } xfer += oprot->writeListEnd(); } @@ -36395,31 +36441,31 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other1357) { - dbName = other1357.dbName; - tblName = other1357.tblName; - capabilities = other1357.capabilities; - catName = other1357.catName; - validWriteIdList = other1357.validWriteIdList; - getColumnStats = other1357.getColumnStats; - processorCapabilities = other1357.processorCapabilities; - processorIdentifier = other1357.processorIdentifier; - engine = other1357.engine; - id = other1357.id; - __isset = other1357.__isset; -} -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other1358) { - dbName = other1358.dbName; - tblName = other1358.tblName; - capabilities = other1358.capabilities; - catName = other1358.catName; - validWriteIdList = other1358.validWriteIdList; - getColumnStats = other1358.getColumnStats; - processorCapabilities = other1358.processorCapabilities; - processorIdentifier = other1358.processorIdentifier; - engine = other1358.engine; - id = other1358.id; - __isset = other1358.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other1365) { + dbName = other1365.dbName; + tblName = other1365.tblName; + capabilities = other1365.capabilities; + catName = other1365.catName; + validWriteIdList = other1365.validWriteIdList; + getColumnStats = other1365.getColumnStats; + processorCapabilities = other1365.processorCapabilities; + processorIdentifier = other1365.processorIdentifier; + engine = other1365.engine; + id = other1365.id; + __isset = other1365.__isset; +} +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other1366) { + dbName = other1366.dbName; + tblName = other1366.tblName; + capabilities = other1366.capabilities; + catName = other1366.catName; + validWriteIdList = other1366.validWriteIdList; + getColumnStats = other1366.getColumnStats; + processorCapabilities = other1366.processorCapabilities; + processorIdentifier = other1366.processorIdentifier; + engine = other1366.engine; + id = other1366.id; + __isset = other1366.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -36536,15 +36582,15 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.__isset, b.__isset); } -GetTableResult::GetTableResult(const GetTableResult& other1359) { - table = other1359.table; - isStatsCompliant = other1359.isStatsCompliant; - __isset = other1359.__isset; +GetTableResult::GetTableResult(const GetTableResult& other1367) { + table = other1367.table; + isStatsCompliant = other1367.isStatsCompliant; + __isset = other1367.__isset; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other1360) { - table = other1360.table; - isStatsCompliant = other1360.isStatsCompliant; - __isset = other1360.__isset; +GetTableResult& GetTableResult::operator=(const GetTableResult& other1368) { + table = other1368.table; + isStatsCompliant = other1368.isStatsCompliant; + __isset = other1368.__isset; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -36639,14 +36685,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size1361; - ::apache::thrift::protocol::TType _etype1364; - xfer += iprot->readListBegin(_etype1364, _size1361); - this->tblNames.resize(_size1361); - uint32_t _i1365; - for (_i1365 = 0; _i1365 < _size1361; ++_i1365) + uint32_t _size1369; + ::apache::thrift::protocol::TType _etype1372; + xfer += iprot->readListBegin(_etype1372, _size1369); + this->tblNames.resize(_size1369); + uint32_t _i1373; + for (_i1373 = 0; _i1373 < _size1369; ++_i1373) { - xfer += iprot->readString(this->tblNames[_i1365]); + xfer += iprot->readString(this->tblNames[_i1373]); } xfer += iprot->readListEnd(); } @@ -36675,14 +36721,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1366; - ::apache::thrift::protocol::TType _etype1369; - xfer += iprot->readListBegin(_etype1369, _size1366); - this->processorCapabilities.resize(_size1366); - uint32_t _i1370; - for (_i1370 = 0; _i1370 < _size1366; ++_i1370) + uint32_t _size1374; + ::apache::thrift::protocol::TType _etype1377; + xfer += iprot->readListBegin(_etype1377, _size1374); + this->processorCapabilities.resize(_size1374); + uint32_t _i1378; + for (_i1378 = 0; _i1378 < _size1374; ++_i1378) { - xfer += iprot->readString(this->processorCapabilities[_i1370]); + xfer += iprot->readString(this->processorCapabilities[_i1378]); } xfer += iprot->readListEnd(); } @@ -36742,10 +36788,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblNames", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tblNames.size())); - std::vector ::const_iterator _iter1371; - for (_iter1371 = this->tblNames.begin(); _iter1371 != this->tblNames.end(); ++_iter1371) + std::vector ::const_iterator _iter1379; + for (_iter1379 = this->tblNames.begin(); _iter1379 != this->tblNames.end(); ++_iter1379) { - xfer += oprot->writeString((*_iter1371)); + xfer += oprot->writeString((*_iter1379)); } xfer += oprot->writeListEnd(); } @@ -36765,10 +36811,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1372; - for (_iter1372 = this->processorCapabilities.begin(); _iter1372 != this->processorCapabilities.end(); ++_iter1372) + std::vector ::const_iterator _iter1380; + for (_iter1380 = this->processorCapabilities.begin(); _iter1380 != this->processorCapabilities.end(); ++_iter1380) { - xfer += oprot->writeString((*_iter1372)); + xfer += oprot->writeString((*_iter1380)); } xfer += oprot->writeListEnd(); } @@ -36807,27 +36853,27 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other1373) { - dbName = other1373.dbName; - tblNames = other1373.tblNames; - capabilities = other1373.capabilities; - catName = other1373.catName; - processorCapabilities = other1373.processorCapabilities; - processorIdentifier = other1373.processorIdentifier; - projectionSpec = other1373.projectionSpec; - tablesPattern = other1373.tablesPattern; - __isset = other1373.__isset; -} -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other1374) { - dbName = other1374.dbName; - tblNames = other1374.tblNames; - capabilities = other1374.capabilities; - catName = other1374.catName; - processorCapabilities = other1374.processorCapabilities; - processorIdentifier = other1374.processorIdentifier; - projectionSpec = other1374.projectionSpec; - tablesPattern = other1374.tablesPattern; - __isset = other1374.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other1381) { + dbName = other1381.dbName; + tblNames = other1381.tblNames; + capabilities = other1381.capabilities; + catName = other1381.catName; + processorCapabilities = other1381.processorCapabilities; + processorIdentifier = other1381.processorIdentifier; + projectionSpec = other1381.projectionSpec; + tablesPattern = other1381.tablesPattern; + __isset = other1381.__isset; +} +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other1382) { + dbName = other1382.dbName; + tblNames = other1382.tblNames; + capabilities = other1382.capabilities; + catName = other1382.catName; + processorCapabilities = other1382.processorCapabilities; + processorIdentifier = other1382.processorIdentifier; + projectionSpec = other1382.projectionSpec; + tablesPattern = other1382.tablesPattern; + __isset = other1382.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -36885,14 +36931,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size1375; - ::apache::thrift::protocol::TType _etype1378; - xfer += iprot->readListBegin(_etype1378, _size1375); - this->tables.resize(_size1375); - uint32_t _i1379; - for (_i1379 = 0; _i1379 < _size1375; ++_i1379) + uint32_t _size1383; + ::apache::thrift::protocol::TType _etype1386; + xfer += iprot->readListBegin(_etype1386, _size1383); + this->tables.resize(_size1383); + uint32_t _i1387; + for (_i1387 = 0; _i1387 < _size1383; ++_i1387) { - xfer += this->tables[_i1379].read(iprot); + xfer += this->tables[_i1387].read(iprot); } xfer += iprot->readListEnd(); } @@ -36923,10 +36969,10 @@ uint32_t GetTablesResult::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tables.size())); - std::vector
::const_iterator _iter1380; - for (_iter1380 = this->tables.begin(); _iter1380 != this->tables.end(); ++_iter1380) + std::vector
::const_iterator _iter1388; + for (_iter1388 = this->tables.begin(); _iter1388 != this->tables.end(); ++_iter1388) { - xfer += (*_iter1380).write(oprot); + xfer += (*_iter1388).write(oprot); } xfer += oprot->writeListEnd(); } @@ -36942,11 +36988,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other1381) { - tables = other1381.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other1389) { + tables = other1389.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other1382) { - tables = other1382.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other1390) { + tables = other1390.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -37067,14 +37113,14 @@ uint32_t GetTablesExtRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1383; - ::apache::thrift::protocol::TType _etype1386; - xfer += iprot->readListBegin(_etype1386, _size1383); - this->processorCapabilities.resize(_size1383); - uint32_t _i1387; - for (_i1387 = 0; _i1387 < _size1383; ++_i1387) + uint32_t _size1391; + ::apache::thrift::protocol::TType _etype1394; + xfer += iprot->readListBegin(_etype1394, _size1391); + this->processorCapabilities.resize(_size1391); + uint32_t _i1395; + for (_i1395 = 0; _i1395 < _size1391; ++_i1395) { - xfer += iprot->readString(this->processorCapabilities[_i1387]); + xfer += iprot->readString(this->processorCapabilities[_i1395]); } xfer += iprot->readListEnd(); } @@ -37141,10 +37187,10 @@ uint32_t GetTablesExtRequest::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1388; - for (_iter1388 = this->processorCapabilities.begin(); _iter1388 != this->processorCapabilities.end(); ++_iter1388) + std::vector ::const_iterator _iter1396; + for (_iter1396 = this->processorCapabilities.begin(); _iter1396 != this->processorCapabilities.end(); ++_iter1396) { - xfer += oprot->writeString((*_iter1388)); + xfer += oprot->writeString((*_iter1396)); } xfer += oprot->writeListEnd(); } @@ -37172,25 +37218,25 @@ void swap(GetTablesExtRequest &a, GetTablesExtRequest &b) { swap(a.__isset, b.__isset); } -GetTablesExtRequest::GetTablesExtRequest(const GetTablesExtRequest& other1389) { - catalog = other1389.catalog; - database = other1389.database; - tableNamePattern = other1389.tableNamePattern; - requestedFields = other1389.requestedFields; - limit = other1389.limit; - processorCapabilities = other1389.processorCapabilities; - processorIdentifier = other1389.processorIdentifier; - __isset = other1389.__isset; +GetTablesExtRequest::GetTablesExtRequest(const GetTablesExtRequest& other1397) { + catalog = other1397.catalog; + database = other1397.database; + tableNamePattern = other1397.tableNamePattern; + requestedFields = other1397.requestedFields; + limit = other1397.limit; + processorCapabilities = other1397.processorCapabilities; + processorIdentifier = other1397.processorIdentifier; + __isset = other1397.__isset; } -GetTablesExtRequest& GetTablesExtRequest::operator=(const GetTablesExtRequest& other1390) { - catalog = other1390.catalog; - database = other1390.database; - tableNamePattern = other1390.tableNamePattern; - requestedFields = other1390.requestedFields; - limit = other1390.limit; - processorCapabilities = other1390.processorCapabilities; - processorIdentifier = other1390.processorIdentifier; - __isset = other1390.__isset; +GetTablesExtRequest& GetTablesExtRequest::operator=(const GetTablesExtRequest& other1398) { + catalog = other1398.catalog; + database = other1398.database; + tableNamePattern = other1398.tableNamePattern; + requestedFields = other1398.requestedFields; + limit = other1398.limit; + processorCapabilities = other1398.processorCapabilities; + processorIdentifier = other1398.processorIdentifier; + __isset = other1398.__isset; return *this; } void GetTablesExtRequest::printTo(std::ostream& out) const { @@ -37278,14 +37324,14 @@ uint32_t ExtendedTableInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->requiredReadCapabilities.clear(); - uint32_t _size1391; - ::apache::thrift::protocol::TType _etype1394; - xfer += iprot->readListBegin(_etype1394, _size1391); - this->requiredReadCapabilities.resize(_size1391); - uint32_t _i1395; - for (_i1395 = 0; _i1395 < _size1391; ++_i1395) + uint32_t _size1399; + ::apache::thrift::protocol::TType _etype1402; + xfer += iprot->readListBegin(_etype1402, _size1399); + this->requiredReadCapabilities.resize(_size1399); + uint32_t _i1403; + for (_i1403 = 0; _i1403 < _size1399; ++_i1403) { - xfer += iprot->readString(this->requiredReadCapabilities[_i1395]); + xfer += iprot->readString(this->requiredReadCapabilities[_i1403]); } xfer += iprot->readListEnd(); } @@ -37298,14 +37344,14 @@ uint32_t ExtendedTableInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->requiredWriteCapabilities.clear(); - uint32_t _size1396; - ::apache::thrift::protocol::TType _etype1399; - xfer += iprot->readListBegin(_etype1399, _size1396); - this->requiredWriteCapabilities.resize(_size1396); - uint32_t _i1400; - for (_i1400 = 0; _i1400 < _size1396; ++_i1400) + uint32_t _size1404; + ::apache::thrift::protocol::TType _etype1407; + xfer += iprot->readListBegin(_etype1407, _size1404); + this->requiredWriteCapabilities.resize(_size1404); + uint32_t _i1408; + for (_i1408 = 0; _i1408 < _size1404; ++_i1408) { - xfer += iprot->readString(this->requiredWriteCapabilities[_i1400]); + xfer += iprot->readString(this->requiredWriteCapabilities[_i1408]); } xfer += iprot->readListEnd(); } @@ -37346,10 +37392,10 @@ uint32_t ExtendedTableInfo::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("requiredReadCapabilities", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->requiredReadCapabilities.size())); - std::vector ::const_iterator _iter1401; - for (_iter1401 = this->requiredReadCapabilities.begin(); _iter1401 != this->requiredReadCapabilities.end(); ++_iter1401) + std::vector ::const_iterator _iter1409; + for (_iter1409 = this->requiredReadCapabilities.begin(); _iter1409 != this->requiredReadCapabilities.end(); ++_iter1409) { - xfer += oprot->writeString((*_iter1401)); + xfer += oprot->writeString((*_iter1409)); } xfer += oprot->writeListEnd(); } @@ -37359,10 +37405,10 @@ uint32_t ExtendedTableInfo::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("requiredWriteCapabilities", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->requiredWriteCapabilities.size())); - std::vector ::const_iterator _iter1402; - for (_iter1402 = this->requiredWriteCapabilities.begin(); _iter1402 != this->requiredWriteCapabilities.end(); ++_iter1402) + std::vector ::const_iterator _iter1410; + for (_iter1410 = this->requiredWriteCapabilities.begin(); _iter1410 != this->requiredWriteCapabilities.end(); ++_iter1410) { - xfer += oprot->writeString((*_iter1402)); + xfer += oprot->writeString((*_iter1410)); } xfer += oprot->writeListEnd(); } @@ -37382,19 +37428,19 @@ void swap(ExtendedTableInfo &a, ExtendedTableInfo &b) { swap(a.__isset, b.__isset); } -ExtendedTableInfo::ExtendedTableInfo(const ExtendedTableInfo& other1403) { - tblName = other1403.tblName; - accessType = other1403.accessType; - requiredReadCapabilities = other1403.requiredReadCapabilities; - requiredWriteCapabilities = other1403.requiredWriteCapabilities; - __isset = other1403.__isset; +ExtendedTableInfo::ExtendedTableInfo(const ExtendedTableInfo& other1411) { + tblName = other1411.tblName; + accessType = other1411.accessType; + requiredReadCapabilities = other1411.requiredReadCapabilities; + requiredWriteCapabilities = other1411.requiredWriteCapabilities; + __isset = other1411.__isset; } -ExtendedTableInfo& ExtendedTableInfo::operator=(const ExtendedTableInfo& other1404) { - tblName = other1404.tblName; - accessType = other1404.accessType; - requiredReadCapabilities = other1404.requiredReadCapabilities; - requiredWriteCapabilities = other1404.requiredWriteCapabilities; - __isset = other1404.__isset; +ExtendedTableInfo& ExtendedTableInfo::operator=(const ExtendedTableInfo& other1412) { + tblName = other1412.tblName; + accessType = other1412.accessType; + requiredReadCapabilities = other1412.requiredReadCapabilities; + requiredWriteCapabilities = other1412.requiredWriteCapabilities; + __isset = other1412.__isset; return *this; } void ExtendedTableInfo::printTo(std::ostream& out) const { @@ -37582,23 +37628,23 @@ void swap(DropTableRequest &a, DropTableRequest &b) { swap(a.__isset, b.__isset); } -DropTableRequest::DropTableRequest(const DropTableRequest& other1405) { - catalogName = other1405.catalogName; - dbName = other1405.dbName; - tableName = other1405.tableName; - deleteData = other1405.deleteData; - envContext = other1405.envContext; - dropPartitions = other1405.dropPartitions; - __isset = other1405.__isset; +DropTableRequest::DropTableRequest(const DropTableRequest& other1413) { + catalogName = other1413.catalogName; + dbName = other1413.dbName; + tableName = other1413.tableName; + deleteData = other1413.deleteData; + envContext = other1413.envContext; + dropPartitions = other1413.dropPartitions; + __isset = other1413.__isset; } -DropTableRequest& DropTableRequest::operator=(const DropTableRequest& other1406) { - catalogName = other1406.catalogName; - dbName = other1406.dbName; - tableName = other1406.tableName; - deleteData = other1406.deleteData; - envContext = other1406.envContext; - dropPartitions = other1406.dropPartitions; - __isset = other1406.__isset; +DropTableRequest& DropTableRequest::operator=(const DropTableRequest& other1414) { + catalogName = other1414.catalogName; + dbName = other1414.dbName; + tableName = other1414.tableName; + deleteData = other1414.deleteData; + envContext = other1414.envContext; + dropPartitions = other1414.dropPartitions; + __isset = other1414.__isset; return *this; } void DropTableRequest::printTo(std::ostream& out) const { @@ -37685,14 +37731,14 @@ uint32_t GetDatabaseRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1407; - ::apache::thrift::protocol::TType _etype1410; - xfer += iprot->readListBegin(_etype1410, _size1407); - this->processorCapabilities.resize(_size1407); - uint32_t _i1411; - for (_i1411 = 0; _i1411 < _size1407; ++_i1411) + uint32_t _size1415; + ::apache::thrift::protocol::TType _etype1418; + xfer += iprot->readListBegin(_etype1418, _size1415); + this->processorCapabilities.resize(_size1415); + uint32_t _i1419; + for (_i1419 = 0; _i1419 < _size1415; ++_i1419) { - xfer += iprot->readString(this->processorCapabilities[_i1411]); + xfer += iprot->readString(this->processorCapabilities[_i1419]); } xfer += iprot->readListEnd(); } @@ -37740,10 +37786,10 @@ uint32_t GetDatabaseRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1412; - for (_iter1412 = this->processorCapabilities.begin(); _iter1412 != this->processorCapabilities.end(); ++_iter1412) + std::vector ::const_iterator _iter1420; + for (_iter1420 = this->processorCapabilities.begin(); _iter1420 != this->processorCapabilities.end(); ++_iter1420) { - xfer += oprot->writeString((*_iter1412)); + xfer += oprot->writeString((*_iter1420)); } xfer += oprot->writeListEnd(); } @@ -37768,19 +37814,19 @@ void swap(GetDatabaseRequest &a, GetDatabaseRequest &b) { swap(a.__isset, b.__isset); } -GetDatabaseRequest::GetDatabaseRequest(const GetDatabaseRequest& other1413) { - name = other1413.name; - catalogName = other1413.catalogName; - processorCapabilities = other1413.processorCapabilities; - processorIdentifier = other1413.processorIdentifier; - __isset = other1413.__isset; +GetDatabaseRequest::GetDatabaseRequest(const GetDatabaseRequest& other1421) { + name = other1421.name; + catalogName = other1421.catalogName; + processorCapabilities = other1421.processorCapabilities; + processorIdentifier = other1421.processorIdentifier; + __isset = other1421.__isset; } -GetDatabaseRequest& GetDatabaseRequest::operator=(const GetDatabaseRequest& other1414) { - name = other1414.name; - catalogName = other1414.catalogName; - processorCapabilities = other1414.processorCapabilities; - processorIdentifier = other1414.processorIdentifier; - __isset = other1414.__isset; +GetDatabaseRequest& GetDatabaseRequest::operator=(const GetDatabaseRequest& other1422) { + name = other1422.name; + catalogName = other1422.catalogName; + processorCapabilities = other1422.processorCapabilities; + processorIdentifier = other1422.processorIdentifier; + __isset = other1422.__isset; return *this; } void GetDatabaseRequest::printTo(std::ostream& out) const { @@ -37891,13 +37937,13 @@ void swap(AlterDatabaseRequest &a, AlterDatabaseRequest &b) { swap(a.newDb, b.newDb); } -AlterDatabaseRequest::AlterDatabaseRequest(const AlterDatabaseRequest& other1415) { - oldDbName = other1415.oldDbName; - newDb = other1415.newDb; +AlterDatabaseRequest::AlterDatabaseRequest(const AlterDatabaseRequest& other1423) { + oldDbName = other1423.oldDbName; + newDb = other1423.newDb; } -AlterDatabaseRequest& AlterDatabaseRequest::operator=(const AlterDatabaseRequest& other1416) { - oldDbName = other1416.oldDbName; - newDb = other1416.newDb; +AlterDatabaseRequest& AlterDatabaseRequest::operator=(const AlterDatabaseRequest& other1424) { + oldDbName = other1424.oldDbName; + newDb = other1424.newDb; return *this; } void AlterDatabaseRequest::printTo(std::ostream& out) const { @@ -38123,27 +38169,27 @@ void swap(DropDatabaseRequest &a, DropDatabaseRequest &b) { swap(a.__isset, b.__isset); } -DropDatabaseRequest::DropDatabaseRequest(const DropDatabaseRequest& other1417) { - name = other1417.name; - catalogName = other1417.catalogName; - ignoreUnknownDb = other1417.ignoreUnknownDb; - deleteData = other1417.deleteData; - cascade = other1417.cascade; - softDelete = other1417.softDelete; - txnId = other1417.txnId; - deleteManagedDir = other1417.deleteManagedDir; - __isset = other1417.__isset; -} -DropDatabaseRequest& DropDatabaseRequest::operator=(const DropDatabaseRequest& other1418) { - name = other1418.name; - catalogName = other1418.catalogName; - ignoreUnknownDb = other1418.ignoreUnknownDb; - deleteData = other1418.deleteData; - cascade = other1418.cascade; - softDelete = other1418.softDelete; - txnId = other1418.txnId; - deleteManagedDir = other1418.deleteManagedDir; - __isset = other1418.__isset; +DropDatabaseRequest::DropDatabaseRequest(const DropDatabaseRequest& other1425) { + name = other1425.name; + catalogName = other1425.catalogName; + ignoreUnknownDb = other1425.ignoreUnknownDb; + deleteData = other1425.deleteData; + cascade = other1425.cascade; + softDelete = other1425.softDelete; + txnId = other1425.txnId; + deleteManagedDir = other1425.deleteManagedDir; + __isset = other1425.__isset; +} +DropDatabaseRequest& DropDatabaseRequest::operator=(const DropDatabaseRequest& other1426) { + name = other1426.name; + catalogName = other1426.catalogName; + ignoreUnknownDb = other1426.ignoreUnknownDb; + deleteData = other1426.deleteData; + cascade = other1426.cascade; + softDelete = other1426.softDelete; + txnId = other1426.txnId; + deleteManagedDir = other1426.deleteManagedDir; + __isset = other1426.__isset; return *this; } void DropDatabaseRequest::printTo(std::ostream& out) const { @@ -38296,19 +38342,19 @@ void swap(GetFunctionsRequest &a, GetFunctionsRequest &b) { swap(a.__isset, b.__isset); } -GetFunctionsRequest::GetFunctionsRequest(const GetFunctionsRequest& other1419) { - dbName = other1419.dbName; - catalogName = other1419.catalogName; - pattern = other1419.pattern; - returnNames = other1419.returnNames; - __isset = other1419.__isset; +GetFunctionsRequest::GetFunctionsRequest(const GetFunctionsRequest& other1427) { + dbName = other1427.dbName; + catalogName = other1427.catalogName; + pattern = other1427.pattern; + returnNames = other1427.returnNames; + __isset = other1427.__isset; } -GetFunctionsRequest& GetFunctionsRequest::operator=(const GetFunctionsRequest& other1420) { - dbName = other1420.dbName; - catalogName = other1420.catalogName; - pattern = other1420.pattern; - returnNames = other1420.returnNames; - __isset = other1420.__isset; +GetFunctionsRequest& GetFunctionsRequest::operator=(const GetFunctionsRequest& other1428) { + dbName = other1428.dbName; + catalogName = other1428.catalogName; + pattern = other1428.pattern; + returnNames = other1428.returnNames; + __isset = other1428.__isset; return *this; } void GetFunctionsRequest::printTo(std::ostream& out) const { @@ -38367,14 +38413,14 @@ uint32_t GetFunctionsResponse::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->function_names.clear(); - uint32_t _size1421; - ::apache::thrift::protocol::TType _etype1424; - xfer += iprot->readListBegin(_etype1424, _size1421); - this->function_names.resize(_size1421); - uint32_t _i1425; - for (_i1425 = 0; _i1425 < _size1421; ++_i1425) + uint32_t _size1429; + ::apache::thrift::protocol::TType _etype1432; + xfer += iprot->readListBegin(_etype1432, _size1429); + this->function_names.resize(_size1429); + uint32_t _i1433; + for (_i1433 = 0; _i1433 < _size1429; ++_i1433) { - xfer += iprot->readString(this->function_names[_i1425]); + xfer += iprot->readString(this->function_names[_i1433]); } xfer += iprot->readListEnd(); } @@ -38387,14 +38433,14 @@ uint32_t GetFunctionsResponse::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size1426; - ::apache::thrift::protocol::TType _etype1429; - xfer += iprot->readListBegin(_etype1429, _size1426); - this->functions.resize(_size1426); - uint32_t _i1430; - for (_i1430 = 0; _i1430 < _size1426; ++_i1430) + uint32_t _size1434; + ::apache::thrift::protocol::TType _etype1437; + xfer += iprot->readListBegin(_etype1437, _size1434); + this->functions.resize(_size1434); + uint32_t _i1438; + for (_i1438 = 0; _i1438 < _size1434; ++_i1438) { - xfer += this->functions[_i1430].read(iprot); + xfer += this->functions[_i1438].read(iprot); } xfer += iprot->readListEnd(); } @@ -38424,10 +38470,10 @@ uint32_t GetFunctionsResponse::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("function_names", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->function_names.size())); - std::vector ::const_iterator _iter1431; - for (_iter1431 = this->function_names.begin(); _iter1431 != this->function_names.end(); ++_iter1431) + std::vector ::const_iterator _iter1439; + for (_iter1439 = this->function_names.begin(); _iter1439 != this->function_names.end(); ++_iter1439) { - xfer += oprot->writeString((*_iter1431)); + xfer += oprot->writeString((*_iter1439)); } xfer += oprot->writeListEnd(); } @@ -38437,10 +38483,10 @@ uint32_t GetFunctionsResponse::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter1432; - for (_iter1432 = this->functions.begin(); _iter1432 != this->functions.end(); ++_iter1432) + std::vector ::const_iterator _iter1440; + for (_iter1440 = this->functions.begin(); _iter1440 != this->functions.end(); ++_iter1440) { - xfer += (*_iter1432).write(oprot); + xfer += (*_iter1440).write(oprot); } xfer += oprot->writeListEnd(); } @@ -38458,15 +38504,15 @@ void swap(GetFunctionsResponse &a, GetFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetFunctionsResponse::GetFunctionsResponse(const GetFunctionsResponse& other1433) { - function_names = other1433.function_names; - functions = other1433.functions; - __isset = other1433.__isset; +GetFunctionsResponse::GetFunctionsResponse(const GetFunctionsResponse& other1441) { + function_names = other1441.function_names; + functions = other1441.functions; + __isset = other1441.__isset; } -GetFunctionsResponse& GetFunctionsResponse::operator=(const GetFunctionsResponse& other1434) { - function_names = other1434.function_names; - functions = other1434.functions; - __isset = other1434.__isset; +GetFunctionsResponse& GetFunctionsResponse::operator=(const GetFunctionsResponse& other1442) { + function_names = other1442.function_names; + functions = other1442.functions; + __isset = other1442.__isset; return *this; } void GetFunctionsResponse::printTo(std::ostream& out) const { @@ -38575,13 +38621,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other1435) { - dataPath = other1435.dataPath; - purge = other1435.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other1443) { + dataPath = other1443.dataPath; + purge = other1443.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other1436) { - dataPath = other1436.dataPath; - purge = other1436.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other1444) { + dataPath = other1444.dataPath; + purge = other1444.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -38647,11 +38693,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other1437) noexcept { - (void) other1437; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other1445) noexcept { + (void) other1445; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other1438) noexcept { - (void) other1438; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other1446) noexcept { + (void) other1446; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -38777,9 +38823,9 @@ uint32_t TableMeta::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1439; - xfer += iprot->readI32(ecast1439); - this->ownerType = static_cast(ecast1439); + int32_t ecast1447; + xfer += iprot->readI32(ecast1447); + this->ownerType = static_cast(ecast1447); this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -38857,25 +38903,25 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other1440) { - dbName = other1440.dbName; - tableName = other1440.tableName; - tableType = other1440.tableType; - comments = other1440.comments; - catName = other1440.catName; - ownerName = other1440.ownerName; - ownerType = other1440.ownerType; - __isset = other1440.__isset; -} -TableMeta& TableMeta::operator=(const TableMeta& other1441) { - dbName = other1441.dbName; - tableName = other1441.tableName; - tableType = other1441.tableType; - comments = other1441.comments; - catName = other1441.catName; - ownerName = other1441.ownerName; - ownerType = other1441.ownerType; - __isset = other1441.__isset; +TableMeta::TableMeta(const TableMeta& other1448) { + dbName = other1448.dbName; + tableName = other1448.tableName; + tableType = other1448.tableType; + comments = other1448.comments; + catName = other1448.catName; + ownerName = other1448.ownerName; + ownerType = other1448.ownerType; + __isset = other1448.__isset; +} +TableMeta& TableMeta::operator=(const TableMeta& other1449) { + dbName = other1449.dbName; + tableName = other1449.tableName; + tableType = other1449.tableType; + comments = other1449.comments; + catName = other1449.catName; + ownerName = other1449.ownerName; + ownerType = other1449.ownerType; + __isset = other1449.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -38989,13 +39035,13 @@ void swap(Materialization &a, Materialization &b) { swap(a.sourceTablesCompacted, b.sourceTablesCompacted); } -Materialization::Materialization(const Materialization& other1442) noexcept { - sourceTablesUpdateDeleteModified = other1442.sourceTablesUpdateDeleteModified; - sourceTablesCompacted = other1442.sourceTablesCompacted; +Materialization::Materialization(const Materialization& other1450) noexcept { + sourceTablesUpdateDeleteModified = other1450.sourceTablesUpdateDeleteModified; + sourceTablesCompacted = other1450.sourceTablesCompacted; } -Materialization& Materialization::operator=(const Materialization& other1443) noexcept { - sourceTablesUpdateDeleteModified = other1443.sourceTablesUpdateDeleteModified; - sourceTablesCompacted = other1443.sourceTablesCompacted; +Materialization& Materialization::operator=(const Materialization& other1451) noexcept { + sourceTablesUpdateDeleteModified = other1451.sourceTablesUpdateDeleteModified; + sourceTablesCompacted = other1451.sourceTablesCompacted; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -39073,9 +39119,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1444; - xfer += iprot->readI32(ecast1444); - this->status = static_cast(ecast1444); + int32_t ecast1452; + xfer += iprot->readI32(ecast1452); + this->status = static_cast(ecast1452); this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -39163,21 +39209,21 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other1445) { - name = other1445.name; - status = other1445.status; - queryParallelism = other1445.queryParallelism; - defaultPoolPath = other1445.defaultPoolPath; - ns = other1445.ns; - __isset = other1445.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other1453) { + name = other1453.name; + status = other1453.status; + queryParallelism = other1453.queryParallelism; + defaultPoolPath = other1453.defaultPoolPath; + ns = other1453.ns; + __isset = other1453.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other1446) { - name = other1446.name; - status = other1446.status; - queryParallelism = other1446.queryParallelism; - defaultPoolPath = other1446.defaultPoolPath; - ns = other1446.ns; - __isset = other1446.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other1454) { + name = other1454.name; + status = other1454.status; + queryParallelism = other1454.queryParallelism; + defaultPoolPath = other1454.defaultPoolPath; + ns = other1454.ns; + __isset = other1454.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -39268,9 +39314,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1447; - xfer += iprot->readI32(ecast1447); - this->status = static_cast(ecast1447); + int32_t ecast1455; + xfer += iprot->readI32(ecast1455); + this->status = static_cast(ecast1455); this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -39385,25 +39431,25 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1448) { - name = other1448.name; - status = other1448.status; - queryParallelism = other1448.queryParallelism; - isSetQueryParallelism = other1448.isSetQueryParallelism; - defaultPoolPath = other1448.defaultPoolPath; - isSetDefaultPoolPath = other1448.isSetDefaultPoolPath; - ns = other1448.ns; - __isset = other1448.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1456) { + name = other1456.name; + status = other1456.status; + queryParallelism = other1456.queryParallelism; + isSetQueryParallelism = other1456.isSetQueryParallelism; + defaultPoolPath = other1456.defaultPoolPath; + isSetDefaultPoolPath = other1456.isSetDefaultPoolPath; + ns = other1456.ns; + __isset = other1456.__isset; } -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1449) { - name = other1449.name; - status = other1449.status; - queryParallelism = other1449.queryParallelism; - isSetQueryParallelism = other1449.isSetQueryParallelism; - defaultPoolPath = other1449.defaultPoolPath; - isSetDefaultPoolPath = other1449.isSetDefaultPoolPath; - ns = other1449.ns; - __isset = other1449.__isset; +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1457) { + name = other1457.name; + status = other1457.status; + queryParallelism = other1457.queryParallelism; + isSetQueryParallelism = other1457.isSetQueryParallelism; + defaultPoolPath = other1457.defaultPoolPath; + isSetDefaultPoolPath = other1457.isSetDefaultPoolPath; + ns = other1457.ns; + __isset = other1457.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -39594,23 +39640,23 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other1450) { - resourcePlanName = other1450.resourcePlanName; - poolPath = other1450.poolPath; - allocFraction = other1450.allocFraction; - queryParallelism = other1450.queryParallelism; - schedulingPolicy = other1450.schedulingPolicy; - ns = other1450.ns; - __isset = other1450.__isset; +WMPool::WMPool(const WMPool& other1458) { + resourcePlanName = other1458.resourcePlanName; + poolPath = other1458.poolPath; + allocFraction = other1458.allocFraction; + queryParallelism = other1458.queryParallelism; + schedulingPolicy = other1458.schedulingPolicy; + ns = other1458.ns; + __isset = other1458.__isset; } -WMPool& WMPool::operator=(const WMPool& other1451) { - resourcePlanName = other1451.resourcePlanName; - poolPath = other1451.poolPath; - allocFraction = other1451.allocFraction; - queryParallelism = other1451.queryParallelism; - schedulingPolicy = other1451.schedulingPolicy; - ns = other1451.ns; - __isset = other1451.__isset; +WMPool& WMPool::operator=(const WMPool& other1459) { + resourcePlanName = other1459.resourcePlanName; + poolPath = other1459.poolPath; + allocFraction = other1459.allocFraction; + queryParallelism = other1459.queryParallelism; + schedulingPolicy = other1459.schedulingPolicy; + ns = other1459.ns; + __isset = other1459.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -39819,25 +39865,25 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other1452) { - resourcePlanName = other1452.resourcePlanName; - poolPath = other1452.poolPath; - allocFraction = other1452.allocFraction; - queryParallelism = other1452.queryParallelism; - schedulingPolicy = other1452.schedulingPolicy; - isSetSchedulingPolicy = other1452.isSetSchedulingPolicy; - ns = other1452.ns; - __isset = other1452.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1453) { - resourcePlanName = other1453.resourcePlanName; - poolPath = other1453.poolPath; - allocFraction = other1453.allocFraction; - queryParallelism = other1453.queryParallelism; - schedulingPolicy = other1453.schedulingPolicy; - isSetSchedulingPolicy = other1453.isSetSchedulingPolicy; - ns = other1453.ns; - __isset = other1453.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other1460) { + resourcePlanName = other1460.resourcePlanName; + poolPath = other1460.poolPath; + allocFraction = other1460.allocFraction; + queryParallelism = other1460.queryParallelism; + schedulingPolicy = other1460.schedulingPolicy; + isSetSchedulingPolicy = other1460.isSetSchedulingPolicy; + ns = other1460.ns; + __isset = other1460.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1461) { + resourcePlanName = other1461.resourcePlanName; + poolPath = other1461.poolPath; + allocFraction = other1461.allocFraction; + queryParallelism = other1461.queryParallelism; + schedulingPolicy = other1461.schedulingPolicy; + isSetSchedulingPolicy = other1461.isSetSchedulingPolicy; + ns = other1461.ns; + __isset = other1461.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -40028,23 +40074,23 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other1454) { - resourcePlanName = other1454.resourcePlanName; - triggerName = other1454.triggerName; - triggerExpression = other1454.triggerExpression; - actionExpression = other1454.actionExpression; - isInUnmanaged = other1454.isInUnmanaged; - ns = other1454.ns; - __isset = other1454.__isset; +WMTrigger::WMTrigger(const WMTrigger& other1462) { + resourcePlanName = other1462.resourcePlanName; + triggerName = other1462.triggerName; + triggerExpression = other1462.triggerExpression; + actionExpression = other1462.actionExpression; + isInUnmanaged = other1462.isInUnmanaged; + ns = other1462.ns; + __isset = other1462.__isset; } -WMTrigger& WMTrigger::operator=(const WMTrigger& other1455) { - resourcePlanName = other1455.resourcePlanName; - triggerName = other1455.triggerName; - triggerExpression = other1455.triggerExpression; - actionExpression = other1455.actionExpression; - isInUnmanaged = other1455.isInUnmanaged; - ns = other1455.ns; - __isset = other1455.__isset; +WMTrigger& WMTrigger::operator=(const WMTrigger& other1463) { + resourcePlanName = other1463.resourcePlanName; + triggerName = other1463.triggerName; + triggerExpression = other1463.triggerExpression; + actionExpression = other1463.actionExpression; + isInUnmanaged = other1463.isInUnmanaged; + ns = other1463.ns; + __isset = other1463.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -40235,23 +40281,23 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other1456) { - resourcePlanName = other1456.resourcePlanName; - entityType = other1456.entityType; - entityName = other1456.entityName; - poolPath = other1456.poolPath; - ordering = other1456.ordering; - ns = other1456.ns; - __isset = other1456.__isset; +WMMapping::WMMapping(const WMMapping& other1464) { + resourcePlanName = other1464.resourcePlanName; + entityType = other1464.entityType; + entityName = other1464.entityName; + poolPath = other1464.poolPath; + ordering = other1464.ordering; + ns = other1464.ns; + __isset = other1464.__isset; } -WMMapping& WMMapping::operator=(const WMMapping& other1457) { - resourcePlanName = other1457.resourcePlanName; - entityType = other1457.entityType; - entityName = other1457.entityName; - poolPath = other1457.poolPath; - ordering = other1457.ordering; - ns = other1457.ns; - __isset = other1457.__isset; +WMMapping& WMMapping::operator=(const WMMapping& other1465) { + resourcePlanName = other1465.resourcePlanName; + entityType = other1465.entityType; + entityName = other1465.entityName; + poolPath = other1465.poolPath; + ordering = other1465.ordering; + ns = other1465.ns; + __isset = other1465.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -40384,17 +40430,17 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.__isset, b.__isset); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1458) { - pool = other1458.pool; - trigger = other1458.trigger; - ns = other1458.ns; - __isset = other1458.__isset; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1466) { + pool = other1466.pool; + trigger = other1466.trigger; + ns = other1466.ns; + __isset = other1466.__isset; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1459) { - pool = other1459.pool; - trigger = other1459.trigger; - ns = other1459.ns; - __isset = other1459.__isset; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1467) { + pool = other1467.pool; + trigger = other1467.trigger; + ns = other1467.ns; + __isset = other1467.__isset; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -40475,14 +40521,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size1460; - ::apache::thrift::protocol::TType _etype1463; - xfer += iprot->readListBegin(_etype1463, _size1460); - this->pools.resize(_size1460); - uint32_t _i1464; - for (_i1464 = 0; _i1464 < _size1460; ++_i1464) + uint32_t _size1468; + ::apache::thrift::protocol::TType _etype1471; + xfer += iprot->readListBegin(_etype1471, _size1468); + this->pools.resize(_size1468); + uint32_t _i1472; + for (_i1472 = 0; _i1472 < _size1468; ++_i1472) { - xfer += this->pools[_i1464].read(iprot); + xfer += this->pools[_i1472].read(iprot); } xfer += iprot->readListEnd(); } @@ -40495,14 +40541,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1465; - ::apache::thrift::protocol::TType _etype1468; - xfer += iprot->readListBegin(_etype1468, _size1465); - this->mappings.resize(_size1465); - uint32_t _i1469; - for (_i1469 = 0; _i1469 < _size1465; ++_i1469) + uint32_t _size1473; + ::apache::thrift::protocol::TType _etype1476; + xfer += iprot->readListBegin(_etype1476, _size1473); + this->mappings.resize(_size1473); + uint32_t _i1477; + for (_i1477 = 0; _i1477 < _size1473; ++_i1477) { - xfer += this->mappings[_i1469].read(iprot); + xfer += this->mappings[_i1477].read(iprot); } xfer += iprot->readListEnd(); } @@ -40515,14 +40561,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1470; - ::apache::thrift::protocol::TType _etype1473; - xfer += iprot->readListBegin(_etype1473, _size1470); - this->triggers.resize(_size1470); - uint32_t _i1474; - for (_i1474 = 0; _i1474 < _size1470; ++_i1474) + uint32_t _size1478; + ::apache::thrift::protocol::TType _etype1481; + xfer += iprot->readListBegin(_etype1481, _size1478); + this->triggers.resize(_size1478); + uint32_t _i1482; + for (_i1482 = 0; _i1482 < _size1478; ++_i1482) { - xfer += this->triggers[_i1474].read(iprot); + xfer += this->triggers[_i1482].read(iprot); } xfer += iprot->readListEnd(); } @@ -40535,14 +40581,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1475; - ::apache::thrift::protocol::TType _etype1478; - xfer += iprot->readListBegin(_etype1478, _size1475); - this->poolTriggers.resize(_size1475); - uint32_t _i1479; - for (_i1479 = 0; _i1479 < _size1475; ++_i1479) + uint32_t _size1483; + ::apache::thrift::protocol::TType _etype1486; + xfer += iprot->readListBegin(_etype1486, _size1483); + this->poolTriggers.resize(_size1483); + uint32_t _i1487; + for (_i1487 = 0; _i1487 < _size1483; ++_i1487) { - xfer += this->poolTriggers[_i1479].read(iprot); + xfer += this->poolTriggers[_i1487].read(iprot); } xfer += iprot->readListEnd(); } @@ -40579,10 +40625,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("pools", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->pools.size())); - std::vector ::const_iterator _iter1480; - for (_iter1480 = this->pools.begin(); _iter1480 != this->pools.end(); ++_iter1480) + std::vector ::const_iterator _iter1488; + for (_iter1488 = this->pools.begin(); _iter1488 != this->pools.end(); ++_iter1488) { - xfer += (*_iter1480).write(oprot); + xfer += (*_iter1488).write(oprot); } xfer += oprot->writeListEnd(); } @@ -40592,10 +40638,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("mappings", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->mappings.size())); - std::vector ::const_iterator _iter1481; - for (_iter1481 = this->mappings.begin(); _iter1481 != this->mappings.end(); ++_iter1481) + std::vector ::const_iterator _iter1489; + for (_iter1489 = this->mappings.begin(); _iter1489 != this->mappings.end(); ++_iter1489) { - xfer += (*_iter1481).write(oprot); + xfer += (*_iter1489).write(oprot); } xfer += oprot->writeListEnd(); } @@ -40605,10 +40651,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter1482; - for (_iter1482 = this->triggers.begin(); _iter1482 != this->triggers.end(); ++_iter1482) + std::vector ::const_iterator _iter1490; + for (_iter1490 = this->triggers.begin(); _iter1490 != this->triggers.end(); ++_iter1490) { - xfer += (*_iter1482).write(oprot); + xfer += (*_iter1490).write(oprot); } xfer += oprot->writeListEnd(); } @@ -40618,10 +40664,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("poolTriggers", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->poolTriggers.size())); - std::vector ::const_iterator _iter1483; - for (_iter1483 = this->poolTriggers.begin(); _iter1483 != this->poolTriggers.end(); ++_iter1483) + std::vector ::const_iterator _iter1491; + for (_iter1491 = this->poolTriggers.begin(); _iter1491 != this->poolTriggers.end(); ++_iter1491) { - xfer += (*_iter1483).write(oprot); + xfer += (*_iter1491).write(oprot); } xfer += oprot->writeListEnd(); } @@ -40642,21 +40688,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1484) { - plan = other1484.plan; - pools = other1484.pools; - mappings = other1484.mappings; - triggers = other1484.triggers; - poolTriggers = other1484.poolTriggers; - __isset = other1484.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1492) { + plan = other1492.plan; + pools = other1492.pools; + mappings = other1492.mappings; + triggers = other1492.triggers; + poolTriggers = other1492.poolTriggers; + __isset = other1492.__isset; } -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1485) { - plan = other1485.plan; - pools = other1485.pools; - mappings = other1485.mappings; - triggers = other1485.triggers; - poolTriggers = other1485.poolTriggers; - __isset = other1485.__isset; +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1493) { + plan = other1493.plan; + pools = other1493.pools; + mappings = other1493.mappings; + triggers = other1493.triggers; + poolTriggers = other1493.poolTriggers; + __isset = other1493.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -40767,15 +40813,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1486) { - resourcePlan = other1486.resourcePlan; - copyFrom = other1486.copyFrom; - __isset = other1486.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1494) { + resourcePlan = other1494.resourcePlan; + copyFrom = other1494.copyFrom; + __isset = other1494.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1487) { - resourcePlan = other1487.resourcePlan; - copyFrom = other1487.copyFrom; - __isset = other1487.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1495) { + resourcePlan = other1495.resourcePlan; + copyFrom = other1495.copyFrom; + __isset = other1495.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -40841,11 +40887,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1488) noexcept { - (void) other1488; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1496) noexcept { + (void) other1496; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1489) noexcept { - (void) other1489; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1497) noexcept { + (void) other1497; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -40932,13 +40978,13 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1490) { - ns = other1490.ns; - __isset = other1490.__isset; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1498) { + ns = other1498.ns; + __isset = other1498.__isset; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1491) { - ns = other1491.ns; - __isset = other1491.__isset; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1499) { + ns = other1499.ns; + __isset = other1499.__isset; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -41026,13 +41072,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1492) { - resourcePlan = other1492.resourcePlan; - __isset = other1492.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1500) { + resourcePlan = other1500.resourcePlan; + __isset = other1500.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1493) { - resourcePlan = other1493.resourcePlan; - __isset = other1493.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1501) { + resourcePlan = other1501.resourcePlan; + __isset = other1501.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -41139,15 +41185,15 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1494) { - resourcePlanName = other1494.resourcePlanName; - ns = other1494.ns; - __isset = other1494.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1502) { + resourcePlanName = other1502.resourcePlanName; + ns = other1502.ns; + __isset = other1502.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1495) { - resourcePlanName = other1495.resourcePlanName; - ns = other1495.ns; - __isset = other1495.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1503) { + resourcePlanName = other1503.resourcePlanName; + ns = other1503.ns; + __isset = other1503.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -41236,13 +41282,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1496) { - resourcePlan = other1496.resourcePlan; - __isset = other1496.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1504) { + resourcePlan = other1504.resourcePlan; + __isset = other1504.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1497) { - resourcePlan = other1497.resourcePlan; - __isset = other1497.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1505) { + resourcePlan = other1505.resourcePlan; + __isset = other1505.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -41330,13 +41376,13 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1498) { - ns = other1498.ns; - __isset = other1498.__isset; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1506) { + ns = other1506.ns; + __isset = other1506.__isset; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1499) { - ns = other1499.ns; - __isset = other1499.__isset; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1507) { + ns = other1507.ns; + __isset = other1507.__isset; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -41387,14 +41433,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1500; - ::apache::thrift::protocol::TType _etype1503; - xfer += iprot->readListBegin(_etype1503, _size1500); - this->resourcePlans.resize(_size1500); - uint32_t _i1504; - for (_i1504 = 0; _i1504 < _size1500; ++_i1504) + uint32_t _size1508; + ::apache::thrift::protocol::TType _etype1511; + xfer += iprot->readListBegin(_etype1511, _size1508); + this->resourcePlans.resize(_size1508); + uint32_t _i1512; + for (_i1512 = 0; _i1512 < _size1508; ++_i1512) { - xfer += this->resourcePlans[_i1504].read(iprot); + xfer += this->resourcePlans[_i1512].read(iprot); } xfer += iprot->readListEnd(); } @@ -41424,10 +41470,10 @@ uint32_t WMGetAllResourcePlanResponse::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("resourcePlans", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourcePlans.size())); - std::vector ::const_iterator _iter1505; - for (_iter1505 = this->resourcePlans.begin(); _iter1505 != this->resourcePlans.end(); ++_iter1505) + std::vector ::const_iterator _iter1513; + for (_iter1513 = this->resourcePlans.begin(); _iter1513 != this->resourcePlans.end(); ++_iter1513) { - xfer += (*_iter1505).write(oprot); + xfer += (*_iter1513).write(oprot); } xfer += oprot->writeListEnd(); } @@ -41444,13 +41490,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1506) { - resourcePlans = other1506.resourcePlans; - __isset = other1506.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1514) { + resourcePlans = other1514.resourcePlans; + __isset = other1514.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1507) { - resourcePlans = other1507.resourcePlans; - __isset = other1507.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1515) { + resourcePlans = other1515.resourcePlans; + __isset = other1515.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -41633,23 +41679,23 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1508) { - resourcePlanName = other1508.resourcePlanName; - resourcePlan = other1508.resourcePlan; - isEnableAndActivate = other1508.isEnableAndActivate; - isForceDeactivate = other1508.isForceDeactivate; - isReplace = other1508.isReplace; - ns = other1508.ns; - __isset = other1508.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1516) { + resourcePlanName = other1516.resourcePlanName; + resourcePlan = other1516.resourcePlan; + isEnableAndActivate = other1516.isEnableAndActivate; + isForceDeactivate = other1516.isForceDeactivate; + isReplace = other1516.isReplace; + ns = other1516.ns; + __isset = other1516.__isset; } -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1509) { - resourcePlanName = other1509.resourcePlanName; - resourcePlan = other1509.resourcePlan; - isEnableAndActivate = other1509.isEnableAndActivate; - isForceDeactivate = other1509.isForceDeactivate; - isReplace = other1509.isReplace; - ns = other1509.ns; - __isset = other1509.__isset; +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1517) { + resourcePlanName = other1517.resourcePlanName; + resourcePlan = other1517.resourcePlan; + isEnableAndActivate = other1517.isEnableAndActivate; + isForceDeactivate = other1517.isForceDeactivate; + isReplace = other1517.isReplace; + ns = other1517.ns; + __isset = other1517.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -41742,13 +41788,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1510) { - fullResourcePlan = other1510.fullResourcePlan; - __isset = other1510.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1518) { + fullResourcePlan = other1518.fullResourcePlan; + __isset = other1518.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1511) { - fullResourcePlan = other1511.fullResourcePlan; - __isset = other1511.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1519) { + fullResourcePlan = other1519.fullResourcePlan; + __isset = other1519.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -41855,15 +41901,15 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1512) { - resourcePlanName = other1512.resourcePlanName; - ns = other1512.ns; - __isset = other1512.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1520) { + resourcePlanName = other1520.resourcePlanName; + ns = other1520.ns; + __isset = other1520.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1513) { - resourcePlanName = other1513.resourcePlanName; - ns = other1513.ns; - __isset = other1513.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1521) { + resourcePlanName = other1521.resourcePlanName; + ns = other1521.ns; + __isset = other1521.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -41920,14 +41966,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1514; - ::apache::thrift::protocol::TType _etype1517; - xfer += iprot->readListBegin(_etype1517, _size1514); - this->errors.resize(_size1514); - uint32_t _i1518; - for (_i1518 = 0; _i1518 < _size1514; ++_i1518) + uint32_t _size1522; + ::apache::thrift::protocol::TType _etype1525; + xfer += iprot->readListBegin(_etype1525, _size1522); + this->errors.resize(_size1522); + uint32_t _i1526; + for (_i1526 = 0; _i1526 < _size1522; ++_i1526) { - xfer += iprot->readString(this->errors[_i1518]); + xfer += iprot->readString(this->errors[_i1526]); } xfer += iprot->readListEnd(); } @@ -41940,14 +41986,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1519; - ::apache::thrift::protocol::TType _etype1522; - xfer += iprot->readListBegin(_etype1522, _size1519); - this->warnings.resize(_size1519); - uint32_t _i1523; - for (_i1523 = 0; _i1523 < _size1519; ++_i1523) + uint32_t _size1527; + ::apache::thrift::protocol::TType _etype1530; + xfer += iprot->readListBegin(_etype1530, _size1527); + this->warnings.resize(_size1527); + uint32_t _i1531; + for (_i1531 = 0; _i1531 < _size1527; ++_i1531) { - xfer += iprot->readString(this->warnings[_i1523]); + xfer += iprot->readString(this->warnings[_i1531]); } xfer += iprot->readListEnd(); } @@ -41977,10 +42023,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("errors", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->errors.size())); - std::vector ::const_iterator _iter1524; - for (_iter1524 = this->errors.begin(); _iter1524 != this->errors.end(); ++_iter1524) + std::vector ::const_iterator _iter1532; + for (_iter1532 = this->errors.begin(); _iter1532 != this->errors.end(); ++_iter1532) { - xfer += oprot->writeString((*_iter1524)); + xfer += oprot->writeString((*_iter1532)); } xfer += oprot->writeListEnd(); } @@ -41990,10 +42036,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("warnings", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->warnings.size())); - std::vector ::const_iterator _iter1525; - for (_iter1525 = this->warnings.begin(); _iter1525 != this->warnings.end(); ++_iter1525) + std::vector ::const_iterator _iter1533; + for (_iter1533 = this->warnings.begin(); _iter1533 != this->warnings.end(); ++_iter1533) { - xfer += oprot->writeString((*_iter1525)); + xfer += oprot->writeString((*_iter1533)); } xfer += oprot->writeListEnd(); } @@ -42011,15 +42057,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1526) { - errors = other1526.errors; - warnings = other1526.warnings; - __isset = other1526.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1534) { + errors = other1534.errors; + warnings = other1534.warnings; + __isset = other1534.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1527) { - errors = other1527.errors; - warnings = other1527.warnings; - __isset = other1527.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1535) { + errors = other1535.errors; + warnings = other1535.warnings; + __isset = other1535.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -42127,15 +42173,15 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1528) { - resourcePlanName = other1528.resourcePlanName; - ns = other1528.ns; - __isset = other1528.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1536) { + resourcePlanName = other1536.resourcePlanName; + ns = other1536.ns; + __isset = other1536.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1529) { - resourcePlanName = other1529.resourcePlanName; - ns = other1529.ns; - __isset = other1529.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1537) { + resourcePlanName = other1537.resourcePlanName; + ns = other1537.ns; + __isset = other1537.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -42201,11 +42247,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1530) noexcept { - (void) other1530; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1538) noexcept { + (void) other1538; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1531) noexcept { - (void) other1531; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1539) noexcept { + (void) other1539; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -42292,13 +42338,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1532) { - trigger = other1532.trigger; - __isset = other1532.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1540) { + trigger = other1540.trigger; + __isset = other1540.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1533) { - trigger = other1533.trigger; - __isset = other1533.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1541) { + trigger = other1541.trigger; + __isset = other1541.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -42363,11 +42409,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1534) noexcept { - (void) other1534; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1542) noexcept { + (void) other1542; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1535) noexcept { - (void) other1535; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1543) noexcept { + (void) other1543; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -42454,13 +42500,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1536) { - trigger = other1536.trigger; - __isset = other1536.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1544) { + trigger = other1544.trigger; + __isset = other1544.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1537) { - trigger = other1537.trigger; - __isset = other1537.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1545) { + trigger = other1545.trigger; + __isset = other1545.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -42525,11 +42571,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1538) noexcept { - (void) other1538; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1546) noexcept { + (void) other1546; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1539) noexcept { - (void) other1539; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1547) noexcept { + (void) other1547; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -42654,17 +42700,17 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1540) { - resourcePlanName = other1540.resourcePlanName; - triggerName = other1540.triggerName; - ns = other1540.ns; - __isset = other1540.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1548) { + resourcePlanName = other1548.resourcePlanName; + triggerName = other1548.triggerName; + ns = other1548.ns; + __isset = other1548.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1541) { - resourcePlanName = other1541.resourcePlanName; - triggerName = other1541.triggerName; - ns = other1541.ns; - __isset = other1541.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1549) { + resourcePlanName = other1549.resourcePlanName; + triggerName = other1549.triggerName; + ns = other1549.ns; + __isset = other1549.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -42731,11 +42777,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1542) noexcept { - (void) other1542; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1550) noexcept { + (void) other1550; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1543) noexcept { - (void) other1543; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1551) noexcept { + (void) other1551; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -42841,15 +42887,15 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1544) { - resourcePlanName = other1544.resourcePlanName; - ns = other1544.ns; - __isset = other1544.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1552) { + resourcePlanName = other1552.resourcePlanName; + ns = other1552.ns; + __isset = other1552.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1545) { - resourcePlanName = other1545.resourcePlanName; - ns = other1545.ns; - __isset = other1545.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1553) { + resourcePlanName = other1553.resourcePlanName; + ns = other1553.ns; + __isset = other1553.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -42901,14 +42947,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1546; - ::apache::thrift::protocol::TType _etype1549; - xfer += iprot->readListBegin(_etype1549, _size1546); - this->triggers.resize(_size1546); - uint32_t _i1550; - for (_i1550 = 0; _i1550 < _size1546; ++_i1550) + uint32_t _size1554; + ::apache::thrift::protocol::TType _etype1557; + xfer += iprot->readListBegin(_etype1557, _size1554); + this->triggers.resize(_size1554); + uint32_t _i1558; + for (_i1558 = 0; _i1558 < _size1554; ++_i1558) { - xfer += this->triggers[_i1550].read(iprot); + xfer += this->triggers[_i1558].read(iprot); } xfer += iprot->readListEnd(); } @@ -42938,10 +42984,10 @@ uint32_t WMGetTriggersForResourePlanResponse::write(::apache::thrift::protocol:: xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter1551; - for (_iter1551 = this->triggers.begin(); _iter1551 != this->triggers.end(); ++_iter1551) + std::vector ::const_iterator _iter1559; + for (_iter1559 = this->triggers.begin(); _iter1559 != this->triggers.end(); ++_iter1559) { - xfer += (*_iter1551).write(oprot); + xfer += (*_iter1559).write(oprot); } xfer += oprot->writeListEnd(); } @@ -42958,13 +43004,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1552) { - triggers = other1552.triggers; - __isset = other1552.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1560) { + triggers = other1560.triggers; + __isset = other1560.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1553) { - triggers = other1553.triggers; - __isset = other1553.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1561) { + triggers = other1561.triggers; + __isset = other1561.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -43052,13 +43098,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1554) { - pool = other1554.pool; - __isset = other1554.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1562) { + pool = other1562.pool; + __isset = other1562.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1555) { - pool = other1555.pool; - __isset = other1555.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1563) { + pool = other1563.pool; + __isset = other1563.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -43123,11 +43169,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1556) noexcept { - (void) other1556; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1564) noexcept { + (void) other1564; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1557) noexcept { - (void) other1557; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1565) noexcept { + (void) other1565; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -43233,15 +43279,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1558) { - pool = other1558.pool; - poolPath = other1558.poolPath; - __isset = other1558.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1566) { + pool = other1566.pool; + poolPath = other1566.poolPath; + __isset = other1566.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1559) { - pool = other1559.pool; - poolPath = other1559.poolPath; - __isset = other1559.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1567) { + pool = other1567.pool; + poolPath = other1567.poolPath; + __isset = other1567.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -43307,11 +43353,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1560) noexcept { - (void) other1560; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1568) noexcept { + (void) other1568; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1561) noexcept { - (void) other1561; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1569) noexcept { + (void) other1569; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -43436,17 +43482,17 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1562) { - resourcePlanName = other1562.resourcePlanName; - poolPath = other1562.poolPath; - ns = other1562.ns; - __isset = other1562.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1570) { + resourcePlanName = other1570.resourcePlanName; + poolPath = other1570.poolPath; + ns = other1570.ns; + __isset = other1570.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1563) { - resourcePlanName = other1563.resourcePlanName; - poolPath = other1563.poolPath; - ns = other1563.ns; - __isset = other1563.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1571) { + resourcePlanName = other1571.resourcePlanName; + poolPath = other1571.poolPath; + ns = other1571.ns; + __isset = other1571.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -43513,11 +43559,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1564) noexcept { - (void) other1564; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1572) noexcept { + (void) other1572; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1565) noexcept { - (void) other1565; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1573) noexcept { + (void) other1573; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -43623,15 +43669,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1566) { - mapping = other1566.mapping; - update = other1566.update; - __isset = other1566.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1574) { + mapping = other1574.mapping; + update = other1574.update; + __isset = other1574.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1567) { - mapping = other1567.mapping; - update = other1567.update; - __isset = other1567.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1575) { + mapping = other1575.mapping; + update = other1575.update; + __isset = other1575.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -43697,11 +43743,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1568) noexcept { - (void) other1568; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1576) noexcept { + (void) other1576; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1569) noexcept { - (void) other1569; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1577) noexcept { + (void) other1577; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -43788,13 +43834,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1570) { - mapping = other1570.mapping; - __isset = other1570.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1578) { + mapping = other1578.mapping; + __isset = other1578.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1571) { - mapping = other1571.mapping; - __isset = other1571.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1579) { + mapping = other1579.mapping; + __isset = other1579.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -43859,11 +43905,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1572) noexcept { - (void) other1572; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1580) noexcept { + (void) other1580; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1573) noexcept { - (void) other1573; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1581) noexcept { + (void) other1581; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -44026,21 +44072,21 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1574) { - resourcePlanName = other1574.resourcePlanName; - triggerName = other1574.triggerName; - poolPath = other1574.poolPath; - drop = other1574.drop; - ns = other1574.ns; - __isset = other1574.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1582) { + resourcePlanName = other1582.resourcePlanName; + triggerName = other1582.triggerName; + poolPath = other1582.poolPath; + drop = other1582.drop; + ns = other1582.ns; + __isset = other1582.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1575) { - resourcePlanName = other1575.resourcePlanName; - triggerName = other1575.triggerName; - poolPath = other1575.poolPath; - drop = other1575.drop; - ns = other1575.ns; - __isset = other1575.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1583) { + resourcePlanName = other1583.resourcePlanName; + triggerName = other1583.triggerName; + poolPath = other1583.poolPath; + drop = other1583.drop; + ns = other1583.ns; + __isset = other1583.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -44109,11 +44155,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1576) noexcept { - (void) other1576; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1584) noexcept { + (void) other1584; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1577) noexcept { - (void) other1577; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1585) noexcept { + (void) other1585; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -44194,9 +44240,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1578; - xfer += iprot->readI32(ecast1578); - this->schemaType = static_cast(ecast1578); + int32_t ecast1586; + xfer += iprot->readI32(ecast1586); + this->schemaType = static_cast(ecast1586); this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -44228,9 +44274,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1579; - xfer += iprot->readI32(ecast1579); - this->compatibility = static_cast(ecast1579); + int32_t ecast1587; + xfer += iprot->readI32(ecast1587); + this->compatibility = static_cast(ecast1587); this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -44238,9 +44284,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1580; - xfer += iprot->readI32(ecast1580); - this->validationLevel = static_cast(ecast1580); + int32_t ecast1588; + xfer += iprot->readI32(ecast1588); + this->validationLevel = static_cast(ecast1588); this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -44344,29 +44390,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1581) { - schemaType = other1581.schemaType; - name = other1581.name; - catName = other1581.catName; - dbName = other1581.dbName; - compatibility = other1581.compatibility; - validationLevel = other1581.validationLevel; - canEvolve = other1581.canEvolve; - schemaGroup = other1581.schemaGroup; - description = other1581.description; - __isset = other1581.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1582) { - schemaType = other1582.schemaType; - name = other1582.name; - catName = other1582.catName; - dbName = other1582.dbName; - compatibility = other1582.compatibility; - validationLevel = other1582.validationLevel; - canEvolve = other1582.canEvolve; - schemaGroup = other1582.schemaGroup; - description = other1582.description; - __isset = other1582.__isset; +ISchema::ISchema(const ISchema& other1589) { + schemaType = other1589.schemaType; + name = other1589.name; + catName = other1589.catName; + dbName = other1589.dbName; + compatibility = other1589.compatibility; + validationLevel = other1589.validationLevel; + canEvolve = other1589.canEvolve; + schemaGroup = other1589.schemaGroup; + description = other1589.description; + __isset = other1589.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1590) { + schemaType = other1590.schemaType; + name = other1590.name; + catName = other1590.catName; + dbName = other1590.dbName; + compatibility = other1590.compatibility; + validationLevel = other1590.validationLevel; + canEvolve = other1590.canEvolve; + schemaGroup = other1590.schemaGroup; + description = other1590.description; + __isset = other1590.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -44494,17 +44540,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1583) { - catName = other1583.catName; - dbName = other1583.dbName; - schemaName = other1583.schemaName; - __isset = other1583.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1591) { + catName = other1591.catName; + dbName = other1591.dbName; + schemaName = other1591.schemaName; + __isset = other1591.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1584) { - catName = other1584.catName; - dbName = other1584.dbName; - schemaName = other1584.schemaName; - __isset = other1584.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1592) { + catName = other1592.catName; + dbName = other1592.dbName; + schemaName = other1592.schemaName; + __isset = other1592.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -44609,15 +44655,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1585) { - name = other1585.name; - newSchema = other1585.newSchema; - __isset = other1585.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1593) { + name = other1593.name; + newSchema = other1593.newSchema; + __isset = other1593.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1586) { - name = other1586.name; - newSchema = other1586.newSchema; - __isset = other1586.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1594) { + name = other1594.name; + newSchema = other1594.newSchema; + __isset = other1594.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -44734,14 +44780,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1587; - ::apache::thrift::protocol::TType _etype1590; - xfer += iprot->readListBegin(_etype1590, _size1587); - this->cols.resize(_size1587); - uint32_t _i1591; - for (_i1591 = 0; _i1591 < _size1587; ++_i1591) + uint32_t _size1595; + ::apache::thrift::protocol::TType _etype1598; + xfer += iprot->readListBegin(_etype1598, _size1595); + this->cols.resize(_size1595); + uint32_t _i1599; + for (_i1599 = 0; _i1599 < _size1595; ++_i1599) { - xfer += this->cols[_i1591].read(iprot); + xfer += this->cols[_i1599].read(iprot); } xfer += iprot->readListEnd(); } @@ -44752,9 +44798,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1592; - xfer += iprot->readI32(ecast1592); - this->state = static_cast(ecast1592); + int32_t ecast1600; + xfer += iprot->readI32(ecast1600); + this->state = static_cast(ecast1600); this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -44832,10 +44878,10 @@ uint32_t SchemaVersion::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter1593; - for (_iter1593 = this->cols.begin(); _iter1593 != this->cols.end(); ++_iter1593) + std::vector ::const_iterator _iter1601; + for (_iter1601 = this->cols.begin(); _iter1601 != this->cols.end(); ++_iter1601) { - xfer += (*_iter1593).write(oprot); + xfer += (*_iter1601).write(oprot); } xfer += oprot->writeListEnd(); } @@ -44891,31 +44937,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1594) { - schema = other1594.schema; - version = other1594.version; - createdAt = other1594.createdAt; - cols = other1594.cols; - state = other1594.state; - description = other1594.description; - schemaText = other1594.schemaText; - fingerprint = other1594.fingerprint; - name = other1594.name; - serDe = other1594.serDe; - __isset = other1594.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1595) { - schema = other1595.schema; - version = other1595.version; - createdAt = other1595.createdAt; - cols = other1595.cols; - state = other1595.state; - description = other1595.description; - schemaText = other1595.schemaText; - fingerprint = other1595.fingerprint; - name = other1595.name; - serDe = other1595.serDe; - __isset = other1595.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1602) { + schema = other1602.schema; + version = other1602.version; + createdAt = other1602.createdAt; + cols = other1602.cols; + state = other1602.state; + description = other1602.description; + schemaText = other1602.schemaText; + fingerprint = other1602.fingerprint; + name = other1602.name; + serDe = other1602.serDe; + __isset = other1602.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1603) { + schema = other1603.schema; + version = other1603.version; + createdAt = other1603.createdAt; + cols = other1603.cols; + state = other1603.state; + description = other1603.description; + schemaText = other1603.schemaText; + fingerprint = other1603.fingerprint; + name = other1603.name; + serDe = other1603.serDe; + __isset = other1603.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -45027,15 +45073,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1596) { - schema = other1596.schema; - version = other1596.version; - __isset = other1596.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1604) { + schema = other1604.schema; + version = other1604.version; + __isset = other1604.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1597) { - schema = other1597.schema; - version = other1597.version; - __isset = other1597.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1605) { + schema = other1605.schema; + version = other1605.version; + __isset = other1605.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -45162,17 +45208,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1598) { - colName = other1598.colName; - colNamespace = other1598.colNamespace; - type = other1598.type; - __isset = other1598.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1606) { + colName = other1606.colName; + colNamespace = other1606.colNamespace; + type = other1606.type; + __isset = other1606.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1599) { - colName = other1599.colName; - colNamespace = other1599.colNamespace; - type = other1599.type; - __isset = other1599.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1607) { + colName = other1607.colName; + colNamespace = other1607.colNamespace; + type = other1607.type; + __isset = other1607.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -45224,14 +45270,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1600; - ::apache::thrift::protocol::TType _etype1603; - xfer += iprot->readListBegin(_etype1603, _size1600); - this->schemaVersions.resize(_size1600); - uint32_t _i1604; - for (_i1604 = 0; _i1604 < _size1600; ++_i1604) + uint32_t _size1608; + ::apache::thrift::protocol::TType _etype1611; + xfer += iprot->readListBegin(_etype1611, _size1608); + this->schemaVersions.resize(_size1608); + uint32_t _i1612; + for (_i1612 = 0; _i1612 < _size1608; ++_i1612) { - xfer += this->schemaVersions[_i1604].read(iprot); + xfer += this->schemaVersions[_i1612].read(iprot); } xfer += iprot->readListEnd(); } @@ -45260,10 +45306,10 @@ uint32_t FindSchemasByColsResp::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("schemaVersions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->schemaVersions.size())); - std::vector ::const_iterator _iter1605; - for (_iter1605 = this->schemaVersions.begin(); _iter1605 != this->schemaVersions.end(); ++_iter1605) + std::vector ::const_iterator _iter1613; + for (_iter1613 = this->schemaVersions.begin(); _iter1613 != this->schemaVersions.end(); ++_iter1613) { - xfer += (*_iter1605).write(oprot); + xfer += (*_iter1613).write(oprot); } xfer += oprot->writeListEnd(); } @@ -45280,13 +45326,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1606) { - schemaVersions = other1606.schemaVersions; - __isset = other1606.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1614) { + schemaVersions = other1614.schemaVersions; + __isset = other1614.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1607) { - schemaVersions = other1607.schemaVersions; - __isset = other1607.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1615) { + schemaVersions = other1615.schemaVersions; + __isset = other1615.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -45389,15 +45435,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1608) { - schemaVersion = other1608.schemaVersion; - serdeName = other1608.serdeName; - __isset = other1608.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1616) { + schemaVersion = other1616.schemaVersion; + serdeName = other1616.serdeName; + __isset = other1616.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1609) { - schemaVersion = other1609.schemaVersion; - serdeName = other1609.serdeName; - __isset = other1609.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1617) { + schemaVersion = other1617.schemaVersion; + serdeName = other1617.serdeName; + __isset = other1617.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -45458,9 +45504,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1610; - xfer += iprot->readI32(ecast1610); - this->state = static_cast(ecast1610); + int32_t ecast1618; + xfer += iprot->readI32(ecast1618); + this->state = static_cast(ecast1618); this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -45503,15 +45549,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1611) { - schemaVersion = other1611.schemaVersion; - state = other1611.state; - __isset = other1611.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1619) { + schemaVersion = other1619.schemaVersion; + state = other1619.state; + __isset = other1619.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1612) { - schemaVersion = other1612.schemaVersion; - state = other1612.state; - __isset = other1612.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1620) { + schemaVersion = other1620.schemaVersion; + state = other1620.state; + __isset = other1620.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -45598,13 +45644,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1613) { - serdeName = other1613.serdeName; - __isset = other1613.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1621) { + serdeName = other1621.serdeName; + __isset = other1621.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1614) { - serdeName = other1614.serdeName; - __isset = other1614.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1622) { + serdeName = other1622.serdeName; + __isset = other1622.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -45732,17 +45778,17 @@ void swap(RuntimeStat &a, RuntimeStat &b) { swap(a.__isset, b.__isset); } -RuntimeStat::RuntimeStat(const RuntimeStat& other1615) { - createTime = other1615.createTime; - weight = other1615.weight; - payload = other1615.payload; - __isset = other1615.__isset; +RuntimeStat::RuntimeStat(const RuntimeStat& other1623) { + createTime = other1623.createTime; + weight = other1623.weight; + payload = other1623.payload; + __isset = other1623.__isset; } -RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1616) { - createTime = other1616.createTime; - weight = other1616.weight; - payload = other1616.payload; - __isset = other1616.__isset; +RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1624) { + createTime = other1624.createTime; + weight = other1624.weight; + payload = other1624.payload; + __isset = other1624.__isset; return *this; } void RuntimeStat::printTo(std::ostream& out) const { @@ -45852,13 +45898,13 @@ void swap(GetRuntimeStatsRequest &a, GetRuntimeStatsRequest &b) { swap(a.maxCreateTime, b.maxCreateTime); } -GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1617) noexcept { - maxWeight = other1617.maxWeight; - maxCreateTime = other1617.maxCreateTime; +GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1625) noexcept { + maxWeight = other1625.maxWeight; + maxCreateTime = other1625.maxCreateTime; } -GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1618) noexcept { - maxWeight = other1618.maxWeight; - maxCreateTime = other1618.maxCreateTime; +GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1626) noexcept { + maxWeight = other1626.maxWeight; + maxCreateTime = other1626.maxCreateTime; return *this; } void GetRuntimeStatsRequest::printTo(std::ostream& out) const { @@ -45971,14 +46017,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1619; - ::apache::thrift::protocol::TType _etype1622; - xfer += iprot->readListBegin(_etype1622, _size1619); - this->primaryKeys.resize(_size1619); - uint32_t _i1623; - for (_i1623 = 0; _i1623 < _size1619; ++_i1623) + uint32_t _size1627; + ::apache::thrift::protocol::TType _etype1630; + xfer += iprot->readListBegin(_etype1630, _size1627); + this->primaryKeys.resize(_size1627); + uint32_t _i1631; + for (_i1631 = 0; _i1631 < _size1627; ++_i1631) { - xfer += this->primaryKeys[_i1623].read(iprot); + xfer += this->primaryKeys[_i1631].read(iprot); } xfer += iprot->readListEnd(); } @@ -45991,14 +46037,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1624; - ::apache::thrift::protocol::TType _etype1627; - xfer += iprot->readListBegin(_etype1627, _size1624); - this->foreignKeys.resize(_size1624); - uint32_t _i1628; - for (_i1628 = 0; _i1628 < _size1624; ++_i1628) + uint32_t _size1632; + ::apache::thrift::protocol::TType _etype1635; + xfer += iprot->readListBegin(_etype1635, _size1632); + this->foreignKeys.resize(_size1632); + uint32_t _i1636; + for (_i1636 = 0; _i1636 < _size1632; ++_i1636) { - xfer += this->foreignKeys[_i1628].read(iprot); + xfer += this->foreignKeys[_i1636].read(iprot); } xfer += iprot->readListEnd(); } @@ -46011,14 +46057,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1629; - ::apache::thrift::protocol::TType _etype1632; - xfer += iprot->readListBegin(_etype1632, _size1629); - this->uniqueConstraints.resize(_size1629); - uint32_t _i1633; - for (_i1633 = 0; _i1633 < _size1629; ++_i1633) + uint32_t _size1637; + ::apache::thrift::protocol::TType _etype1640; + xfer += iprot->readListBegin(_etype1640, _size1637); + this->uniqueConstraints.resize(_size1637); + uint32_t _i1641; + for (_i1641 = 0; _i1641 < _size1637; ++_i1641) { - xfer += this->uniqueConstraints[_i1633].read(iprot); + xfer += this->uniqueConstraints[_i1641].read(iprot); } xfer += iprot->readListEnd(); } @@ -46031,14 +46077,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1634; - ::apache::thrift::protocol::TType _etype1637; - xfer += iprot->readListBegin(_etype1637, _size1634); - this->notNullConstraints.resize(_size1634); - uint32_t _i1638; - for (_i1638 = 0; _i1638 < _size1634; ++_i1638) + uint32_t _size1642; + ::apache::thrift::protocol::TType _etype1645; + xfer += iprot->readListBegin(_etype1645, _size1642); + this->notNullConstraints.resize(_size1642); + uint32_t _i1646; + for (_i1646 = 0; _i1646 < _size1642; ++_i1646) { - xfer += this->notNullConstraints[_i1638].read(iprot); + xfer += this->notNullConstraints[_i1646].read(iprot); } xfer += iprot->readListEnd(); } @@ -46051,14 +46097,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1639; - ::apache::thrift::protocol::TType _etype1642; - xfer += iprot->readListBegin(_etype1642, _size1639); - this->defaultConstraints.resize(_size1639); - uint32_t _i1643; - for (_i1643 = 0; _i1643 < _size1639; ++_i1643) + uint32_t _size1647; + ::apache::thrift::protocol::TType _etype1650; + xfer += iprot->readListBegin(_etype1650, _size1647); + this->defaultConstraints.resize(_size1647); + uint32_t _i1651; + for (_i1651 = 0; _i1651 < _size1647; ++_i1651) { - xfer += this->defaultConstraints[_i1643].read(iprot); + xfer += this->defaultConstraints[_i1651].read(iprot); } xfer += iprot->readListEnd(); } @@ -46071,14 +46117,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size1644; - ::apache::thrift::protocol::TType _etype1647; - xfer += iprot->readListBegin(_etype1647, _size1644); - this->checkConstraints.resize(_size1644); - uint32_t _i1648; - for (_i1648 = 0; _i1648 < _size1644; ++_i1648) + uint32_t _size1652; + ::apache::thrift::protocol::TType _etype1655; + xfer += iprot->readListBegin(_etype1655, _size1652); + this->checkConstraints.resize(_size1652); + uint32_t _i1656; + for (_i1656 = 0; _i1656 < _size1652; ++_i1656) { - xfer += this->checkConstraints[_i1648].read(iprot); + xfer += this->checkConstraints[_i1656].read(iprot); } xfer += iprot->readListEnd(); } @@ -46091,14 +46137,14 @@ uint32_t CreateTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1649; - ::apache::thrift::protocol::TType _etype1652; - xfer += iprot->readListBegin(_etype1652, _size1649); - this->processorCapabilities.resize(_size1649); - uint32_t _i1653; - for (_i1653 = 0; _i1653 < _size1649; ++_i1653) + uint32_t _size1657; + ::apache::thrift::protocol::TType _etype1660; + xfer += iprot->readListBegin(_etype1660, _size1657); + this->processorCapabilities.resize(_size1657); + uint32_t _i1661; + for (_i1661 = 0; _i1661 < _size1657; ++_i1661) { - xfer += iprot->readString(this->processorCapabilities[_i1653]); + xfer += iprot->readString(this->processorCapabilities[_i1661]); } xfer += iprot->readListEnd(); } @@ -46147,10 +46193,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter1654; - for (_iter1654 = this->primaryKeys.begin(); _iter1654 != this->primaryKeys.end(); ++_iter1654) + std::vector ::const_iterator _iter1662; + for (_iter1662 = this->primaryKeys.begin(); _iter1662 != this->primaryKeys.end(); ++_iter1662) { - xfer += (*_iter1654).write(oprot); + xfer += (*_iter1662).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46160,10 +46206,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter1655; - for (_iter1655 = this->foreignKeys.begin(); _iter1655 != this->foreignKeys.end(); ++_iter1655) + std::vector ::const_iterator _iter1663; + for (_iter1663 = this->foreignKeys.begin(); _iter1663 != this->foreignKeys.end(); ++_iter1663) { - xfer += (*_iter1655).write(oprot); + xfer += (*_iter1663).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46173,10 +46219,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter1656; - for (_iter1656 = this->uniqueConstraints.begin(); _iter1656 != this->uniqueConstraints.end(); ++_iter1656) + std::vector ::const_iterator _iter1664; + for (_iter1664 = this->uniqueConstraints.begin(); _iter1664 != this->uniqueConstraints.end(); ++_iter1664) { - xfer += (*_iter1656).write(oprot); + xfer += (*_iter1664).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46186,10 +46232,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter1657; - for (_iter1657 = this->notNullConstraints.begin(); _iter1657 != this->notNullConstraints.end(); ++_iter1657) + std::vector ::const_iterator _iter1665; + for (_iter1665 = this->notNullConstraints.begin(); _iter1665 != this->notNullConstraints.end(); ++_iter1665) { - xfer += (*_iter1657).write(oprot); + xfer += (*_iter1665).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46199,10 +46245,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraints.size())); - std::vector ::const_iterator _iter1658; - for (_iter1658 = this->defaultConstraints.begin(); _iter1658 != this->defaultConstraints.end(); ++_iter1658) + std::vector ::const_iterator _iter1666; + for (_iter1666 = this->defaultConstraints.begin(); _iter1666 != this->defaultConstraints.end(); ++_iter1666) { - xfer += (*_iter1658).write(oprot); + xfer += (*_iter1666).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46212,10 +46258,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->checkConstraints.size())); - std::vector ::const_iterator _iter1659; - for (_iter1659 = this->checkConstraints.begin(); _iter1659 != this->checkConstraints.end(); ++_iter1659) + std::vector ::const_iterator _iter1667; + for (_iter1667 = this->checkConstraints.begin(); _iter1667 != this->checkConstraints.end(); ++_iter1667) { - xfer += (*_iter1659).write(oprot); + xfer += (*_iter1667).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46225,10 +46271,10 @@ uint32_t CreateTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1660; - for (_iter1660 = this->processorCapabilities.begin(); _iter1660 != this->processorCapabilities.end(); ++_iter1660) + std::vector ::const_iterator _iter1668; + for (_iter1668 = this->processorCapabilities.begin(); _iter1668 != this->processorCapabilities.end(); ++_iter1668) { - xfer += oprot->writeString((*_iter1660)); + xfer += oprot->writeString((*_iter1668)); } xfer += oprot->writeListEnd(); } @@ -46259,31 +46305,31 @@ void swap(CreateTableRequest &a, CreateTableRequest &b) { swap(a.__isset, b.__isset); } -CreateTableRequest::CreateTableRequest(const CreateTableRequest& other1661) { - table = other1661.table; - envContext = other1661.envContext; - primaryKeys = other1661.primaryKeys; - foreignKeys = other1661.foreignKeys; - uniqueConstraints = other1661.uniqueConstraints; - notNullConstraints = other1661.notNullConstraints; - defaultConstraints = other1661.defaultConstraints; - checkConstraints = other1661.checkConstraints; - processorCapabilities = other1661.processorCapabilities; - processorIdentifier = other1661.processorIdentifier; - __isset = other1661.__isset; -} -CreateTableRequest& CreateTableRequest::operator=(const CreateTableRequest& other1662) { - table = other1662.table; - envContext = other1662.envContext; - primaryKeys = other1662.primaryKeys; - foreignKeys = other1662.foreignKeys; - uniqueConstraints = other1662.uniqueConstraints; - notNullConstraints = other1662.notNullConstraints; - defaultConstraints = other1662.defaultConstraints; - checkConstraints = other1662.checkConstraints; - processorCapabilities = other1662.processorCapabilities; - processorIdentifier = other1662.processorIdentifier; - __isset = other1662.__isset; +CreateTableRequest::CreateTableRequest(const CreateTableRequest& other1669) { + table = other1669.table; + envContext = other1669.envContext; + primaryKeys = other1669.primaryKeys; + foreignKeys = other1669.foreignKeys; + uniqueConstraints = other1669.uniqueConstraints; + notNullConstraints = other1669.notNullConstraints; + defaultConstraints = other1669.defaultConstraints; + checkConstraints = other1669.checkConstraints; + processorCapabilities = other1669.processorCapabilities; + processorIdentifier = other1669.processorIdentifier; + __isset = other1669.__isset; +} +CreateTableRequest& CreateTableRequest::operator=(const CreateTableRequest& other1670) { + table = other1670.table; + envContext = other1670.envContext; + primaryKeys = other1670.primaryKeys; + foreignKeys = other1670.foreignKeys; + uniqueConstraints = other1670.uniqueConstraints; + notNullConstraints = other1670.notNullConstraints; + defaultConstraints = other1670.defaultConstraints; + checkConstraints = other1670.checkConstraints; + processorCapabilities = other1670.processorCapabilities; + processorIdentifier = other1670.processorIdentifier; + __isset = other1670.__isset; return *this; } void CreateTableRequest::printTo(std::ostream& out) const { @@ -46427,17 +46473,17 @@ uint32_t CreateDatabaseRequest::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size1663; - ::apache::thrift::protocol::TType _ktype1664; - ::apache::thrift::protocol::TType _vtype1665; - xfer += iprot->readMapBegin(_ktype1664, _vtype1665, _size1663); - uint32_t _i1667; - for (_i1667 = 0; _i1667 < _size1663; ++_i1667) + uint32_t _size1671; + ::apache::thrift::protocol::TType _ktype1672; + ::apache::thrift::protocol::TType _vtype1673; + xfer += iprot->readMapBegin(_ktype1672, _vtype1673, _size1671); + uint32_t _i1675; + for (_i1675 = 0; _i1675 < _size1671; ++_i1675) { - std::string _key1668; - xfer += iprot->readString(_key1668); - std::string& _val1669 = this->parameters[_key1668]; - xfer += iprot->readString(_val1669); + std::string _key1676; + xfer += iprot->readString(_key1676); + std::string& _val1677 = this->parameters[_key1676]; + xfer += iprot->readString(_val1677); } xfer += iprot->readMapEnd(); } @@ -46464,9 +46510,9 @@ uint32_t CreateDatabaseRequest::read(::apache::thrift::protocol::TProtocol* ipro break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1670; - xfer += iprot->readI32(ecast1670); - this->ownerType = static_cast(ecast1670); + int32_t ecast1678; + xfer += iprot->readI32(ecast1678); + this->ownerType = static_cast(ecast1678); this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -46498,9 +46544,9 @@ uint32_t CreateDatabaseRequest::read(::apache::thrift::protocol::TProtocol* ipro break; case 11: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1671; - xfer += iprot->readI32(ecast1671); - this->type = static_cast(ecast1671); + int32_t ecast1679; + xfer += iprot->readI32(ecast1679); + this->type = static_cast(ecast1679); this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -46559,11 +46605,11 @@ uint32_t CreateDatabaseRequest::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter1672; - for (_iter1672 = this->parameters.begin(); _iter1672 != this->parameters.end(); ++_iter1672) + std::map ::const_iterator _iter1680; + for (_iter1680 = this->parameters.begin(); _iter1680 != this->parameters.end(); ++_iter1680) { - xfer += oprot->writeString(_iter1672->first); - xfer += oprot->writeString(_iter1672->second); + xfer += oprot->writeString(_iter1680->first); + xfer += oprot->writeString(_iter1680->second); } xfer += oprot->writeMapEnd(); } @@ -46637,37 +46683,37 @@ void swap(CreateDatabaseRequest &a, CreateDatabaseRequest &b) { swap(a.__isset, b.__isset); } -CreateDatabaseRequest::CreateDatabaseRequest(const CreateDatabaseRequest& other1673) { - databaseName = other1673.databaseName; - description = other1673.description; - locationUri = other1673.locationUri; - parameters = other1673.parameters; - privileges = other1673.privileges; - ownerName = other1673.ownerName; - ownerType = other1673.ownerType; - catalogName = other1673.catalogName; - createTime = other1673.createTime; - managedLocationUri = other1673.managedLocationUri; - type = other1673.type; - dataConnectorName = other1673.dataConnectorName; - remote_dbname = other1673.remote_dbname; - __isset = other1673.__isset; -} -CreateDatabaseRequest& CreateDatabaseRequest::operator=(const CreateDatabaseRequest& other1674) { - databaseName = other1674.databaseName; - description = other1674.description; - locationUri = other1674.locationUri; - parameters = other1674.parameters; - privileges = other1674.privileges; - ownerName = other1674.ownerName; - ownerType = other1674.ownerType; - catalogName = other1674.catalogName; - createTime = other1674.createTime; - managedLocationUri = other1674.managedLocationUri; - type = other1674.type; - dataConnectorName = other1674.dataConnectorName; - remote_dbname = other1674.remote_dbname; - __isset = other1674.__isset; +CreateDatabaseRequest::CreateDatabaseRequest(const CreateDatabaseRequest& other1681) { + databaseName = other1681.databaseName; + description = other1681.description; + locationUri = other1681.locationUri; + parameters = other1681.parameters; + privileges = other1681.privileges; + ownerName = other1681.ownerName; + ownerType = other1681.ownerType; + catalogName = other1681.catalogName; + createTime = other1681.createTime; + managedLocationUri = other1681.managedLocationUri; + type = other1681.type; + dataConnectorName = other1681.dataConnectorName; + remote_dbname = other1681.remote_dbname; + __isset = other1681.__isset; +} +CreateDatabaseRequest& CreateDatabaseRequest::operator=(const CreateDatabaseRequest& other1682) { + databaseName = other1682.databaseName; + description = other1682.description; + locationUri = other1682.locationUri; + parameters = other1682.parameters; + privileges = other1682.privileges; + ownerName = other1682.ownerName; + ownerType = other1682.ownerType; + catalogName = other1682.catalogName; + createTime = other1682.createTime; + managedLocationUri = other1682.managedLocationUri; + type = other1682.type; + dataConnectorName = other1682.dataConnectorName; + remote_dbname = other1682.remote_dbname; + __isset = other1682.__isset; return *this; } void CreateDatabaseRequest::printTo(std::ostream& out) const { @@ -46767,11 +46813,11 @@ void swap(CreateDataConnectorRequest &a, CreateDataConnectorRequest &b) { swap(a.connector, b.connector); } -CreateDataConnectorRequest::CreateDataConnectorRequest(const CreateDataConnectorRequest& other1675) { - connector = other1675.connector; +CreateDataConnectorRequest::CreateDataConnectorRequest(const CreateDataConnectorRequest& other1683) { + connector = other1683.connector; } -CreateDataConnectorRequest& CreateDataConnectorRequest::operator=(const CreateDataConnectorRequest& other1676) { - connector = other1676.connector; +CreateDataConnectorRequest& CreateDataConnectorRequest::operator=(const CreateDataConnectorRequest& other1684) { + connector = other1684.connector; return *this; } void CreateDataConnectorRequest::printTo(std::ostream& out) const { @@ -46859,11 +46905,11 @@ void swap(GetDataConnectorRequest &a, GetDataConnectorRequest &b) { swap(a.connectorName, b.connectorName); } -GetDataConnectorRequest::GetDataConnectorRequest(const GetDataConnectorRequest& other1677) { - connectorName = other1677.connectorName; +GetDataConnectorRequest::GetDataConnectorRequest(const GetDataConnectorRequest& other1685) { + connectorName = other1685.connectorName; } -GetDataConnectorRequest& GetDataConnectorRequest::operator=(const GetDataConnectorRequest& other1678) { - connectorName = other1678.connectorName; +GetDataConnectorRequest& GetDataConnectorRequest::operator=(const GetDataConnectorRequest& other1686) { + connectorName = other1686.connectorName; return *this; } void GetDataConnectorRequest::printTo(std::ostream& out) const { @@ -46971,13 +47017,13 @@ void swap(AlterDataConnectorRequest &a, AlterDataConnectorRequest &b) { swap(a.newConnector, b.newConnector); } -AlterDataConnectorRequest::AlterDataConnectorRequest(const AlterDataConnectorRequest& other1679) { - connectorName = other1679.connectorName; - newConnector = other1679.newConnector; +AlterDataConnectorRequest::AlterDataConnectorRequest(const AlterDataConnectorRequest& other1687) { + connectorName = other1687.connectorName; + newConnector = other1687.newConnector; } -AlterDataConnectorRequest& AlterDataConnectorRequest::operator=(const AlterDataConnectorRequest& other1680) { - connectorName = other1680.connectorName; - newConnector = other1680.newConnector; +AlterDataConnectorRequest& AlterDataConnectorRequest::operator=(const AlterDataConnectorRequest& other1688) { + connectorName = other1688.connectorName; + newConnector = other1688.newConnector; return *this; } void AlterDataConnectorRequest::printTo(std::ostream& out) const { @@ -47105,17 +47151,17 @@ void swap(DropDataConnectorRequest &a, DropDataConnectorRequest &b) { swap(a.__isset, b.__isset); } -DropDataConnectorRequest::DropDataConnectorRequest(const DropDataConnectorRequest& other1681) { - connectorName = other1681.connectorName; - ifNotExists = other1681.ifNotExists; - checkReferences = other1681.checkReferences; - __isset = other1681.__isset; +DropDataConnectorRequest::DropDataConnectorRequest(const DropDataConnectorRequest& other1689) { + connectorName = other1689.connectorName; + ifNotExists = other1689.ifNotExists; + checkReferences = other1689.checkReferences; + __isset = other1689.__isset; } -DropDataConnectorRequest& DropDataConnectorRequest::operator=(const DropDataConnectorRequest& other1682) { - connectorName = other1682.connectorName; - ifNotExists = other1682.ifNotExists; - checkReferences = other1682.checkReferences; - __isset = other1682.__isset; +DropDataConnectorRequest& DropDataConnectorRequest::operator=(const DropDataConnectorRequest& other1690) { + connectorName = other1690.connectorName; + ifNotExists = other1690.ifNotExists; + checkReferences = other1690.checkReferences; + __isset = other1690.__isset; return *this; } void DropDataConnectorRequest::printTo(std::ostream& out) const { @@ -47205,11 +47251,11 @@ void swap(ScheduledQueryPollRequest &a, ScheduledQueryPollRequest &b) { swap(a.clusterNamespace, b.clusterNamespace); } -ScheduledQueryPollRequest::ScheduledQueryPollRequest(const ScheduledQueryPollRequest& other1683) { - clusterNamespace = other1683.clusterNamespace; +ScheduledQueryPollRequest::ScheduledQueryPollRequest(const ScheduledQueryPollRequest& other1691) { + clusterNamespace = other1691.clusterNamespace; } -ScheduledQueryPollRequest& ScheduledQueryPollRequest::operator=(const ScheduledQueryPollRequest& other1684) { - clusterNamespace = other1684.clusterNamespace; +ScheduledQueryPollRequest& ScheduledQueryPollRequest::operator=(const ScheduledQueryPollRequest& other1692) { + clusterNamespace = other1692.clusterNamespace; return *this; } void ScheduledQueryPollRequest::printTo(std::ostream& out) const { @@ -47317,13 +47363,13 @@ void swap(ScheduledQueryKey &a, ScheduledQueryKey &b) { swap(a.clusterNamespace, b.clusterNamespace); } -ScheduledQueryKey::ScheduledQueryKey(const ScheduledQueryKey& other1685) { - scheduleName = other1685.scheduleName; - clusterNamespace = other1685.clusterNamespace; +ScheduledQueryKey::ScheduledQueryKey(const ScheduledQueryKey& other1693) { + scheduleName = other1693.scheduleName; + clusterNamespace = other1693.clusterNamespace; } -ScheduledQueryKey& ScheduledQueryKey::operator=(const ScheduledQueryKey& other1686) { - scheduleName = other1686.scheduleName; - clusterNamespace = other1686.clusterNamespace; +ScheduledQueryKey& ScheduledQueryKey::operator=(const ScheduledQueryKey& other1694) { + scheduleName = other1694.scheduleName; + clusterNamespace = other1694.clusterNamespace; return *this; } void ScheduledQueryKey::printTo(std::ostream& out) const { @@ -47469,19 +47515,19 @@ void swap(ScheduledQueryPollResponse &a, ScheduledQueryPollResponse &b) { swap(a.__isset, b.__isset); } -ScheduledQueryPollResponse::ScheduledQueryPollResponse(const ScheduledQueryPollResponse& other1687) { - scheduleKey = other1687.scheduleKey; - executionId = other1687.executionId; - query = other1687.query; - user = other1687.user; - __isset = other1687.__isset; +ScheduledQueryPollResponse::ScheduledQueryPollResponse(const ScheduledQueryPollResponse& other1695) { + scheduleKey = other1695.scheduleKey; + executionId = other1695.executionId; + query = other1695.query; + user = other1695.user; + __isset = other1695.__isset; } -ScheduledQueryPollResponse& ScheduledQueryPollResponse::operator=(const ScheduledQueryPollResponse& other1688) { - scheduleKey = other1688.scheduleKey; - executionId = other1688.executionId; - query = other1688.query; - user = other1688.user; - __isset = other1688.__isset; +ScheduledQueryPollResponse& ScheduledQueryPollResponse::operator=(const ScheduledQueryPollResponse& other1696) { + scheduleKey = other1696.scheduleKey; + executionId = other1696.executionId; + query = other1696.query; + user = other1696.user; + __isset = other1696.__isset; return *this; } void ScheduledQueryPollResponse::printTo(std::ostream& out) const { @@ -47668,23 +47714,23 @@ void swap(ScheduledQuery &a, ScheduledQuery &b) { swap(a.__isset, b.__isset); } -ScheduledQuery::ScheduledQuery(const ScheduledQuery& other1689) { - scheduleKey = other1689.scheduleKey; - enabled = other1689.enabled; - schedule = other1689.schedule; - user = other1689.user; - query = other1689.query; - nextExecution = other1689.nextExecution; - __isset = other1689.__isset; +ScheduledQuery::ScheduledQuery(const ScheduledQuery& other1697) { + scheduleKey = other1697.scheduleKey; + enabled = other1697.enabled; + schedule = other1697.schedule; + user = other1697.user; + query = other1697.query; + nextExecution = other1697.nextExecution; + __isset = other1697.__isset; } -ScheduledQuery& ScheduledQuery::operator=(const ScheduledQuery& other1690) { - scheduleKey = other1690.scheduleKey; - enabled = other1690.enabled; - schedule = other1690.schedule; - user = other1690.user; - query = other1690.query; - nextExecution = other1690.nextExecution; - __isset = other1690.__isset; +ScheduledQuery& ScheduledQuery::operator=(const ScheduledQuery& other1698) { + scheduleKey = other1698.scheduleKey; + enabled = other1698.enabled; + schedule = other1698.schedule; + user = other1698.user; + query = other1698.query; + nextExecution = other1698.nextExecution; + __isset = other1698.__isset; return *this; } void ScheduledQuery::printTo(std::ostream& out) const { @@ -47743,9 +47789,9 @@ uint32_t ScheduledQueryMaintenanceRequest::read(::apache::thrift::protocol::TPro { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1691; - xfer += iprot->readI32(ecast1691); - this->type = static_cast(ecast1691); + int32_t ecast1699; + xfer += iprot->readI32(ecast1699); + this->type = static_cast(ecast1699); isset_type = true; } else { xfer += iprot->skip(ftype); @@ -47799,13 +47845,13 @@ void swap(ScheduledQueryMaintenanceRequest &a, ScheduledQueryMaintenanceRequest swap(a.scheduledQuery, b.scheduledQuery); } -ScheduledQueryMaintenanceRequest::ScheduledQueryMaintenanceRequest(const ScheduledQueryMaintenanceRequest& other1692) { - type = other1692.type; - scheduledQuery = other1692.scheduledQuery; +ScheduledQueryMaintenanceRequest::ScheduledQueryMaintenanceRequest(const ScheduledQueryMaintenanceRequest& other1700) { + type = other1700.type; + scheduledQuery = other1700.scheduledQuery; } -ScheduledQueryMaintenanceRequest& ScheduledQueryMaintenanceRequest::operator=(const ScheduledQueryMaintenanceRequest& other1693) { - type = other1693.type; - scheduledQuery = other1693.scheduledQuery; +ScheduledQueryMaintenanceRequest& ScheduledQueryMaintenanceRequest::operator=(const ScheduledQueryMaintenanceRequest& other1701) { + type = other1701.type; + scheduledQuery = other1701.scheduledQuery; return *this; } void ScheduledQueryMaintenanceRequest::printTo(std::ostream& out) const { @@ -47878,9 +47924,9 @@ uint32_t ScheduledQueryProgressInfo::read(::apache::thrift::protocol::TProtocol* break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1694; - xfer += iprot->readI32(ecast1694); - this->state = static_cast(ecast1694); + int32_t ecast1702; + xfer += iprot->readI32(ecast1702); + this->state = static_cast(ecast1702); isset_state = true; } else { xfer += iprot->skip(ftype); @@ -47956,19 +48002,19 @@ void swap(ScheduledQueryProgressInfo &a, ScheduledQueryProgressInfo &b) { swap(a.__isset, b.__isset); } -ScheduledQueryProgressInfo::ScheduledQueryProgressInfo(const ScheduledQueryProgressInfo& other1695) { - scheduledExecutionId = other1695.scheduledExecutionId; - state = other1695.state; - executorQueryId = other1695.executorQueryId; - errorMessage = other1695.errorMessage; - __isset = other1695.__isset; +ScheduledQueryProgressInfo::ScheduledQueryProgressInfo(const ScheduledQueryProgressInfo& other1703) { + scheduledExecutionId = other1703.scheduledExecutionId; + state = other1703.state; + executorQueryId = other1703.executorQueryId; + errorMessage = other1703.errorMessage; + __isset = other1703.__isset; } -ScheduledQueryProgressInfo& ScheduledQueryProgressInfo::operator=(const ScheduledQueryProgressInfo& other1696) { - scheduledExecutionId = other1696.scheduledExecutionId; - state = other1696.state; - executorQueryId = other1696.executorQueryId; - errorMessage = other1696.errorMessage; - __isset = other1696.__isset; +ScheduledQueryProgressInfo& ScheduledQueryProgressInfo::operator=(const ScheduledQueryProgressInfo& other1704) { + scheduledExecutionId = other1704.scheduledExecutionId; + state = other1704.state; + executorQueryId = other1704.executorQueryId; + errorMessage = other1704.errorMessage; + __isset = other1704.__isset; return *this; } void ScheduledQueryProgressInfo::printTo(std::ostream& out) const { @@ -48086,14 +48132,14 @@ uint32_t AlterPartitionsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size1697; - ::apache::thrift::protocol::TType _etype1700; - xfer += iprot->readListBegin(_etype1700, _size1697); - this->partitions.resize(_size1697); - uint32_t _i1701; - for (_i1701 = 0; _i1701 < _size1697; ++_i1701) + uint32_t _size1705; + ::apache::thrift::protocol::TType _etype1708; + xfer += iprot->readListBegin(_etype1708, _size1705); + this->partitions.resize(_size1705); + uint32_t _i1709; + for (_i1709 = 0; _i1709 < _size1705; ++_i1709) { - xfer += this->partitions[_i1701].read(iprot); + xfer += this->partitions[_i1709].read(iprot); } xfer += iprot->readListEnd(); } @@ -48138,14 +48184,14 @@ uint32_t AlterPartitionsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionColSchema.clear(); - uint32_t _size1702; - ::apache::thrift::protocol::TType _etype1705; - xfer += iprot->readListBegin(_etype1705, _size1702); - this->partitionColSchema.resize(_size1702); - uint32_t _i1706; - for (_i1706 = 0; _i1706 < _size1702; ++_i1706) + uint32_t _size1710; + ::apache::thrift::protocol::TType _etype1713; + xfer += iprot->readListBegin(_etype1713, _size1710); + this->partitionColSchema.resize(_size1710); + uint32_t _i1714; + for (_i1714 = 0; _i1714 < _size1710; ++_i1714) { - xfer += this->partitionColSchema[_i1706].read(iprot); + xfer += this->partitionColSchema[_i1714].read(iprot); } xfer += iprot->readListEnd(); } @@ -48193,10 +48239,10 @@ uint32_t AlterPartitionsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter1707; - for (_iter1707 = this->partitions.begin(); _iter1707 != this->partitions.end(); ++_iter1707) + std::vector ::const_iterator _iter1715; + for (_iter1715 = this->partitions.begin(); _iter1715 != this->partitions.end(); ++_iter1715) { - xfer += (*_iter1707).write(oprot); + xfer += (*_iter1715).write(oprot); } xfer += oprot->writeListEnd(); } @@ -48226,10 +48272,10 @@ uint32_t AlterPartitionsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitionColSchema", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionColSchema.size())); - std::vector ::const_iterator _iter1708; - for (_iter1708 = this->partitionColSchema.begin(); _iter1708 != this->partitionColSchema.end(); ++_iter1708) + std::vector ::const_iterator _iter1716; + for (_iter1716 = this->partitionColSchema.begin(); _iter1716 != this->partitionColSchema.end(); ++_iter1716) { - xfer += (*_iter1708).write(oprot); + xfer += (*_iter1716).write(oprot); } xfer += oprot->writeListEnd(); } @@ -48254,29 +48300,29 @@ void swap(AlterPartitionsRequest &a, AlterPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AlterPartitionsRequest::AlterPartitionsRequest(const AlterPartitionsRequest& other1709) { - catName = other1709.catName; - dbName = other1709.dbName; - tableName = other1709.tableName; - partitions = other1709.partitions; - environmentContext = other1709.environmentContext; - writeId = other1709.writeId; - validWriteIdList = other1709.validWriteIdList; - skipColumnSchemaForPartition = other1709.skipColumnSchemaForPartition; - partitionColSchema = other1709.partitionColSchema; - __isset = other1709.__isset; -} -AlterPartitionsRequest& AlterPartitionsRequest::operator=(const AlterPartitionsRequest& other1710) { - catName = other1710.catName; - dbName = other1710.dbName; - tableName = other1710.tableName; - partitions = other1710.partitions; - environmentContext = other1710.environmentContext; - writeId = other1710.writeId; - validWriteIdList = other1710.validWriteIdList; - skipColumnSchemaForPartition = other1710.skipColumnSchemaForPartition; - partitionColSchema = other1710.partitionColSchema; - __isset = other1710.__isset; +AlterPartitionsRequest::AlterPartitionsRequest(const AlterPartitionsRequest& other1717) { + catName = other1717.catName; + dbName = other1717.dbName; + tableName = other1717.tableName; + partitions = other1717.partitions; + environmentContext = other1717.environmentContext; + writeId = other1717.writeId; + validWriteIdList = other1717.validWriteIdList; + skipColumnSchemaForPartition = other1717.skipColumnSchemaForPartition; + partitionColSchema = other1717.partitionColSchema; + __isset = other1717.__isset; +} +AlterPartitionsRequest& AlterPartitionsRequest::operator=(const AlterPartitionsRequest& other1718) { + catName = other1718.catName; + dbName = other1718.dbName; + tableName = other1718.tableName; + partitions = other1718.partitions; + environmentContext = other1718.environmentContext; + writeId = other1718.writeId; + validWriteIdList = other1718.validWriteIdList; + skipColumnSchemaForPartition = other1718.skipColumnSchemaForPartition; + partitionColSchema = other1718.partitionColSchema; + __isset = other1718.__isset; return *this; } void AlterPartitionsRequest::printTo(std::ostream& out) const { @@ -48392,14 +48438,14 @@ uint32_t AppendPartitionsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partVals.clear(); - uint32_t _size1711; - ::apache::thrift::protocol::TType _etype1714; - xfer += iprot->readListBegin(_etype1714, _size1711); - this->partVals.resize(_size1711); - uint32_t _i1715; - for (_i1715 = 0; _i1715 < _size1711; ++_i1715) + uint32_t _size1719; + ::apache::thrift::protocol::TType _etype1722; + xfer += iprot->readListBegin(_etype1722, _size1719); + this->partVals.resize(_size1719); + uint32_t _i1723; + for (_i1723 = 0; _i1723 < _size1719; ++_i1723) { - xfer += iprot->readString(this->partVals[_i1715]); + xfer += iprot->readString(this->partVals[_i1723]); } xfer += iprot->readListEnd(); } @@ -48459,10 +48505,10 @@ uint32_t AppendPartitionsRequest::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("partVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partVals.size())); - std::vector ::const_iterator _iter1716; - for (_iter1716 = this->partVals.begin(); _iter1716 != this->partVals.end(); ++_iter1716) + std::vector ::const_iterator _iter1724; + for (_iter1724 = this->partVals.begin(); _iter1724 != this->partVals.end(); ++_iter1724) { - xfer += oprot->writeString((*_iter1716)); + xfer += oprot->writeString((*_iter1724)); } xfer += oprot->writeListEnd(); } @@ -48489,23 +48535,23 @@ void swap(AppendPartitionsRequest &a, AppendPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AppendPartitionsRequest::AppendPartitionsRequest(const AppendPartitionsRequest& other1717) { - catalogName = other1717.catalogName; - dbName = other1717.dbName; - tableName = other1717.tableName; - name = other1717.name; - partVals = other1717.partVals; - environmentContext = other1717.environmentContext; - __isset = other1717.__isset; +AppendPartitionsRequest::AppendPartitionsRequest(const AppendPartitionsRequest& other1725) { + catalogName = other1725.catalogName; + dbName = other1725.dbName; + tableName = other1725.tableName; + name = other1725.name; + partVals = other1725.partVals; + environmentContext = other1725.environmentContext; + __isset = other1725.__isset; } -AppendPartitionsRequest& AppendPartitionsRequest::operator=(const AppendPartitionsRequest& other1718) { - catalogName = other1718.catalogName; - dbName = other1718.dbName; - tableName = other1718.tableName; - name = other1718.name; - partVals = other1718.partVals; - environmentContext = other1718.environmentContext; - __isset = other1718.__isset; +AppendPartitionsRequest& AppendPartitionsRequest::operator=(const AppendPartitionsRequest& other1726) { + catalogName = other1726.catalogName; + dbName = other1726.dbName; + tableName = other1726.tableName; + name = other1726.name; + partVals = other1726.partVals; + environmentContext = other1726.environmentContext; + __isset = other1726.__isset; return *this; } void AppendPartitionsRequest::printTo(std::ostream& out) const { @@ -48575,11 +48621,11 @@ void swap(AlterPartitionsResponse &a, AlterPartitionsResponse &b) { (void) b; } -AlterPartitionsResponse::AlterPartitionsResponse(const AlterPartitionsResponse& other1719) noexcept { - (void) other1719; +AlterPartitionsResponse::AlterPartitionsResponse(const AlterPartitionsResponse& other1727) noexcept { + (void) other1727; } -AlterPartitionsResponse& AlterPartitionsResponse::operator=(const AlterPartitionsResponse& other1720) noexcept { - (void) other1720; +AlterPartitionsResponse& AlterPartitionsResponse::operator=(const AlterPartitionsResponse& other1728) noexcept { + (void) other1728; return *this; } void AlterPartitionsResponse::printTo(std::ostream& out) const { @@ -48688,14 +48734,14 @@ uint32_t RenamePartitionRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partVals.clear(); - uint32_t _size1721; - ::apache::thrift::protocol::TType _etype1724; - xfer += iprot->readListBegin(_etype1724, _size1721); - this->partVals.resize(_size1721); - uint32_t _i1725; - for (_i1725 = 0; _i1725 < _size1721; ++_i1725) + uint32_t _size1729; + ::apache::thrift::protocol::TType _etype1732; + xfer += iprot->readListBegin(_etype1732, _size1729); + this->partVals.resize(_size1729); + uint32_t _i1733; + for (_i1733 = 0; _i1733 < _size1729; ++_i1733) { - xfer += iprot->readString(this->partVals[_i1725]); + xfer += iprot->readString(this->partVals[_i1733]); } xfer += iprot->readListEnd(); } @@ -48777,10 +48823,10 @@ uint32_t RenamePartitionRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partVals", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partVals.size())); - std::vector ::const_iterator _iter1726; - for (_iter1726 = this->partVals.begin(); _iter1726 != this->partVals.end(); ++_iter1726) + std::vector ::const_iterator _iter1734; + for (_iter1734 = this->partVals.begin(); _iter1734 != this->partVals.end(); ++_iter1734) { - xfer += oprot->writeString((*_iter1726)); + xfer += oprot->writeString((*_iter1734)); } xfer += oprot->writeListEnd(); } @@ -48823,27 +48869,27 @@ void swap(RenamePartitionRequest &a, RenamePartitionRequest &b) { swap(a.__isset, b.__isset); } -RenamePartitionRequest::RenamePartitionRequest(const RenamePartitionRequest& other1727) { - catName = other1727.catName; - dbName = other1727.dbName; - tableName = other1727.tableName; - partVals = other1727.partVals; - newPart = other1727.newPart; - validWriteIdList = other1727.validWriteIdList; - txnId = other1727.txnId; - clonePart = other1727.clonePart; - __isset = other1727.__isset; -} -RenamePartitionRequest& RenamePartitionRequest::operator=(const RenamePartitionRequest& other1728) { - catName = other1728.catName; - dbName = other1728.dbName; - tableName = other1728.tableName; - partVals = other1728.partVals; - newPart = other1728.newPart; - validWriteIdList = other1728.validWriteIdList; - txnId = other1728.txnId; - clonePart = other1728.clonePart; - __isset = other1728.__isset; +RenamePartitionRequest::RenamePartitionRequest(const RenamePartitionRequest& other1735) { + catName = other1735.catName; + dbName = other1735.dbName; + tableName = other1735.tableName; + partVals = other1735.partVals; + newPart = other1735.newPart; + validWriteIdList = other1735.validWriteIdList; + txnId = other1735.txnId; + clonePart = other1735.clonePart; + __isset = other1735.__isset; +} +RenamePartitionRequest& RenamePartitionRequest::operator=(const RenamePartitionRequest& other1736) { + catName = other1736.catName; + dbName = other1736.dbName; + tableName = other1736.tableName; + partVals = other1736.partVals; + newPart = other1736.newPart; + validWriteIdList = other1736.validWriteIdList; + txnId = other1736.txnId; + clonePart = other1736.clonePart; + __isset = other1736.__isset; return *this; } void RenamePartitionRequest::printTo(std::ostream& out) const { @@ -48915,11 +48961,11 @@ void swap(RenamePartitionResponse &a, RenamePartitionResponse &b) { (void) b; } -RenamePartitionResponse::RenamePartitionResponse(const RenamePartitionResponse& other1729) noexcept { - (void) other1729; +RenamePartitionResponse::RenamePartitionResponse(const RenamePartitionResponse& other1737) noexcept { + (void) other1737; } -RenamePartitionResponse& RenamePartitionResponse::operator=(const RenamePartitionResponse& other1730) noexcept { - (void) other1730; +RenamePartitionResponse& RenamePartitionResponse::operator=(const RenamePartitionResponse& other1738) noexcept { + (void) other1738; return *this; } void RenamePartitionResponse::printTo(std::ostream& out) const { @@ -49075,14 +49121,14 @@ uint32_t AlterTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1731; - ::apache::thrift::protocol::TType _etype1734; - xfer += iprot->readListBegin(_etype1734, _size1731); - this->processorCapabilities.resize(_size1731); - uint32_t _i1735; - for (_i1735 = 0; _i1735 < _size1731; ++_i1735) + uint32_t _size1739; + ::apache::thrift::protocol::TType _etype1742; + xfer += iprot->readListBegin(_etype1742, _size1739); + this->processorCapabilities.resize(_size1739); + uint32_t _i1743; + for (_i1743 = 0; _i1743 < _size1739; ++_i1743) { - xfer += iprot->readString(this->processorCapabilities[_i1735]); + xfer += iprot->readString(this->processorCapabilities[_i1743]); } xfer += iprot->readListEnd(); } @@ -49174,10 +49220,10 @@ uint32_t AlterTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1736; - for (_iter1736 = this->processorCapabilities.begin(); _iter1736 != this->processorCapabilities.end(); ++_iter1736) + std::vector ::const_iterator _iter1744; + for (_iter1744 = this->processorCapabilities.begin(); _iter1744 != this->processorCapabilities.end(); ++_iter1744) { - xfer += oprot->writeString((*_iter1736)); + xfer += oprot->writeString((*_iter1744)); } xfer += oprot->writeListEnd(); } @@ -49219,33 +49265,33 @@ void swap(AlterTableRequest &a, AlterTableRequest &b) { swap(a.__isset, b.__isset); } -AlterTableRequest::AlterTableRequest(const AlterTableRequest& other1737) { - catName = other1737.catName; - dbName = other1737.dbName; - tableName = other1737.tableName; - table = other1737.table; - environmentContext = other1737.environmentContext; - writeId = other1737.writeId; - validWriteIdList = other1737.validWriteIdList; - processorCapabilities = other1737.processorCapabilities; - processorIdentifier = other1737.processorIdentifier; - expectedParameterKey = other1737.expectedParameterKey; - expectedParameterValue = other1737.expectedParameterValue; - __isset = other1737.__isset; -} -AlterTableRequest& AlterTableRequest::operator=(const AlterTableRequest& other1738) { - catName = other1738.catName; - dbName = other1738.dbName; - tableName = other1738.tableName; - table = other1738.table; - environmentContext = other1738.environmentContext; - writeId = other1738.writeId; - validWriteIdList = other1738.validWriteIdList; - processorCapabilities = other1738.processorCapabilities; - processorIdentifier = other1738.processorIdentifier; - expectedParameterKey = other1738.expectedParameterKey; - expectedParameterValue = other1738.expectedParameterValue; - __isset = other1738.__isset; +AlterTableRequest::AlterTableRequest(const AlterTableRequest& other1745) { + catName = other1745.catName; + dbName = other1745.dbName; + tableName = other1745.tableName; + table = other1745.table; + environmentContext = other1745.environmentContext; + writeId = other1745.writeId; + validWriteIdList = other1745.validWriteIdList; + processorCapabilities = other1745.processorCapabilities; + processorIdentifier = other1745.processorIdentifier; + expectedParameterKey = other1745.expectedParameterKey; + expectedParameterValue = other1745.expectedParameterValue; + __isset = other1745.__isset; +} +AlterTableRequest& AlterTableRequest::operator=(const AlterTableRequest& other1746) { + catName = other1746.catName; + dbName = other1746.dbName; + tableName = other1746.tableName; + table = other1746.table; + environmentContext = other1746.environmentContext; + writeId = other1746.writeId; + validWriteIdList = other1746.validWriteIdList; + processorCapabilities = other1746.processorCapabilities; + processorIdentifier = other1746.processorIdentifier; + expectedParameterKey = other1746.expectedParameterKey; + expectedParameterValue = other1746.expectedParameterValue; + __isset = other1746.__isset; return *this; } void AlterTableRequest::printTo(std::ostream& out) const { @@ -49320,11 +49366,11 @@ void swap(AlterTableResponse &a, AlterTableResponse &b) { (void) b; } -AlterTableResponse::AlterTableResponse(const AlterTableResponse& other1739) noexcept { - (void) other1739; +AlterTableResponse::AlterTableResponse(const AlterTableResponse& other1747) noexcept { + (void) other1747; } -AlterTableResponse& AlterTableResponse::operator=(const AlterTableResponse& other1740) noexcept { - (void) other1740; +AlterTableResponse& AlterTableResponse::operator=(const AlterTableResponse& other1748) noexcept { + (void) other1748; return *this; } void AlterTableResponse::printTo(std::ostream& out) const { @@ -49377,9 +49423,9 @@ uint32_t GetPartitionsFilterSpec::read(::apache::thrift::protocol::TProtocol* ip { case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1741; - xfer += iprot->readI32(ecast1741); - this->filterMode = static_cast(ecast1741); + int32_t ecast1749; + xfer += iprot->readI32(ecast1749); + this->filterMode = static_cast(ecast1749); this->__isset.filterMode = true; } else { xfer += iprot->skip(ftype); @@ -49389,14 +49435,14 @@ uint32_t GetPartitionsFilterSpec::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filters.clear(); - uint32_t _size1742; - ::apache::thrift::protocol::TType _etype1745; - xfer += iprot->readListBegin(_etype1745, _size1742); - this->filters.resize(_size1742); - uint32_t _i1746; - for (_i1746 = 0; _i1746 < _size1742; ++_i1746) + uint32_t _size1750; + ::apache::thrift::protocol::TType _etype1753; + xfer += iprot->readListBegin(_etype1753, _size1750); + this->filters.resize(_size1750); + uint32_t _i1754; + for (_i1754 = 0; _i1754 < _size1750; ++_i1754) { - xfer += iprot->readString(this->filters[_i1746]); + xfer += iprot->readString(this->filters[_i1754]); } xfer += iprot->readListEnd(); } @@ -49431,10 +49477,10 @@ uint32_t GetPartitionsFilterSpec::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("filters", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filters.size())); - std::vector ::const_iterator _iter1747; - for (_iter1747 = this->filters.begin(); _iter1747 != this->filters.end(); ++_iter1747) + std::vector ::const_iterator _iter1755; + for (_iter1755 = this->filters.begin(); _iter1755 != this->filters.end(); ++_iter1755) { - xfer += oprot->writeString((*_iter1747)); + xfer += oprot->writeString((*_iter1755)); } xfer += oprot->writeListEnd(); } @@ -49452,15 +49498,15 @@ void swap(GetPartitionsFilterSpec &a, GetPartitionsFilterSpec &b) { swap(a.__isset, b.__isset); } -GetPartitionsFilterSpec::GetPartitionsFilterSpec(const GetPartitionsFilterSpec& other1748) { - filterMode = other1748.filterMode; - filters = other1748.filters; - __isset = other1748.__isset; +GetPartitionsFilterSpec::GetPartitionsFilterSpec(const GetPartitionsFilterSpec& other1756) { + filterMode = other1756.filterMode; + filters = other1756.filters; + __isset = other1756.__isset; } -GetPartitionsFilterSpec& GetPartitionsFilterSpec::operator=(const GetPartitionsFilterSpec& other1749) { - filterMode = other1749.filterMode; - filters = other1749.filters; - __isset = other1749.__isset; +GetPartitionsFilterSpec& GetPartitionsFilterSpec::operator=(const GetPartitionsFilterSpec& other1757) { + filterMode = other1757.filterMode; + filters = other1757.filters; + __isset = other1757.__isset; return *this; } void GetPartitionsFilterSpec::printTo(std::ostream& out) const { @@ -49511,14 +49557,14 @@ uint32_t GetPartitionsResponse::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionSpec.clear(); - uint32_t _size1750; - ::apache::thrift::protocol::TType _etype1753; - xfer += iprot->readListBegin(_etype1753, _size1750); - this->partitionSpec.resize(_size1750); - uint32_t _i1754; - for (_i1754 = 0; _i1754 < _size1750; ++_i1754) + uint32_t _size1758; + ::apache::thrift::protocol::TType _etype1761; + xfer += iprot->readListBegin(_etype1761, _size1758); + this->partitionSpec.resize(_size1758); + uint32_t _i1762; + for (_i1762 = 0; _i1762 < _size1758; ++_i1762) { - xfer += this->partitionSpec[_i1754].read(iprot); + xfer += this->partitionSpec[_i1762].read(iprot); } xfer += iprot->readListEnd(); } @@ -49547,10 +49593,10 @@ uint32_t GetPartitionsResponse::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("partitionSpec", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionSpec.size())); - std::vector ::const_iterator _iter1755; - for (_iter1755 = this->partitionSpec.begin(); _iter1755 != this->partitionSpec.end(); ++_iter1755) + std::vector ::const_iterator _iter1763; + for (_iter1763 = this->partitionSpec.begin(); _iter1763 != this->partitionSpec.end(); ++_iter1763) { - xfer += (*_iter1755).write(oprot); + xfer += (*_iter1763).write(oprot); } xfer += oprot->writeListEnd(); } @@ -49567,13 +49613,13 @@ void swap(GetPartitionsResponse &a, GetPartitionsResponse &b) { swap(a.__isset, b.__isset); } -GetPartitionsResponse::GetPartitionsResponse(const GetPartitionsResponse& other1756) { - partitionSpec = other1756.partitionSpec; - __isset = other1756.__isset; +GetPartitionsResponse::GetPartitionsResponse(const GetPartitionsResponse& other1764) { + partitionSpec = other1764.partitionSpec; + __isset = other1764.__isset; } -GetPartitionsResponse& GetPartitionsResponse::operator=(const GetPartitionsResponse& other1757) { - partitionSpec = other1757.partitionSpec; - __isset = other1757.__isset; +GetPartitionsResponse& GetPartitionsResponse::operator=(const GetPartitionsResponse& other1765) { + partitionSpec = other1765.partitionSpec; + __isset = other1765.__isset; return *this; } void GetPartitionsResponse::printTo(std::ostream& out) const { @@ -49710,14 +49756,14 @@ uint32_t GetPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->groupNames.clear(); - uint32_t _size1758; - ::apache::thrift::protocol::TType _etype1761; - xfer += iprot->readListBegin(_etype1761, _size1758); - this->groupNames.resize(_size1758); - uint32_t _i1762; - for (_i1762 = 0; _i1762 < _size1758; ++_i1762) + uint32_t _size1766; + ::apache::thrift::protocol::TType _etype1769; + xfer += iprot->readListBegin(_etype1769, _size1766); + this->groupNames.resize(_size1766); + uint32_t _i1770; + for (_i1770 = 0; _i1770 < _size1766; ++_i1770) { - xfer += iprot->readString(this->groupNames[_i1762]); + xfer += iprot->readString(this->groupNames[_i1770]); } xfer += iprot->readListEnd(); } @@ -49746,14 +49792,14 @@ uint32_t GetPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->processorCapabilities.clear(); - uint32_t _size1763; - ::apache::thrift::protocol::TType _etype1766; - xfer += iprot->readListBegin(_etype1766, _size1763); - this->processorCapabilities.resize(_size1763); - uint32_t _i1767; - for (_i1767 = 0; _i1767 < _size1763; ++_i1767) + uint32_t _size1771; + ::apache::thrift::protocol::TType _etype1774; + xfer += iprot->readListBegin(_etype1774, _size1771); + this->processorCapabilities.resize(_size1771); + uint32_t _i1775; + for (_i1775 = 0; _i1775 < _size1771; ++_i1775) { - xfer += iprot->readString(this->processorCapabilities[_i1767]); + xfer += iprot->readString(this->processorCapabilities[_i1775]); } xfer += iprot->readListEnd(); } @@ -49822,10 +49868,10 @@ uint32_t GetPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("groupNames", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->groupNames.size())); - std::vector ::const_iterator _iter1768; - for (_iter1768 = this->groupNames.begin(); _iter1768 != this->groupNames.end(); ++_iter1768) + std::vector ::const_iterator _iter1776; + for (_iter1776 = this->groupNames.begin(); _iter1776 != this->groupNames.end(); ++_iter1776) { - xfer += oprot->writeString((*_iter1768)); + xfer += oprot->writeString((*_iter1776)); } xfer += oprot->writeListEnd(); } @@ -49843,10 +49889,10 @@ uint32_t GetPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("processorCapabilities", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->processorCapabilities.size())); - std::vector ::const_iterator _iter1769; - for (_iter1769 = this->processorCapabilities.begin(); _iter1769 != this->processorCapabilities.end(); ++_iter1769) + std::vector ::const_iterator _iter1777; + for (_iter1777 = this->processorCapabilities.begin(); _iter1777 != this->processorCapabilities.end(); ++_iter1777) { - xfer += oprot->writeString((*_iter1769)); + xfer += oprot->writeString((*_iter1777)); } xfer += oprot->writeListEnd(); } @@ -49883,33 +49929,33 @@ void swap(GetPartitionsRequest &a, GetPartitionsRequest &b) { swap(a.__isset, b.__isset); } -GetPartitionsRequest::GetPartitionsRequest(const GetPartitionsRequest& other1770) { - catName = other1770.catName; - dbName = other1770.dbName; - tblName = other1770.tblName; - withAuth = other1770.withAuth; - user = other1770.user; - groupNames = other1770.groupNames; - projectionSpec = other1770.projectionSpec; - filterSpec = other1770.filterSpec; - processorCapabilities = other1770.processorCapabilities; - processorIdentifier = other1770.processorIdentifier; - validWriteIdList = other1770.validWriteIdList; - __isset = other1770.__isset; -} -GetPartitionsRequest& GetPartitionsRequest::operator=(const GetPartitionsRequest& other1771) { - catName = other1771.catName; - dbName = other1771.dbName; - tblName = other1771.tblName; - withAuth = other1771.withAuth; - user = other1771.user; - groupNames = other1771.groupNames; - projectionSpec = other1771.projectionSpec; - filterSpec = other1771.filterSpec; - processorCapabilities = other1771.processorCapabilities; - processorIdentifier = other1771.processorIdentifier; - validWriteIdList = other1771.validWriteIdList; - __isset = other1771.__isset; +GetPartitionsRequest::GetPartitionsRequest(const GetPartitionsRequest& other1778) { + catName = other1778.catName; + dbName = other1778.dbName; + tblName = other1778.tblName; + withAuth = other1778.withAuth; + user = other1778.user; + groupNames = other1778.groupNames; + projectionSpec = other1778.projectionSpec; + filterSpec = other1778.filterSpec; + processorCapabilities = other1778.processorCapabilities; + processorIdentifier = other1778.processorIdentifier; + validWriteIdList = other1778.validWriteIdList; + __isset = other1778.__isset; +} +GetPartitionsRequest& GetPartitionsRequest::operator=(const GetPartitionsRequest& other1779) { + catName = other1779.catName; + dbName = other1779.dbName; + tblName = other1779.tblName; + withAuth = other1779.withAuth; + user = other1779.user; + groupNames = other1779.groupNames; + projectionSpec = other1779.projectionSpec; + filterSpec = other1779.filterSpec; + processorCapabilities = other1779.processorCapabilities; + processorIdentifier = other1779.processorIdentifier; + validWriteIdList = other1779.validWriteIdList; + __isset = other1779.__isset; return *this; } void GetPartitionsRequest::printTo(std::ostream& out) const { @@ -50104,23 +50150,23 @@ void swap(GetFieldsRequest &a, GetFieldsRequest &b) { swap(a.__isset, b.__isset); } -GetFieldsRequest::GetFieldsRequest(const GetFieldsRequest& other1772) { - catName = other1772.catName; - dbName = other1772.dbName; - tblName = other1772.tblName; - envContext = other1772.envContext; - validWriteIdList = other1772.validWriteIdList; - id = other1772.id; - __isset = other1772.__isset; +GetFieldsRequest::GetFieldsRequest(const GetFieldsRequest& other1780) { + catName = other1780.catName; + dbName = other1780.dbName; + tblName = other1780.tblName; + envContext = other1780.envContext; + validWriteIdList = other1780.validWriteIdList; + id = other1780.id; + __isset = other1780.__isset; } -GetFieldsRequest& GetFieldsRequest::operator=(const GetFieldsRequest& other1773) { - catName = other1773.catName; - dbName = other1773.dbName; - tblName = other1773.tblName; - envContext = other1773.envContext; - validWriteIdList = other1773.validWriteIdList; - id = other1773.id; - __isset = other1773.__isset; +GetFieldsRequest& GetFieldsRequest::operator=(const GetFieldsRequest& other1781) { + catName = other1781.catName; + dbName = other1781.dbName; + tblName = other1781.tblName; + envContext = other1781.envContext; + validWriteIdList = other1781.validWriteIdList; + id = other1781.id; + __isset = other1781.__isset; return *this; } void GetFieldsRequest::printTo(std::ostream& out) const { @@ -50176,14 +50222,14 @@ uint32_t GetFieldsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fields.clear(); - uint32_t _size1774; - ::apache::thrift::protocol::TType _etype1777; - xfer += iprot->readListBegin(_etype1777, _size1774); - this->fields.resize(_size1774); - uint32_t _i1778; - for (_i1778 = 0; _i1778 < _size1774; ++_i1778) + uint32_t _size1782; + ::apache::thrift::protocol::TType _etype1785; + xfer += iprot->readListBegin(_etype1785, _size1782); + this->fields.resize(_size1782); + uint32_t _i1786; + for (_i1786 = 0; _i1786 < _size1782; ++_i1786) { - xfer += this->fields[_i1778].read(iprot); + xfer += this->fields[_i1786].read(iprot); } xfer += iprot->readListEnd(); } @@ -50214,10 +50260,10 @@ uint32_t GetFieldsResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("fields", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fields.size())); - std::vector ::const_iterator _iter1779; - for (_iter1779 = this->fields.begin(); _iter1779 != this->fields.end(); ++_iter1779) + std::vector ::const_iterator _iter1787; + for (_iter1787 = this->fields.begin(); _iter1787 != this->fields.end(); ++_iter1787) { - xfer += (*_iter1779).write(oprot); + xfer += (*_iter1787).write(oprot); } xfer += oprot->writeListEnd(); } @@ -50233,11 +50279,11 @@ void swap(GetFieldsResponse &a, GetFieldsResponse &b) { swap(a.fields, b.fields); } -GetFieldsResponse::GetFieldsResponse(const GetFieldsResponse& other1780) { - fields = other1780.fields; +GetFieldsResponse::GetFieldsResponse(const GetFieldsResponse& other1788) { + fields = other1788.fields; } -GetFieldsResponse& GetFieldsResponse::operator=(const GetFieldsResponse& other1781) { - fields = other1781.fields; +GetFieldsResponse& GetFieldsResponse::operator=(const GetFieldsResponse& other1789) { + fields = other1789.fields; return *this; } void GetFieldsResponse::printTo(std::ostream& out) const { @@ -50422,23 +50468,23 @@ void swap(GetSchemaRequest &a, GetSchemaRequest &b) { swap(a.__isset, b.__isset); } -GetSchemaRequest::GetSchemaRequest(const GetSchemaRequest& other1782) { - catName = other1782.catName; - dbName = other1782.dbName; - tblName = other1782.tblName; - envContext = other1782.envContext; - validWriteIdList = other1782.validWriteIdList; - id = other1782.id; - __isset = other1782.__isset; +GetSchemaRequest::GetSchemaRequest(const GetSchemaRequest& other1790) { + catName = other1790.catName; + dbName = other1790.dbName; + tblName = other1790.tblName; + envContext = other1790.envContext; + validWriteIdList = other1790.validWriteIdList; + id = other1790.id; + __isset = other1790.__isset; } -GetSchemaRequest& GetSchemaRequest::operator=(const GetSchemaRequest& other1783) { - catName = other1783.catName; - dbName = other1783.dbName; - tblName = other1783.tblName; - envContext = other1783.envContext; - validWriteIdList = other1783.validWriteIdList; - id = other1783.id; - __isset = other1783.__isset; +GetSchemaRequest& GetSchemaRequest::operator=(const GetSchemaRequest& other1791) { + catName = other1791.catName; + dbName = other1791.dbName; + tblName = other1791.tblName; + envContext = other1791.envContext; + validWriteIdList = other1791.validWriteIdList; + id = other1791.id; + __isset = other1791.__isset; return *this; } void GetSchemaRequest::printTo(std::ostream& out) const { @@ -50494,14 +50540,14 @@ uint32_t GetSchemaResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fields.clear(); - uint32_t _size1784; - ::apache::thrift::protocol::TType _etype1787; - xfer += iprot->readListBegin(_etype1787, _size1784); - this->fields.resize(_size1784); - uint32_t _i1788; - for (_i1788 = 0; _i1788 < _size1784; ++_i1788) + uint32_t _size1792; + ::apache::thrift::protocol::TType _etype1795; + xfer += iprot->readListBegin(_etype1795, _size1792); + this->fields.resize(_size1792); + uint32_t _i1796; + for (_i1796 = 0; _i1796 < _size1792; ++_i1796) { - xfer += this->fields[_i1788].read(iprot); + xfer += this->fields[_i1796].read(iprot); } xfer += iprot->readListEnd(); } @@ -50532,10 +50578,10 @@ uint32_t GetSchemaResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("fields", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fields.size())); - std::vector ::const_iterator _iter1789; - for (_iter1789 = this->fields.begin(); _iter1789 != this->fields.end(); ++_iter1789) + std::vector ::const_iterator _iter1797; + for (_iter1797 = this->fields.begin(); _iter1797 != this->fields.end(); ++_iter1797) { - xfer += (*_iter1789).write(oprot); + xfer += (*_iter1797).write(oprot); } xfer += oprot->writeListEnd(); } @@ -50551,11 +50597,11 @@ void swap(GetSchemaResponse &a, GetSchemaResponse &b) { swap(a.fields, b.fields); } -GetSchemaResponse::GetSchemaResponse(const GetSchemaResponse& other1790) { - fields = other1790.fields; +GetSchemaResponse::GetSchemaResponse(const GetSchemaResponse& other1798) { + fields = other1798.fields; } -GetSchemaResponse& GetSchemaResponse::operator=(const GetSchemaResponse& other1791) { - fields = other1791.fields; +GetSchemaResponse& GetSchemaResponse::operator=(const GetSchemaResponse& other1799) { + fields = other1799.fields; return *this; } void GetSchemaResponse::printTo(std::ostream& out) const { @@ -50655,14 +50701,14 @@ uint32_t GetPartitionRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partVals.clear(); - uint32_t _size1792; - ::apache::thrift::protocol::TType _etype1795; - xfer += iprot->readListBegin(_etype1795, _size1792); - this->partVals.resize(_size1792); - uint32_t _i1796; - for (_i1796 = 0; _i1796 < _size1792; ++_i1796) + uint32_t _size1800; + ::apache::thrift::protocol::TType _etype1803; + xfer += iprot->readListBegin(_etype1803, _size1800); + this->partVals.resize(_size1800); + uint32_t _i1804; + for (_i1804 = 0; _i1804 < _size1800; ++_i1804) { - xfer += iprot->readString(this->partVals[_i1796]); + xfer += iprot->readString(this->partVals[_i1804]); } xfer += iprot->readListEnd(); } @@ -50726,10 +50772,10 @@ uint32_t GetPartitionRequest::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("partVals", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partVals.size())); - std::vector ::const_iterator _iter1797; - for (_iter1797 = this->partVals.begin(); _iter1797 != this->partVals.end(); ++_iter1797) + std::vector ::const_iterator _iter1805; + for (_iter1805 = this->partVals.begin(); _iter1805 != this->partVals.end(); ++_iter1805) { - xfer += oprot->writeString((*_iter1797)); + xfer += oprot->writeString((*_iter1805)); } xfer += oprot->writeListEnd(); } @@ -50761,23 +50807,23 @@ void swap(GetPartitionRequest &a, GetPartitionRequest &b) { swap(a.__isset, b.__isset); } -GetPartitionRequest::GetPartitionRequest(const GetPartitionRequest& other1798) { - catName = other1798.catName; - dbName = other1798.dbName; - tblName = other1798.tblName; - partVals = other1798.partVals; - validWriteIdList = other1798.validWriteIdList; - id = other1798.id; - __isset = other1798.__isset; +GetPartitionRequest::GetPartitionRequest(const GetPartitionRequest& other1806) { + catName = other1806.catName; + dbName = other1806.dbName; + tblName = other1806.tblName; + partVals = other1806.partVals; + validWriteIdList = other1806.validWriteIdList; + id = other1806.id; + __isset = other1806.__isset; } -GetPartitionRequest& GetPartitionRequest::operator=(const GetPartitionRequest& other1799) { - catName = other1799.catName; - dbName = other1799.dbName; - tblName = other1799.tblName; - partVals = other1799.partVals; - validWriteIdList = other1799.validWriteIdList; - id = other1799.id; - __isset = other1799.__isset; +GetPartitionRequest& GetPartitionRequest::operator=(const GetPartitionRequest& other1807) { + catName = other1807.catName; + dbName = other1807.dbName; + tblName = other1807.tblName; + partVals = other1807.partVals; + validWriteIdList = other1807.validWriteIdList; + id = other1807.id; + __isset = other1807.__isset; return *this; } void GetPartitionRequest::printTo(std::ostream& out) const { @@ -50870,11 +50916,11 @@ void swap(GetPartitionResponse &a, GetPartitionResponse &b) { swap(a.partition, b.partition); } -GetPartitionResponse::GetPartitionResponse(const GetPartitionResponse& other1800) { - partition = other1800.partition; +GetPartitionResponse::GetPartitionResponse(const GetPartitionResponse& other1808) { + partition = other1808.partition; } -GetPartitionResponse& GetPartitionResponse::operator=(const GetPartitionResponse& other1801) { - partition = other1801.partition; +GetPartitionResponse& GetPartitionResponse::operator=(const GetPartitionResponse& other1809) { + partition = other1809.partition; return *this; } void GetPartitionResponse::printTo(std::ostream& out) const { @@ -51116,29 +51162,29 @@ void swap(PartitionsRequest &a, PartitionsRequest &b) { swap(a.__isset, b.__isset); } -PartitionsRequest::PartitionsRequest(const PartitionsRequest& other1802) { - catName = other1802.catName; - dbName = other1802.dbName; - tblName = other1802.tblName; - maxParts = other1802.maxParts; - validWriteIdList = other1802.validWriteIdList; - id = other1802.id; - skipColumnSchemaForPartition = other1802.skipColumnSchemaForPartition; - includeParamKeyPattern = other1802.includeParamKeyPattern; - excludeParamKeyPattern = other1802.excludeParamKeyPattern; - __isset = other1802.__isset; -} -PartitionsRequest& PartitionsRequest::operator=(const PartitionsRequest& other1803) { - catName = other1803.catName; - dbName = other1803.dbName; - tblName = other1803.tblName; - maxParts = other1803.maxParts; - validWriteIdList = other1803.validWriteIdList; - id = other1803.id; - skipColumnSchemaForPartition = other1803.skipColumnSchemaForPartition; - includeParamKeyPattern = other1803.includeParamKeyPattern; - excludeParamKeyPattern = other1803.excludeParamKeyPattern; - __isset = other1803.__isset; +PartitionsRequest::PartitionsRequest(const PartitionsRequest& other1810) { + catName = other1810.catName; + dbName = other1810.dbName; + tblName = other1810.tblName; + maxParts = other1810.maxParts; + validWriteIdList = other1810.validWriteIdList; + id = other1810.id; + skipColumnSchemaForPartition = other1810.skipColumnSchemaForPartition; + includeParamKeyPattern = other1810.includeParamKeyPattern; + excludeParamKeyPattern = other1810.excludeParamKeyPattern; + __isset = other1810.__isset; +} +PartitionsRequest& PartitionsRequest::operator=(const PartitionsRequest& other1811) { + catName = other1811.catName; + dbName = other1811.dbName; + tblName = other1811.tblName; + maxParts = other1811.maxParts; + validWriteIdList = other1811.validWriteIdList; + id = other1811.id; + skipColumnSchemaForPartition = other1811.skipColumnSchemaForPartition; + includeParamKeyPattern = other1811.includeParamKeyPattern; + excludeParamKeyPattern = other1811.excludeParamKeyPattern; + __isset = other1811.__isset; return *this; } void PartitionsRequest::printTo(std::ostream& out) const { @@ -51197,14 +51243,14 @@ uint32_t PartitionsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size1804; - ::apache::thrift::protocol::TType _etype1807; - xfer += iprot->readListBegin(_etype1807, _size1804); - this->partitions.resize(_size1804); - uint32_t _i1808; - for (_i1808 = 0; _i1808 < _size1804; ++_i1808) + uint32_t _size1812; + ::apache::thrift::protocol::TType _etype1815; + xfer += iprot->readListBegin(_etype1815, _size1812); + this->partitions.resize(_size1812); + uint32_t _i1816; + for (_i1816 = 0; _i1816 < _size1812; ++_i1816) { - xfer += this->partitions[_i1808].read(iprot); + xfer += this->partitions[_i1816].read(iprot); } xfer += iprot->readListEnd(); } @@ -51235,10 +51281,10 @@ uint32_t PartitionsResponse::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(this->partitions.size())); - std::vector ::const_iterator _iter1809; - for (_iter1809 = this->partitions.begin(); _iter1809 != this->partitions.end(); ++_iter1809) + std::vector ::const_iterator _iter1817; + for (_iter1817 = this->partitions.begin(); _iter1817 != this->partitions.end(); ++_iter1817) { - xfer += (*_iter1809).write(oprot); + xfer += (*_iter1817).write(oprot); } xfer += oprot->writeListEnd(); } @@ -51254,11 +51300,11 @@ void swap(PartitionsResponse &a, PartitionsResponse &b) { swap(a.partitions, b.partitions); } -PartitionsResponse::PartitionsResponse(const PartitionsResponse& other1810) { - partitions = other1810.partitions; +PartitionsResponse::PartitionsResponse(const PartitionsResponse& other1818) { + partitions = other1818.partitions; } -PartitionsResponse& PartitionsResponse::operator=(const PartitionsResponse& other1811) { - partitions = other1811.partitions; +PartitionsResponse& PartitionsResponse::operator=(const PartitionsResponse& other1819) { + partitions = other1819.partitions; return *this; } void PartitionsResponse::printTo(std::ostream& out) const { @@ -51473,27 +51519,27 @@ void swap(GetPartitionsByFilterRequest &a, GetPartitionsByFilterRequest &b) { swap(a.__isset, b.__isset); } -GetPartitionsByFilterRequest::GetPartitionsByFilterRequest(const GetPartitionsByFilterRequest& other1812) { - catName = other1812.catName; - dbName = other1812.dbName; - tblName = other1812.tblName; - filter = other1812.filter; - maxParts = other1812.maxParts; - skipColumnSchemaForPartition = other1812.skipColumnSchemaForPartition; - includeParamKeyPattern = other1812.includeParamKeyPattern; - excludeParamKeyPattern = other1812.excludeParamKeyPattern; - __isset = other1812.__isset; -} -GetPartitionsByFilterRequest& GetPartitionsByFilterRequest::operator=(const GetPartitionsByFilterRequest& other1813) { - catName = other1813.catName; - dbName = other1813.dbName; - tblName = other1813.tblName; - filter = other1813.filter; - maxParts = other1813.maxParts; - skipColumnSchemaForPartition = other1813.skipColumnSchemaForPartition; - includeParamKeyPattern = other1813.includeParamKeyPattern; - excludeParamKeyPattern = other1813.excludeParamKeyPattern; - __isset = other1813.__isset; +GetPartitionsByFilterRequest::GetPartitionsByFilterRequest(const GetPartitionsByFilterRequest& other1820) { + catName = other1820.catName; + dbName = other1820.dbName; + tblName = other1820.tblName; + filter = other1820.filter; + maxParts = other1820.maxParts; + skipColumnSchemaForPartition = other1820.skipColumnSchemaForPartition; + includeParamKeyPattern = other1820.includeParamKeyPattern; + excludeParamKeyPattern = other1820.excludeParamKeyPattern; + __isset = other1820.__isset; +} +GetPartitionsByFilterRequest& GetPartitionsByFilterRequest::operator=(const GetPartitionsByFilterRequest& other1821) { + catName = other1821.catName; + dbName = other1821.dbName; + tblName = other1821.tblName; + filter = other1821.filter; + maxParts = other1821.maxParts; + skipColumnSchemaForPartition = other1821.skipColumnSchemaForPartition; + includeParamKeyPattern = other1821.includeParamKeyPattern; + excludeParamKeyPattern = other1821.excludeParamKeyPattern; + __isset = other1821.__isset; return *this; } void GetPartitionsByFilterRequest::printTo(std::ostream& out) const { @@ -51605,14 +51651,14 @@ uint32_t GetPartitionNamesPsRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partValues.clear(); - uint32_t _size1814; - ::apache::thrift::protocol::TType _etype1817; - xfer += iprot->readListBegin(_etype1817, _size1814); - this->partValues.resize(_size1814); - uint32_t _i1818; - for (_i1818 = 0; _i1818 < _size1814; ++_i1818) + uint32_t _size1822; + ::apache::thrift::protocol::TType _etype1825; + xfer += iprot->readListBegin(_etype1825, _size1822); + this->partValues.resize(_size1822); + uint32_t _i1826; + for (_i1826 = 0; _i1826 < _size1822; ++_i1826) { - xfer += iprot->readString(this->partValues[_i1818]); + xfer += iprot->readString(this->partValues[_i1826]); } xfer += iprot->readListEnd(); } @@ -51683,10 +51729,10 @@ uint32_t GetPartitionNamesPsRequest::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("partValues", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partValues.size())); - std::vector ::const_iterator _iter1819; - for (_iter1819 = this->partValues.begin(); _iter1819 != this->partValues.end(); ++_iter1819) + std::vector ::const_iterator _iter1827; + for (_iter1827 = this->partValues.begin(); _iter1827 != this->partValues.end(); ++_iter1827) { - xfer += oprot->writeString((*_iter1819)); + xfer += oprot->writeString((*_iter1827)); } xfer += oprot->writeListEnd(); } @@ -51724,25 +51770,25 @@ void swap(GetPartitionNamesPsRequest &a, GetPartitionNamesPsRequest &b) { swap(a.__isset, b.__isset); } -GetPartitionNamesPsRequest::GetPartitionNamesPsRequest(const GetPartitionNamesPsRequest& other1820) { - catName = other1820.catName; - dbName = other1820.dbName; - tblName = other1820.tblName; - partValues = other1820.partValues; - maxParts = other1820.maxParts; - validWriteIdList = other1820.validWriteIdList; - id = other1820.id; - __isset = other1820.__isset; +GetPartitionNamesPsRequest::GetPartitionNamesPsRequest(const GetPartitionNamesPsRequest& other1828) { + catName = other1828.catName; + dbName = other1828.dbName; + tblName = other1828.tblName; + partValues = other1828.partValues; + maxParts = other1828.maxParts; + validWriteIdList = other1828.validWriteIdList; + id = other1828.id; + __isset = other1828.__isset; } -GetPartitionNamesPsRequest& GetPartitionNamesPsRequest::operator=(const GetPartitionNamesPsRequest& other1821) { - catName = other1821.catName; - dbName = other1821.dbName; - tblName = other1821.tblName; - partValues = other1821.partValues; - maxParts = other1821.maxParts; - validWriteIdList = other1821.validWriteIdList; - id = other1821.id; - __isset = other1821.__isset; +GetPartitionNamesPsRequest& GetPartitionNamesPsRequest::operator=(const GetPartitionNamesPsRequest& other1829) { + catName = other1829.catName; + dbName = other1829.dbName; + tblName = other1829.tblName; + partValues = other1829.partValues; + maxParts = other1829.maxParts; + validWriteIdList = other1829.validWriteIdList; + id = other1829.id; + __isset = other1829.__isset; return *this; } void GetPartitionNamesPsRequest::printTo(std::ostream& out) const { @@ -51799,14 +51845,14 @@ uint32_t GetPartitionNamesPsResponse::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1822; - ::apache::thrift::protocol::TType _etype1825; - xfer += iprot->readListBegin(_etype1825, _size1822); - this->names.resize(_size1822); - uint32_t _i1826; - for (_i1826 = 0; _i1826 < _size1822; ++_i1826) + uint32_t _size1830; + ::apache::thrift::protocol::TType _etype1833; + xfer += iprot->readListBegin(_etype1833, _size1830); + this->names.resize(_size1830); + uint32_t _i1834; + for (_i1834 = 0; _i1834 < _size1830; ++_i1834) { - xfer += iprot->readString(this->names[_i1826]); + xfer += iprot->readString(this->names[_i1834]); } xfer += iprot->readListEnd(); } @@ -51837,10 +51883,10 @@ uint32_t GetPartitionNamesPsResponse::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1827; - for (_iter1827 = this->names.begin(); _iter1827 != this->names.end(); ++_iter1827) + std::vector ::const_iterator _iter1835; + for (_iter1835 = this->names.begin(); _iter1835 != this->names.end(); ++_iter1835) { - xfer += oprot->writeString((*_iter1827)); + xfer += oprot->writeString((*_iter1835)); } xfer += oprot->writeListEnd(); } @@ -51856,11 +51902,11 @@ void swap(GetPartitionNamesPsResponse &a, GetPartitionNamesPsResponse &b) { swap(a.names, b.names); } -GetPartitionNamesPsResponse::GetPartitionNamesPsResponse(const GetPartitionNamesPsResponse& other1828) { - names = other1828.names; +GetPartitionNamesPsResponse::GetPartitionNamesPsResponse(const GetPartitionNamesPsResponse& other1836) { + names = other1836.names; } -GetPartitionNamesPsResponse& GetPartitionNamesPsResponse::operator=(const GetPartitionNamesPsResponse& other1829) { - names = other1829.names; +GetPartitionNamesPsResponse& GetPartitionNamesPsResponse::operator=(const GetPartitionNamesPsResponse& other1837) { + names = other1837.names; return *this; } void GetPartitionNamesPsResponse::printTo(std::ostream& out) const { @@ -51995,14 +52041,14 @@ uint32_t GetPartitionsPsWithAuthRequest::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partVals.clear(); - uint32_t _size1830; - ::apache::thrift::protocol::TType _etype1833; - xfer += iprot->readListBegin(_etype1833, _size1830); - this->partVals.resize(_size1830); - uint32_t _i1834; - for (_i1834 = 0; _i1834 < _size1830; ++_i1834) + uint32_t _size1838; + ::apache::thrift::protocol::TType _etype1841; + xfer += iprot->readListBegin(_etype1841, _size1838); + this->partVals.resize(_size1838); + uint32_t _i1842; + for (_i1842 = 0; _i1842 < _size1838; ++_i1842) { - xfer += iprot->readString(this->partVals[_i1834]); + xfer += iprot->readString(this->partVals[_i1842]); } xfer += iprot->readListEnd(); } @@ -52031,14 +52077,14 @@ uint32_t GetPartitionsPsWithAuthRequest::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->groupNames.clear(); - uint32_t _size1835; - ::apache::thrift::protocol::TType _etype1838; - xfer += iprot->readListBegin(_etype1838, _size1835); - this->groupNames.resize(_size1835); - uint32_t _i1839; - for (_i1839 = 0; _i1839 < _size1835; ++_i1839) + uint32_t _size1843; + ::apache::thrift::protocol::TType _etype1846; + xfer += iprot->readListBegin(_etype1846, _size1843); + this->groupNames.resize(_size1843); + uint32_t _i1847; + for (_i1847 = 0; _i1847 < _size1843; ++_i1847) { - xfer += iprot->readString(this->groupNames[_i1839]); + xfer += iprot->readString(this->groupNames[_i1847]); } xfer += iprot->readListEnd(); } @@ -52091,14 +52137,14 @@ uint32_t GetPartitionsPsWithAuthRequest::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1840; - ::apache::thrift::protocol::TType _etype1843; - xfer += iprot->readListBegin(_etype1843, _size1840); - this->partNames.resize(_size1840); - uint32_t _i1844; - for (_i1844 = 0; _i1844 < _size1840; ++_i1844) + uint32_t _size1848; + ::apache::thrift::protocol::TType _etype1851; + xfer += iprot->readListBegin(_etype1851, _size1848); + this->partNames.resize(_size1848); + uint32_t _i1852; + for (_i1852 = 0; _i1852 < _size1848; ++_i1852) { - xfer += iprot->readString(this->partNames[_i1844]); + xfer += iprot->readString(this->partNames[_i1852]); } xfer += iprot->readListEnd(); } @@ -52145,10 +52191,10 @@ uint32_t GetPartitionsPsWithAuthRequest::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("partVals", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partVals.size())); - std::vector ::const_iterator _iter1845; - for (_iter1845 = this->partVals.begin(); _iter1845 != this->partVals.end(); ++_iter1845) + std::vector ::const_iterator _iter1853; + for (_iter1853 = this->partVals.begin(); _iter1853 != this->partVals.end(); ++_iter1853) { - xfer += oprot->writeString((*_iter1845)); + xfer += oprot->writeString((*_iter1853)); } xfer += oprot->writeListEnd(); } @@ -52168,10 +52214,10 @@ uint32_t GetPartitionsPsWithAuthRequest::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("groupNames", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->groupNames.size())); - std::vector ::const_iterator _iter1846; - for (_iter1846 = this->groupNames.begin(); _iter1846 != this->groupNames.end(); ++_iter1846) + std::vector ::const_iterator _iter1854; + for (_iter1854 = this->groupNames.begin(); _iter1854 != this->groupNames.end(); ++_iter1854) { - xfer += oprot->writeString((*_iter1846)); + xfer += oprot->writeString((*_iter1854)); } xfer += oprot->writeListEnd(); } @@ -52206,10 +52252,10 @@ uint32_t GetPartitionsPsWithAuthRequest::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 13); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter1847; - for (_iter1847 = this->partNames.begin(); _iter1847 != this->partNames.end(); ++_iter1847) + std::vector ::const_iterator _iter1855; + for (_iter1855 = this->partNames.begin(); _iter1855 != this->partNames.end(); ++_iter1855) { - xfer += oprot->writeString((*_iter1847)); + xfer += oprot->writeString((*_iter1855)); } xfer += oprot->writeListEnd(); } @@ -52238,37 +52284,37 @@ void swap(GetPartitionsPsWithAuthRequest &a, GetPartitionsPsWithAuthRequest &b) swap(a.__isset, b.__isset); } -GetPartitionsPsWithAuthRequest::GetPartitionsPsWithAuthRequest(const GetPartitionsPsWithAuthRequest& other1848) { - catName = other1848.catName; - dbName = other1848.dbName; - tblName = other1848.tblName; - partVals = other1848.partVals; - maxParts = other1848.maxParts; - userName = other1848.userName; - groupNames = other1848.groupNames; - validWriteIdList = other1848.validWriteIdList; - id = other1848.id; - skipColumnSchemaForPartition = other1848.skipColumnSchemaForPartition; - includeParamKeyPattern = other1848.includeParamKeyPattern; - excludeParamKeyPattern = other1848.excludeParamKeyPattern; - partNames = other1848.partNames; - __isset = other1848.__isset; -} -GetPartitionsPsWithAuthRequest& GetPartitionsPsWithAuthRequest::operator=(const GetPartitionsPsWithAuthRequest& other1849) { - catName = other1849.catName; - dbName = other1849.dbName; - tblName = other1849.tblName; - partVals = other1849.partVals; - maxParts = other1849.maxParts; - userName = other1849.userName; - groupNames = other1849.groupNames; - validWriteIdList = other1849.validWriteIdList; - id = other1849.id; - skipColumnSchemaForPartition = other1849.skipColumnSchemaForPartition; - includeParamKeyPattern = other1849.includeParamKeyPattern; - excludeParamKeyPattern = other1849.excludeParamKeyPattern; - partNames = other1849.partNames; - __isset = other1849.__isset; +GetPartitionsPsWithAuthRequest::GetPartitionsPsWithAuthRequest(const GetPartitionsPsWithAuthRequest& other1856) { + catName = other1856.catName; + dbName = other1856.dbName; + tblName = other1856.tblName; + partVals = other1856.partVals; + maxParts = other1856.maxParts; + userName = other1856.userName; + groupNames = other1856.groupNames; + validWriteIdList = other1856.validWriteIdList; + id = other1856.id; + skipColumnSchemaForPartition = other1856.skipColumnSchemaForPartition; + includeParamKeyPattern = other1856.includeParamKeyPattern; + excludeParamKeyPattern = other1856.excludeParamKeyPattern; + partNames = other1856.partNames; + __isset = other1856.__isset; +} +GetPartitionsPsWithAuthRequest& GetPartitionsPsWithAuthRequest::operator=(const GetPartitionsPsWithAuthRequest& other1857) { + catName = other1857.catName; + dbName = other1857.dbName; + tblName = other1857.tblName; + partVals = other1857.partVals; + maxParts = other1857.maxParts; + userName = other1857.userName; + groupNames = other1857.groupNames; + validWriteIdList = other1857.validWriteIdList; + id = other1857.id; + skipColumnSchemaForPartition = other1857.skipColumnSchemaForPartition; + includeParamKeyPattern = other1857.includeParamKeyPattern; + excludeParamKeyPattern = other1857.excludeParamKeyPattern; + partNames = other1857.partNames; + __isset = other1857.__isset; return *this; } void GetPartitionsPsWithAuthRequest::printTo(std::ostream& out) const { @@ -52331,14 +52377,14 @@ uint32_t GetPartitionsPsWithAuthResponse::read(::apache::thrift::protocol::TProt if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size1850; - ::apache::thrift::protocol::TType _etype1853; - xfer += iprot->readListBegin(_etype1853, _size1850); - this->partitions.resize(_size1850); - uint32_t _i1854; - for (_i1854 = 0; _i1854 < _size1850; ++_i1854) + uint32_t _size1858; + ::apache::thrift::protocol::TType _etype1861; + xfer += iprot->readListBegin(_etype1861, _size1858); + this->partitions.resize(_size1858); + uint32_t _i1862; + for (_i1862 = 0; _i1862 < _size1858; ++_i1862) { - xfer += this->partitions[_i1854].read(iprot); + xfer += this->partitions[_i1862].read(iprot); } xfer += iprot->readListEnd(); } @@ -52369,10 +52415,10 @@ uint32_t GetPartitionsPsWithAuthResponse::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter1855; - for (_iter1855 = this->partitions.begin(); _iter1855 != this->partitions.end(); ++_iter1855) + std::vector ::const_iterator _iter1863; + for (_iter1863 = this->partitions.begin(); _iter1863 != this->partitions.end(); ++_iter1863) { - xfer += (*_iter1855).write(oprot); + xfer += (*_iter1863).write(oprot); } xfer += oprot->writeListEnd(); } @@ -52388,11 +52434,11 @@ void swap(GetPartitionsPsWithAuthResponse &a, GetPartitionsPsWithAuthResponse &b swap(a.partitions, b.partitions); } -GetPartitionsPsWithAuthResponse::GetPartitionsPsWithAuthResponse(const GetPartitionsPsWithAuthResponse& other1856) { - partitions = other1856.partitions; +GetPartitionsPsWithAuthResponse::GetPartitionsPsWithAuthResponse(const GetPartitionsPsWithAuthResponse& other1864) { + partitions = other1864.partitions; } -GetPartitionsPsWithAuthResponse& GetPartitionsPsWithAuthResponse::operator=(const GetPartitionsPsWithAuthResponse& other1857) { - partitions = other1857.partitions; +GetPartitionsPsWithAuthResponse& GetPartitionsPsWithAuthResponse::operator=(const GetPartitionsPsWithAuthResponse& other1865) { + partitions = other1865.partitions; return *this; } void GetPartitionsPsWithAuthResponse::printTo(std::ostream& out) const { @@ -52578,23 +52624,23 @@ void swap(ReplicationMetrics &a, ReplicationMetrics &b) { swap(a.__isset, b.__isset); } -ReplicationMetrics::ReplicationMetrics(const ReplicationMetrics& other1858) { - scheduledExecutionId = other1858.scheduledExecutionId; - policy = other1858.policy; - dumpExecutionId = other1858.dumpExecutionId; - metadata = other1858.metadata; - progress = other1858.progress; - messageFormat = other1858.messageFormat; - __isset = other1858.__isset; +ReplicationMetrics::ReplicationMetrics(const ReplicationMetrics& other1866) { + scheduledExecutionId = other1866.scheduledExecutionId; + policy = other1866.policy; + dumpExecutionId = other1866.dumpExecutionId; + metadata = other1866.metadata; + progress = other1866.progress; + messageFormat = other1866.messageFormat; + __isset = other1866.__isset; } -ReplicationMetrics& ReplicationMetrics::operator=(const ReplicationMetrics& other1859) { - scheduledExecutionId = other1859.scheduledExecutionId; - policy = other1859.policy; - dumpExecutionId = other1859.dumpExecutionId; - metadata = other1859.metadata; - progress = other1859.progress; - messageFormat = other1859.messageFormat; - __isset = other1859.__isset; +ReplicationMetrics& ReplicationMetrics::operator=(const ReplicationMetrics& other1867) { + scheduledExecutionId = other1867.scheduledExecutionId; + policy = other1867.policy; + dumpExecutionId = other1867.dumpExecutionId; + metadata = other1867.metadata; + progress = other1867.progress; + messageFormat = other1867.messageFormat; + __isset = other1867.__isset; return *this; } void ReplicationMetrics::printTo(std::ostream& out) const { @@ -52650,14 +52696,14 @@ uint32_t ReplicationMetricList::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->replicationMetricList.clear(); - uint32_t _size1860; - ::apache::thrift::protocol::TType _etype1863; - xfer += iprot->readListBegin(_etype1863, _size1860); - this->replicationMetricList.resize(_size1860); - uint32_t _i1864; - for (_i1864 = 0; _i1864 < _size1860; ++_i1864) + uint32_t _size1868; + ::apache::thrift::protocol::TType _etype1871; + xfer += iprot->readListBegin(_etype1871, _size1868); + this->replicationMetricList.resize(_size1868); + uint32_t _i1872; + for (_i1872 = 0; _i1872 < _size1868; ++_i1872) { - xfer += this->replicationMetricList[_i1864].read(iprot); + xfer += this->replicationMetricList[_i1872].read(iprot); } xfer += iprot->readListEnd(); } @@ -52688,10 +52734,10 @@ uint32_t ReplicationMetricList::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("replicationMetricList", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->replicationMetricList.size())); - std::vector ::const_iterator _iter1865; - for (_iter1865 = this->replicationMetricList.begin(); _iter1865 != this->replicationMetricList.end(); ++_iter1865) + std::vector ::const_iterator _iter1873; + for (_iter1873 = this->replicationMetricList.begin(); _iter1873 != this->replicationMetricList.end(); ++_iter1873) { - xfer += (*_iter1865).write(oprot); + xfer += (*_iter1873).write(oprot); } xfer += oprot->writeListEnd(); } @@ -52707,11 +52753,11 @@ void swap(ReplicationMetricList &a, ReplicationMetricList &b) { swap(a.replicationMetricList, b.replicationMetricList); } -ReplicationMetricList::ReplicationMetricList(const ReplicationMetricList& other1866) { - replicationMetricList = other1866.replicationMetricList; +ReplicationMetricList::ReplicationMetricList(const ReplicationMetricList& other1874) { + replicationMetricList = other1874.replicationMetricList; } -ReplicationMetricList& ReplicationMetricList::operator=(const ReplicationMetricList& other1867) { - replicationMetricList = other1867.replicationMetricList; +ReplicationMetricList& ReplicationMetricList::operator=(const ReplicationMetricList& other1875) { + replicationMetricList = other1875.replicationMetricList; return *this; } void ReplicationMetricList::printTo(std::ostream& out) const { @@ -52837,17 +52883,17 @@ void swap(GetReplicationMetricsRequest &a, GetReplicationMetricsRequest &b) { swap(a.__isset, b.__isset); } -GetReplicationMetricsRequest::GetReplicationMetricsRequest(const GetReplicationMetricsRequest& other1868) { - scheduledExecutionId = other1868.scheduledExecutionId; - policy = other1868.policy; - dumpExecutionId = other1868.dumpExecutionId; - __isset = other1868.__isset; +GetReplicationMetricsRequest::GetReplicationMetricsRequest(const GetReplicationMetricsRequest& other1876) { + scheduledExecutionId = other1876.scheduledExecutionId; + policy = other1876.policy; + dumpExecutionId = other1876.dumpExecutionId; + __isset = other1876.__isset; } -GetReplicationMetricsRequest& GetReplicationMetricsRequest::operator=(const GetReplicationMetricsRequest& other1869) { - scheduledExecutionId = other1869.scheduledExecutionId; - policy = other1869.policy; - dumpExecutionId = other1869.dumpExecutionId; - __isset = other1869.__isset; +GetReplicationMetricsRequest& GetReplicationMetricsRequest::operator=(const GetReplicationMetricsRequest& other1877) { + scheduledExecutionId = other1877.scheduledExecutionId; + policy = other1877.policy; + dumpExecutionId = other1877.dumpExecutionId; + __isset = other1877.__isset; return *this; } void GetReplicationMetricsRequest::printTo(std::ostream& out) const { @@ -52900,16 +52946,16 @@ uint32_t GetOpenTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->excludeTxnTypes.clear(); - uint32_t _size1870; - ::apache::thrift::protocol::TType _etype1873; - xfer += iprot->readListBegin(_etype1873, _size1870); - this->excludeTxnTypes.resize(_size1870); - uint32_t _i1874; - for (_i1874 = 0; _i1874 < _size1870; ++_i1874) + uint32_t _size1878; + ::apache::thrift::protocol::TType _etype1881; + xfer += iprot->readListBegin(_etype1881, _size1878); + this->excludeTxnTypes.resize(_size1878); + uint32_t _i1882; + for (_i1882 = 0; _i1882 < _size1878; ++_i1882) { - int32_t ecast1875; - xfer += iprot->readI32(ecast1875); - this->excludeTxnTypes[_i1874] = static_cast(ecast1875); + int32_t ecast1883; + xfer += iprot->readI32(ecast1883); + this->excludeTxnTypes[_i1882] = static_cast(ecast1883); } xfer += iprot->readListEnd(); } @@ -52939,10 +52985,10 @@ uint32_t GetOpenTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("excludeTxnTypes", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->excludeTxnTypes.size())); - std::vector ::const_iterator _iter1876; - for (_iter1876 = this->excludeTxnTypes.begin(); _iter1876 != this->excludeTxnTypes.end(); ++_iter1876) + std::vector ::const_iterator _iter1884; + for (_iter1884 = this->excludeTxnTypes.begin(); _iter1884 != this->excludeTxnTypes.end(); ++_iter1884) { - xfer += oprot->writeI32(static_cast((*_iter1876))); + xfer += oprot->writeI32(static_cast((*_iter1884))); } xfer += oprot->writeListEnd(); } @@ -52959,13 +53005,13 @@ void swap(GetOpenTxnsRequest &a, GetOpenTxnsRequest &b) { swap(a.__isset, b.__isset); } -GetOpenTxnsRequest::GetOpenTxnsRequest(const GetOpenTxnsRequest& other1877) { - excludeTxnTypes = other1877.excludeTxnTypes; - __isset = other1877.__isset; +GetOpenTxnsRequest::GetOpenTxnsRequest(const GetOpenTxnsRequest& other1885) { + excludeTxnTypes = other1885.excludeTxnTypes; + __isset = other1885.__isset; } -GetOpenTxnsRequest& GetOpenTxnsRequest::operator=(const GetOpenTxnsRequest& other1878) { - excludeTxnTypes = other1878.excludeTxnTypes; - __isset = other1878.__isset; +GetOpenTxnsRequest& GetOpenTxnsRequest::operator=(const GetOpenTxnsRequest& other1886) { + excludeTxnTypes = other1886.excludeTxnTypes; + __isset = other1886.__isset; return *this; } void GetOpenTxnsRequest::printTo(std::ostream& out) const { @@ -53093,15 +53139,15 @@ void swap(StoredProcedureRequest &a, StoredProcedureRequest &b) { swap(a.procName, b.procName); } -StoredProcedureRequest::StoredProcedureRequest(const StoredProcedureRequest& other1879) { - catName = other1879.catName; - dbName = other1879.dbName; - procName = other1879.procName; +StoredProcedureRequest::StoredProcedureRequest(const StoredProcedureRequest& other1887) { + catName = other1887.catName; + dbName = other1887.dbName; + procName = other1887.procName; } -StoredProcedureRequest& StoredProcedureRequest::operator=(const StoredProcedureRequest& other1880) { - catName = other1880.catName; - dbName = other1880.dbName; - procName = other1880.procName; +StoredProcedureRequest& StoredProcedureRequest::operator=(const StoredProcedureRequest& other1888) { + catName = other1888.catName; + dbName = other1888.dbName; + procName = other1888.procName; return *this; } void StoredProcedureRequest::printTo(std::ostream& out) const { @@ -53211,15 +53257,15 @@ void swap(ListStoredProcedureRequest &a, ListStoredProcedureRequest &b) { swap(a.__isset, b.__isset); } -ListStoredProcedureRequest::ListStoredProcedureRequest(const ListStoredProcedureRequest& other1881) { - catName = other1881.catName; - dbName = other1881.dbName; - __isset = other1881.__isset; +ListStoredProcedureRequest::ListStoredProcedureRequest(const ListStoredProcedureRequest& other1889) { + catName = other1889.catName; + dbName = other1889.dbName; + __isset = other1889.__isset; } -ListStoredProcedureRequest& ListStoredProcedureRequest::operator=(const ListStoredProcedureRequest& other1882) { - catName = other1882.catName; - dbName = other1882.dbName; - __isset = other1882.__isset; +ListStoredProcedureRequest& ListStoredProcedureRequest::operator=(const ListStoredProcedureRequest& other1890) { + catName = other1890.catName; + dbName = other1890.dbName; + __isset = other1890.__isset; return *this; } void ListStoredProcedureRequest::printTo(std::ostream& out) const { @@ -53374,21 +53420,21 @@ void swap(StoredProcedure &a, StoredProcedure &b) { swap(a.__isset, b.__isset); } -StoredProcedure::StoredProcedure(const StoredProcedure& other1883) { - name = other1883.name; - dbName = other1883.dbName; - catName = other1883.catName; - ownerName = other1883.ownerName; - source = other1883.source; - __isset = other1883.__isset; +StoredProcedure::StoredProcedure(const StoredProcedure& other1891) { + name = other1891.name; + dbName = other1891.dbName; + catName = other1891.catName; + ownerName = other1891.ownerName; + source = other1891.source; + __isset = other1891.__isset; } -StoredProcedure& StoredProcedure::operator=(const StoredProcedure& other1884) { - name = other1884.name; - dbName = other1884.dbName; - catName = other1884.catName; - ownerName = other1884.ownerName; - source = other1884.source; - __isset = other1884.__isset; +StoredProcedure& StoredProcedure::operator=(const StoredProcedure& other1892) { + name = other1892.name; + dbName = other1892.dbName; + catName = other1892.catName; + ownerName = other1892.ownerName; + source = other1892.source; + __isset = other1892.__isset; return *this; } void StoredProcedure::printTo(std::ostream& out) const { @@ -53563,23 +53609,23 @@ void swap(AddPackageRequest &a, AddPackageRequest &b) { swap(a.__isset, b.__isset); } -AddPackageRequest::AddPackageRequest(const AddPackageRequest& other1885) { - catName = other1885.catName; - dbName = other1885.dbName; - packageName = other1885.packageName; - ownerName = other1885.ownerName; - header = other1885.header; - body = other1885.body; - __isset = other1885.__isset; +AddPackageRequest::AddPackageRequest(const AddPackageRequest& other1893) { + catName = other1893.catName; + dbName = other1893.dbName; + packageName = other1893.packageName; + ownerName = other1893.ownerName; + header = other1893.header; + body = other1893.body; + __isset = other1893.__isset; } -AddPackageRequest& AddPackageRequest::operator=(const AddPackageRequest& other1886) { - catName = other1886.catName; - dbName = other1886.dbName; - packageName = other1886.packageName; - ownerName = other1886.ownerName; - header = other1886.header; - body = other1886.body; - __isset = other1886.__isset; +AddPackageRequest& AddPackageRequest::operator=(const AddPackageRequest& other1894) { + catName = other1894.catName; + dbName = other1894.dbName; + packageName = other1894.packageName; + ownerName = other1894.ownerName; + header = other1894.header; + body = other1894.body; + __isset = other1894.__isset; return *this; } void AddPackageRequest::printTo(std::ostream& out) const { @@ -53712,15 +53758,15 @@ void swap(GetPackageRequest &a, GetPackageRequest &b) { swap(a.packageName, b.packageName); } -GetPackageRequest::GetPackageRequest(const GetPackageRequest& other1887) { - catName = other1887.catName; - dbName = other1887.dbName; - packageName = other1887.packageName; +GetPackageRequest::GetPackageRequest(const GetPackageRequest& other1895) { + catName = other1895.catName; + dbName = other1895.dbName; + packageName = other1895.packageName; } -GetPackageRequest& GetPackageRequest::operator=(const GetPackageRequest& other1888) { - catName = other1888.catName; - dbName = other1888.dbName; - packageName = other1888.packageName; +GetPackageRequest& GetPackageRequest::operator=(const GetPackageRequest& other1896) { + catName = other1896.catName; + dbName = other1896.dbName; + packageName = other1896.packageName; return *this; } void GetPackageRequest::printTo(std::ostream& out) const { @@ -53850,15 +53896,15 @@ void swap(DropPackageRequest &a, DropPackageRequest &b) { swap(a.packageName, b.packageName); } -DropPackageRequest::DropPackageRequest(const DropPackageRequest& other1889) { - catName = other1889.catName; - dbName = other1889.dbName; - packageName = other1889.packageName; +DropPackageRequest::DropPackageRequest(const DropPackageRequest& other1897) { + catName = other1897.catName; + dbName = other1897.dbName; + packageName = other1897.packageName; } -DropPackageRequest& DropPackageRequest::operator=(const DropPackageRequest& other1890) { - catName = other1890.catName; - dbName = other1890.dbName; - packageName = other1890.packageName; +DropPackageRequest& DropPackageRequest::operator=(const DropPackageRequest& other1898) { + catName = other1898.catName; + dbName = other1898.dbName; + packageName = other1898.packageName; return *this; } void DropPackageRequest::printTo(std::ostream& out) const { @@ -53968,15 +54014,15 @@ void swap(ListPackageRequest &a, ListPackageRequest &b) { swap(a.__isset, b.__isset); } -ListPackageRequest::ListPackageRequest(const ListPackageRequest& other1891) { - catName = other1891.catName; - dbName = other1891.dbName; - __isset = other1891.__isset; +ListPackageRequest::ListPackageRequest(const ListPackageRequest& other1899) { + catName = other1899.catName; + dbName = other1899.dbName; + __isset = other1899.__isset; } -ListPackageRequest& ListPackageRequest::operator=(const ListPackageRequest& other1892) { - catName = other1892.catName; - dbName = other1892.dbName; - __isset = other1892.__isset; +ListPackageRequest& ListPackageRequest::operator=(const ListPackageRequest& other1900) { + catName = other1900.catName; + dbName = other1900.dbName; + __isset = other1900.__isset; return *this; } void ListPackageRequest::printTo(std::ostream& out) const { @@ -54148,23 +54194,23 @@ void swap(Package &a, Package &b) { swap(a.__isset, b.__isset); } -Package::Package(const Package& other1893) { - catName = other1893.catName; - dbName = other1893.dbName; - packageName = other1893.packageName; - ownerName = other1893.ownerName; - header = other1893.header; - body = other1893.body; - __isset = other1893.__isset; +Package::Package(const Package& other1901) { + catName = other1901.catName; + dbName = other1901.dbName; + packageName = other1901.packageName; + ownerName = other1901.ownerName; + header = other1901.header; + body = other1901.body; + __isset = other1901.__isset; } -Package& Package::operator=(const Package& other1894) { - catName = other1894.catName; - dbName = other1894.dbName; - packageName = other1894.packageName; - ownerName = other1894.ownerName; - header = other1894.header; - body = other1894.body; - __isset = other1894.__isset; +Package& Package::operator=(const Package& other1902) { + catName = other1902.catName; + dbName = other1902.dbName; + packageName = other1902.packageName; + ownerName = other1902.ownerName; + header = other1902.header; + body = other1902.body; + __isset = other1902.__isset; return *this; } void Package::printTo(std::ostream& out) const { @@ -54296,17 +54342,17 @@ void swap(GetAllWriteEventInfoRequest &a, GetAllWriteEventInfoRequest &b) { swap(a.__isset, b.__isset); } -GetAllWriteEventInfoRequest::GetAllWriteEventInfoRequest(const GetAllWriteEventInfoRequest& other1895) { - txnId = other1895.txnId; - dbName = other1895.dbName; - tableName = other1895.tableName; - __isset = other1895.__isset; +GetAllWriteEventInfoRequest::GetAllWriteEventInfoRequest(const GetAllWriteEventInfoRequest& other1903) { + txnId = other1903.txnId; + dbName = other1903.dbName; + tableName = other1903.tableName; + __isset = other1903.__isset; } -GetAllWriteEventInfoRequest& GetAllWriteEventInfoRequest::operator=(const GetAllWriteEventInfoRequest& other1896) { - txnId = other1896.txnId; - dbName = other1896.dbName; - tableName = other1896.tableName; - __isset = other1896.__isset; +GetAllWriteEventInfoRequest& GetAllWriteEventInfoRequest::operator=(const GetAllWriteEventInfoRequest& other1904) { + txnId = other1904.txnId; + dbName = other1904.dbName; + tableName = other1904.tableName; + __isset = other1904.__isset; return *this; } void GetAllWriteEventInfoRequest::printTo(std::ostream& out) const { @@ -54413,14 +54459,14 @@ uint32_t DeleteColumnStatisticsRequest::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_names.clear(); - uint32_t _size1897; - ::apache::thrift::protocol::TType _etype1900; - xfer += iprot->readListBegin(_etype1900, _size1897); - this->part_names.resize(_size1897); - uint32_t _i1901; - for (_i1901 = 0; _i1901 < _size1897; ++_i1901) + uint32_t _size1905; + ::apache::thrift::protocol::TType _etype1908; + xfer += iprot->readListBegin(_etype1908, _size1905); + this->part_names.resize(_size1905); + uint32_t _i1909; + for (_i1909 = 0; _i1909 < _size1905; ++_i1909) { - xfer += iprot->readString(this->part_names[_i1901]); + xfer += iprot->readString(this->part_names[_i1909]); } xfer += iprot->readListEnd(); } @@ -54433,14 +54479,14 @@ uint32_t DeleteColumnStatisticsRequest::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->col_names.clear(); - uint32_t _size1902; - ::apache::thrift::protocol::TType _etype1905; - xfer += iprot->readListBegin(_etype1905, _size1902); - this->col_names.resize(_size1902); - uint32_t _i1906; - for (_i1906 = 0; _i1906 < _size1902; ++_i1906) + uint32_t _size1910; + ::apache::thrift::protocol::TType _etype1913; + xfer += iprot->readListBegin(_etype1913, _size1910); + this->col_names.resize(_size1910); + uint32_t _i1914; + for (_i1914 = 0; _i1914 < _size1910; ++_i1914) { - xfer += iprot->readString(this->col_names[_i1906]); + xfer += iprot->readString(this->col_names[_i1914]); } xfer += iprot->readListEnd(); } @@ -54503,10 +54549,10 @@ uint32_t DeleteColumnStatisticsRequest::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("part_names", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_names.size())); - std::vector ::const_iterator _iter1907; - for (_iter1907 = this->part_names.begin(); _iter1907 != this->part_names.end(); ++_iter1907) + std::vector ::const_iterator _iter1915; + for (_iter1915 = this->part_names.begin(); _iter1915 != this->part_names.end(); ++_iter1915) { - xfer += oprot->writeString((*_iter1907)); + xfer += oprot->writeString((*_iter1915)); } xfer += oprot->writeListEnd(); } @@ -54516,10 +54562,10 @@ uint32_t DeleteColumnStatisticsRequest::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("col_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->col_names.size())); - std::vector ::const_iterator _iter1908; - for (_iter1908 = this->col_names.begin(); _iter1908 != this->col_names.end(); ++_iter1908) + std::vector ::const_iterator _iter1916; + for (_iter1916 = this->col_names.begin(); _iter1916 != this->col_names.end(); ++_iter1916) { - xfer += oprot->writeString((*_iter1908)); + xfer += oprot->writeString((*_iter1916)); } xfer += oprot->writeListEnd(); } @@ -54552,25 +54598,25 @@ void swap(DeleteColumnStatisticsRequest &a, DeleteColumnStatisticsRequest &b) { swap(a.__isset, b.__isset); } -DeleteColumnStatisticsRequest::DeleteColumnStatisticsRequest(const DeleteColumnStatisticsRequest& other1909) { - cat_name = other1909.cat_name; - db_name = other1909.db_name; - tbl_name = other1909.tbl_name; - part_names = other1909.part_names; - col_names = other1909.col_names; - engine = other1909.engine; - tableLevel = other1909.tableLevel; - __isset = other1909.__isset; +DeleteColumnStatisticsRequest::DeleteColumnStatisticsRequest(const DeleteColumnStatisticsRequest& other1917) { + cat_name = other1917.cat_name; + db_name = other1917.db_name; + tbl_name = other1917.tbl_name; + part_names = other1917.part_names; + col_names = other1917.col_names; + engine = other1917.engine; + tableLevel = other1917.tableLevel; + __isset = other1917.__isset; } -DeleteColumnStatisticsRequest& DeleteColumnStatisticsRequest::operator=(const DeleteColumnStatisticsRequest& other1910) { - cat_name = other1910.cat_name; - db_name = other1910.db_name; - tbl_name = other1910.tbl_name; - part_names = other1910.part_names; - col_names = other1910.col_names; - engine = other1910.engine; - tableLevel = other1910.tableLevel; - __isset = other1910.__isset; +DeleteColumnStatisticsRequest& DeleteColumnStatisticsRequest::operator=(const DeleteColumnStatisticsRequest& other1918) { + cat_name = other1918.cat_name; + db_name = other1918.db_name; + tbl_name = other1918.tbl_name; + part_names = other1918.part_names; + col_names = other1918.col_names; + engine = other1918.engine; + tableLevel = other1918.tableLevel; + __isset = other1918.__isset; return *this; } void DeleteColumnStatisticsRequest::printTo(std::ostream& out) const { @@ -54626,17 +54672,17 @@ uint32_t ReplayedTxnsForPolicyResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->replTxnMapEntry.clear(); - uint32_t _size1911; - ::apache::thrift::protocol::TType _ktype1912; - ::apache::thrift::protocol::TType _vtype1913; - xfer += iprot->readMapBegin(_ktype1912, _vtype1913, _size1911); - uint32_t _i1915; - for (_i1915 = 0; _i1915 < _size1911; ++_i1915) + uint32_t _size1919; + ::apache::thrift::protocol::TType _ktype1920; + ::apache::thrift::protocol::TType _vtype1921; + xfer += iprot->readMapBegin(_ktype1920, _vtype1921, _size1919); + uint32_t _i1923; + for (_i1923 = 0; _i1923 < _size1919; ++_i1923) { - std::string _key1916; - xfer += iprot->readString(_key1916); - std::string& _val1917 = this->replTxnMapEntry[_key1916]; - xfer += iprot->readString(_val1917); + std::string _key1924; + xfer += iprot->readString(_key1924); + std::string& _val1925 = this->replTxnMapEntry[_key1924]; + xfer += iprot->readString(_val1925); } xfer += iprot->readMapEnd(); } @@ -54665,11 +54711,11 @@ uint32_t ReplayedTxnsForPolicyResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("replTxnMapEntry", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->replTxnMapEntry.size())); - std::map ::const_iterator _iter1918; - for (_iter1918 = this->replTxnMapEntry.begin(); _iter1918 != this->replTxnMapEntry.end(); ++_iter1918) + std::map ::const_iterator _iter1926; + for (_iter1926 = this->replTxnMapEntry.begin(); _iter1926 != this->replTxnMapEntry.end(); ++_iter1926) { - xfer += oprot->writeString(_iter1918->first); - xfer += oprot->writeString(_iter1918->second); + xfer += oprot->writeString(_iter1926->first); + xfer += oprot->writeString(_iter1926->second); } xfer += oprot->writeMapEnd(); } @@ -54686,13 +54732,13 @@ void swap(ReplayedTxnsForPolicyResult &a, ReplayedTxnsForPolicyResult &b) { swap(a.__isset, b.__isset); } -ReplayedTxnsForPolicyResult::ReplayedTxnsForPolicyResult(const ReplayedTxnsForPolicyResult& other1919) { - replTxnMapEntry = other1919.replTxnMapEntry; - __isset = other1919.__isset; +ReplayedTxnsForPolicyResult::ReplayedTxnsForPolicyResult(const ReplayedTxnsForPolicyResult& other1927) { + replTxnMapEntry = other1927.replTxnMapEntry; + __isset = other1927.__isset; } -ReplayedTxnsForPolicyResult& ReplayedTxnsForPolicyResult::operator=(const ReplayedTxnsForPolicyResult& other1920) { - replTxnMapEntry = other1920.replTxnMapEntry; - __isset = other1920.__isset; +ReplayedTxnsForPolicyResult& ReplayedTxnsForPolicyResult::operator=(const ReplayedTxnsForPolicyResult& other1928) { + replTxnMapEntry = other1928.replTxnMapEntry; + __isset = other1928.__isset; return *this; } void ReplayedTxnsForPolicyResult::printTo(std::ostream& out) const { @@ -54778,13 +54824,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1921) : TException() { - message = other1921.message; - __isset = other1921.__isset; +MetaException::MetaException(const MetaException& other1929) : TException() { + message = other1929.message; + __isset = other1929.__isset; } -MetaException& MetaException::operator=(const MetaException& other1922) { - message = other1922.message; - __isset = other1922.__isset; +MetaException& MetaException::operator=(const MetaException& other1930) { + message = other1930.message; + __isset = other1930.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -54881,13 +54927,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1923) : TException() { - message = other1923.message; - __isset = other1923.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1931) : TException() { + message = other1931.message; + __isset = other1931.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1924) { - message = other1924.message; - __isset = other1924.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1932) { + message = other1932.message; + __isset = other1932.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -54984,13 +55030,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1925) : TException() { - message = other1925.message; - __isset = other1925.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1933) : TException() { + message = other1933.message; + __isset = other1933.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1926) { - message = other1926.message; - __isset = other1926.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1934) { + message = other1934.message; + __isset = other1934.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -55087,13 +55133,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1927) : TException() { - message = other1927.message; - __isset = other1927.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1935) : TException() { + message = other1935.message; + __isset = other1935.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1928) { - message = other1928.message; - __isset = other1928.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1936) { + message = other1936.message; + __isset = other1936.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -55190,13 +55236,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1929) : TException() { - message = other1929.message; - __isset = other1929.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1937) : TException() { + message = other1937.message; + __isset = other1937.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1930) { - message = other1930.message; - __isset = other1930.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1938) { + message = other1938.message; + __isset = other1938.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -55293,13 +55339,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1931) : TException() { - message = other1931.message; - __isset = other1931.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1939) : TException() { + message = other1939.message; + __isset = other1939.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1932) { - message = other1932.message; - __isset = other1932.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1940) { + message = other1940.message; + __isset = other1940.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -55396,13 +55442,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1933) : TException() { - message = other1933.message; - __isset = other1933.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1941) : TException() { + message = other1941.message; + __isset = other1941.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1934) { - message = other1934.message; - __isset = other1934.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1942) { + message = other1942.message; + __isset = other1942.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -55499,13 +55545,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1935) : TException() { - message = other1935.message; - __isset = other1935.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1943) : TException() { + message = other1943.message; + __isset = other1943.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1936) { - message = other1936.message; - __isset = other1936.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1944) { + message = other1944.message; + __isset = other1944.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -55602,13 +55648,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1937) : TException() { - message = other1937.message; - __isset = other1937.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1945) : TException() { + message = other1945.message; + __isset = other1945.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1938) { - message = other1938.message; - __isset = other1938.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1946) { + message = other1946.message; + __isset = other1946.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -55705,13 +55751,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1939) : TException() { - message = other1939.message; - __isset = other1939.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1947) : TException() { + message = other1947.message; + __isset = other1947.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1940) { - message = other1940.message; - __isset = other1940.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1948) { + message = other1948.message; + __isset = other1948.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -55808,13 +55854,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1941) : TException() { - message = other1941.message; - __isset = other1941.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1949) : TException() { + message = other1949.message; + __isset = other1949.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1942) { - message = other1942.message; - __isset = other1942.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1950) { + message = other1950.message; + __isset = other1950.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -55911,13 +55957,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1943) : TException() { - message = other1943.message; - __isset = other1943.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1951) : TException() { + message = other1951.message; + __isset = other1951.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1944) { - message = other1944.message; - __isset = other1944.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1952) { + message = other1952.message; + __isset = other1952.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -56014,13 +56060,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1945) : TException() { - message = other1945.message; - __isset = other1945.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1953) : TException() { + message = other1953.message; + __isset = other1953.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1946) { - message = other1946.message; - __isset = other1946.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1954) { + message = other1954.message; + __isset = other1954.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -56117,13 +56163,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1947) : TException() { - message = other1947.message; - __isset = other1947.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1955) : TException() { + message = other1955.message; + __isset = other1955.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1948) { - message = other1948.message; - __isset = other1948.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1956) { + message = other1956.message; + __isset = other1956.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -56220,13 +56266,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1949) : TException() { - message = other1949.message; - __isset = other1949.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1957) : TException() { + message = other1957.message; + __isset = other1957.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1950) { - message = other1950.message; - __isset = other1950.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1958) { + message = other1958.message; + __isset = other1958.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { @@ -56323,13 +56369,13 @@ void swap(CompactionAbortedException &a, CompactionAbortedException &b) { swap(a.__isset, b.__isset); } -CompactionAbortedException::CompactionAbortedException(const CompactionAbortedException& other1951) : TException() { - message = other1951.message; - __isset = other1951.__isset; +CompactionAbortedException::CompactionAbortedException(const CompactionAbortedException& other1959) : TException() { + message = other1959.message; + __isset = other1959.__isset; } -CompactionAbortedException& CompactionAbortedException::operator=(const CompactionAbortedException& other1952) { - message = other1952.message; - __isset = other1952.__isset; +CompactionAbortedException& CompactionAbortedException::operator=(const CompactionAbortedException& other1960) { + message = other1960.message; + __isset = other1960.__isset; return *this; } void CompactionAbortedException::printTo(std::ostream& out) const { @@ -56426,13 +56472,13 @@ void swap(NoSuchCompactionException &a, NoSuchCompactionException &b) { swap(a.__isset, b.__isset); } -NoSuchCompactionException::NoSuchCompactionException(const NoSuchCompactionException& other1953) : TException() { - message = other1953.message; - __isset = other1953.__isset; +NoSuchCompactionException::NoSuchCompactionException(const NoSuchCompactionException& other1961) : TException() { + message = other1961.message; + __isset = other1961.__isset; } -NoSuchCompactionException& NoSuchCompactionException::operator=(const NoSuchCompactionException& other1954) { - message = other1954.message; - __isset = other1954.__isset; +NoSuchCompactionException& NoSuchCompactionException::operator=(const NoSuchCompactionException& other1962) { + message = other1962.message; + __isset = other1962.__isset; return *this; } void NoSuchCompactionException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h index 6ae7016d0e6e..f8e47adf0992 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -10333,12 +10333,13 @@ void swap(SeedTxnIdRequest &a, SeedTxnIdRequest &b); std::ostream& operator<<(std::ostream& out, const SeedTxnIdRequest& obj); typedef struct _LockComponent__isset { - _LockComponent__isset() : tablename(false), partitionname(false), operationType(true), isTransactional(true), isDynamicPartitionWrite(true) {} + _LockComponent__isset() : tablename(false), partitionname(false), operationType(true), isTransactional(true), isDynamicPartitionWrite(true), tableParams(false) {} bool tablename :1; bool partitionname :1; bool operationType :1; bool isTransactional :1; bool isDynamicPartitionWrite :1; + bool tableParams :1; } _LockComponent__isset; class LockComponent : public virtual ::apache::thrift::TBase { @@ -10380,6 +10381,7 @@ class LockComponent : public virtual ::apache::thrift::TBase { DataOperationType::type operationType; bool isTransactional; bool isDynamicPartitionWrite; + std::map tableParams; _LockComponent__isset __isset; @@ -10399,6 +10401,8 @@ class LockComponent : public virtual ::apache::thrift::TBase { void __set_isDynamicPartitionWrite(const bool val); + void __set_tableParams(const std::map & val); + bool operator == (const LockComponent & rhs) const { if (!(type == rhs.type)) @@ -10427,6 +10431,10 @@ class LockComponent : public virtual ::apache::thrift::TBase { return false; else if (__isset.isDynamicPartitionWrite && !(isDynamicPartitionWrite == rhs.isDynamicPartitionWrite)) return false; + if (__isset.tableParams != rhs.__isset.tableParams) + return false; + else if (__isset.tableParams && !(tableParams == rhs.tableParams)) + return false; return true; } bool operator != (const LockComponent &rhs) const { diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactResponse.java index f9ff88098bdb..50b90d299593 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactResponse.java @@ -333,16 +333,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortCompactRespons case 1: // ABORTEDCOMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map950 = iprot.readMapBegin(); - struct.abortedcompacts = new java.util.HashMap(2*_map950.size); - long _key951; - @org.apache.thrift.annotation.Nullable AbortCompactionResponseElement _val952; - for (int _i953 = 0; _i953 < _map950.size; ++_i953) + org.apache.thrift.protocol.TMap _map960 = iprot.readMapBegin(); + struct.abortedcompacts = new java.util.HashMap(2*_map960.size); + long _key961; + @org.apache.thrift.annotation.Nullable AbortCompactionResponseElement _val962; + for (int _i963 = 0; _i963 < _map960.size; ++_i963) { - _key951 = iprot.readI64(); - _val952 = new AbortCompactionResponseElement(); - _val952.read(iprot); - struct.abortedcompacts.put(_key951, _val952); + _key961 = iprot.readI64(); + _val962 = new AbortCompactionResponseElement(); + _val962.read(iprot); + struct.abortedcompacts.put(_key961, _val962); } iprot.readMapEnd(); } @@ -368,10 +368,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortCompactRespon oprot.writeFieldBegin(ABORTEDCOMPACTS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.abortedcompacts.size())); - for (java.util.Map.Entry _iter954 : struct.abortedcompacts.entrySet()) + for (java.util.Map.Entry _iter964 : struct.abortedcompacts.entrySet()) { - oprot.writeI64(_iter954.getKey()); - _iter954.getValue().write(oprot); + oprot.writeI64(_iter964.getKey()); + _iter964.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -396,10 +396,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortCompactRespons org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.abortedcompacts.size()); - for (java.util.Map.Entry _iter955 : struct.abortedcompacts.entrySet()) + for (java.util.Map.Entry _iter965 : struct.abortedcompacts.entrySet()) { - oprot.writeI64(_iter955.getKey()); - _iter955.getValue().write(oprot); + oprot.writeI64(_iter965.getKey()); + _iter965.getValue().write(oprot); } } } @@ -408,16 +408,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortCompactRespons public void read(org.apache.thrift.protocol.TProtocol prot, AbortCompactResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map956 = iprot.readMapBegin(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT); - struct.abortedcompacts = new java.util.HashMap(2*_map956.size); - long _key957; - @org.apache.thrift.annotation.Nullable AbortCompactionResponseElement _val958; - for (int _i959 = 0; _i959 < _map956.size; ++_i959) + org.apache.thrift.protocol.TMap _map966 = iprot.readMapBegin(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT); + struct.abortedcompacts = new java.util.HashMap(2*_map966.size); + long _key967; + @org.apache.thrift.annotation.Nullable AbortCompactionResponseElement _val968; + for (int _i969 = 0; _i969 < _map966.size; ++_i969) { - _key957 = iprot.readI64(); - _val958 = new AbortCompactionResponseElement(); - _val958.read(iprot); - struct.abortedcompacts.put(_key957, _val958); + _key967 = iprot.readI64(); + _val968 = new AbortCompactionResponseElement(); + _val968.read(iprot); + struct.abortedcompacts.put(_key967, _val968); } } struct.setAbortedcompactsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactionRequest.java index d2c0523627bb..0239b7947643 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactionRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortCompactionRequest.java @@ -489,13 +489,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortCompactionRequ case 1: // COMPACTION_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); - struct.compactionIds = new java.util.ArrayList(_list942.size); - long _elem943; - for (int _i944 = 0; _i944 < _list942.size; ++_i944) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.compactionIds = new java.util.ArrayList(_list952.size); + long _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem943 = iprot.readI64(); - struct.compactionIds.add(_elem943); + _elem953 = iprot.readI64(); + struct.compactionIds.add(_elem953); } iprot.readListEnd(); } @@ -537,9 +537,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortCompactionReq oprot.writeFieldBegin(COMPACTION_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.compactionIds.size())); - for (long _iter945 : struct.compactionIds) + for (long _iter955 : struct.compactionIds) { - oprot.writeI64(_iter945); + oprot.writeI64(_iter955); } oprot.writeListEnd(); } @@ -578,9 +578,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortCompactionRequ org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.compactionIds.size()); - for (long _iter946 : struct.compactionIds) + for (long _iter956 : struct.compactionIds) { - oprot.writeI64(_iter946); + oprot.writeI64(_iter956); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -603,13 +603,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortCompactionRequ public void read(org.apache.thrift.protocol.TProtocol prot, AbortCompactionRequest struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list947 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); - struct.compactionIds = new java.util.ArrayList(_list947.size); - long _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list957 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); + struct.compactionIds = new java.util.ArrayList(_list957.size); + long _elem958; + for (int _i959 = 0; _i959 < _list957.size; ++_i959) { - _elem948 = iprot.readI64(); - struct.compactionIds.add(_elem948); + _elem958 = iprot.readI64(); + struct.compactionIds.add(_elem958); } } struct.setCompactionIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index f471829a8bd6..886070d049c8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -785,13 +785,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); - struct.partitionnames = new java.util.ArrayList(_list976.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.partitionnames = new java.util.ArrayList(_list986.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem977 = iprot.readString(); - struct.partitionnames.add(_elem977); + _elem987 = iprot.readString(); + struct.partitionnames.add(_elem987); } iprot.readListEnd(); } @@ -841,9 +841,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (java.lang.String _iter979 : struct.partitionnames) + for (java.lang.String _iter989 : struct.partitionnames) { - oprot.writeString(_iter979); + oprot.writeString(_iter989); } oprot.writeListEnd(); } @@ -879,9 +879,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (java.lang.String _iter980 : struct.partitionnames) + for (java.lang.String _iter990 : struct.partitionnames) { - oprot.writeString(_iter980); + oprot.writeString(_iter990); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -906,13 +906,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list981 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partitionnames = new java.util.ArrayList(_list981.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) + org.apache.thrift.protocol.TList _list991 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partitionnames = new java.util.ArrayList(_list991.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem992; + for (int _i993 = 0; _i993 < _list991.size; ++_i993) { - _elem982 = iprot.readString(); - struct.partitionnames.add(_elem982); + _elem992 = iprot.readString(); + struct.partitionnames.add(_elem992); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java index ab306b47a997..27eeee645051 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java @@ -1028,14 +1028,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterPartitionsRequ case 4: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1432 = iprot.readListBegin(); - struct.partitions = new java.util.ArrayList(_list1432.size); - @org.apache.thrift.annotation.Nullable Partition _elem1433; - for (int _i1434 = 0; _i1434 < _list1432.size; ++_i1434) + org.apache.thrift.protocol.TList _list1442 = iprot.readListBegin(); + struct.partitions = new java.util.ArrayList(_list1442.size); + @org.apache.thrift.annotation.Nullable Partition _elem1443; + for (int _i1444 = 0; _i1444 < _list1442.size; ++_i1444) { - _elem1433 = new Partition(); - _elem1433.read(iprot); - struct.partitions.add(_elem1433); + _elem1443 = new Partition(); + _elem1443.read(iprot); + struct.partitions.add(_elem1443); } iprot.readListEnd(); } @@ -1080,14 +1080,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterPartitionsRequ case 9: // PARTITION_COL_SCHEMA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1435 = iprot.readListBegin(); - struct.partitionColSchema = new java.util.ArrayList(_list1435.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1445 = iprot.readListBegin(); + struct.partitionColSchema = new java.util.ArrayList(_list1445.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1446; + for (int _i1447 = 0; _i1447 < _list1445.size; ++_i1447) { - _elem1436 = new FieldSchema(); - _elem1436.read(iprot); - struct.partitionColSchema.add(_elem1436); + _elem1446 = new FieldSchema(); + _elem1446.read(iprot); + struct.partitionColSchema.add(_elem1446); } iprot.readListEnd(); } @@ -1130,9 +1130,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterPartitionsReq oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter1438 : struct.partitions) + for (Partition _iter1448 : struct.partitions) { - _iter1438.write(oprot); + _iter1448.write(oprot); } oprot.writeListEnd(); } @@ -1167,9 +1167,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterPartitionsReq oprot.writeFieldBegin(PARTITION_COL_SCHEMA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionColSchema.size())); - for (FieldSchema _iter1439 : struct.partitionColSchema) + for (FieldSchema _iter1449 : struct.partitionColSchema) { - _iter1439.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -1197,9 +1197,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partitions.size()); - for (Partition _iter1440 : struct.partitions) + for (Partition _iter1450 : struct.partitions) { - _iter1440.write(oprot); + _iter1450.write(oprot); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -1240,9 +1240,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsRequ if (struct.isSetPartitionColSchema()) { { oprot.writeI32(struct.partitionColSchema.size()); - for (FieldSchema _iter1441 : struct.partitionColSchema) + for (FieldSchema _iter1451 : struct.partitionColSchema) { - _iter1441.write(oprot); + _iter1451.write(oprot); } } } @@ -1256,14 +1256,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list1442 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.partitions = new java.util.ArrayList(_list1442.size); - @org.apache.thrift.annotation.Nullable Partition _elem1443; - for (int _i1444 = 0; _i1444 < _list1442.size; ++_i1444) + org.apache.thrift.protocol.TList _list1452 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.partitions = new java.util.ArrayList(_list1452.size); + @org.apache.thrift.annotation.Nullable Partition _elem1453; + for (int _i1454 = 0; _i1454 < _list1452.size; ++_i1454) { - _elem1443 = new Partition(); - _elem1443.read(iprot); - struct.partitions.add(_elem1443); + _elem1453 = new Partition(); + _elem1453.read(iprot); + struct.partitions.add(_elem1453); } } struct.setPartitionsIsSet(true); @@ -1291,14 +1291,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsReque } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1445 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.partitionColSchema = new java.util.ArrayList(_list1445.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1446; - for (int _i1447 = 0; _i1447 < _list1445.size; ++_i1447) + org.apache.thrift.protocol.TList _list1455 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.partitionColSchema = new java.util.ArrayList(_list1455.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1456; + for (int _i1457 = 0; _i1457 < _list1455.size; ++_i1457) { - _elem1446 = new FieldSchema(); - _elem1446.read(iprot); - struct.partitionColSchema.add(_elem1446); + _elem1456 = new FieldSchema(); + _elem1456.read(iprot); + struct.partitionColSchema.add(_elem1456); } } struct.setPartitionColSchemaIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java index 9411ddb774be..9f2b11f6c16a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java @@ -1209,13 +1209,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterTableRequest s case 8: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1464 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1464.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1465; - for (int _i1466 = 0; _i1466 < _list1464.size; ++_i1466) + org.apache.thrift.protocol.TList _list1474 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1474.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1475; + for (int _i1476 = 0; _i1476 < _list1474.size; ++_i1476) { - _elem1465 = iprot.readString(); - struct.processorCapabilities.add(_elem1465); + _elem1475 = iprot.readString(); + struct.processorCapabilities.add(_elem1475); } iprot.readListEnd(); } @@ -1307,9 +1307,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterTableRequest oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1467 : struct.processorCapabilities) + for (java.lang.String _iter1477 : struct.processorCapabilities) { - oprot.writeString(_iter1467); + oprot.writeString(_iter1477); } oprot.writeListEnd(); } @@ -1398,9 +1398,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterTableRequest s if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1468 : struct.processorCapabilities) + for (java.lang.String _iter1478 : struct.processorCapabilities) { - oprot.writeString(_iter1468); + oprot.writeString(_iter1478); } } } @@ -1445,13 +1445,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterTableRequest st } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1469 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1469.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1470; - for (int _i1471 = 0; _i1471 < _list1469.size; ++_i1471) + org.apache.thrift.protocol.TList _list1479 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1479.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1480; + for (int _i1481 = 0; _i1481 < _list1479.size; ++_i1481) { - _elem1470 = iprot.readString(); - struct.processorCapabilities.add(_elem1470); + _elem1480 = iprot.readString(); + struct.processorCapabilities.add(_elem1480); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AppendPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AppendPartitionsRequest.java index c2ff8c7fbc86..396f4d98fdbc 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AppendPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AppendPartitionsRequest.java @@ -771,13 +771,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AppendPartitionsReq case 5: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1448 = iprot.readListBegin(); - struct.partVals = new java.util.ArrayList(_list1448.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1449; - for (int _i1450 = 0; _i1450 < _list1448.size; ++_i1450) + org.apache.thrift.protocol.TList _list1458 = iprot.readListBegin(); + struct.partVals = new java.util.ArrayList(_list1458.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1459; + for (int _i1460 = 0; _i1460 < _list1458.size; ++_i1460) { - _elem1449 = iprot.readString(); - struct.partVals.add(_elem1449); + _elem1459 = iprot.readString(); + struct.partVals.add(_elem1459); } iprot.readListEnd(); } @@ -837,9 +837,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AppendPartitionsRe oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (java.lang.String _iter1451 : struct.partVals) + for (java.lang.String _iter1461 : struct.partVals) { - oprot.writeString(_iter1451); + oprot.writeString(_iter1461); } oprot.writeListEnd(); } @@ -895,9 +895,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AppendPartitionsReq if (struct.isSetPartVals()) { { oprot.writeI32(struct.partVals.size()); - for (java.lang.String _iter1452 : struct.partVals) + for (java.lang.String _iter1462 : struct.partVals) { - oprot.writeString(_iter1452); + oprot.writeString(_iter1462); } } } @@ -924,13 +924,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AppendPartitionsRequ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1453 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partVals = new java.util.ArrayList(_list1453.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1454; - for (int _i1455 = 0; _i1455 < _list1453.size; ++_i1455) + org.apache.thrift.protocol.TList _list1463 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partVals = new java.util.ArrayList(_list1463.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1464; + for (int _i1465 = 0; _i1465 < _list1463.size; ++_i1465) { - _elem1454 = iprot.readString(); - struct.partVals.add(_elem1454); + _elem1464 = iprot.readString(); + struct.partVals.add(_elem1464); } } struct.setPartValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 44b6cce8bd92..4109386006f8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -326,13 +326,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1174 = iprot.readListBegin(); - struct.fileIds = new java.util.ArrayList(_list1174.size); - long _elem1175; - for (int _i1176 = 0; _i1176 < _list1174.size; ++_i1176) + org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); + struct.fileIds = new java.util.ArrayList(_list1184.size); + long _elem1185; + for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) { - _elem1175 = iprot.readI64(); - struct.fileIds.add(_elem1175); + _elem1185 = iprot.readI64(); + struct.fileIds.add(_elem1185); } iprot.readListEnd(); } @@ -358,9 +358,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter1177 : struct.fileIds) + for (long _iter1187 : struct.fileIds) { - oprot.writeI64(_iter1177); + oprot.writeI64(_iter1187); } oprot.writeListEnd(); } @@ -385,9 +385,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter1178 : struct.fileIds) + for (long _iter1188 : struct.fileIds) { - oprot.writeI64(_iter1178); + oprot.writeI64(_iter1188); } } } @@ -396,13 +396,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1179 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); - struct.fileIds = new java.util.ArrayList(_list1179.size); - long _elem1180; - for (int _i1181 = 0; _i1181 < _list1179.size; ++_i1181) + org.apache.thrift.protocol.TList _list1189 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); + struct.fileIds = new java.util.ArrayList(_list1189.size); + long _elem1190; + for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) { - _elem1180 = iprot.readI64(); - struct.fileIds.add(_elem1180); + _elem1190 = iprot.readI64(); + struct.fileIds.add(_elem1190); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index b9001bcdf685..b86ff3049211 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -329,15 +329,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1190 = iprot.readListBegin(); - struct.values = new java.util.ArrayList(_list1190.size); - @org.apache.thrift.annotation.Nullable ClientCapability _elem1191; - for (int _i1192 = 0; _i1192 < _list1190.size; ++_i1192) + org.apache.thrift.protocol.TList _list1200 = iprot.readListBegin(); + struct.values = new java.util.ArrayList(_list1200.size); + @org.apache.thrift.annotation.Nullable ClientCapability _elem1201; + for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) { - _elem1191 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - if (_elem1191 != null) + _elem1201 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + if (_elem1201 != null) { - struct.values.add(_elem1191); + struct.values.add(_elem1201); } } iprot.readListEnd(); @@ -364,9 +364,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter1193 : struct.values) + for (ClientCapability _iter1203 : struct.values) { - oprot.writeI32(_iter1193.getValue()); + oprot.writeI32(_iter1203.getValue()); } oprot.writeListEnd(); } @@ -391,9 +391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter1194 : struct.values) + for (ClientCapability _iter1204 : struct.values) { - oprot.writeI32(_iter1194.getValue()); + oprot.writeI32(_iter1204.getValue()); } } } @@ -402,15 +402,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1195 = iprot.readListBegin(org.apache.thrift.protocol.TType.I32); - struct.values = new java.util.ArrayList(_list1195.size); - @org.apache.thrift.annotation.Nullable ClientCapability _elem1196; - for (int _i1197 = 0; _i1197 < _list1195.size; ++_i1197) + org.apache.thrift.protocol.TList _list1205 = iprot.readListBegin(org.apache.thrift.protocol.TType.I32); + struct.values = new java.util.ArrayList(_list1205.size); + @org.apache.thrift.annotation.Nullable ClientCapability _elem1206; + for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) { - _elem1196 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - if (_elem1196 != null) + _elem1206 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + if (_elem1206 != null) { - struct.values.add(_elem1196); + struct.values.add(_elem1206); } } } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 1cf788bd5ab2..7d6a08220c21 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -1191,15 +1191,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map924 = iprot.readMapBegin(); - struct.properties = new java.util.HashMap(2*_map924.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key925; - @org.apache.thrift.annotation.Nullable java.lang.String _val926; - for (int _i927 = 0; _i927 < _map924.size; ++_i927) + org.apache.thrift.protocol.TMap _map934 = iprot.readMapBegin(); + struct.properties = new java.util.HashMap(2*_map934.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key935; + @org.apache.thrift.annotation.Nullable java.lang.String _val936; + for (int _i937 = 0; _i937 < _map934.size; ++_i937) { - _key925 = iprot.readString(); - _val926 = iprot.readString(); - struct.properties.put(_key925, _val926); + _key935 = iprot.readString(); + _val936 = iprot.readString(); + struct.properties.put(_key935, _val936); } iprot.readMapEnd(); } @@ -1295,10 +1295,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (java.util.Map.Entry _iter928 : struct.properties.entrySet()) + for (java.util.Map.Entry _iter938 : struct.properties.entrySet()) { - oprot.writeString(_iter928.getKey()); - oprot.writeString(_iter928.getValue()); + oprot.writeString(_iter938.getKey()); + oprot.writeString(_iter938.getValue()); } oprot.writeMapEnd(); } @@ -1393,10 +1393,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (java.util.Map.Entry _iter929 : struct.properties.entrySet()) + for (java.util.Map.Entry _iter939 : struct.properties.entrySet()) { - oprot.writeString(_iter929.getKey()); - oprot.writeString(_iter929.getValue()); + oprot.writeString(_iter939.getKey()); + oprot.writeString(_iter939.getValue()); } } } @@ -1437,15 +1437,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map930 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.properties = new java.util.HashMap(2*_map930.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key931; - @org.apache.thrift.annotation.Nullable java.lang.String _val932; - for (int _i933 = 0; _i933 < _map930.size; ++_i933) + org.apache.thrift.protocol.TMap _map940 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.properties = new java.util.HashMap(2*_map940.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key941; + @org.apache.thrift.annotation.Nullable java.lang.String _val942; + for (int _i943 = 0; _i943 < _map940.size; ++_i943) { - _key931 = iprot.readString(); - _val932 = iprot.readString(); - struct.properties.put(_key931, _val932); + _key941 = iprot.readString(); + _val942 = iprot.readString(); + struct.properties.put(_key941, _val942); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateDatabaseRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateDatabaseRequest.java index e13be4dbe1cf..2b5cdf676e5c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateDatabaseRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateDatabaseRequest.java @@ -1344,15 +1344,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateDatabaseReque case 4: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1422 = iprot.readMapBegin(); - struct.parameters = new java.util.HashMap(2*_map1422.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1423; - @org.apache.thrift.annotation.Nullable java.lang.String _val1424; - for (int _i1425 = 0; _i1425 < _map1422.size; ++_i1425) + org.apache.thrift.protocol.TMap _map1432 = iprot.readMapBegin(); + struct.parameters = new java.util.HashMap(2*_map1432.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1433; + @org.apache.thrift.annotation.Nullable java.lang.String _val1434; + for (int _i1435 = 0; _i1435 < _map1432.size; ++_i1435) { - _key1423 = iprot.readString(); - _val1424 = iprot.readString(); - struct.parameters.put(_key1423, _val1424); + _key1433 = iprot.readString(); + _val1434 = iprot.readString(); + struct.parameters.put(_key1433, _val1434); } iprot.readMapEnd(); } @@ -1471,10 +1471,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateDatabaseRequ oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (java.util.Map.Entry _iter1426 : struct.parameters.entrySet()) + for (java.util.Map.Entry _iter1436 : struct.parameters.entrySet()) { - oprot.writeString(_iter1426.getKey()); - oprot.writeString(_iter1426.getValue()); + oprot.writeString(_iter1436.getKey()); + oprot.writeString(_iter1436.getValue()); } oprot.writeMapEnd(); } @@ -1607,10 +1607,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreateDatabaseReque if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (java.util.Map.Entry _iter1427 : struct.parameters.entrySet()) + for (java.util.Map.Entry _iter1437 : struct.parameters.entrySet()) { - oprot.writeString(_iter1427.getKey()); - oprot.writeString(_iter1427.getValue()); + oprot.writeString(_iter1437.getKey()); + oprot.writeString(_iter1437.getValue()); } } } @@ -1659,15 +1659,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreateDatabaseReques } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1428 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.parameters = new java.util.HashMap(2*_map1428.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1429; - @org.apache.thrift.annotation.Nullable java.lang.String _val1430; - for (int _i1431 = 0; _i1431 < _map1428.size; ++_i1431) + org.apache.thrift.protocol.TMap _map1438 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.parameters = new java.util.HashMap(2*_map1438.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1439; + @org.apache.thrift.annotation.Nullable java.lang.String _val1440; + for (int _i1441 = 0; _i1441 < _map1438.size; ++_i1441) { - _key1429 = iprot.readString(); - _val1430 = iprot.readString(); - struct.parameters.put(_key1429, _val1430); + _key1439 = iprot.readString(); + _val1440 = iprot.readString(); + struct.parameters.put(_key1439, _val1440); } } struct.setParametersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java index 613196568ede..719ae8ea8626 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java @@ -1206,14 +1206,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 3: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); - struct.primaryKeys = new java.util.ArrayList(_list1366.size); - @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1367; - for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) + org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); + struct.primaryKeys = new java.util.ArrayList(_list1376.size); + @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1367 = new SQLPrimaryKey(); - _elem1367.read(iprot); - struct.primaryKeys.add(_elem1367); + _elem1377 = new SQLPrimaryKey(); + _elem1377.read(iprot); + struct.primaryKeys.add(_elem1377); } iprot.readListEnd(); } @@ -1225,14 +1225,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 4: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1369 = iprot.readListBegin(); - struct.foreignKeys = new java.util.ArrayList(_list1369.size); - @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1370; - for (int _i1371 = 0; _i1371 < _list1369.size; ++_i1371) + org.apache.thrift.protocol.TList _list1379 = iprot.readListBegin(); + struct.foreignKeys = new java.util.ArrayList(_list1379.size); + @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1380; + for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) { - _elem1370 = new SQLForeignKey(); - _elem1370.read(iprot); - struct.foreignKeys.add(_elem1370); + _elem1380 = new SQLForeignKey(); + _elem1380.read(iprot); + struct.foreignKeys.add(_elem1380); } iprot.readListEnd(); } @@ -1244,14 +1244,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 5: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1372 = iprot.readListBegin(); - struct.uniqueConstraints = new java.util.ArrayList(_list1372.size); - @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1373; - for (int _i1374 = 0; _i1374 < _list1372.size; ++_i1374) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.uniqueConstraints = new java.util.ArrayList(_list1382.size); + @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1373 = new SQLUniqueConstraint(); - _elem1373.read(iprot); - struct.uniqueConstraints.add(_elem1373); + _elem1383 = new SQLUniqueConstraint(); + _elem1383.read(iprot); + struct.uniqueConstraints.add(_elem1383); } iprot.readListEnd(); } @@ -1263,14 +1263,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 6: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1375 = iprot.readListBegin(); - struct.notNullConstraints = new java.util.ArrayList(_list1375.size); - @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1376; - for (int _i1377 = 0; _i1377 < _list1375.size; ++_i1377) + org.apache.thrift.protocol.TList _list1385 = iprot.readListBegin(); + struct.notNullConstraints = new java.util.ArrayList(_list1385.size); + @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1386; + for (int _i1387 = 0; _i1387 < _list1385.size; ++_i1387) { - _elem1376 = new SQLNotNullConstraint(); - _elem1376.read(iprot); - struct.notNullConstraints.add(_elem1376); + _elem1386 = new SQLNotNullConstraint(); + _elem1386.read(iprot); + struct.notNullConstraints.add(_elem1386); } iprot.readListEnd(); } @@ -1282,14 +1282,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 7: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1378 = iprot.readListBegin(); - struct.defaultConstraints = new java.util.ArrayList(_list1378.size); - @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1379; - for (int _i1380 = 0; _i1380 < _list1378.size; ++_i1380) + org.apache.thrift.protocol.TList _list1388 = iprot.readListBegin(); + struct.defaultConstraints = new java.util.ArrayList(_list1388.size); + @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1389; + for (int _i1390 = 0; _i1390 < _list1388.size; ++_i1390) { - _elem1379 = new SQLDefaultConstraint(); - _elem1379.read(iprot); - struct.defaultConstraints.add(_elem1379); + _elem1389 = new SQLDefaultConstraint(); + _elem1389.read(iprot); + struct.defaultConstraints.add(_elem1389); } iprot.readListEnd(); } @@ -1301,14 +1301,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 8: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1381 = iprot.readListBegin(); - struct.checkConstraints = new java.util.ArrayList(_list1381.size); - @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1382; - for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) + org.apache.thrift.protocol.TList _list1391 = iprot.readListBegin(); + struct.checkConstraints = new java.util.ArrayList(_list1391.size); + @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1392; + for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393) { - _elem1382 = new SQLCheckConstraint(); - _elem1382.read(iprot); - struct.checkConstraints.add(_elem1382); + _elem1392 = new SQLCheckConstraint(); + _elem1392.read(iprot); + struct.checkConstraints.add(_elem1392); } iprot.readListEnd(); } @@ -1320,13 +1320,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 9: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1384 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1384.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1385; - for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) + org.apache.thrift.protocol.TList _list1394 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1394.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1395; + for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) { - _elem1385 = iprot.readString(); - struct.processorCapabilities.add(_elem1385); + _elem1395 = iprot.readString(); + struct.processorCapabilities.add(_elem1395); } iprot.readListEnd(); } @@ -1373,9 +1373,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter1387 : struct.primaryKeys) + for (SQLPrimaryKey _iter1397 : struct.primaryKeys) { - _iter1387.write(oprot); + _iter1397.write(oprot); } oprot.writeListEnd(); } @@ -1387,9 +1387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter1388 : struct.foreignKeys) + for (SQLForeignKey _iter1398 : struct.foreignKeys) { - _iter1388.write(oprot); + _iter1398.write(oprot); } oprot.writeListEnd(); } @@ -1401,9 +1401,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter1389 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1399 : struct.uniqueConstraints) { - _iter1389.write(oprot); + _iter1399.write(oprot); } oprot.writeListEnd(); } @@ -1415,9 +1415,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter1390 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1400 : struct.notNullConstraints) { - _iter1390.write(oprot); + _iter1400.write(oprot); } oprot.writeListEnd(); } @@ -1429,9 +1429,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1391 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1401 : struct.defaultConstraints) { - _iter1391.write(oprot); + _iter1401.write(oprot); } oprot.writeListEnd(); } @@ -1443,9 +1443,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1392 : struct.checkConstraints) + for (SQLCheckConstraint _iter1402 : struct.checkConstraints) { - _iter1392.write(oprot); + _iter1402.write(oprot); } oprot.writeListEnd(); } @@ -1457,9 +1457,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1393 : struct.processorCapabilities) + for (java.lang.String _iter1403 : struct.processorCapabilities) { - oprot.writeString(_iter1393); + oprot.writeString(_iter1403); } oprot.writeListEnd(); } @@ -1526,63 +1526,63 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreateTableRequest if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1394 : struct.primaryKeys) + for (SQLPrimaryKey _iter1404 : struct.primaryKeys) { - _iter1394.write(oprot); + _iter1404.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1395 : struct.foreignKeys) + for (SQLForeignKey _iter1405 : struct.foreignKeys) { - _iter1395.write(oprot); + _iter1405.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1396 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1406 : struct.uniqueConstraints) { - _iter1396.write(oprot); + _iter1406.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1397 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1407 : struct.notNullConstraints) { - _iter1397.write(oprot); + _iter1407.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1398 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1408 : struct.defaultConstraints) { - _iter1398.write(oprot); + _iter1408.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1399 : struct.checkConstraints) + for (SQLCheckConstraint _iter1409 : struct.checkConstraints) { - _iter1399.write(oprot); + _iter1409.write(oprot); } } } if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1400 : struct.processorCapabilities) + for (java.lang.String _iter1410 : struct.processorCapabilities) { - oprot.writeString(_iter1400); + oprot.writeString(_iter1410); } } } @@ -1605,97 +1605,97 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreateTableRequest s } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1401 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.primaryKeys = new java.util.ArrayList(_list1401.size); - @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1402; - for (int _i1403 = 0; _i1403 < _list1401.size; ++_i1403) + org.apache.thrift.protocol.TList _list1411 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.primaryKeys = new java.util.ArrayList(_list1411.size); + @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1412; + for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) { - _elem1402 = new SQLPrimaryKey(); - _elem1402.read(iprot); - struct.primaryKeys.add(_elem1402); + _elem1412 = new SQLPrimaryKey(); + _elem1412.read(iprot); + struct.primaryKeys.add(_elem1412); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1404 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.foreignKeys = new java.util.ArrayList(_list1404.size); - @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1405; - for (int _i1406 = 0; _i1406 < _list1404.size; ++_i1406) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.foreignKeys = new java.util.ArrayList(_list1414.size); + @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1405 = new SQLForeignKey(); - _elem1405.read(iprot); - struct.foreignKeys.add(_elem1405); + _elem1415 = new SQLForeignKey(); + _elem1415.read(iprot); + struct.foreignKeys.add(_elem1415); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1407 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.uniqueConstraints = new java.util.ArrayList(_list1407.size); - @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1408; - for (int _i1409 = 0; _i1409 < _list1407.size; ++_i1409) + org.apache.thrift.protocol.TList _list1417 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.uniqueConstraints = new java.util.ArrayList(_list1417.size); + @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1418; + for (int _i1419 = 0; _i1419 < _list1417.size; ++_i1419) { - _elem1408 = new SQLUniqueConstraint(); - _elem1408.read(iprot); - struct.uniqueConstraints.add(_elem1408); + _elem1418 = new SQLUniqueConstraint(); + _elem1418.read(iprot); + struct.uniqueConstraints.add(_elem1418); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1410 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.notNullConstraints = new java.util.ArrayList(_list1410.size); - @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1411; - for (int _i1412 = 0; _i1412 < _list1410.size; ++_i1412) + org.apache.thrift.protocol.TList _list1420 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.notNullConstraints = new java.util.ArrayList(_list1420.size); + @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1421; + for (int _i1422 = 0; _i1422 < _list1420.size; ++_i1422) { - _elem1411 = new SQLNotNullConstraint(); - _elem1411.read(iprot); - struct.notNullConstraints.add(_elem1411); + _elem1421 = new SQLNotNullConstraint(); + _elem1421.read(iprot); + struct.notNullConstraints.add(_elem1421); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1413 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.defaultConstraints = new java.util.ArrayList(_list1413.size); - @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1414; - for (int _i1415 = 0; _i1415 < _list1413.size; ++_i1415) + org.apache.thrift.protocol.TList _list1423 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.defaultConstraints = new java.util.ArrayList(_list1423.size); + @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1424; + for (int _i1425 = 0; _i1425 < _list1423.size; ++_i1425) { - _elem1414 = new SQLDefaultConstraint(); - _elem1414.read(iprot); - struct.defaultConstraints.add(_elem1414); + _elem1424 = new SQLDefaultConstraint(); + _elem1424.read(iprot); + struct.defaultConstraints.add(_elem1424); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1416 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.checkConstraints = new java.util.ArrayList(_list1416.size); - @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1417; - for (int _i1418 = 0; _i1418 < _list1416.size; ++_i1418) + org.apache.thrift.protocol.TList _list1426 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.checkConstraints = new java.util.ArrayList(_list1426.size); + @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1427; + for (int _i1428 = 0; _i1428 < _list1426.size; ++_i1428) { - _elem1417 = new SQLCheckConstraint(); - _elem1417.read(iprot); - struct.checkConstraints.add(_elem1417); + _elem1427 = new SQLCheckConstraint(); + _elem1427.read(iprot); + struct.checkConstraints.add(_elem1427); } } struct.setCheckConstraintsIsSet(true); } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list1419 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1419.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1429 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1429.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1430; + for (int _i1431 = 0; _i1431 < _list1429.size; ++_i1431) { - _elem1420 = iprot.readString(); - struct.processorCapabilities.add(_elem1420); + _elem1430 = iprot.readString(); + struct.processorCapabilities.add(_elem1430); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DeleteColumnStatisticsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DeleteColumnStatisticsRequest.java index f4d8f39179c8..6966d4610457 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DeleteColumnStatisticsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DeleteColumnStatisticsRequest.java @@ -862,13 +862,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DeleteColumnStatist case 4: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1600 = iprot.readListBegin(); - struct.part_names = new java.util.ArrayList(_list1600.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1601; - for (int _i1602 = 0; _i1602 < _list1600.size; ++_i1602) + org.apache.thrift.protocol.TList _list1610 = iprot.readListBegin(); + struct.part_names = new java.util.ArrayList(_list1610.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1611; + for (int _i1612 = 0; _i1612 < _list1610.size; ++_i1612) { - _elem1601 = iprot.readString(); - struct.part_names.add(_elem1601); + _elem1611 = iprot.readString(); + struct.part_names.add(_elem1611); } iprot.readListEnd(); } @@ -880,13 +880,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DeleteColumnStatist case 5: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1603 = iprot.readListBegin(); - struct.col_names = new java.util.ArrayList(_list1603.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1604; - for (int _i1605 = 0; _i1605 < _list1603.size; ++_i1605) + org.apache.thrift.protocol.TList _list1613 = iprot.readListBegin(); + struct.col_names = new java.util.ArrayList(_list1613.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1614; + for (int _i1615 = 0; _i1615 < _list1613.size; ++_i1615) { - _elem1604 = iprot.readString(); - struct.col_names.add(_elem1604); + _elem1614 = iprot.readString(); + struct.col_names.add(_elem1614); } iprot.readListEnd(); } @@ -946,9 +946,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DeleteColumnStatis oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_names.size())); - for (java.lang.String _iter1606 : struct.part_names) + for (java.lang.String _iter1616 : struct.part_names) { - oprot.writeString(_iter1606); + oprot.writeString(_iter1616); } oprot.writeListEnd(); } @@ -960,9 +960,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DeleteColumnStatis oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.col_names.size())); - for (java.lang.String _iter1607 : struct.col_names) + for (java.lang.String _iter1617 : struct.col_names) { - oprot.writeString(_iter1607); + oprot.writeString(_iter1617); } oprot.writeListEnd(); } @@ -1023,18 +1023,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DeleteColumnStatist if (struct.isSetPart_names()) { { oprot.writeI32(struct.part_names.size()); - for (java.lang.String _iter1608 : struct.part_names) + for (java.lang.String _iter1618 : struct.part_names) { - oprot.writeString(_iter1608); + oprot.writeString(_iter1618); } } } if (struct.isSetCol_names()) { { oprot.writeI32(struct.col_names.size()); - for (java.lang.String _iter1609 : struct.col_names) + for (java.lang.String _iter1619 : struct.col_names) { - oprot.writeString(_iter1609); + oprot.writeString(_iter1619); } } } @@ -1060,26 +1060,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DeleteColumnStatisti } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1610 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_names = new java.util.ArrayList(_list1610.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1611; - for (int _i1612 = 0; _i1612 < _list1610.size; ++_i1612) + org.apache.thrift.protocol.TList _list1620 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_names = new java.util.ArrayList(_list1620.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1621; + for (int _i1622 = 0; _i1622 < _list1620.size; ++_i1622) { - _elem1611 = iprot.readString(); - struct.part_names.add(_elem1611); + _elem1621 = iprot.readString(); + struct.part_names.add(_elem1621); } } struct.setPart_namesIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1613 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.col_names = new java.util.ArrayList(_list1613.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1614; - for (int _i1615 = 0; _i1615 < _list1613.size; ++_i1615) + org.apache.thrift.protocol.TList _list1623 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.col_names = new java.util.ArrayList(_list1623.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1624; + for (int _i1625 = 0; _i1625 < _list1623.size; ++_i1625) { - _elem1614 = iprot.readString(); - struct.col_names.add(_elem1614); + _elem1624 = iprot.readString(); + struct.col_names.add(_elem1624); } } struct.setCol_namesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java index bc1335c9666b..d6d789ff538f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java @@ -602,13 +602,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ExtendedTableInfo s case 3: // REQUIRED_READ_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1246 = iprot.readListBegin(); - struct.requiredReadCapabilities = new java.util.ArrayList(_list1246.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1247; - for (int _i1248 = 0; _i1248 < _list1246.size; ++_i1248) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.requiredReadCapabilities = new java.util.ArrayList(_list1256.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1247 = iprot.readString(); - struct.requiredReadCapabilities.add(_elem1247); + _elem1257 = iprot.readString(); + struct.requiredReadCapabilities.add(_elem1257); } iprot.readListEnd(); } @@ -620,13 +620,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ExtendedTableInfo s case 4: // REQUIRED_WRITE_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1249 = iprot.readListBegin(); - struct.requiredWriteCapabilities = new java.util.ArrayList(_list1249.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1250; - for (int _i1251 = 0; _i1251 < _list1249.size; ++_i1251) + org.apache.thrift.protocol.TList _list1259 = iprot.readListBegin(); + struct.requiredWriteCapabilities = new java.util.ArrayList(_list1259.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { - _elem1250 = iprot.readString(); - struct.requiredWriteCapabilities.add(_elem1250); + _elem1260 = iprot.readString(); + struct.requiredWriteCapabilities.add(_elem1260); } iprot.readListEnd(); } @@ -663,9 +663,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ExtendedTableInfo oprot.writeFieldBegin(REQUIRED_READ_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.requiredReadCapabilities.size())); - for (java.lang.String _iter1252 : struct.requiredReadCapabilities) + for (java.lang.String _iter1262 : struct.requiredReadCapabilities) { - oprot.writeString(_iter1252); + oprot.writeString(_iter1262); } oprot.writeListEnd(); } @@ -677,9 +677,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ExtendedTableInfo oprot.writeFieldBegin(REQUIRED_WRITE_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.requiredWriteCapabilities.size())); - for (java.lang.String _iter1253 : struct.requiredWriteCapabilities) + for (java.lang.String _iter1263 : struct.requiredWriteCapabilities) { - oprot.writeString(_iter1253); + oprot.writeString(_iter1263); } oprot.writeListEnd(); } @@ -721,18 +721,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ExtendedTableInfo s if (struct.isSetRequiredReadCapabilities()) { { oprot.writeI32(struct.requiredReadCapabilities.size()); - for (java.lang.String _iter1254 : struct.requiredReadCapabilities) + for (java.lang.String _iter1264 : struct.requiredReadCapabilities) { - oprot.writeString(_iter1254); + oprot.writeString(_iter1264); } } } if (struct.isSetRequiredWriteCapabilities()) { { oprot.writeI32(struct.requiredWriteCapabilities.size()); - for (java.lang.String _iter1255 : struct.requiredWriteCapabilities) + for (java.lang.String _iter1265 : struct.requiredWriteCapabilities) { - oprot.writeString(_iter1255); + oprot.writeString(_iter1265); } } } @@ -750,26 +750,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ExtendedTableInfo st } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.requiredReadCapabilities = new java.util.ArrayList(_list1256.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.requiredReadCapabilities = new java.util.ArrayList(_list1266.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1267; + for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) { - _elem1257 = iprot.readString(); - struct.requiredReadCapabilities.add(_elem1257); + _elem1267 = iprot.readString(); + struct.requiredReadCapabilities.add(_elem1267); } } struct.setRequiredReadCapabilitiesIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1259 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.requiredWriteCapabilities = new java.util.ArrayList(_list1259.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1260; - for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) + org.apache.thrift.protocol.TList _list1269 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.requiredWriteCapabilities = new java.util.ArrayList(_list1269.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1260 = iprot.readString(); - struct.requiredWriteCapabilities.add(_elem1260); + _elem1270 = iprot.readString(); + struct.requiredWriteCapabilities.add(_elem1270); } } struct.setRequiredWriteCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 070696195e4e..8af51b35adbe 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -325,14 +325,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1358 = iprot.readListBegin(); - struct.schemaVersions = new java.util.ArrayList(_list1358.size); - @org.apache.thrift.annotation.Nullable SchemaVersionDescriptor _elem1359; - for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) + org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin(); + struct.schemaVersions = new java.util.ArrayList(_list1368.size); + @org.apache.thrift.annotation.Nullable SchemaVersionDescriptor _elem1369; + for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) { - _elem1359 = new SchemaVersionDescriptor(); - _elem1359.read(iprot); - struct.schemaVersions.add(_elem1359); + _elem1369 = new SchemaVersionDescriptor(); + _elem1369.read(iprot); + struct.schemaVersions.add(_elem1369); } iprot.readListEnd(); } @@ -358,9 +358,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter1361 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter1371 : struct.schemaVersions) { - _iter1361.write(oprot); + _iter1371.write(oprot); } oprot.writeListEnd(); } @@ -391,9 +391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter1362 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter1372 : struct.schemaVersions) { - _iter1362.write(oprot); + _iter1372.write(oprot); } } } @@ -405,14 +405,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1363 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.schemaVersions = new java.util.ArrayList(_list1363.size); - @org.apache.thrift.annotation.Nullable SchemaVersionDescriptor _elem1364; - for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) + org.apache.thrift.protocol.TList _list1373 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.schemaVersions = new java.util.ArrayList(_list1373.size); + @org.apache.thrift.annotation.Nullable SchemaVersionDescriptor _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { - _elem1364 = new SchemaVersionDescriptor(); - _elem1364.read(iprot); - struct.schemaVersions.add(_elem1364); + _elem1374 = new SchemaVersionDescriptor(); + _elem1374.read(iprot); + struct.schemaVersions.add(_elem1374); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 48704a4327d1..416dacbfbae2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -965,13 +965,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1064 = iprot.readListBegin(); - struct.partitionVals = new java.util.ArrayList(_list1064.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1065; - for (int _i1066 = 0; _i1066 < _list1064.size; ++_i1066) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.partitionVals = new java.util.ArrayList(_list1074.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1065 = iprot.readString(); - struct.partitionVals.add(_elem1065); + _elem1075 = iprot.readString(); + struct.partitionVals.add(_elem1075); } iprot.readListEnd(); } @@ -991,15 +991,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 7: // TBL_PARAMS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1067 = iprot.readMapBegin(); - struct.tblParams = new java.util.HashMap(2*_map1067.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1068; - @org.apache.thrift.annotation.Nullable java.lang.String _val1069; - for (int _i1070 = 0; _i1070 < _map1067.size; ++_i1070) + org.apache.thrift.protocol.TMap _map1077 = iprot.readMapBegin(); + struct.tblParams = new java.util.HashMap(2*_map1077.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1078; + @org.apache.thrift.annotation.Nullable java.lang.String _val1079; + for (int _i1080 = 0; _i1080 < _map1077.size; ++_i1080) { - _key1068 = iprot.readString(); - _val1069 = iprot.readString(); - struct.tblParams.put(_key1068, _val1069); + _key1078 = iprot.readString(); + _val1079 = iprot.readString(); + struct.tblParams.put(_key1078, _val1079); } iprot.readMapEnd(); } @@ -1011,23 +1011,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 8: // BATCH_PARTITION_VALS_FOR_REFRESH if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1071 = iprot.readListBegin(); - struct.batchPartitionValsForRefresh = new java.util.ArrayList>(_list1071.size); - @org.apache.thrift.annotation.Nullable java.util.List _elem1072; - for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) + org.apache.thrift.protocol.TList _list1081 = iprot.readListBegin(); + struct.batchPartitionValsForRefresh = new java.util.ArrayList>(_list1081.size); + @org.apache.thrift.annotation.Nullable java.util.List _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { { - org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); - _elem1072 = new java.util.ArrayList(_list1074.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); + _elem1082 = new java.util.ArrayList(_list1084.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1085; + for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) { - _elem1075 = iprot.readString(); - _elem1072.add(_elem1075); + _elem1085 = iprot.readString(); + _elem1082.add(_elem1085); } iprot.readListEnd(); } - struct.batchPartitionValsForRefresh.add(_elem1072); + struct.batchPartitionValsForRefresh.add(_elem1082); } iprot.readListEnd(); } @@ -1076,9 +1076,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (java.lang.String _iter1077 : struct.partitionVals) + for (java.lang.String _iter1087 : struct.partitionVals) { - oprot.writeString(_iter1077); + oprot.writeString(_iter1087); } oprot.writeListEnd(); } @@ -1097,10 +1097,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(TBL_PARAMS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.tblParams.size())); - for (java.util.Map.Entry _iter1078 : struct.tblParams.entrySet()) + for (java.util.Map.Entry _iter1088 : struct.tblParams.entrySet()) { - oprot.writeString(_iter1078.getKey()); - oprot.writeString(_iter1078.getValue()); + oprot.writeString(_iter1088.getKey()); + oprot.writeString(_iter1088.getValue()); } oprot.writeMapEnd(); } @@ -1112,13 +1112,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(BATCH_PARTITION_VALS_FOR_REFRESH_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, struct.batchPartitionValsForRefresh.size())); - for (java.util.List _iter1079 : struct.batchPartitionValsForRefresh) + for (java.util.List _iter1089 : struct.batchPartitionValsForRefresh) { { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter1079.size())); - for (java.lang.String _iter1080 : _iter1079) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter1089.size())); + for (java.lang.String _iter1090 : _iter1089) { - oprot.writeString(_iter1080); + oprot.writeString(_iter1090); } oprot.writeListEnd(); } @@ -1176,9 +1176,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (java.lang.String _iter1081 : struct.partitionVals) + for (java.lang.String _iter1091 : struct.partitionVals) { - oprot.writeString(_iter1081); + oprot.writeString(_iter1091); } } } @@ -1188,23 +1188,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetTblParams()) { { oprot.writeI32(struct.tblParams.size()); - for (java.util.Map.Entry _iter1082 : struct.tblParams.entrySet()) + for (java.util.Map.Entry _iter1092 : struct.tblParams.entrySet()) { - oprot.writeString(_iter1082.getKey()); - oprot.writeString(_iter1082.getValue()); + oprot.writeString(_iter1092.getKey()); + oprot.writeString(_iter1092.getValue()); } } } if (struct.isSetBatchPartitionValsForRefresh()) { { oprot.writeI32(struct.batchPartitionValsForRefresh.size()); - for (java.util.List _iter1083 : struct.batchPartitionValsForRefresh) + for (java.util.List _iter1093 : struct.batchPartitionValsForRefresh) { { - oprot.writeI32(_iter1083.size()); - for (java.lang.String _iter1084 : _iter1083) + oprot.writeI32(_iter1093.size()); + for (java.lang.String _iter1094 : _iter1093) { - oprot.writeString(_iter1084); + oprot.writeString(_iter1094); } } } @@ -1231,13 +1231,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1085 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partitionVals = new java.util.ArrayList(_list1085.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1086; - for (int _i1087 = 0; _i1087 < _list1085.size; ++_i1087) + org.apache.thrift.protocol.TList _list1095 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partitionVals = new java.util.ArrayList(_list1095.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1086 = iprot.readString(); - struct.partitionVals.add(_elem1086); + _elem1096 = iprot.readString(); + struct.partitionVals.add(_elem1096); } } struct.setPartitionValsIsSet(true); @@ -1248,37 +1248,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map1088 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.tblParams = new java.util.HashMap(2*_map1088.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1089; - @org.apache.thrift.annotation.Nullable java.lang.String _val1090; - for (int _i1091 = 0; _i1091 < _map1088.size; ++_i1091) + org.apache.thrift.protocol.TMap _map1098 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.tblParams = new java.util.HashMap(2*_map1098.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1099; + @org.apache.thrift.annotation.Nullable java.lang.String _val1100; + for (int _i1101 = 0; _i1101 < _map1098.size; ++_i1101) { - _key1089 = iprot.readString(); - _val1090 = iprot.readString(); - struct.tblParams.put(_key1089, _val1090); + _key1099 = iprot.readString(); + _val1100 = iprot.readString(); + struct.tblParams.put(_key1099, _val1100); } } struct.setTblParamsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(org.apache.thrift.protocol.TType.LIST); - struct.batchPartitionValsForRefresh = new java.util.ArrayList>(_list1092.size); - @org.apache.thrift.annotation.Nullable java.util.List _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1102 = iprot.readListBegin(org.apache.thrift.protocol.TType.LIST); + struct.batchPartitionValsForRefresh = new java.util.ArrayList>(_list1102.size); + @org.apache.thrift.annotation.Nullable java.util.List _elem1103; + for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) { { - org.apache.thrift.protocol.TList _list1095 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - _elem1093 = new java.util.ArrayList(_list1095.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1096; - for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) + org.apache.thrift.protocol.TList _list1105 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + _elem1103 = new java.util.ArrayList(_list1105.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1106; + for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) { - _elem1096 = iprot.readString(); - _elem1093.add(_elem1096); + _elem1106 = iprot.readString(); + _elem1103.add(_elem1106); } } - struct.batchPartitionValsForRefresh.add(_elem1093); + struct.batchPartitionValsForRefresh.add(_elem1103); } } struct.setBatchPartitionValsForRefreshIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java index 4912a801fa25..6d194e8857c3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java @@ -170,14 +170,14 @@ protected java.lang.Object standardSchemeReadValue(org.apache.thrift.protocol.TP if (field.type == INSERT_DATAS_FIELD_DESC.type) { java.util.List insertDatas; { - org.apache.thrift.protocol.TList _list1056 = iprot.readListBegin(); - insertDatas = new java.util.ArrayList(_list1056.size); - @org.apache.thrift.annotation.Nullable InsertEventRequestData _elem1057; - for (int _i1058 = 0; _i1058 < _list1056.size; ++_i1058) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + insertDatas = new java.util.ArrayList(_list1066.size); + @org.apache.thrift.annotation.Nullable InsertEventRequestData _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1057 = new InsertEventRequestData(); - _elem1057.read(iprot); - insertDatas.add(_elem1057); + _elem1067 = new InsertEventRequestData(); + _elem1067.read(iprot); + insertDatas.add(_elem1067); } iprot.readListEnd(); } @@ -215,9 +215,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr java.util.List insertDatas = (java.util.List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, insertDatas.size())); - for (InsertEventRequestData _iter1059 : insertDatas) + for (InsertEventRequestData _iter1069 : insertDatas) { - _iter1059.write(oprot); + _iter1069.write(oprot); } oprot.writeListEnd(); } @@ -244,14 +244,14 @@ protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProt case INSERT_DATAS: java.util.List insertDatas; { - org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin(); - insertDatas = new java.util.ArrayList(_list1060.size); - @org.apache.thrift.annotation.Nullable InsertEventRequestData _elem1061; - for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) + org.apache.thrift.protocol.TList _list1070 = iprot.readListBegin(); + insertDatas = new java.util.ArrayList(_list1070.size); + @org.apache.thrift.annotation.Nullable InsertEventRequestData _elem1071; + for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) { - _elem1061 = new InsertEventRequestData(); - _elem1061.read(iprot); - insertDatas.add(_elem1061); + _elem1071 = new InsertEventRequestData(); + _elem1071.read(iprot); + insertDatas.add(_elem1071); } iprot.readListEnd(); } @@ -279,9 +279,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) java.util.List insertDatas = (java.util.List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, insertDatas.size())); - for (InsertEventRequestData _iter1063 : insertDatas) + for (InsertEventRequestData _iter1073 : insertDatas) { - _iter1063.write(oprot); + _iter1073.write(oprot); } oprot.writeListEnd(); } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java index b78b0358e949..67bde00025c4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java @@ -322,13 +322,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventResponse s case 1: // EVENT_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); - struct.eventIds = new java.util.ArrayList(_list1098.size); - long _elem1099; - for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) + org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); + struct.eventIds = new java.util.ArrayList(_list1108.size); + long _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1099 = iprot.readI64(); - struct.eventIds.add(_elem1099); + _elem1109 = iprot.readI64(); + struct.eventIds.add(_elem1109); } iprot.readListEnd(); } @@ -354,9 +354,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventResponse oprot.writeFieldBegin(EVENT_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.eventIds.size())); - for (long _iter1101 : struct.eventIds) + for (long _iter1111 : struct.eventIds) { - oprot.writeI64(_iter1101); + oprot.writeI64(_iter1111); } oprot.writeListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventResponse s if (struct.isSetEventIds()) { { oprot.writeI32(struct.eventIds.size()); - for (long _iter1102 : struct.eventIds) + for (long _iter1112 : struct.eventIds) { - oprot.writeI64(_iter1102); + oprot.writeI64(_iter1112); } } } @@ -401,13 +401,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventResponse st java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1103 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); - struct.eventIds = new java.util.ArrayList(_list1103.size); - long _elem1104; - for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) + org.apache.thrift.protocol.TList _list1113 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); + struct.eventIds = new java.util.ArrayList(_list1113.size); + long _elem1114; + for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) { - _elem1104 = iprot.readI64(); - struct.eventIds.add(_elem1104); + _elem1114 = iprot.readI64(); + struct.eventIds.add(_elem1114); } } struct.setEventIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index 9c59324682a4..46b337852e4a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -321,14 +321,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1182 = iprot.readListBegin(); - struct.functions = new java.util.ArrayList(_list1182.size); - @org.apache.thrift.annotation.Nullable Function _elem1183; - for (int _i1184 = 0; _i1184 < _list1182.size; ++_i1184) + org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); + struct.functions = new java.util.ArrayList(_list1192.size); + @org.apache.thrift.annotation.Nullable Function _elem1193; + for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) { - _elem1183 = new Function(); - _elem1183.read(iprot); - struct.functions.add(_elem1183); + _elem1193 = new Function(); + _elem1193.read(iprot); + struct.functions.add(_elem1193); } iprot.readListEnd(); } @@ -355,9 +355,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter1185 : struct.functions) + for (Function _iter1195 : struct.functions) { - _iter1185.write(oprot); + _iter1195.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter1186 : struct.functions) + for (Function _iter1196 : struct.functions) { - _iter1186.write(oprot); + _iter1196.write(oprot); } } } @@ -403,14 +403,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1187 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.functions = new java.util.ArrayList(_list1187.size); - @org.apache.thrift.annotation.Nullable Function _elem1188; - for (int _i1189 = 0; _i1189 < _list1187.size; ++_i1189) + org.apache.thrift.protocol.TList _list1197 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.functions = new java.util.ArrayList(_list1197.size); + @org.apache.thrift.annotation.Nullable Function _elem1198; + for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) { - _elem1188 = new Function(); - _elem1188.read(iprot); - struct.functions.add(_elem1188); + _elem1198 = new Function(); + _elem1198.read(iprot); + struct.functions.add(_elem1198); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java index 429d0e3c6f15..f016030b1b4c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java @@ -577,13 +577,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetDatabaseRequest case 3: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1262 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1262.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1263; - for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1272.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1263 = iprot.readString(); - struct.processorCapabilities.add(_elem1263); + _elem1273 = iprot.readString(); + struct.processorCapabilities.add(_elem1273); } iprot.readListEnd(); } @@ -632,9 +632,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetDatabaseRequest oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1265 : struct.processorCapabilities) + for (java.lang.String _iter1275 : struct.processorCapabilities) { - oprot.writeString(_iter1265); + oprot.writeString(_iter1275); } oprot.writeListEnd(); } @@ -688,9 +688,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetDatabaseRequest if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1266 : struct.processorCapabilities) + for (java.lang.String _iter1276 : struct.processorCapabilities) { - oprot.writeString(_iter1266); + oprot.writeString(_iter1276); } } } @@ -713,13 +713,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetDatabaseRequest s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1267 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1267.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1268; - for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) + org.apache.thrift.protocol.TList _list1277 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1277.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1268 = iprot.readString(); - struct.processorCapabilities.add(_elem1268); + _elem1278 = iprot.readString(); + struct.processorCapabilities.add(_elem1278); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFieldsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFieldsResponse.java index fb0e85a52254..37540b7c46b6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFieldsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFieldsResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFieldsResponse s case 1: // FIELDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1504 = iprot.readListBegin(); - struct.fields = new java.util.ArrayList(_list1504.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1505; - for (int _i1506 = 0; _i1506 < _list1504.size; ++_i1506) + org.apache.thrift.protocol.TList _list1514 = iprot.readListBegin(); + struct.fields = new java.util.ArrayList(_list1514.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1515; + for (int _i1516 = 0; _i1516 < _list1514.size; ++_i1516) { - _elem1505 = new FieldSchema(); - _elem1505.read(iprot); - struct.fields.add(_elem1505); + _elem1515 = new FieldSchema(); + _elem1515.read(iprot); + struct.fields.add(_elem1515); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFieldsResponse oprot.writeFieldBegin(FIELDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size())); - for (FieldSchema _iter1507 : struct.fields) + for (FieldSchema _iter1517 : struct.fields) { - _iter1507.write(oprot); + _iter1517.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFieldsResponse s org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.fields.size()); - for (FieldSchema _iter1508 : struct.fields) + for (FieldSchema _iter1518 : struct.fields) { - _iter1508.write(oprot); + _iter1518.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFieldsResponse s public void read(org.apache.thrift.protocol.TProtocol prot, GetFieldsResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1509 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.fields = new java.util.ArrayList(_list1509.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1510; - for (int _i1511 = 0; _i1511 < _list1509.size; ++_i1511) + org.apache.thrift.protocol.TList _list1519 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.fields = new java.util.ArrayList(_list1519.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1520; + for (int _i1521 = 0; _i1521 < _list1519.size; ++_i1521) { - _elem1510 = new FieldSchema(); - _elem1510.read(iprot); - struct.fields.add(_elem1510); + _elem1520 = new FieldSchema(); + _elem1520.read(iprot); + struct.fields.add(_elem1520); } } struct.setFieldsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 8dc64cf7d535..9e881febc5a0 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -596,13 +596,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1132 = iprot.readListBegin(); - struct.fileIds = new java.util.ArrayList(_list1132.size); - long _elem1133; - for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) + org.apache.thrift.protocol.TList _list1142 = iprot.readListBegin(); + struct.fileIds = new java.util.ArrayList(_list1142.size); + long _elem1143; + for (int _i1144 = 0; _i1144 < _list1142.size; ++_i1144) { - _elem1133 = iprot.readI64(); - struct.fileIds.add(_elem1133); + _elem1143 = iprot.readI64(); + struct.fileIds.add(_elem1143); } iprot.readListEnd(); } @@ -652,9 +652,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter1135 : struct.fileIds) + for (long _iter1145 : struct.fileIds) { - oprot.writeI64(_iter1135); + oprot.writeI64(_iter1145); } oprot.writeListEnd(); } @@ -696,9 +696,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter1136 : struct.fileIds) + for (long _iter1146 : struct.fileIds) { - oprot.writeI64(_iter1136); + oprot.writeI64(_iter1146); } } oprot.writeBinary(struct.expr); @@ -722,13 +722,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1137 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); - struct.fileIds = new java.util.ArrayList(_list1137.size); - long _elem1138; - for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) + org.apache.thrift.protocol.TList _list1147 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); + struct.fileIds = new java.util.ArrayList(_list1147.size); + long _elem1148; + for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) { - _elem1138 = iprot.readI64(); - struct.fileIds.add(_elem1138); + _elem1148 = iprot.readI64(); + struct.fileIds.add(_elem1148); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 72e7348e45c6..065ee6533e63 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -415,16 +415,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1122 = iprot.readMapBegin(); - struct.metadata = new java.util.HashMap(2*_map1122.size); - long _key1123; - @org.apache.thrift.annotation.Nullable MetadataPpdResult _val1124; - for (int _i1125 = 0; _i1125 < _map1122.size; ++_i1125) + org.apache.thrift.protocol.TMap _map1132 = iprot.readMapBegin(); + struct.metadata = new java.util.HashMap(2*_map1132.size); + long _key1133; + @org.apache.thrift.annotation.Nullable MetadataPpdResult _val1134; + for (int _i1135 = 0; _i1135 < _map1132.size; ++_i1135) { - _key1123 = iprot.readI64(); - _val1124 = new MetadataPpdResult(); - _val1124.read(iprot); - struct.metadata.put(_key1123, _val1124); + _key1133 = iprot.readI64(); + _val1134 = new MetadataPpdResult(); + _val1134.read(iprot); + struct.metadata.put(_key1133, _val1134); } iprot.readMapEnd(); } @@ -458,10 +458,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (java.util.Map.Entry _iter1126 : struct.metadata.entrySet()) + for (java.util.Map.Entry _iter1136 : struct.metadata.entrySet()) { - oprot.writeI64(_iter1126.getKey()); - _iter1126.getValue().write(oprot); + oprot.writeI64(_iter1136.getKey()); + _iter1136.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -489,10 +489,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (java.util.Map.Entry _iter1127 : struct.metadata.entrySet()) + for (java.util.Map.Entry _iter1137 : struct.metadata.entrySet()) { - oprot.writeI64(_iter1127.getKey()); - _iter1127.getValue().write(oprot); + oprot.writeI64(_iter1137.getKey()); + _iter1137.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -502,16 +502,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map1128 = iprot.readMapBegin(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT); - struct.metadata = new java.util.HashMap(2*_map1128.size); - long _key1129; - @org.apache.thrift.annotation.Nullable MetadataPpdResult _val1130; - for (int _i1131 = 0; _i1131 < _map1128.size; ++_i1131) + org.apache.thrift.protocol.TMap _map1138 = iprot.readMapBegin(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT); + struct.metadata = new java.util.HashMap(2*_map1138.size); + long _key1139; + @org.apache.thrift.annotation.Nullable MetadataPpdResult _val1140; + for (int _i1141 = 0; _i1141 < _map1138.size; ++_i1141) { - _key1129 = iprot.readI64(); - _val1130 = new MetadataPpdResult(); - _val1130.read(iprot); - struct.metadata.put(_key1129, _val1130); + _key1139 = iprot.readI64(); + _val1140 = new MetadataPpdResult(); + _val1140.read(iprot); + struct.metadata.put(_key1139, _val1140); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 38328acd537b..a75f0bba6439 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -326,13 +326,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1150 = iprot.readListBegin(); - struct.fileIds = new java.util.ArrayList(_list1150.size); - long _elem1151; - for (int _i1152 = 0; _i1152 < _list1150.size; ++_i1152) + org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); + struct.fileIds = new java.util.ArrayList(_list1160.size); + long _elem1161; + for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) { - _elem1151 = iprot.readI64(); - struct.fileIds.add(_elem1151); + _elem1161 = iprot.readI64(); + struct.fileIds.add(_elem1161); } iprot.readListEnd(); } @@ -358,9 +358,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter1153 : struct.fileIds) + for (long _iter1163 : struct.fileIds) { - oprot.writeI64(_iter1153); + oprot.writeI64(_iter1163); } oprot.writeListEnd(); } @@ -385,9 +385,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter1154 : struct.fileIds) + for (long _iter1164 : struct.fileIds) { - oprot.writeI64(_iter1154); + oprot.writeI64(_iter1164); } } } @@ -396,13 +396,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1155 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); - struct.fileIds = new java.util.ArrayList(_list1155.size); - long _elem1156; - for (int _i1157 = 0; _i1157 < _list1155.size; ++_i1157) + org.apache.thrift.protocol.TList _list1165 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); + struct.fileIds = new java.util.ArrayList(_list1165.size); + long _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) { - _elem1156 = iprot.readI64(); - struct.fileIds.add(_elem1156); + _elem1166 = iprot.readI64(); + struct.fileIds.add(_elem1166); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 03cf3a45e304..92106db4d489 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -404,15 +404,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1140 = iprot.readMapBegin(); - struct.metadata = new java.util.HashMap(2*_map1140.size); - long _key1141; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val1142; - for (int _i1143 = 0; _i1143 < _map1140.size; ++_i1143) + org.apache.thrift.protocol.TMap _map1150 = iprot.readMapBegin(); + struct.metadata = new java.util.HashMap(2*_map1150.size); + long _key1151; + @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val1152; + for (int _i1153 = 0; _i1153 < _map1150.size; ++_i1153) { - _key1141 = iprot.readI64(); - _val1142 = iprot.readBinary(); - struct.metadata.put(_key1141, _val1142); + _key1151 = iprot.readI64(); + _val1152 = iprot.readBinary(); + struct.metadata.put(_key1151, _val1152); } iprot.readMapEnd(); } @@ -446,10 +446,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (java.util.Map.Entry _iter1144 : struct.metadata.entrySet()) + for (java.util.Map.Entry _iter1154 : struct.metadata.entrySet()) { - oprot.writeI64(_iter1144.getKey()); - oprot.writeBinary(_iter1144.getValue()); + oprot.writeI64(_iter1154.getKey()); + oprot.writeBinary(_iter1154.getValue()); } oprot.writeMapEnd(); } @@ -477,10 +477,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (java.util.Map.Entry _iter1145 : struct.metadata.entrySet()) + for (java.util.Map.Entry _iter1155 : struct.metadata.entrySet()) { - oprot.writeI64(_iter1145.getKey()); - oprot.writeBinary(_iter1145.getValue()); + oprot.writeI64(_iter1155.getKey()); + oprot.writeBinary(_iter1155.getValue()); } } oprot.writeBool(struct.isSupported); @@ -490,15 +490,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map1146 = iprot.readMapBegin(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING); - struct.metadata = new java.util.HashMap(2*_map1146.size); - long _key1147; - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val1148; - for (int _i1149 = 0; _i1149 < _map1146.size; ++_i1149) + org.apache.thrift.protocol.TMap _map1156 = iprot.readMapBegin(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING); + struct.metadata = new java.util.HashMap(2*_map1156.size); + long _key1157; + @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val1158; + for (int _i1159 = 0; _i1159 < _map1156.size; ++_i1159) { - _key1147 = iprot.readI64(); - _val1148 = iprot.readBinary(); - struct.metadata.put(_key1147, _val1148); + _key1157 = iprot.readI64(); + _val1158 = iprot.readBinary(); + struct.metadata.put(_key1157, _val1158); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFunctionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFunctionsResponse.java index 766692ef80d9..ededce87b05c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFunctionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFunctionsResponse.java @@ -420,13 +420,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFunctionsRespons case 1: // FUNCTION_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin(); - struct.function_names = new java.util.ArrayList(_list1270.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1271; - for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) + org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); + struct.function_names = new java.util.ArrayList(_list1280.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { - _elem1271 = iprot.readString(); - struct.function_names.add(_elem1271); + _elem1281 = iprot.readString(); + struct.function_names.add(_elem1281); } iprot.readListEnd(); } @@ -438,14 +438,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFunctionsRespons case 2: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1273 = iprot.readListBegin(); - struct.functions = new java.util.ArrayList(_list1273.size); - @org.apache.thrift.annotation.Nullable Function _elem1274; - for (int _i1275 = 0; _i1275 < _list1273.size; ++_i1275) + org.apache.thrift.protocol.TList _list1283 = iprot.readListBegin(); + struct.functions = new java.util.ArrayList(_list1283.size); + @org.apache.thrift.annotation.Nullable Function _elem1284; + for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) { - _elem1274 = new Function(); - _elem1274.read(iprot); - struct.functions.add(_elem1274); + _elem1284 = new Function(); + _elem1284.read(iprot); + struct.functions.add(_elem1284); } iprot.readListEnd(); } @@ -472,9 +472,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFunctionsRespon oprot.writeFieldBegin(FUNCTION_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.function_names.size())); - for (java.lang.String _iter1276 : struct.function_names) + for (java.lang.String _iter1286 : struct.function_names) { - oprot.writeString(_iter1276); + oprot.writeString(_iter1286); } oprot.writeListEnd(); } @@ -486,9 +486,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFunctionsRespon oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter1277 : struct.functions) + for (Function _iter1287 : struct.functions) { - _iter1277.write(oprot); + _iter1287.write(oprot); } oprot.writeListEnd(); } @@ -523,18 +523,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFunctionsRespons if (struct.isSetFunction_names()) { { oprot.writeI32(struct.function_names.size()); - for (java.lang.String _iter1278 : struct.function_names) + for (java.lang.String _iter1288 : struct.function_names) { - oprot.writeString(_iter1278); + oprot.writeString(_iter1288); } } } if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter1279 : struct.functions) + for (Function _iter1289 : struct.functions) { - _iter1279.write(oprot); + _iter1289.write(oprot); } } } @@ -546,27 +546,27 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetFunctionsResponse java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.function_names = new java.util.ArrayList(_list1280.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1290 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.function_names = new java.util.ArrayList(_list1290.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1291; + for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) { - _elem1281 = iprot.readString(); - struct.function_names.add(_elem1281); + _elem1291 = iprot.readString(); + struct.function_names.add(_elem1291); } } struct.setFunction_namesIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1283 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.functions = new java.util.ArrayList(_list1283.size); - @org.apache.thrift.annotation.Nullable Function _elem1284; - for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) + org.apache.thrift.protocol.TList _list1293 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.functions = new java.util.ArrayList(_list1293.size); + @org.apache.thrift.annotation.Nullable Function _elem1294; + for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) { - _elem1284 = new Function(); - _elem1284.read(iprot); - struct.functions.add(_elem1284); + _elem1294 = new Function(); + _elem1294.read(iprot); + struct.functions.add(_elem1294); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoRequest.java index 88535168cf9a..9abd8f520fe8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoRequest.java @@ -588,13 +588,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetLatestCommittedC case 3: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list960 = iprot.readListBegin(); - struct.partitionnames = new java.util.ArrayList(_list960.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list970 = iprot.readListBegin(); + struct.partitionnames = new java.util.ArrayList(_list970.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem971; + for (int _i972 = 0; _i972 < _list970.size; ++_i972) { - _elem961 = iprot.readString(); - struct.partitionnames.add(_elem961); + _elem971 = iprot.readString(); + struct.partitionnames.add(_elem971); } iprot.readListEnd(); } @@ -639,9 +639,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetLatestCommitted oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (java.lang.String _iter963 : struct.partitionnames) + for (java.lang.String _iter973 : struct.partitionnames) { - oprot.writeString(_iter963); + oprot.writeString(_iter973); } oprot.writeListEnd(); } @@ -683,9 +683,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetLatestCommittedC if (struct.isSetPartitionnames()) { { oprot.writeI32(struct.partitionnames.size()); - for (java.lang.String _iter964 : struct.partitionnames) + for (java.lang.String _iter974 : struct.partitionnames) { - oprot.writeString(_iter964); + oprot.writeString(_iter974); } } } @@ -704,13 +704,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetLatestCommittedCo java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list965 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partitionnames = new java.util.ArrayList(_list965.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list975 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partitionnames = new java.util.ArrayList(_list975.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem976; + for (int _i977 = 0; _i977 < _list975.size; ++_i977) { - _elem966 = iprot.readString(); - struct.partitionnames.add(_elem966); + _elem976 = iprot.readString(); + struct.partitionnames.add(_elem976); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoResponse.java index 43d5db13d726..2505497d1c9e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetLatestCommittedCompactionInfoResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetLatestCommittedC case 1: // COMPACTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); - struct.compactions = new java.util.ArrayList(_list968.size); - @org.apache.thrift.annotation.Nullable CompactionInfoStruct _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.compactions = new java.util.ArrayList(_list978.size); + @org.apache.thrift.annotation.Nullable CompactionInfoStruct _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem969 = new CompactionInfoStruct(); - _elem969.read(iprot); - struct.compactions.add(_elem969); + _elem979 = new CompactionInfoStruct(); + _elem979.read(iprot); + struct.compactions.add(_elem979); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetLatestCommitted oprot.writeFieldBegin(COMPACTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compactions.size())); - for (CompactionInfoStruct _iter971 : struct.compactions) + for (CompactionInfoStruct _iter981 : struct.compactions) { - _iter971.write(oprot); + _iter981.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetLatestCommittedC org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.compactions.size()); - for (CompactionInfoStruct _iter972 : struct.compactions) + for (CompactionInfoStruct _iter982 : struct.compactions) { - _iter972.write(oprot); + _iter982.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetLatestCommittedC public void read(org.apache.thrift.protocol.TProtocol prot, GetLatestCommittedCompactionInfoResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list973 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.compactions = new java.util.ArrayList(_list973.size); - @org.apache.thrift.annotation.Nullable CompactionInfoStruct _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list983 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.compactions = new java.util.ArrayList(_list983.size); + @org.apache.thrift.annotation.Nullable CompactionInfoStruct _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem974 = new CompactionInfoStruct(); - _elem974.read(iprot); - struct.compactions.add(_elem974); + _elem984 = new CompactionInfoStruct(); + _elem984.read(iprot); + struct.compactions.add(_elem984); } } struct.setCompactionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsRequest.java index 1ad735ea8de4..59dbaddf83f9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsRequest.java @@ -321,15 +321,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsRequest case 1: // EXCLUDE_TXN_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1592 = iprot.readListBegin(); - struct.excludeTxnTypes = new java.util.ArrayList(_list1592.size); - @org.apache.thrift.annotation.Nullable TxnType _elem1593; - for (int _i1594 = 0; _i1594 < _list1592.size; ++_i1594) + org.apache.thrift.protocol.TList _list1602 = iprot.readListBegin(); + struct.excludeTxnTypes = new java.util.ArrayList(_list1602.size); + @org.apache.thrift.annotation.Nullable TxnType _elem1603; + for (int _i1604 = 0; _i1604 < _list1602.size; ++_i1604) { - _elem1593 = org.apache.hadoop.hive.metastore.api.TxnType.findByValue(iprot.readI32()); - if (_elem1593 != null) + _elem1603 = org.apache.hadoop.hive.metastore.api.TxnType.findByValue(iprot.readI32()); + if (_elem1603 != null) { - struct.excludeTxnTypes.add(_elem1593); + struct.excludeTxnTypes.add(_elem1603); } } iprot.readListEnd(); @@ -357,9 +357,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsRequest oprot.writeFieldBegin(EXCLUDE_TXN_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.excludeTxnTypes.size())); - for (TxnType _iter1595 : struct.excludeTxnTypes) + for (TxnType _iter1605 : struct.excludeTxnTypes) { - oprot.writeI32(_iter1595.getValue()); + oprot.writeI32(_iter1605.getValue()); } oprot.writeListEnd(); } @@ -391,9 +391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsRequest if (struct.isSetExcludeTxnTypes()) { { oprot.writeI32(struct.excludeTxnTypes.size()); - for (TxnType _iter1596 : struct.excludeTxnTypes) + for (TxnType _iter1606 : struct.excludeTxnTypes) { - oprot.writeI32(_iter1596.getValue()); + oprot.writeI32(_iter1606.getValue()); } } } @@ -405,15 +405,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsRequest s java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1597 = iprot.readListBegin(org.apache.thrift.protocol.TType.I32); - struct.excludeTxnTypes = new java.util.ArrayList(_list1597.size); - @org.apache.thrift.annotation.Nullable TxnType _elem1598; - for (int _i1599 = 0; _i1599 < _list1597.size; ++_i1599) + org.apache.thrift.protocol.TList _list1607 = iprot.readListBegin(org.apache.thrift.protocol.TType.I32); + struct.excludeTxnTypes = new java.util.ArrayList(_list1607.size); + @org.apache.thrift.annotation.Nullable TxnType _elem1608; + for (int _i1609 = 0; _i1609 < _list1607.size; ++_i1609) { - _elem1598 = org.apache.hadoop.hive.metastore.api.TxnType.findByValue(iprot.readI32()); - if (_elem1598 != null) + _elem1608 = org.apache.hadoop.hive.metastore.api.TxnType.findByValue(iprot.readI32()); + if (_elem1608 != null) { - struct.excludeTxnTypes.add(_elem1598); + struct.excludeTxnTypes.add(_elem1608); } } } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsRequest.java index a49d95f5e9d2..e9c8020ff97f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsRequest.java @@ -837,13 +837,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionNamesPs case 4: // PART_VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1536 = iprot.readListBegin(); - struct.partValues = new java.util.ArrayList(_list1536.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1537; - for (int _i1538 = 0; _i1538 < _list1536.size; ++_i1538) + org.apache.thrift.protocol.TList _list1546 = iprot.readListBegin(); + struct.partValues = new java.util.ArrayList(_list1546.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1547; + for (int _i1548 = 0; _i1548 < _list1546.size; ++_i1548) { - _elem1537 = iprot.readString(); - struct.partValues.add(_elem1537); + _elem1547 = iprot.readString(); + struct.partValues.add(_elem1547); } iprot.readListEnd(); } @@ -911,9 +911,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionNamesP oprot.writeFieldBegin(PART_VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partValues.size())); - for (java.lang.String _iter1539 : struct.partValues) + for (java.lang.String _iter1549 : struct.partValues) { - oprot.writeString(_iter1539); + oprot.writeString(_iter1549); } oprot.writeListEnd(); } @@ -979,9 +979,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionNamesPs if (struct.isSetPartValues()) { { oprot.writeI32(struct.partValues.size()); - for (java.lang.String _iter1540 : struct.partValues) + for (java.lang.String _iter1550 : struct.partValues) { - oprot.writeString(_iter1540); + oprot.writeString(_iter1550); } } } @@ -1010,13 +1010,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionNamesPsR } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1541 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partValues = new java.util.ArrayList(_list1541.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1542; - for (int _i1543 = 0; _i1543 < _list1541.size; ++_i1543) + org.apache.thrift.protocol.TList _list1551 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partValues = new java.util.ArrayList(_list1551.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1552; + for (int _i1553 = 0; _i1553 < _list1551.size; ++_i1553) { - _elem1542 = iprot.readString(); - struct.partValues.add(_elem1542); + _elem1552 = iprot.readString(); + struct.partValues.add(_elem1552); } } struct.setPartValuesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsResponse.java index fb3ab11d7a29..332937b5f54a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionNamesPsResponse.java @@ -326,13 +326,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionNamesPs case 1: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1544 = iprot.readListBegin(); - struct.names = new java.util.ArrayList(_list1544.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1545; - for (int _i1546 = 0; _i1546 < _list1544.size; ++_i1546) + org.apache.thrift.protocol.TList _list1554 = iprot.readListBegin(); + struct.names = new java.util.ArrayList(_list1554.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1555; + for (int _i1556 = 0; _i1556 < _list1554.size; ++_i1556) { - _elem1545 = iprot.readString(); - struct.names.add(_elem1545); + _elem1555 = iprot.readString(); + struct.names.add(_elem1555); } iprot.readListEnd(); } @@ -358,9 +358,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionNamesP oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (java.lang.String _iter1547 : struct.names) + for (java.lang.String _iter1557 : struct.names) { - oprot.writeString(_iter1547); + oprot.writeString(_iter1557); } oprot.writeListEnd(); } @@ -385,9 +385,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionNamesPs org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.names.size()); - for (java.lang.String _iter1548 : struct.names) + for (java.lang.String _iter1558 : struct.names) { - oprot.writeString(_iter1548); + oprot.writeString(_iter1558); } } } @@ -396,13 +396,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionNamesPs public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionNamesPsResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1549 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.names = new java.util.ArrayList(_list1549.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1550; - for (int _i1551 = 0; _i1551 < _list1549.size; ++_i1551) + org.apache.thrift.protocol.TList _list1559 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.names = new java.util.ArrayList(_list1559.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1560; + for (int _i1561 = 0; _i1561 < _list1559.size; ++_i1561) { - _elem1550 = iprot.readString(); - struct.names.add(_elem1550); + _elem1560 = iprot.readString(); + struct.names.add(_elem1560); } } struct.setNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionRequest.java index 6aa428b6c3e3..61e7ed74ed23 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionRequest.java @@ -764,13 +764,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionRequest case 4: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1520 = iprot.readListBegin(); - struct.partVals = new java.util.ArrayList(_list1520.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1521; - for (int _i1522 = 0; _i1522 < _list1520.size; ++_i1522) + org.apache.thrift.protocol.TList _list1530 = iprot.readListBegin(); + struct.partVals = new java.util.ArrayList(_list1530.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1531; + for (int _i1532 = 0; _i1532 < _list1530.size; ++_i1532) { - _elem1521 = iprot.readString(); - struct.partVals.add(_elem1521); + _elem1531 = iprot.readString(); + struct.partVals.add(_elem1531); } iprot.readListEnd(); } @@ -829,9 +829,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionReques oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (java.lang.String _iter1523 : struct.partVals) + for (java.lang.String _iter1533 : struct.partVals) { - oprot.writeString(_iter1523); + oprot.writeString(_iter1533); } oprot.writeListEnd(); } @@ -870,9 +870,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionRequest oprot.writeString(struct.tblName); { oprot.writeI32(struct.partVals.size()); - for (java.lang.String _iter1524 : struct.partVals) + for (java.lang.String _iter1534 : struct.partVals) { - oprot.writeString(_iter1524); + oprot.writeString(_iter1534); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -905,13 +905,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionRequest struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list1525 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partVals = new java.util.ArrayList(_list1525.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1526; - for (int _i1527 = 0; _i1527 < _list1525.size; ++_i1527) + org.apache.thrift.protocol.TList _list1535 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partVals = new java.util.ArrayList(_list1535.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1536; + for (int _i1537 = 0; _i1537 < _list1535.size; ++_i1537) { - _elem1526 = iprot.readString(); - struct.partVals.add(_elem1526); + _elem1536 = iprot.readString(); + struct.partVals.add(_elem1536); } } struct.setPartValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java index 98cc900e3e15..8538c034ac1e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java @@ -419,13 +419,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsFilter case 8: // FILTERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1472 = iprot.readListBegin(); - struct.filters = new java.util.ArrayList(_list1472.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1473; - for (int _i1474 = 0; _i1474 < _list1472.size; ++_i1474) + org.apache.thrift.protocol.TList _list1482 = iprot.readListBegin(); + struct.filters = new java.util.ArrayList(_list1482.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1483; + for (int _i1484 = 0; _i1484 < _list1482.size; ++_i1484) { - _elem1473 = iprot.readString(); - struct.filters.add(_elem1473); + _elem1483 = iprot.readString(); + struct.filters.add(_elem1483); } iprot.readListEnd(); } @@ -459,9 +459,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsFilte oprot.writeFieldBegin(FILTERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filters.size())); - for (java.lang.String _iter1475 : struct.filters) + for (java.lang.String _iter1485 : struct.filters) { - oprot.writeString(_iter1475); + oprot.writeString(_iter1485); } oprot.writeListEnd(); } @@ -499,9 +499,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilter if (struct.isSetFilters()) { { oprot.writeI32(struct.filters.size()); - for (java.lang.String _iter1476 : struct.filters) + for (java.lang.String _iter1486 : struct.filters) { - oprot.writeString(_iter1476); + oprot.writeString(_iter1486); } } } @@ -517,13 +517,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilterS } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1477 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.filters = new java.util.ArrayList(_list1477.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1478; - for (int _i1479 = 0; _i1479 < _list1477.size; ++_i1479) + org.apache.thrift.protocol.TList _list1487 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.filters = new java.util.ArrayList(_list1487.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1488; + for (int _i1489 = 0; _i1489 < _list1487.size; ++_i1489) { - _elem1478 = iprot.readString(); - struct.filters.add(_elem1478); + _elem1488 = iprot.readString(); + struct.filters.add(_elem1488); } } struct.setFiltersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthRequest.java index ec5b242d8698..f5040c73bf8f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthRequest.java @@ -1353,13 +1353,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsPsWith case 4: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1552 = iprot.readListBegin(); - struct.partVals = new java.util.ArrayList(_list1552.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1553; - for (int _i1554 = 0; _i1554 < _list1552.size; ++_i1554) + org.apache.thrift.protocol.TList _list1562 = iprot.readListBegin(); + struct.partVals = new java.util.ArrayList(_list1562.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1563; + for (int _i1564 = 0; _i1564 < _list1562.size; ++_i1564) { - _elem1553 = iprot.readString(); - struct.partVals.add(_elem1553); + _elem1563 = iprot.readString(); + struct.partVals.add(_elem1563); } iprot.readListEnd(); } @@ -1387,13 +1387,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsPsWith case 7: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1555 = iprot.readListBegin(); - struct.groupNames = new java.util.ArrayList(_list1555.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1556; - for (int _i1557 = 0; _i1557 < _list1555.size; ++_i1557) + org.apache.thrift.protocol.TList _list1565 = iprot.readListBegin(); + struct.groupNames = new java.util.ArrayList(_list1565.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1566; + for (int _i1567 = 0; _i1567 < _list1565.size; ++_i1567) { - _elem1556 = iprot.readString(); - struct.groupNames.add(_elem1556); + _elem1566 = iprot.readString(); + struct.groupNames.add(_elem1566); } iprot.readListEnd(); } @@ -1445,13 +1445,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsPsWith case 13: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1558 = iprot.readListBegin(); - struct.partNames = new java.util.ArrayList(_list1558.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1559; - for (int _i1560 = 0; _i1560 < _list1558.size; ++_i1560) + org.apache.thrift.protocol.TList _list1568 = iprot.readListBegin(); + struct.partNames = new java.util.ArrayList(_list1568.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1569; + for (int _i1570 = 0; _i1570 < _list1568.size; ++_i1570) { - _elem1559 = iprot.readString(); - struct.partNames.add(_elem1559); + _elem1569 = iprot.readString(); + struct.partNames.add(_elem1569); } iprot.readListEnd(); } @@ -1495,9 +1495,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsPsWit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (java.lang.String _iter1561 : struct.partVals) + for (java.lang.String _iter1571 : struct.partVals) { - oprot.writeString(_iter1561); + oprot.writeString(_iter1571); } oprot.writeListEnd(); } @@ -1521,9 +1521,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsPsWit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.groupNames.size())); - for (java.lang.String _iter1562 : struct.groupNames) + for (java.lang.String _iter1572 : struct.groupNames) { - oprot.writeString(_iter1562); + oprot.writeString(_iter1572); } oprot.writeListEnd(); } @@ -1566,9 +1566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsPsWit oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (java.lang.String _iter1563 : struct.partNames) + for (java.lang.String _iter1573 : struct.partNames) { - oprot.writeString(_iter1563); + oprot.writeString(_iter1573); } oprot.writeListEnd(); } @@ -1635,9 +1635,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWith if (struct.isSetPartVals()) { { oprot.writeI32(struct.partVals.size()); - for (java.lang.String _iter1564 : struct.partVals) + for (java.lang.String _iter1574 : struct.partVals) { - oprot.writeString(_iter1564); + oprot.writeString(_iter1574); } } } @@ -1650,9 +1650,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWith if (struct.isSetGroupNames()) { { oprot.writeI32(struct.groupNames.size()); - for (java.lang.String _iter1565 : struct.groupNames) + for (java.lang.String _iter1575 : struct.groupNames) { - oprot.writeString(_iter1565); + oprot.writeString(_iter1575); } } } @@ -1674,9 +1674,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWith if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (java.lang.String _iter1566 : struct.partNames) + for (java.lang.String _iter1576 : struct.partNames) { - oprot.writeString(_iter1566); + oprot.writeString(_iter1576); } } } @@ -1696,13 +1696,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWithA } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1567 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partVals = new java.util.ArrayList(_list1567.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1568; - for (int _i1569 = 0; _i1569 < _list1567.size; ++_i1569) + org.apache.thrift.protocol.TList _list1577 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partVals = new java.util.ArrayList(_list1577.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1578; + for (int _i1579 = 0; _i1579 < _list1577.size; ++_i1579) { - _elem1568 = iprot.readString(); - struct.partVals.add(_elem1568); + _elem1578 = iprot.readString(); + struct.partVals.add(_elem1578); } } struct.setPartValsIsSet(true); @@ -1717,13 +1717,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWithA } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1570 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.groupNames = new java.util.ArrayList(_list1570.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1571; - for (int _i1572 = 0; _i1572 < _list1570.size; ++_i1572) + org.apache.thrift.protocol.TList _list1580 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.groupNames = new java.util.ArrayList(_list1580.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1581; + for (int _i1582 = 0; _i1582 < _list1580.size; ++_i1582) { - _elem1571 = iprot.readString(); - struct.groupNames.add(_elem1571); + _elem1581 = iprot.readString(); + struct.groupNames.add(_elem1581); } } struct.setGroupNamesIsSet(true); @@ -1750,13 +1750,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWithA } if (incoming.get(10)) { { - org.apache.thrift.protocol.TList _list1573 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partNames = new java.util.ArrayList(_list1573.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1574; - for (int _i1575 = 0; _i1575 < _list1573.size; ++_i1575) + org.apache.thrift.protocol.TList _list1583 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partNames = new java.util.ArrayList(_list1583.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1584; + for (int _i1585 = 0; _i1585 < _list1583.size; ++_i1585) { - _elem1574 = iprot.readString(); - struct.partNames.add(_elem1574); + _elem1584 = iprot.readString(); + struct.partNames.add(_elem1584); } } struct.setPartNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthResponse.java index 820440692b13..f5b250c9745b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsPsWith case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1576 = iprot.readListBegin(); - struct.partitions = new java.util.ArrayList(_list1576.size); - @org.apache.thrift.annotation.Nullable Partition _elem1577; - for (int _i1578 = 0; _i1578 < _list1576.size; ++_i1578) + org.apache.thrift.protocol.TList _list1586 = iprot.readListBegin(); + struct.partitions = new java.util.ArrayList(_list1586.size); + @org.apache.thrift.annotation.Nullable Partition _elem1587; + for (int _i1588 = 0; _i1588 < _list1586.size; ++_i1588) { - _elem1577 = new Partition(); - _elem1577.read(iprot); - struct.partitions.add(_elem1577); + _elem1587 = new Partition(); + _elem1587.read(iprot); + struct.partitions.add(_elem1587); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsPsWit oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter1579 : struct.partitions) + for (Partition _iter1589 : struct.partitions) { - _iter1579.write(oprot); + _iter1589.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWith org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.partitions.size()); - for (Partition _iter1580 : struct.partitions) + for (Partition _iter1590 : struct.partitions) { - _iter1580.write(oprot); + _iter1590.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWith public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsPsWithAuthResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1581 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.partitions = new java.util.ArrayList(_list1581.size); - @org.apache.thrift.annotation.Nullable Partition _elem1582; - for (int _i1583 = 0; _i1583 < _list1581.size; ++_i1583) + org.apache.thrift.protocol.TList _list1591 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.partitions = new java.util.ArrayList(_list1591.size); + @org.apache.thrift.annotation.Nullable Partition _elem1592; + for (int _i1593 = 0; _i1593 < _list1591.size; ++_i1593) { - _elem1582 = new Partition(); - _elem1582.read(iprot); - struct.partitions.add(_elem1582); + _elem1592 = new Partition(); + _elem1592.read(iprot); + struct.partitions.add(_elem1592); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java index 4f4c684854bd..77f37111e6a7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java @@ -1195,13 +1195,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsReques case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1488 = iprot.readListBegin(); - struct.groupNames = new java.util.ArrayList(_list1488.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1489; - for (int _i1490 = 0; _i1490 < _list1488.size; ++_i1490) + org.apache.thrift.protocol.TList _list1498 = iprot.readListBegin(); + struct.groupNames = new java.util.ArrayList(_list1498.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1499; + for (int _i1500 = 0; _i1500 < _list1498.size; ++_i1500) { - _elem1489 = iprot.readString(); - struct.groupNames.add(_elem1489); + _elem1499 = iprot.readString(); + struct.groupNames.add(_elem1499); } iprot.readListEnd(); } @@ -1231,13 +1231,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsReques case 9: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1491 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1491.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1492; - for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) + org.apache.thrift.protocol.TList _list1501 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1501.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1502; + for (int _i1503 = 0; _i1503 < _list1501.size; ++_i1503) { - _elem1492 = iprot.readString(); - struct.processorCapabilities.add(_elem1492); + _elem1502 = iprot.readString(); + struct.processorCapabilities.add(_elem1502); } iprot.readListEnd(); } @@ -1309,9 +1309,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsReque oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.groupNames.size())); - for (java.lang.String _iter1494 : struct.groupNames) + for (java.lang.String _iter1504 : struct.groupNames) { - oprot.writeString(_iter1494); + oprot.writeString(_iter1504); } oprot.writeListEnd(); } @@ -1333,9 +1333,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsReque oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1495 : struct.processorCapabilities) + for (java.lang.String _iter1505 : struct.processorCapabilities) { - oprot.writeString(_iter1495); + oprot.writeString(_iter1505); } oprot.writeListEnd(); } @@ -1426,9 +1426,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsReques if (struct.isSetGroupNames()) { { oprot.writeI32(struct.groupNames.size()); - for (java.lang.String _iter1496 : struct.groupNames) + for (java.lang.String _iter1506 : struct.groupNames) { - oprot.writeString(_iter1496); + oprot.writeString(_iter1506); } } } @@ -1441,9 +1441,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsReques if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1497 : struct.processorCapabilities) + for (java.lang.String _iter1507 : struct.processorCapabilities) { - oprot.writeString(_iter1497); + oprot.writeString(_iter1507); } } } @@ -1481,13 +1481,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRequest } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1498 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.groupNames = new java.util.ArrayList(_list1498.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1499; - for (int _i1500 = 0; _i1500 < _list1498.size; ++_i1500) + org.apache.thrift.protocol.TList _list1508 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.groupNames = new java.util.ArrayList(_list1508.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1509; + for (int _i1510 = 0; _i1510 < _list1508.size; ++_i1510) { - _elem1499 = iprot.readString(); - struct.groupNames.add(_elem1499); + _elem1509 = iprot.readString(); + struct.groupNames.add(_elem1509); } } struct.setGroupNamesIsSet(true); @@ -1504,13 +1504,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRequest } if (incoming.get(8)) { { - org.apache.thrift.protocol.TList _list1501 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1501.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1502; - for (int _i1503 = 0; _i1503 < _list1501.size; ++_i1503) + org.apache.thrift.protocol.TList _list1511 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1511.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1512; + for (int _i1513 = 0; _i1513 < _list1511.size; ++_i1513) { - _elem1502 = iprot.readString(); - struct.processorCapabilities.add(_elem1502); + _elem1512 = iprot.readString(); + struct.processorCapabilities.add(_elem1512); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java index 6d3ff319d354..8a60c34d2912 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java @@ -325,14 +325,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsRespon case 1: // PARTITION_SPEC if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1480 = iprot.readListBegin(); - struct.partitionSpec = new java.util.ArrayList(_list1480.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1481; - for (int _i1482 = 0; _i1482 < _list1480.size; ++_i1482) + org.apache.thrift.protocol.TList _list1490 = iprot.readListBegin(); + struct.partitionSpec = new java.util.ArrayList(_list1490.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1491; + for (int _i1492 = 0; _i1492 < _list1490.size; ++_i1492) { - _elem1481 = new PartitionSpec(); - _elem1481.read(iprot); - struct.partitionSpec.add(_elem1481); + _elem1491 = new PartitionSpec(); + _elem1491.read(iprot); + struct.partitionSpec.add(_elem1491); } iprot.readListEnd(); } @@ -358,9 +358,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsRespo oprot.writeFieldBegin(PARTITION_SPEC_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionSpec.size())); - for (PartitionSpec _iter1483 : struct.partitionSpec) + for (PartitionSpec _iter1493 : struct.partitionSpec) { - _iter1483.write(oprot); + _iter1493.write(oprot); } oprot.writeListEnd(); } @@ -391,9 +391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespon if (struct.isSetPartitionSpec()) { { oprot.writeI32(struct.partitionSpec.size()); - for (PartitionSpec _iter1484 : struct.partitionSpec) + for (PartitionSpec _iter1494 : struct.partitionSpec) { - _iter1484.write(oprot); + _iter1494.write(oprot); } } } @@ -405,14 +405,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespons java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1485 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.partitionSpec = new java.util.ArrayList(_list1485.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1486; - for (int _i1487 = 0; _i1487 < _list1485.size; ++_i1487) + org.apache.thrift.protocol.TList _list1495 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.partitionSpec = new java.util.ArrayList(_list1495.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1496; + for (int _i1497 = 0; _i1497 < _list1495.size; ++_i1497) { - _elem1486 = new PartitionSpec(); - _elem1486.read(iprot); - struct.partitionSpec.add(_elem1486); + _elem1496 = new PartitionSpec(); + _elem1496.read(iprot); + struct.partitionSpec.add(_elem1496); } } struct.setPartitionSpecIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetProjectionsSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetProjectionsSpec.java index f67bd79f2b50..26cf2ab272d6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetProjectionsSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetProjectionsSpec.java @@ -484,13 +484,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetProjectionsSpec case 1: // FIELD_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1198 = iprot.readListBegin(); - struct.fieldList = new java.util.ArrayList(_list1198.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1199; - for (int _i1200 = 0; _i1200 < _list1198.size; ++_i1200) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.fieldList = new java.util.ArrayList(_list1208.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1199 = iprot.readString(); - struct.fieldList.add(_elem1199); + _elem1209 = iprot.readString(); + struct.fieldList.add(_elem1209); } iprot.readListEnd(); } @@ -532,9 +532,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetProjectionsSpec oprot.writeFieldBegin(FIELD_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fieldList.size())); - for (java.lang.String _iter1201 : struct.fieldList) + for (java.lang.String _iter1211 : struct.fieldList) { - oprot.writeString(_iter1201); + oprot.writeString(_iter1211); } oprot.writeListEnd(); } @@ -581,9 +581,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetProjectionsSpec if (struct.isSetFieldList()) { { oprot.writeI32(struct.fieldList.size()); - for (java.lang.String _iter1202 : struct.fieldList) + for (java.lang.String _iter1212 : struct.fieldList) { - oprot.writeString(_iter1202); + oprot.writeString(_iter1212); } } } @@ -601,13 +601,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetProjectionsSpec s java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1203 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.fieldList = new java.util.ArrayList(_list1203.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1204; - for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) + org.apache.thrift.protocol.TList _list1213 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.fieldList = new java.util.ArrayList(_list1213.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1204 = iprot.readString(); - struct.fieldList.add(_elem1204); + _elem1214 = iprot.readString(); + struct.fieldList.add(_elem1214); } } struct.setFieldListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetSchemaResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetSchemaResponse.java index 52d4be9a294a..189db1d5a4ae 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetSchemaResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetSchemaResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetSchemaResponse s case 1: // FIELDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1512 = iprot.readListBegin(); - struct.fields = new java.util.ArrayList(_list1512.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1513; - for (int _i1514 = 0; _i1514 < _list1512.size; ++_i1514) + org.apache.thrift.protocol.TList _list1522 = iprot.readListBegin(); + struct.fields = new java.util.ArrayList(_list1522.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1523; + for (int _i1524 = 0; _i1524 < _list1522.size; ++_i1524) { - _elem1513 = new FieldSchema(); - _elem1513.read(iprot); - struct.fields.add(_elem1513); + _elem1523 = new FieldSchema(); + _elem1523.read(iprot); + struct.fields.add(_elem1523); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetSchemaResponse oprot.writeFieldBegin(FIELDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size())); - for (FieldSchema _iter1515 : struct.fields) + for (FieldSchema _iter1525 : struct.fields) { - _iter1515.write(oprot); + _iter1525.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetSchemaResponse s org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.fields.size()); - for (FieldSchema _iter1516 : struct.fields) + for (FieldSchema _iter1526 : struct.fields) { - _iter1516.write(oprot); + _iter1526.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetSchemaResponse s public void read(org.apache.thrift.protocol.TProtocol prot, GetSchemaResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1517 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.fields = new java.util.ArrayList(_list1517.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1518; - for (int _i1519 = 0; _i1519 < _list1517.size; ++_i1519) + org.apache.thrift.protocol.TList _list1527 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.fields = new java.util.ArrayList(_list1527.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1528; + for (int _i1529 = 0; _i1529 < _list1527.size; ++_i1529) { - _elem1518 = new FieldSchema(); - _elem1518.read(iprot); - struct.fields.add(_elem1518); + _elem1528 = new FieldSchema(); + _elem1528.read(iprot); + struct.fields.add(_elem1528); } } struct.setFieldsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java index 6d5bb95fb049..e165bc30b244 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java @@ -1109,13 +1109,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTableRequest str case 8: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1206 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1206.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1207; - for (int _i1208 = 0; _i1208 < _list1206.size; ++_i1208) + org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1216.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1207 = iprot.readString(); - struct.processorCapabilities.add(_elem1207); + _elem1217 = iprot.readString(); + struct.processorCapabilities.add(_elem1217); } iprot.readListEnd(); } @@ -1202,9 +1202,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTableRequest st oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1209 : struct.processorCapabilities) + for (java.lang.String _iter1219 : struct.processorCapabilities) { - oprot.writeString(_iter1209); + oprot.writeString(_iter1219); } oprot.writeListEnd(); } @@ -1290,9 +1290,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTableRequest str if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1210 : struct.processorCapabilities) + for (java.lang.String _iter1220 : struct.processorCapabilities) { - oprot.writeString(_iter1210); + oprot.writeString(_iter1220); } } } @@ -1334,13 +1334,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableRequest stru } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1211 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1211.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1212; - for (int _i1213 = 0; _i1213 < _list1211.size; ++_i1213) + org.apache.thrift.protocol.TList _list1221 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1221.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1222; + for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) { - _elem1212 = iprot.readString(); - struct.processorCapabilities.add(_elem1212); + _elem1222 = iprot.readString(); + struct.processorCapabilities.add(_elem1222); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java index a7fe96187c96..b31c1219896a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java @@ -856,13 +856,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesExtRequest case 6: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1238 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1238.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1239; - for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) + org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1248.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1249; + for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) { - _elem1239 = iprot.readString(); - struct.processorCapabilities.add(_elem1239); + _elem1249 = iprot.readString(); + struct.processorCapabilities.add(_elem1249); } iprot.readListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesExtReques oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1241 : struct.processorCapabilities) + for (java.lang.String _iter1251 : struct.processorCapabilities) { - oprot.writeString(_iter1241); + oprot.writeString(_iter1251); } oprot.writeListEnd(); } @@ -974,9 +974,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesExtRequest if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1242 : struct.processorCapabilities) + for (java.lang.String _iter1252 : struct.processorCapabilities) { - oprot.writeString(_iter1242); + oprot.writeString(_iter1252); } } } @@ -1003,13 +1003,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesExtRequest } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1243 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1243.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1244; - for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) + org.apache.thrift.protocol.TList _list1253 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1253.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1244 = iprot.readString(); - struct.processorCapabilities.add(_elem1244); + _elem1254 = iprot.readString(); + struct.processorCapabilities.add(_elem1254); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index 4c3e4cac43e3..b855b4feff7c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -926,13 +926,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1214 = iprot.readListBegin(); - struct.tblNames = new java.util.ArrayList(_list1214.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1215; - for (int _i1216 = 0; _i1216 < _list1214.size; ++_i1216) + org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); + struct.tblNames = new java.util.ArrayList(_list1224.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1225; + for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) { - _elem1215 = iprot.readString(); - struct.tblNames.add(_elem1215); + _elem1225 = iprot.readString(); + struct.tblNames.add(_elem1225); } iprot.readListEnd(); } @@ -961,13 +961,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 5: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1217 = iprot.readListBegin(); - struct.processorCapabilities = new java.util.ArrayList(_list1217.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1218; - for (int _i1219 = 0; _i1219 < _list1217.size; ++_i1219) + org.apache.thrift.protocol.TList _list1227 = iprot.readListBegin(); + struct.processorCapabilities = new java.util.ArrayList(_list1227.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1228; + for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) { - _elem1218 = iprot.readString(); - struct.processorCapabilities.add(_elem1218); + _elem1228 = iprot.readString(); + struct.processorCapabilities.add(_elem1228); } iprot.readListEnd(); } @@ -1024,9 +1024,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (java.lang.String _iter1220 : struct.tblNames) + for (java.lang.String _iter1230 : struct.tblNames) { - oprot.writeString(_iter1220); + oprot.writeString(_iter1230); } oprot.writeListEnd(); } @@ -1052,9 +1052,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (java.lang.String _iter1221 : struct.processorCapabilities) + for (java.lang.String _iter1231 : struct.processorCapabilities) { - oprot.writeString(_iter1221); + oprot.writeString(_iter1231); } oprot.writeListEnd(); } @@ -1126,9 +1126,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (java.lang.String _iter1222 : struct.tblNames) + for (java.lang.String _iter1232 : struct.tblNames) { - oprot.writeString(_iter1222); + oprot.writeString(_iter1232); } } } @@ -1141,9 +1141,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (java.lang.String _iter1223 : struct.processorCapabilities) + for (java.lang.String _iter1233 : struct.processorCapabilities) { - oprot.writeString(_iter1223); + oprot.writeString(_iter1233); } } } @@ -1166,13 +1166,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str java.util.BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.tblNames = new java.util.ArrayList(_list1224.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.tblNames = new java.util.ArrayList(_list1234.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1225 = iprot.readString(); - struct.tblNames.add(_elem1225); + _elem1235 = iprot.readString(); + struct.tblNames.add(_elem1235); } } struct.setTblNamesIsSet(true); @@ -1188,13 +1188,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1227 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.processorCapabilities = new java.util.ArrayList(_list1227.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1228; - for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) + org.apache.thrift.protocol.TList _list1237 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.processorCapabilities = new java.util.ArrayList(_list1237.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1228 = iprot.readString(); - struct.processorCapabilities.add(_elem1228); + _elem1238 = iprot.readString(); + struct.processorCapabilities.add(_elem1238); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index ecb407f8653e..f3dfe7aa40c5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1230 = iprot.readListBegin(); - struct.tables = new java.util.ArrayList
(_list1230.size); - @org.apache.thrift.annotation.Nullable Table _elem1231; - for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.tables = new java.util.ArrayList
(_list1240.size); + @org.apache.thrift.annotation.Nullable Table _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1231 = new Table(); - _elem1231.read(iprot); - struct.tables.add(_elem1231); + _elem1241 = new Table(); + _elem1241.read(iprot); + struct.tables.add(_elem1241); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter1233 : struct.tables) + for (Table _iter1243 : struct.tables) { - _iter1233.write(oprot); + _iter1243.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter1234 : struct.tables) + for (Table _iter1244 : struct.tables) { - _iter1234.write(oprot); + _iter1244.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1235 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.tables = new java.util.ArrayList
(_list1235.size); - @org.apache.thrift.annotation.Nullable Table _elem1236; - for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) + org.apache.thrift.protocol.TList _list1245 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.tables = new java.util.ArrayList
(_list1245.size); + @org.apache.thrift.annotation.Nullable Table _elem1246; + for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) { - _elem1236 = new Table(); - _elem1236.read(iprot); - struct.tables.add(_elem1236); + _elem1246 = new Table(); + _elem1246.read(iprot); + struct.tables.add(_elem1246); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index d50e020a3000..44a9c9415d36 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -429,13 +429,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set908 = iprot.readSetBegin(); - struct.aborted = new java.util.HashSet(2*_set908.size); - long _elem909; - for (int _i910 = 0; _i910 < _set908.size; ++_i910) + org.apache.thrift.protocol.TSet _set918 = iprot.readSetBegin(); + struct.aborted = new java.util.HashSet(2*_set918.size); + long _elem919; + for (int _i920 = 0; _i920 < _set918.size; ++_i920) { - _elem909 = iprot.readI64(); - struct.aborted.add(_elem909); + _elem919 = iprot.readI64(); + struct.aborted.add(_elem919); } iprot.readSetEnd(); } @@ -447,13 +447,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set911 = iprot.readSetBegin(); - struct.nosuch = new java.util.HashSet(2*_set911.size); - long _elem912; - for (int _i913 = 0; _i913 < _set911.size; ++_i913) + org.apache.thrift.protocol.TSet _set921 = iprot.readSetBegin(); + struct.nosuch = new java.util.HashSet(2*_set921.size); + long _elem922; + for (int _i923 = 0; _i923 < _set921.size; ++_i923) { - _elem912 = iprot.readI64(); - struct.nosuch.add(_elem912); + _elem922 = iprot.readI64(); + struct.nosuch.add(_elem922); } iprot.readSetEnd(); } @@ -479,9 +479,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter914 : struct.aborted) + for (long _iter924 : struct.aborted) { - oprot.writeI64(_iter914); + oprot.writeI64(_iter924); } oprot.writeSetEnd(); } @@ -491,9 +491,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter915 : struct.nosuch) + for (long _iter925 : struct.nosuch) { - oprot.writeI64(_iter915); + oprot.writeI64(_iter925); } oprot.writeSetEnd(); } @@ -518,16 +518,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter916 : struct.aborted) + for (long _iter926 : struct.aborted) { - oprot.writeI64(_iter916); + oprot.writeI64(_iter926); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter917 : struct.nosuch) + for (long _iter927 : struct.nosuch) { - oprot.writeI64(_iter917); + oprot.writeI64(_iter927); } } } @@ -536,24 +536,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set918 = iprot.readSetBegin(org.apache.thrift.protocol.TType.I64); - struct.aborted = new java.util.HashSet(2*_set918.size); - long _elem919; - for (int _i920 = 0; _i920 < _set918.size; ++_i920) + org.apache.thrift.protocol.TSet _set928 = iprot.readSetBegin(org.apache.thrift.protocol.TType.I64); + struct.aborted = new java.util.HashSet(2*_set928.size); + long _elem929; + for (int _i930 = 0; _i930 < _set928.size; ++_i930) { - _elem919 = iprot.readI64(); - struct.aborted.add(_elem919); + _elem929 = iprot.readI64(); + struct.aborted.add(_elem929); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set921 = iprot.readSetBegin(org.apache.thrift.protocol.TType.I64); - struct.nosuch = new java.util.HashSet(2*_set921.size); - long _elem922; - for (int _i923 = 0; _i923 < _set921.size; ++_i923) + org.apache.thrift.protocol.TSet _set931 = iprot.readSetBegin(org.apache.thrift.protocol.TType.I64); + struct.nosuch = new java.util.HashSet(2*_set931.size); + long _elem932; + for (int _i933 = 0; _i933 < _set931.size; ++_i933) { - _elem922 = iprot.readI64(); - struct.nosuch.add(_elem922); + _elem932 = iprot.readI64(); + struct.nosuch.add(_elem932); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 109c308af8cc..24e72e3f5cf0 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -711,13 +711,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1024 = iprot.readListBegin(); - struct.filesAdded = new java.util.ArrayList(_list1024.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1025; - for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.filesAdded = new java.util.ArrayList(_list1034.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1025 = iprot.readString(); - struct.filesAdded.add(_elem1025); + _elem1035 = iprot.readString(); + struct.filesAdded.add(_elem1035); } iprot.readListEnd(); } @@ -729,13 +729,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1027 = iprot.readListBegin(); - struct.filesAddedChecksum = new java.util.ArrayList(_list1027.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1028; - for (int _i1029 = 0; _i1029 < _list1027.size; ++_i1029) + org.apache.thrift.protocol.TList _list1037 = iprot.readListBegin(); + struct.filesAddedChecksum = new java.util.ArrayList(_list1037.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1038; + for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) { - _elem1028 = iprot.readString(); - struct.filesAddedChecksum.add(_elem1028); + _elem1038 = iprot.readString(); + struct.filesAddedChecksum.add(_elem1038); } iprot.readListEnd(); } @@ -747,13 +747,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 4: // SUB_DIRECTORY_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1030 = iprot.readListBegin(); - struct.subDirectoryList = new java.util.ArrayList(_list1030.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1031; - for (int _i1032 = 0; _i1032 < _list1030.size; ++_i1032) + org.apache.thrift.protocol.TList _list1040 = iprot.readListBegin(); + struct.subDirectoryList = new java.util.ArrayList(_list1040.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1041; + for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) { - _elem1031 = iprot.readString(); - struct.subDirectoryList.add(_elem1031); + _elem1041 = iprot.readString(); + struct.subDirectoryList.add(_elem1041); } iprot.readListEnd(); } @@ -765,13 +765,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 5: // PARTITION_VAL if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1033 = iprot.readListBegin(); - struct.partitionVal = new java.util.ArrayList(_list1033.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1034; - for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035) + org.apache.thrift.protocol.TList _list1043 = iprot.readListBegin(); + struct.partitionVal = new java.util.ArrayList(_list1043.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1044; + for (int _i1045 = 0; _i1045 < _list1043.size; ++_i1045) { - _elem1034 = iprot.readString(); - struct.partitionVal.add(_elem1034); + _elem1044 = iprot.readString(); + struct.partitionVal.add(_elem1044); } iprot.readListEnd(); } @@ -802,9 +802,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (java.lang.String _iter1036 : struct.filesAdded) + for (java.lang.String _iter1046 : struct.filesAdded) { - oprot.writeString(_iter1036); + oprot.writeString(_iter1046); } oprot.writeListEnd(); } @@ -815,9 +815,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (java.lang.String _iter1037 : struct.filesAddedChecksum) + for (java.lang.String _iter1047 : struct.filesAddedChecksum) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1047); } oprot.writeListEnd(); } @@ -829,9 +829,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(SUB_DIRECTORY_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.subDirectoryList.size())); - for (java.lang.String _iter1038 : struct.subDirectoryList) + for (java.lang.String _iter1048 : struct.subDirectoryList) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1048); } oprot.writeListEnd(); } @@ -843,9 +843,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(PARTITION_VAL_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVal.size())); - for (java.lang.String _iter1039 : struct.partitionVal) + for (java.lang.String _iter1049 : struct.partitionVal) { - oprot.writeString(_iter1039); + oprot.writeString(_iter1049); } oprot.writeListEnd(); } @@ -871,9 +871,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (java.lang.String _iter1040 : struct.filesAdded) + for (java.lang.String _iter1050 : struct.filesAdded) { - oprot.writeString(_iter1040); + oprot.writeString(_iter1050); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -896,27 +896,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (java.lang.String _iter1041 : struct.filesAddedChecksum) + for (java.lang.String _iter1051 : struct.filesAddedChecksum) { - oprot.writeString(_iter1041); + oprot.writeString(_iter1051); } } } if (struct.isSetSubDirectoryList()) { { oprot.writeI32(struct.subDirectoryList.size()); - for (java.lang.String _iter1042 : struct.subDirectoryList) + for (java.lang.String _iter1052 : struct.subDirectoryList) { - oprot.writeString(_iter1042); + oprot.writeString(_iter1052); } } } if (struct.isSetPartitionVal()) { { oprot.writeI32(struct.partitionVal.size()); - for (java.lang.String _iter1043 : struct.partitionVal) + for (java.lang.String _iter1053 : struct.partitionVal) { - oprot.writeString(_iter1043); + oprot.writeString(_iter1053); } } } @@ -926,13 +926,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1044 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.filesAdded = new java.util.ArrayList(_list1044.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1045; - for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) + org.apache.thrift.protocol.TList _list1054 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.filesAdded = new java.util.ArrayList(_list1054.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1055; + for (int _i1056 = 0; _i1056 < _list1054.size; ++_i1056) { - _elem1045 = iprot.readString(); - struct.filesAdded.add(_elem1045); + _elem1055 = iprot.readString(); + struct.filesAdded.add(_elem1055); } } struct.setFilesAddedIsSet(true); @@ -943,39 +943,39 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1047 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.filesAddedChecksum = new java.util.ArrayList(_list1047.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1057 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.filesAddedChecksum = new java.util.ArrayList(_list1057.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1058; + for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) { - _elem1048 = iprot.readString(); - struct.filesAddedChecksum.add(_elem1048); + _elem1058 = iprot.readString(); + struct.filesAddedChecksum.add(_elem1058); } } struct.setFilesAddedChecksumIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.subDirectoryList = new java.util.ArrayList(_list1050.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.subDirectoryList = new java.util.ArrayList(_list1060.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1061; + for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) { - _elem1051 = iprot.readString(); - struct.subDirectoryList.add(_elem1051); + _elem1061 = iprot.readString(); + struct.subDirectoryList.add(_elem1061); } } struct.setSubDirectoryListIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1053 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partitionVal = new java.util.ArrayList(_list1053.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1054; - for (int _i1055 = 0; _i1055 < _list1053.size; ++_i1055) + org.apache.thrift.protocol.TList _list1063 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partitionVal = new java.util.ArrayList(_list1063.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1054 = iprot.readString(); - struct.partitionVal.add(_elem1054); + _elem1064 = iprot.readString(); + struct.partitionVal.add(_elem1064); } } struct.setPartitionValIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java index 1567074cbf65..76dd95e01d3b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java @@ -19,6 +19,7 @@ private static final org.apache.thrift.protocol.TField OPERATION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationType", org.apache.thrift.protocol.TType.I32, (short)6); private static final org.apache.thrift.protocol.TField IS_TRANSACTIONAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isTransactional", org.apache.thrift.protocol.TType.BOOL, (short)7); private static final org.apache.thrift.protocol.TField IS_DYNAMIC_PARTITION_WRITE_FIELD_DESC = new org.apache.thrift.protocol.TField("isDynamicPartitionWrite", org.apache.thrift.protocol.TType.BOOL, (short)8); + private static final org.apache.thrift.protocol.TField TABLE_PARAMS_FIELD_DESC = new org.apache.thrift.protocol.TField("tableParams", org.apache.thrift.protocol.TType.MAP, (short)9); private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LockComponentStandardSchemeFactory(); private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LockComponentTupleSchemeFactory(); @@ -31,6 +32,7 @@ private @org.apache.thrift.annotation.Nullable DataOperationType operationType; // optional private boolean isTransactional; // optional private boolean isDynamicPartitionWrite; // optional + private @org.apache.thrift.annotation.Nullable java.util.Map tableParams; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -53,7 +55,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ OPERATION_TYPE((short)6, "operationType"), IS_TRANSACTIONAL((short)7, "isTransactional"), - IS_DYNAMIC_PARTITION_WRITE((short)8, "isDynamicPartitionWrite"); + IS_DYNAMIC_PARTITION_WRITE((short)8, "isDynamicPartitionWrite"), + TABLE_PARAMS((short)9, "tableParams"); private static final java.util.Map byName = new java.util.HashMap(); @@ -85,6 +88,8 @@ public static _Fields findByThriftId(int fieldId) { return IS_TRANSACTIONAL; case 8: // IS_DYNAMIC_PARTITION_WRITE return IS_DYNAMIC_PARTITION_WRITE; + case 9: // TABLE_PARAMS + return TABLE_PARAMS; default: return null; } @@ -129,7 +134,7 @@ public java.lang.String getFieldName() { private static final int __ISTRANSACTIONAL_ISSET_ID = 0; private static final int __ISDYNAMICPARTITIONWRITE_ISSET_ID = 1; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTITIONNAME,_Fields.OPERATION_TYPE,_Fields.IS_TRANSACTIONAL,_Fields.IS_DYNAMIC_PARTITION_WRITE}; + private static final _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTITIONNAME,_Fields.OPERATION_TYPE,_Fields.IS_TRANSACTIONAL,_Fields.IS_DYNAMIC_PARTITION_WRITE,_Fields.TABLE_PARAMS}; public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -149,6 +154,10 @@ public java.lang.String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.IS_DYNAMIC_PARTITION_WRITE, new org.apache.thrift.meta_data.FieldMetaData("isDynamicPartitionWrite", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.TABLE_PARAMS, new org.apache.thrift.meta_data.FieldMetaData("tableParams", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LockComponent.class, metaDataMap); } @@ -198,6 +207,10 @@ public LockComponent(LockComponent other) { } this.isTransactional = other.isTransactional; this.isDynamicPartitionWrite = other.isDynamicPartitionWrite; + if (other.isSetTableParams()) { + java.util.Map __this__tableParams = new java.util.HashMap(other.tableParams); + this.tableParams = __this__tableParams; + } } public LockComponent deepCopy() { @@ -217,6 +230,7 @@ public void clear() { this.isDynamicPartitionWrite = false; + this.tableParams = null; } /** @@ -431,6 +445,41 @@ public void setIsDynamicPartitionWriteIsSet(boolean value) { __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISDYNAMICPARTITIONWRITE_ISSET_ID, value); } + public int getTableParamsSize() { + return (this.tableParams == null) ? 0 : this.tableParams.size(); + } + + public void putToTableParams(java.lang.String key, java.lang.String val) { + if (this.tableParams == null) { + this.tableParams = new java.util.HashMap(); + } + this.tableParams.put(key, val); + } + + @org.apache.thrift.annotation.Nullable + public java.util.Map getTableParams() { + return this.tableParams; + } + + public void setTableParams(@org.apache.thrift.annotation.Nullable java.util.Map tableParams) { + this.tableParams = tableParams; + } + + public void unsetTableParams() { + this.tableParams = null; + } + + /** Returns true if field tableParams is set (has been assigned a value) and false otherwise */ + public boolean isSetTableParams() { + return this.tableParams != null; + } + + public void setTableParamsIsSet(boolean value) { + if (!value) { + this.tableParams = null; + } + } + public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case TYPE: @@ -497,6 +546,14 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable } break; + case TABLE_PARAMS: + if (value == null) { + unsetTableParams(); + } else { + setTableParams((java.util.Map)value); + } + break; + } } @@ -527,6 +584,9 @@ public java.lang.Object getFieldValue(_Fields field) { case IS_DYNAMIC_PARTITION_WRITE: return isIsDynamicPartitionWrite(); + case TABLE_PARAMS: + return getTableParams(); + } throw new java.lang.IllegalStateException(); } @@ -554,6 +614,8 @@ public boolean isSet(_Fields field) { return isSetIsTransactional(); case IS_DYNAMIC_PARTITION_WRITE: return isSetIsDynamicPartitionWrite(); + case TABLE_PARAMS: + return isSetTableParams(); } throw new java.lang.IllegalStateException(); } @@ -643,6 +705,15 @@ public boolean equals(LockComponent that) { return false; } + boolean this_present_tableParams = true && this.isSetTableParams(); + boolean that_present_tableParams = true && that.isSetTableParams(); + if (this_present_tableParams || that_present_tableParams) { + if (!(this_present_tableParams && that_present_tableParams)) + return false; + if (!this.tableParams.equals(that.tableParams)) + return false; + } + return true; } @@ -682,6 +753,10 @@ public int hashCode() { if (isSetIsDynamicPartitionWrite()) hashCode = hashCode * 8191 + ((isDynamicPartitionWrite) ? 131071 : 524287); + hashCode = hashCode * 8191 + ((isSetTableParams()) ? 131071 : 524287); + if (isSetTableParams()) + hashCode = hashCode * 8191 + tableParams.hashCode(); + return hashCode; } @@ -773,6 +848,16 @@ public int compareTo(LockComponent other) { return lastComparison; } } + lastComparison = java.lang.Boolean.compare(isSetTableParams(), other.isSetTableParams()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTableParams()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableParams, other.tableParams); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -859,6 +944,16 @@ public java.lang.String toString() { sb.append(this.isDynamicPartitionWrite); first = false; } + if (isSetTableParams()) { + if (!first) sb.append(", "); + sb.append("tableParams:"); + if (this.tableParams == null) { + sb.append("null"); + } else { + sb.append(this.tableParams); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -980,6 +1075,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockComponent struc org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 9: // TABLE_PARAMS + if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map892 = iprot.readMapBegin(); + struct.tableParams = new java.util.HashMap(2*_map892.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key893; + @org.apache.thrift.annotation.Nullable java.lang.String _val894; + for (int _i895 = 0; _i895 < _map892.size; ++_i895) + { + _key893 = iprot.readString(); + _val894 = iprot.readString(); + struct.tableParams.put(_key893, _val894); + } + iprot.readMapEnd(); + } + struct.setTableParamsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -1039,6 +1154,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockComponent stru oprot.writeBool(struct.isDynamicPartitionWrite); oprot.writeFieldEnd(); } + if (struct.tableParams != null) { + if (struct.isSetTableParams()) { + oprot.writeFieldBegin(TABLE_PARAMS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.tableParams.size())); + for (java.util.Map.Entry _iter896 : struct.tableParams.entrySet()) + { + oprot.writeString(_iter896.getKey()); + oprot.writeString(_iter896.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1075,7 +1205,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockComponent struc if (struct.isSetIsDynamicPartitionWrite()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if (struct.isSetTableParams()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if (struct.isSetTablename()) { oprot.writeString(struct.tablename); } @@ -1091,6 +1224,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockComponent struc if (struct.isSetIsDynamicPartitionWrite()) { oprot.writeBool(struct.isDynamicPartitionWrite); } + if (struct.isSetTableParams()) { + { + oprot.writeI32(struct.tableParams.size()); + for (java.util.Map.Entry _iter897 : struct.tableParams.entrySet()) + { + oprot.writeString(_iter897.getKey()); + oprot.writeString(_iter897.getValue()); + } + } + } } @Override @@ -1102,7 +1245,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockComponent struct struct.setLevelIsSet(true); struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); - java.util.BitSet incoming = iprot.readBitSet(5); + java.util.BitSet incoming = iprot.readBitSet(6); if (incoming.get(0)) { struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); @@ -1123,6 +1266,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockComponent struct struct.isDynamicPartitionWrite = iprot.readBool(); struct.setIsDynamicPartitionWriteIsSet(true); } + if (incoming.get(5)) { + { + org.apache.thrift.protocol.TMap _map898 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.tableParams = new java.util.HashMap(2*_map898.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key899; + @org.apache.thrift.annotation.Nullable java.lang.String _val900; + for (int _i901 = 0; _i901 < _map898.size; ++_i901) + { + _key899 = iprot.readString(); + _val900 = iprot.readString(); + struct.tableParams.put(_key899, _val900); + } + } + struct.setTableParamsIsSet(true); + } } } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index 078053e139ca..b5b9b6a0ff46 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -894,14 +894,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list892 = iprot.readListBegin(); - struct.component = new java.util.ArrayList(_list892.size); - @org.apache.thrift.annotation.Nullable LockComponent _elem893; - for (int _i894 = 0; _i894 < _list892.size; ++_i894) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.component = new java.util.ArrayList(_list902.size); + @org.apache.thrift.annotation.Nullable LockComponent _elem903; + for (int _i904 = 0; _i904 < _list902.size; ++_i904) { - _elem893 = new LockComponent(); - _elem893.read(iprot); - struct.component.add(_elem893); + _elem903 = new LockComponent(); + _elem903.read(iprot); + struct.component.add(_elem903); } iprot.readListEnd(); } @@ -983,9 +983,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter895 : struct.component) + for (LockComponent _iter905 : struct.component) { - _iter895.write(oprot); + _iter905.write(oprot); } oprot.writeListEnd(); } @@ -1047,9 +1047,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter896 : struct.component) + for (LockComponent _iter906 : struct.component) { - _iter896.write(oprot); + _iter906.write(oprot); } } oprot.writeString(struct.user); @@ -1092,14 +1092,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list897 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.component = new java.util.ArrayList(_list897.size); - @org.apache.thrift.annotation.Nullable LockComponent _elem898; - for (int _i899 = 0; _i899 < _list897.size; ++_i899) + org.apache.thrift.protocol.TList _list907 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.component = new java.util.ArrayList(_list907.size); + @org.apache.thrift.annotation.Nullable LockComponent _elem908; + for (int _i909 = 0; _i909 < _list907.size; ++_i909) { - _elem898 = new LockComponent(); - _elem898.read(iprot); - struct.component.add(_elem898); + _elem908 = new LockComponent(); + _elem908.read(iprot); + struct.component.add(_elem908); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java index 43ae1de7e974..ad306f55571a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java @@ -856,13 +856,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 3: // EVENT_TYPE_SKIP_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); - struct.eventTypeSkipList = new java.util.ArrayList(_list984.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); + struct.eventTypeSkipList = new java.util.ArrayList(_list994.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem985 = iprot.readString(); - struct.eventTypeSkipList.add(_elem985); + _elem995 = iprot.readString(); + struct.eventTypeSkipList.add(_elem995); } iprot.readListEnd(); } @@ -890,13 +890,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 6: // TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list987 = iprot.readListBegin(); - struct.tableNames = new java.util.ArrayList(_list987.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem988; - for (int _i989 = 0; _i989 < _list987.size; ++_i989) + org.apache.thrift.protocol.TList _list997 = iprot.readListBegin(); + struct.tableNames = new java.util.ArrayList(_list997.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) { - _elem988 = iprot.readString(); - struct.tableNames.add(_elem988); + _elem998 = iprot.readString(); + struct.tableNames.add(_elem998); } iprot.readListEnd(); } @@ -908,13 +908,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 7: // EVENT_TYPE_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); - struct.eventTypeList = new java.util.ArrayList(_list990.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem991; - for (int _i992 = 0; _i992 < _list990.size; ++_i992) + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.eventTypeList = new java.util.ArrayList(_list1000.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) { - _elem991 = iprot.readString(); - struct.eventTypeList.add(_elem991); + _elem1001 = iprot.readString(); + struct.eventTypeList.add(_elem1001); } iprot.readListEnd(); } @@ -949,9 +949,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENT_TYPE_SKIP_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.eventTypeSkipList.size())); - for (java.lang.String _iter993 : struct.eventTypeSkipList) + for (java.lang.String _iter1003 : struct.eventTypeSkipList) { - oprot.writeString(_iter993); + oprot.writeString(_iter1003); } oprot.writeListEnd(); } @@ -977,9 +977,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tableNames.size())); - for (java.lang.String _iter994 : struct.tableNames) + for (java.lang.String _iter1004 : struct.tableNames) { - oprot.writeString(_iter994); + oprot.writeString(_iter1004); } oprot.writeListEnd(); } @@ -991,9 +991,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENT_TYPE_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.eventTypeList.size())); - for (java.lang.String _iter995 : struct.eventTypeList) + for (java.lang.String _iter1005 : struct.eventTypeList) { - oprot.writeString(_iter995); + oprot.writeString(_iter1005); } oprot.writeListEnd(); } @@ -1044,9 +1044,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe if (struct.isSetEventTypeSkipList()) { { oprot.writeI32(struct.eventTypeSkipList.size()); - for (java.lang.String _iter996 : struct.eventTypeSkipList) + for (java.lang.String _iter1006 : struct.eventTypeSkipList) { - oprot.writeString(_iter996); + oprot.writeString(_iter1006); } } } @@ -1059,18 +1059,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe if (struct.isSetTableNames()) { { oprot.writeI32(struct.tableNames.size()); - for (java.lang.String _iter997 : struct.tableNames) + for (java.lang.String _iter1007 : struct.tableNames) { - oprot.writeString(_iter997); + oprot.writeString(_iter1007); } } } if (struct.isSetEventTypeList()) { { oprot.writeI32(struct.eventTypeList.size()); - for (java.lang.String _iter998 : struct.eventTypeList) + for (java.lang.String _iter1008 : struct.eventTypeList) { - oprot.writeString(_iter998); + oprot.writeString(_iter1008); } } } @@ -1088,13 +1088,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventReq } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list999 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.eventTypeSkipList = new java.util.ArrayList(_list999.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + org.apache.thrift.protocol.TList _list1009 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.eventTypeSkipList = new java.util.ArrayList(_list1009.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1010; + for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) { - _elem1000 = iprot.readString(); - struct.eventTypeSkipList.add(_elem1000); + _elem1010 = iprot.readString(); + struct.eventTypeSkipList.add(_elem1010); } } struct.setEventTypeSkipListIsSet(true); @@ -1109,26 +1109,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventReq } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.tableNames = new java.util.ArrayList(_list1002.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list1012 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.tableNames = new java.util.ArrayList(_list1012.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1013; + for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) { - _elem1003 = iprot.readString(); - struct.tableNames.add(_elem1003); + _elem1013 = iprot.readString(); + struct.tableNames.add(_elem1013); } } struct.setTableNamesIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1005 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.eventTypeList = new java.util.ArrayList(_list1005.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1006; - for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) + org.apache.thrift.protocol.TList _list1015 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.eventTypeList = new java.util.ArrayList(_list1015.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1016; + for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) { - _elem1006 = iprot.readString(); - struct.eventTypeList.add(_elem1006); + _elem1016 = iprot.readString(); + struct.eventTypeList.add(_elem1016); } } struct.setEventTypeListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index bb41659098be..f677bc675912 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); - struct.events = new java.util.ArrayList(_list1008.size); - @org.apache.thrift.annotation.Nullable NotificationEvent _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.events = new java.util.ArrayList(_list1018.size); + @org.apache.thrift.annotation.Nullable NotificationEvent _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1009 = new NotificationEvent(); - _elem1009.read(iprot); - struct.events.add(_elem1009); + _elem1019 = new NotificationEvent(); + _elem1019.read(iprot); + struct.events.add(_elem1019); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter1011 : struct.events) + for (NotificationEvent _iter1021 : struct.events) { - _iter1011.write(oprot); + _iter1021.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter1012 : struct.events) + for (NotificationEvent _iter1022 : struct.events) { - _iter1012.write(oprot); + _iter1022.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1013 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.events = new java.util.ArrayList(_list1013.size); - @org.apache.thrift.annotation.Nullable NotificationEvent _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1023 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.events = new java.util.ArrayList(_list1023.size); + @org.apache.thrift.annotation.Nullable NotificationEvent _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1014 = new NotificationEvent(); - _elem1014.read(iprot); - struct.events.add(_elem1014); + _elem1024 = new NotificationEvent(); + _elem1024.read(iprot); + struct.events.add(_elem1024); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventsCountRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventsCountRequest.java index 4552fd19047a..c6d6f9a6bc8f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventsCountRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventsCountRequest.java @@ -761,13 +761,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventsC case 6: // TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1016 = iprot.readListBegin(); - struct.tableNames = new java.util.ArrayList(_list1016.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.tableNames = new java.util.ArrayList(_list1026.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1017 = iprot.readString(); - struct.tableNames.add(_elem1017); + _elem1027 = iprot.readString(); + struct.tableNames.add(_elem1027); } iprot.readListEnd(); } @@ -819,9 +819,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEvents oprot.writeFieldBegin(TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tableNames.size())); - for (java.lang.String _iter1019 : struct.tableNames) + for (java.lang.String _iter1029 : struct.tableNames) { - oprot.writeString(_iter1019); + oprot.writeString(_iter1029); } oprot.writeListEnd(); } @@ -873,9 +873,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventsC if (struct.isSetTableNames()) { { oprot.writeI32(struct.tableNames.size()); - for (java.lang.String _iter1020 : struct.tableNames) + for (java.lang.String _iter1030 : struct.tableNames) { - oprot.writeString(_iter1020); + oprot.writeString(_iter1030); } } } @@ -903,13 +903,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventsCo } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1021 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.tableNames = new java.util.ArrayList(_list1021.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1022; - for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) + org.apache.thrift.protocol.TList _list1031 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.tableNames = new java.util.ArrayList(_list1031.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1022 = iprot.readString(); - struct.tableNames.add(_elem1022); + _elem1032 = iprot.readString(); + struct.tableNames.add(_elem1032); } } struct.setTableNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsResponse.java index b6b222d078a1..84a0405decfb 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsResponse case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1528 = iprot.readListBegin(); - struct.partitions = new java.util.ArrayList(_list1528.size); - @org.apache.thrift.annotation.Nullable Partition _elem1529; - for (int _i1530 = 0; _i1530 < _list1528.size; ++_i1530) + org.apache.thrift.protocol.TList _list1538 = iprot.readListBegin(); + struct.partitions = new java.util.ArrayList(_list1538.size); + @org.apache.thrift.annotation.Nullable Partition _elem1539; + for (int _i1540 = 0; _i1540 < _list1538.size; ++_i1540) { - _elem1529 = new Partition(); - _elem1529.read(iprot); - struct.partitions.add(_elem1529); + _elem1539 = new Partition(); + _elem1539.read(iprot); + struct.partitions.add(_elem1539); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsResponse oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter1531 : struct.partitions) + for (Partition _iter1541 : struct.partitions) { - _iter1531.write(oprot); + _iter1541.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsResponse org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.partitions.size()); - for (Partition _iter1532 : struct.partitions) + for (Partition _iter1542 : struct.partitions) { - _iter1532.write(oprot); + _iter1542.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsResponse public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1533 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.partitions = new java.util.ArrayList(_list1533.size); - @org.apache.thrift.annotation.Nullable Partition _elem1534; - for (int _i1535 = 0; _i1535 < _list1533.size; ++_i1535) + org.apache.thrift.protocol.TList _list1543 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.partitions = new java.util.ArrayList(_list1543.size); + @org.apache.thrift.annotation.Nullable Partition _elem1544; + for (int _i1545 = 0; _i1545 < _list1543.size; ++_i1545) { - _elem1534 = new Partition(); - _elem1534.read(iprot); - struct.partitions.add(_elem1534); + _elem1544 = new Partition(); + _elem1544.read(iprot); + struct.partitions.add(_elem1544); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index aa24bd6545db..3b71eebe1f4c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -523,13 +523,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1158 = iprot.readListBegin(); - struct.fileIds = new java.util.ArrayList(_list1158.size); - long _elem1159; - for (int _i1160 = 0; _i1160 < _list1158.size; ++_i1160) + org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(); + struct.fileIds = new java.util.ArrayList(_list1168.size); + long _elem1169; + for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) { - _elem1159 = iprot.readI64(); - struct.fileIds.add(_elem1159); + _elem1169 = iprot.readI64(); + struct.fileIds.add(_elem1169); } iprot.readListEnd(); } @@ -541,13 +541,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1161 = iprot.readListBegin(); - struct.metadata = new java.util.ArrayList(_list1161.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem1162; - for (int _i1163 = 0; _i1163 < _list1161.size; ++_i1163) + org.apache.thrift.protocol.TList _list1171 = iprot.readListBegin(); + struct.metadata = new java.util.ArrayList(_list1171.size); + @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem1172; + for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) { - _elem1162 = iprot.readBinary(); - struct.metadata.add(_elem1162); + _elem1172 = iprot.readBinary(); + struct.metadata.add(_elem1172); } iprot.readListEnd(); } @@ -581,9 +581,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter1164 : struct.fileIds) + for (long _iter1174 : struct.fileIds) { - oprot.writeI64(_iter1164); + oprot.writeI64(_iter1174); } oprot.writeListEnd(); } @@ -593,9 +593,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (java.nio.ByteBuffer _iter1165 : struct.metadata) + for (java.nio.ByteBuffer _iter1175 : struct.metadata) { - oprot.writeBinary(_iter1165); + oprot.writeBinary(_iter1175); } oprot.writeListEnd(); } @@ -627,16 +627,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter1166 : struct.fileIds) + for (long _iter1176 : struct.fileIds) { - oprot.writeI64(_iter1166); + oprot.writeI64(_iter1176); } } { oprot.writeI32(struct.metadata.size()); - for (java.nio.ByteBuffer _iter1167 : struct.metadata) + for (java.nio.ByteBuffer _iter1177 : struct.metadata) { - oprot.writeBinary(_iter1167); + oprot.writeBinary(_iter1177); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -653,24 +653,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); - struct.fileIds = new java.util.ArrayList(_list1168.size); - long _elem1169; - for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64); + struct.fileIds = new java.util.ArrayList(_list1178.size); + long _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1169 = iprot.readI64(); - struct.fileIds.add(_elem1169); + _elem1179 = iprot.readI64(); + struct.fileIds.add(_elem1179); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list1171 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.metadata = new java.util.ArrayList(_list1171.size); - @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem1172; - for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) + org.apache.thrift.protocol.TList _list1181 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.metadata = new java.util.ArrayList(_list1181.size); + @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem1182; + for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) { - _elem1172 = iprot.readBinary(); - struct.metadata.add(_elem1172); + _elem1182 = iprot.readBinary(); + struct.metadata.add(_elem1182); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java index 45dc08422451..129d8e3afaea 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java @@ -925,13 +925,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, RenamePartitionRequ case 4: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1456 = iprot.readListBegin(); - struct.partVals = new java.util.ArrayList(_list1456.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1457; - for (int _i1458 = 0; _i1458 < _list1456.size; ++_i1458) + org.apache.thrift.protocol.TList _list1466 = iprot.readListBegin(); + struct.partVals = new java.util.ArrayList(_list1466.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1467; + for (int _i1468 = 0; _i1468 < _list1466.size; ++_i1468) { - _elem1457 = iprot.readString(); - struct.partVals.add(_elem1457); + _elem1467 = iprot.readString(); + struct.partVals.add(_elem1467); } iprot.readListEnd(); } @@ -1007,9 +1007,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, RenamePartitionReq oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (java.lang.String _iter1459 : struct.partVals) + for (java.lang.String _iter1469 : struct.partVals) { - oprot.writeString(_iter1459); + oprot.writeString(_iter1469); } oprot.writeListEnd(); } @@ -1058,9 +1058,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, RenamePartitionRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partVals.size()); - for (java.lang.String _iter1460 : struct.partVals) + for (java.lang.String _iter1470 : struct.partVals) { - oprot.writeString(_iter1460); + oprot.writeString(_iter1470); } } struct.newPart.write(oprot); @@ -1100,13 +1100,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RenamePartitionReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list1461 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partVals = new java.util.ArrayList(_list1461.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1462; - for (int _i1463 = 0; _i1463 < _list1461.size; ++_i1463) + org.apache.thrift.protocol.TList _list1471 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partVals = new java.util.ArrayList(_list1471.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1472; + for (int _i1473 = 0; _i1473 < _list1471.size; ++_i1473) { - _elem1462 = iprot.readString(); - struct.partVals.add(_elem1462); + _elem1472 = iprot.readString(); + struct.partVals.add(_elem1472); } } struct.setPartValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplayedTxnsForPolicyResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplayedTxnsForPolicyResult.java index b0f7bdacf100..9c06468f2181 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplayedTxnsForPolicyResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplayedTxnsForPolicyResult.java @@ -318,15 +318,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ReplayedTxnsForPoli case 1: // REPL_TXN_MAP_ENTRY if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1616 = iprot.readMapBegin(); - struct.replTxnMapEntry = new java.util.HashMap(2*_map1616.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1617; - @org.apache.thrift.annotation.Nullable java.lang.String _val1618; - for (int _i1619 = 0; _i1619 < _map1616.size; ++_i1619) + org.apache.thrift.protocol.TMap _map1626 = iprot.readMapBegin(); + struct.replTxnMapEntry = new java.util.HashMap(2*_map1626.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1627; + @org.apache.thrift.annotation.Nullable java.lang.String _val1628; + for (int _i1629 = 0; _i1629 < _map1626.size; ++_i1629) { - _key1617 = iprot.readString(); - _val1618 = iprot.readString(); - struct.replTxnMapEntry.put(_key1617, _val1618); + _key1627 = iprot.readString(); + _val1628 = iprot.readString(); + struct.replTxnMapEntry.put(_key1627, _val1628); } iprot.readMapEnd(); } @@ -352,10 +352,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ReplayedTxnsForPol oprot.writeFieldBegin(REPL_TXN_MAP_ENTRY_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.replTxnMapEntry.size())); - for (java.util.Map.Entry _iter1620 : struct.replTxnMapEntry.entrySet()) + for (java.util.Map.Entry _iter1630 : struct.replTxnMapEntry.entrySet()) { - oprot.writeString(_iter1620.getKey()); - oprot.writeString(_iter1620.getValue()); + oprot.writeString(_iter1630.getKey()); + oprot.writeString(_iter1630.getValue()); } oprot.writeMapEnd(); } @@ -386,10 +386,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ReplayedTxnsForPoli if (struct.isSetReplTxnMapEntry()) { { oprot.writeI32(struct.replTxnMapEntry.size()); - for (java.util.Map.Entry _iter1621 : struct.replTxnMapEntry.entrySet()) + for (java.util.Map.Entry _iter1631 : struct.replTxnMapEntry.entrySet()) { - oprot.writeString(_iter1621.getKey()); - oprot.writeString(_iter1621.getValue()); + oprot.writeString(_iter1631.getKey()); + oprot.writeString(_iter1631.getValue()); } } } @@ -401,15 +401,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ReplayedTxnsForPolic java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1622 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.replTxnMapEntry = new java.util.HashMap(2*_map1622.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1623; - @org.apache.thrift.annotation.Nullable java.lang.String _val1624; - for (int _i1625 = 0; _i1625 < _map1622.size; ++_i1625) + org.apache.thrift.protocol.TMap _map1632 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.replTxnMapEntry = new java.util.HashMap(2*_map1632.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1633; + @org.apache.thrift.annotation.Nullable java.lang.String _val1634; + for (int _i1635 = 0; _i1635 < _map1632.size; ++_i1635) { - _key1623 = iprot.readString(); - _val1624 = iprot.readString(); - struct.replTxnMapEntry.put(_key1623, _val1624); + _key1633 = iprot.readString(); + _val1634 = iprot.readString(); + struct.replTxnMapEntry.put(_key1633, _val1634); } } struct.setReplTxnMapEntryIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplicationMetricList.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplicationMetricList.java index e2d0ae0f31db..57acf12f88bc 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplicationMetricList.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplicationMetricList.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ReplicationMetricLi case 1: // REPLICATION_METRIC_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1584 = iprot.readListBegin(); - struct.replicationMetricList = new java.util.ArrayList(_list1584.size); - @org.apache.thrift.annotation.Nullable ReplicationMetrics _elem1585; - for (int _i1586 = 0; _i1586 < _list1584.size; ++_i1586) + org.apache.thrift.protocol.TList _list1594 = iprot.readListBegin(); + struct.replicationMetricList = new java.util.ArrayList(_list1594.size); + @org.apache.thrift.annotation.Nullable ReplicationMetrics _elem1595; + for (int _i1596 = 0; _i1596 < _list1594.size; ++_i1596) { - _elem1585 = new ReplicationMetrics(); - _elem1585.read(iprot); - struct.replicationMetricList.add(_elem1585); + _elem1595 = new ReplicationMetrics(); + _elem1595.read(iprot); + struct.replicationMetricList.add(_elem1595); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ReplicationMetricL oprot.writeFieldBegin(REPLICATION_METRIC_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.replicationMetricList.size())); - for (ReplicationMetrics _iter1587 : struct.replicationMetricList) + for (ReplicationMetrics _iter1597 : struct.replicationMetricList) { - _iter1587.write(oprot); + _iter1597.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ReplicationMetricLi org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.replicationMetricList.size()); - for (ReplicationMetrics _iter1588 : struct.replicationMetricList) + for (ReplicationMetrics _iter1598 : struct.replicationMetricList) { - _iter1588.write(oprot); + _iter1598.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ReplicationMetricLi public void read(org.apache.thrift.protocol.TProtocol prot, ReplicationMetricList struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list1589 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.replicationMetricList = new java.util.ArrayList(_list1589.size); - @org.apache.thrift.annotation.Nullable ReplicationMetrics _elem1590; - for (int _i1591 = 0; _i1591 < _list1589.size; ++_i1591) + org.apache.thrift.protocol.TList _list1599 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.replicationMetricList = new java.util.ArrayList(_list1599.size); + @org.apache.thrift.annotation.Nullable ReplicationMetrics _elem1600; + for (int _i1601 = 0; _i1601 < _list1599.size; ++_i1601) { - _elem1590 = new ReplicationMetrics(); - _elem1590.read(iprot); - struct.replicationMetricList.add(_elem1590); + _elem1600 = new ReplicationMetrics(); + _elem1600.read(iprot); + struct.replicationMetricList.add(_elem1600); } } struct.setReplicationMetricListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index dcf8f8659635..ee32b81e79c5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1088,14 +1088,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); - struct.cols = new java.util.ArrayList(_list1350.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1351; - for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) + org.apache.thrift.protocol.TList _list1360 = iprot.readListBegin(); + struct.cols = new java.util.ArrayList(_list1360.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1361; + for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) { - _elem1351 = new FieldSchema(); - _elem1351.read(iprot); - struct.cols.add(_elem1351); + _elem1361 = new FieldSchema(); + _elem1361.read(iprot); + struct.cols.add(_elem1361); } iprot.readListEnd(); } @@ -1181,9 +1181,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter1353 : struct.cols) + for (FieldSchema _iter1363 : struct.cols) { - _iter1353.write(oprot); + _iter1363.write(oprot); } oprot.writeListEnd(); } @@ -1292,9 +1292,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter1354 : struct.cols) + for (FieldSchema _iter1364 : struct.cols) { - _iter1354.write(oprot); + _iter1364.write(oprot); } } } @@ -1337,14 +1337,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1355 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.cols = new java.util.ArrayList(_list1355.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1356; - for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) + org.apache.thrift.protocol.TList _list1365 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.cols = new java.util.ArrayList(_list1365.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1366; + for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) { - _elem1356 = new FieldSchema(); - _elem1356.read(iprot); - struct.cols.add(_elem1356); + _elem1366 = new FieldSchema(); + _elem1366.read(iprot); + struct.cols.add(_elem1366); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index 54b9601dcd75..daaff9b18d75 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -329,14 +329,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); - struct.compacts = new java.util.ArrayList(_list934.size); - @org.apache.thrift.annotation.Nullable ShowCompactResponseElement _elem935; - for (int _i936 = 0; _i936 < _list934.size; ++_i936) + org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); + struct.compacts = new java.util.ArrayList(_list944.size); + @org.apache.thrift.annotation.Nullable ShowCompactResponseElement _elem945; + for (int _i946 = 0; _i946 < _list944.size; ++_i946) { - _elem935 = new ShowCompactResponseElement(); - _elem935.read(iprot); - struct.compacts.add(_elem935); + _elem945 = new ShowCompactResponseElement(); + _elem945.read(iprot); + struct.compacts.add(_elem945); } iprot.readListEnd(); } @@ -362,9 +362,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter937 : struct.compacts) + for (ShowCompactResponseElement _iter947 : struct.compacts) { - _iter937.write(oprot); + _iter947.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter938 : struct.compacts) + for (ShowCompactResponseElement _iter948 : struct.compacts) { - _iter938.write(oprot); + _iter948.write(oprot); } } } @@ -400,14 +400,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list939 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.compacts = new java.util.ArrayList(_list939.size); - @org.apache.thrift.annotation.Nullable ShowCompactResponseElement _elem940; - for (int _i941 = 0; _i941 < _list939.size; ++_i941) + org.apache.thrift.protocol.TList _list949 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.compacts = new java.util.ArrayList(_list949.size); + @org.apache.thrift.annotation.Nullable ShowCompactResponseElement _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem940 = new ShowCompactResponseElement(); - _elem940.read(iprot); - struct.compacts.add(_elem940); + _elem950 = new ShowCompactResponseElement(); + _elem950.read(iprot); + struct.compacts.add(_elem950); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 64f100309ca8..da84630b9732 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -325,14 +325,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list900 = iprot.readListBegin(); - struct.locks = new java.util.ArrayList(_list900.size); - @org.apache.thrift.annotation.Nullable ShowLocksResponseElement _elem901; - for (int _i902 = 0; _i902 < _list900.size; ++_i902) + org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); + struct.locks = new java.util.ArrayList(_list910.size); + @org.apache.thrift.annotation.Nullable ShowLocksResponseElement _elem911; + for (int _i912 = 0; _i912 < _list910.size; ++_i912) { - _elem901 = new ShowLocksResponseElement(); - _elem901.read(iprot); - struct.locks.add(_elem901); + _elem911 = new ShowLocksResponseElement(); + _elem911.read(iprot); + struct.locks.add(_elem911); } iprot.readListEnd(); } @@ -358,9 +358,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter903 : struct.locks) + for (ShowLocksResponseElement _iter913 : struct.locks) { - _iter903.write(oprot); + _iter913.write(oprot); } oprot.writeListEnd(); } @@ -391,9 +391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter904 : struct.locks) + for (ShowLocksResponseElement _iter914 : struct.locks) { - _iter904.write(oprot); + _iter914.write(oprot); } } } @@ -405,14 +405,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list905 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.locks = new java.util.ArrayList(_list905.size); - @org.apache.thrift.annotation.Nullable ShowLocksResponseElement _elem906; - for (int _i907 = 0; _i907 < _list905.size; ++_i907) + org.apache.thrift.protocol.TList _list915 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.locks = new java.util.ArrayList(_list915.size); + @org.apache.thrift.annotation.Nullable ShowLocksResponseElement _elem916; + for (int _i917 = 0; _i917 < _list915.size; ++_i917) { - _elem906 = new ShowLocksResponseElement(); - _elem906.read(iprot); - struct.locks.add(_elem906); + _elem916 = new ShowLocksResponseElement(); + _elem916.read(iprot); + struct.locks.add(_elem916); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 0b4f3a04bdfc..f2746b3582f4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -60945,13 +60945,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1626 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1626.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1627; - for (int _i1628 = 0; _i1628 < _list1626.size; ++_i1628) + org.apache.thrift.protocol.TList _list1636 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1636.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1637; + for (int _i1638 = 0; _i1638 < _list1636.size; ++_i1638) { - _elem1627 = iprot.readString(); - struct.success.add(_elem1627); + _elem1637 = iprot.readString(); + struct.success.add(_elem1637); } iprot.readListEnd(); } @@ -60986,9 +60986,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1629 : struct.success) + for (java.lang.String _iter1639 : struct.success) { - oprot.writeString(_iter1629); + oprot.writeString(_iter1639); } oprot.writeListEnd(); } @@ -61027,9 +61027,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1630 : struct.success) + for (java.lang.String _iter1640 : struct.success) { - oprot.writeString(_iter1630); + oprot.writeString(_iter1640); } } } @@ -61044,13 +61044,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1631 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1631.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1632; - for (int _i1633 = 0; _i1633 < _list1631.size; ++_i1633) + org.apache.thrift.protocol.TList _list1641 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1641.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1642; + for (int _i1643 = 0; _i1643 < _list1641.size; ++_i1643) { - _elem1632 = iprot.readString(); - struct.success.add(_elem1632); + _elem1642 = iprot.readString(); + struct.success.add(_elem1642); } } struct.setSuccessIsSet(true); @@ -61713,13 +61713,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1634 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1634.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1635; - for (int _i1636 = 0; _i1636 < _list1634.size; ++_i1636) + org.apache.thrift.protocol.TList _list1644 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1644.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1645; + for (int _i1646 = 0; _i1646 < _list1644.size; ++_i1646) { - _elem1635 = iprot.readString(); - struct.success.add(_elem1635); + _elem1645 = iprot.readString(); + struct.success.add(_elem1645); } iprot.readListEnd(); } @@ -61754,9 +61754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1637 : struct.success) + for (java.lang.String _iter1647 : struct.success) { - oprot.writeString(_iter1637); + oprot.writeString(_iter1647); } oprot.writeListEnd(); } @@ -61795,9 +61795,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1638 : struct.success) + for (java.lang.String _iter1648 : struct.success) { - oprot.writeString(_iter1638); + oprot.writeString(_iter1648); } } } @@ -61812,13 +61812,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1639 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1639.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1640; - for (int _i1641 = 0; _i1641 < _list1639.size; ++_i1641) + org.apache.thrift.protocol.TList _list1649 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1649.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1650; + for (int _i1651 = 0; _i1651 < _list1649.size; ++_i1651) { - _elem1640 = iprot.readString(); - struct.success.add(_elem1640); + _elem1650 = iprot.readString(); + struct.success.add(_elem1650); } } struct.setSuccessIsSet(true); @@ -67931,13 +67931,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_dataconnectors_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1642 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1642.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1643; - for (int _i1644 = 0; _i1644 < _list1642.size; ++_i1644) + org.apache.thrift.protocol.TList _list1652 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1652.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1653; + for (int _i1654 = 0; _i1654 < _list1652.size; ++_i1654) { - _elem1643 = iprot.readString(); - struct.success.add(_elem1643); + _elem1653 = iprot.readString(); + struct.success.add(_elem1653); } iprot.readListEnd(); } @@ -67972,9 +67972,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_dataconnectors oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1645 : struct.success) + for (java.lang.String _iter1655 : struct.success) { - oprot.writeString(_iter1645); + oprot.writeString(_iter1655); } oprot.writeListEnd(); } @@ -68013,9 +68013,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_dataconnectors_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1646 : struct.success) + for (java.lang.String _iter1656 : struct.success) { - oprot.writeString(_iter1646); + oprot.writeString(_iter1656); } } } @@ -68030,13 +68030,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_dataconnectors_r java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1647 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1647.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1648; - for (int _i1649 = 0; _i1649 < _list1647.size; ++_i1649) + org.apache.thrift.protocol.TList _list1657 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1657.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1658; + for (int _i1659 = 0; _i1659 < _list1657.size; ++_i1659) { - _elem1648 = iprot.readString(); - struct.success.add(_elem1648); + _elem1658 = iprot.readString(); + struct.success.add(_elem1658); } } struct.setSuccessIsSet(true); @@ -72573,16 +72573,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1650 = iprot.readMapBegin(); - struct.success = new java.util.HashMap(2*_map1650.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1651; - @org.apache.thrift.annotation.Nullable Type _val1652; - for (int _i1653 = 0; _i1653 < _map1650.size; ++_i1653) + org.apache.thrift.protocol.TMap _map1660 = iprot.readMapBegin(); + struct.success = new java.util.HashMap(2*_map1660.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1661; + @org.apache.thrift.annotation.Nullable Type _val1662; + for (int _i1663 = 0; _i1663 < _map1660.size; ++_i1663) { - _key1651 = iprot.readString(); - _val1652 = new Type(); - _val1652.read(iprot); - struct.success.put(_key1651, _val1652); + _key1661 = iprot.readString(); + _val1662 = new Type(); + _val1662.read(iprot); + struct.success.put(_key1661, _val1662); } iprot.readMapEnd(); } @@ -72617,10 +72617,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (java.util.Map.Entry _iter1654 : struct.success.entrySet()) + for (java.util.Map.Entry _iter1664 : struct.success.entrySet()) { - oprot.writeString(_iter1654.getKey()); - _iter1654.getValue().write(oprot); + oprot.writeString(_iter1664.getKey()); + _iter1664.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -72659,10 +72659,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.util.Map.Entry _iter1655 : struct.success.entrySet()) + for (java.util.Map.Entry _iter1665 : struct.success.entrySet()) { - oprot.writeString(_iter1655.getKey()); - _iter1655.getValue().write(oprot); + oprot.writeString(_iter1665.getKey()); + _iter1665.getValue().write(oprot); } } } @@ -72677,16 +72677,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1656 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.HashMap(2*_map1656.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1657; - @org.apache.thrift.annotation.Nullable Type _val1658; - for (int _i1659 = 0; _i1659 < _map1656.size; ++_i1659) + org.apache.thrift.protocol.TMap _map1666 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.HashMap(2*_map1666.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1667; + @org.apache.thrift.annotation.Nullable Type _val1668; + for (int _i1669 = 0; _i1669 < _map1666.size; ++_i1669) { - _key1657 = iprot.readString(); - _val1658 = new Type(); - _val1658.read(iprot); - struct.success.put(_key1657, _val1658); + _key1667 = iprot.readString(); + _val1668 = new Type(); + _val1668.read(iprot); + struct.success.put(_key1667, _val1668); } } struct.setSuccessIsSet(true); @@ -73730,14 +73730,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1660 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1660.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1661; - for (int _i1662 = 0; _i1662 < _list1660.size; ++_i1662) + org.apache.thrift.protocol.TList _list1670 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1670.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1671; + for (int _i1672 = 0; _i1672 < _list1670.size; ++_i1672) { - _elem1661 = new FieldSchema(); - _elem1661.read(iprot); - struct.success.add(_elem1661); + _elem1671 = new FieldSchema(); + _elem1671.read(iprot); + struct.success.add(_elem1671); } iprot.readListEnd(); } @@ -73790,9 +73790,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1663 : struct.success) + for (FieldSchema _iter1673 : struct.success) { - _iter1663.write(oprot); + _iter1673.write(oprot); } oprot.writeListEnd(); } @@ -73847,9 +73847,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1664 : struct.success) + for (FieldSchema _iter1674 : struct.success) { - _iter1664.write(oprot); + _iter1674.write(oprot); } } } @@ -73870,14 +73870,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1665 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1665.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1666; - for (int _i1667 = 0; _i1667 < _list1665.size; ++_i1667) + org.apache.thrift.protocol.TList _list1675 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1675.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1676; + for (int _i1677 = 0; _i1677 < _list1675.size; ++_i1677) { - _elem1666 = new FieldSchema(); - _elem1666.read(iprot); - struct.success.add(_elem1666); + _elem1676 = new FieldSchema(); + _elem1676.read(iprot); + struct.success.add(_elem1676); } } struct.setSuccessIsSet(true); @@ -75040,14 +75040,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1668 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1668.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1669; - for (int _i1670 = 0; _i1670 < _list1668.size; ++_i1670) + org.apache.thrift.protocol.TList _list1678 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1678.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1679; + for (int _i1680 = 0; _i1680 < _list1678.size; ++_i1680) { - _elem1669 = new FieldSchema(); - _elem1669.read(iprot); - struct.success.add(_elem1669); + _elem1679 = new FieldSchema(); + _elem1679.read(iprot); + struct.success.add(_elem1679); } iprot.readListEnd(); } @@ -75100,9 +75100,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1671 : struct.success) + for (FieldSchema _iter1681 : struct.success) { - _iter1671.write(oprot); + _iter1681.write(oprot); } oprot.writeListEnd(); } @@ -75157,9 +75157,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1672 : struct.success) + for (FieldSchema _iter1682 : struct.success) { - _iter1672.write(oprot); + _iter1682.write(oprot); } } } @@ -75180,14 +75180,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1673 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1673.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1674; - for (int _i1675 = 0; _i1675 < _list1673.size; ++_i1675) + org.apache.thrift.protocol.TList _list1683 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1683.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1684; + for (int _i1685 = 0; _i1685 < _list1683.size; ++_i1685) { - _elem1674 = new FieldSchema(); - _elem1674.read(iprot); - struct.success.add(_elem1674); + _elem1684 = new FieldSchema(); + _elem1684.read(iprot); + struct.success.add(_elem1684); } } struct.setSuccessIsSet(true); @@ -77293,14 +77293,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1676 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1676.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1677; - for (int _i1678 = 0; _i1678 < _list1676.size; ++_i1678) + org.apache.thrift.protocol.TList _list1686 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1686.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1687; + for (int _i1688 = 0; _i1688 < _list1686.size; ++_i1688) { - _elem1677 = new FieldSchema(); - _elem1677.read(iprot); - struct.success.add(_elem1677); + _elem1687 = new FieldSchema(); + _elem1687.read(iprot); + struct.success.add(_elem1687); } iprot.readListEnd(); } @@ -77353,9 +77353,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1679 : struct.success) + for (FieldSchema _iter1689 : struct.success) { - _iter1679.write(oprot); + _iter1689.write(oprot); } oprot.writeListEnd(); } @@ -77410,9 +77410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1680 : struct.success) + for (FieldSchema _iter1690 : struct.success) { - _iter1680.write(oprot); + _iter1690.write(oprot); } } } @@ -77433,14 +77433,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1681 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1681.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1682; - for (int _i1683 = 0; _i1683 < _list1681.size; ++_i1683) + org.apache.thrift.protocol.TList _list1691 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1691.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1692; + for (int _i1693 = 0; _i1693 < _list1691.size; ++_i1693) { - _elem1682 = new FieldSchema(); - _elem1682.read(iprot); - struct.success.add(_elem1682); + _elem1692 = new FieldSchema(); + _elem1692.read(iprot); + struct.success.add(_elem1692); } } struct.setSuccessIsSet(true); @@ -78603,14 +78603,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1684 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1684.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1685; - for (int _i1686 = 0; _i1686 < _list1684.size; ++_i1686) + org.apache.thrift.protocol.TList _list1694 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1694.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1695; + for (int _i1696 = 0; _i1696 < _list1694.size; ++_i1696) { - _elem1685 = new FieldSchema(); - _elem1685.read(iprot); - struct.success.add(_elem1685); + _elem1695 = new FieldSchema(); + _elem1695.read(iprot); + struct.success.add(_elem1695); } iprot.readListEnd(); } @@ -78663,9 +78663,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1687 : struct.success) + for (FieldSchema _iter1697 : struct.success) { - _iter1687.write(oprot); + _iter1697.write(oprot); } oprot.writeListEnd(); } @@ -78720,9 +78720,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1688 : struct.success) + for (FieldSchema _iter1698 : struct.success) { - _iter1688.write(oprot); + _iter1698.write(oprot); } } } @@ -78743,14 +78743,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1689 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1689.size); - @org.apache.thrift.annotation.Nullable FieldSchema _elem1690; - for (int _i1691 = 0; _i1691 < _list1689.size; ++_i1691) + org.apache.thrift.protocol.TList _list1699 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1699.size); + @org.apache.thrift.annotation.Nullable FieldSchema _elem1700; + for (int _i1701 = 0; _i1701 < _list1699.size; ++_i1701) { - _elem1690 = new FieldSchema(); - _elem1690.read(iprot); - struct.success.add(_elem1690); + _elem1700 = new FieldSchema(); + _elem1700.read(iprot); + struct.success.add(_elem1700); } } struct.setSuccessIsSet(true); @@ -82957,14 +82957,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1692 = iprot.readListBegin(); - struct.primaryKeys = new java.util.ArrayList(_list1692.size); - @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1693; - for (int _i1694 = 0; _i1694 < _list1692.size; ++_i1694) + org.apache.thrift.protocol.TList _list1702 = iprot.readListBegin(); + struct.primaryKeys = new java.util.ArrayList(_list1702.size); + @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1703; + for (int _i1704 = 0; _i1704 < _list1702.size; ++_i1704) { - _elem1693 = new SQLPrimaryKey(); - _elem1693.read(iprot); - struct.primaryKeys.add(_elem1693); + _elem1703 = new SQLPrimaryKey(); + _elem1703.read(iprot); + struct.primaryKeys.add(_elem1703); } iprot.readListEnd(); } @@ -82976,14 +82976,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1695 = iprot.readListBegin(); - struct.foreignKeys = new java.util.ArrayList(_list1695.size); - @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1696; - for (int _i1697 = 0; _i1697 < _list1695.size; ++_i1697) + org.apache.thrift.protocol.TList _list1705 = iprot.readListBegin(); + struct.foreignKeys = new java.util.ArrayList(_list1705.size); + @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1706; + for (int _i1707 = 0; _i1707 < _list1705.size; ++_i1707) { - _elem1696 = new SQLForeignKey(); - _elem1696.read(iprot); - struct.foreignKeys.add(_elem1696); + _elem1706 = new SQLForeignKey(); + _elem1706.read(iprot); + struct.foreignKeys.add(_elem1706); } iprot.readListEnd(); } @@ -82995,14 +82995,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 4: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1698 = iprot.readListBegin(); - struct.uniqueConstraints = new java.util.ArrayList(_list1698.size); - @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1699; - for (int _i1700 = 0; _i1700 < _list1698.size; ++_i1700) + org.apache.thrift.protocol.TList _list1708 = iprot.readListBegin(); + struct.uniqueConstraints = new java.util.ArrayList(_list1708.size); + @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1709; + for (int _i1710 = 0; _i1710 < _list1708.size; ++_i1710) { - _elem1699 = new SQLUniqueConstraint(); - _elem1699.read(iprot); - struct.uniqueConstraints.add(_elem1699); + _elem1709 = new SQLUniqueConstraint(); + _elem1709.read(iprot); + struct.uniqueConstraints.add(_elem1709); } iprot.readListEnd(); } @@ -83014,14 +83014,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 5: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1701 = iprot.readListBegin(); - struct.notNullConstraints = new java.util.ArrayList(_list1701.size); - @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1702; - for (int _i1703 = 0; _i1703 < _list1701.size; ++_i1703) + org.apache.thrift.protocol.TList _list1711 = iprot.readListBegin(); + struct.notNullConstraints = new java.util.ArrayList(_list1711.size); + @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1712; + for (int _i1713 = 0; _i1713 < _list1711.size; ++_i1713) { - _elem1702 = new SQLNotNullConstraint(); - _elem1702.read(iprot); - struct.notNullConstraints.add(_elem1702); + _elem1712 = new SQLNotNullConstraint(); + _elem1712.read(iprot); + struct.notNullConstraints.add(_elem1712); } iprot.readListEnd(); } @@ -83033,14 +83033,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1704 = iprot.readListBegin(); - struct.defaultConstraints = new java.util.ArrayList(_list1704.size); - @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1705; - for (int _i1706 = 0; _i1706 < _list1704.size; ++_i1706) + org.apache.thrift.protocol.TList _list1714 = iprot.readListBegin(); + struct.defaultConstraints = new java.util.ArrayList(_list1714.size); + @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1715; + for (int _i1716 = 0; _i1716 < _list1714.size; ++_i1716) { - _elem1705 = new SQLDefaultConstraint(); - _elem1705.read(iprot); - struct.defaultConstraints.add(_elem1705); + _elem1715 = new SQLDefaultConstraint(); + _elem1715.read(iprot); + struct.defaultConstraints.add(_elem1715); } iprot.readListEnd(); } @@ -83052,14 +83052,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 7: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1707 = iprot.readListBegin(); - struct.checkConstraints = new java.util.ArrayList(_list1707.size); - @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1708; - for (int _i1709 = 0; _i1709 < _list1707.size; ++_i1709) + org.apache.thrift.protocol.TList _list1717 = iprot.readListBegin(); + struct.checkConstraints = new java.util.ArrayList(_list1717.size); + @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1718; + for (int _i1719 = 0; _i1719 < _list1717.size; ++_i1719) { - _elem1708 = new SQLCheckConstraint(); - _elem1708.read(iprot); - struct.checkConstraints.add(_elem1708); + _elem1718 = new SQLCheckConstraint(); + _elem1718.read(iprot); + struct.checkConstraints.add(_elem1718); } iprot.readListEnd(); } @@ -83090,9 +83090,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter1710 : struct.primaryKeys) + for (SQLPrimaryKey _iter1720 : struct.primaryKeys) { - _iter1710.write(oprot); + _iter1720.write(oprot); } oprot.writeListEnd(); } @@ -83102,9 +83102,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter1711 : struct.foreignKeys) + for (SQLForeignKey _iter1721 : struct.foreignKeys) { - _iter1711.write(oprot); + _iter1721.write(oprot); } oprot.writeListEnd(); } @@ -83114,9 +83114,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter1712 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1722 : struct.uniqueConstraints) { - _iter1712.write(oprot); + _iter1722.write(oprot); } oprot.writeListEnd(); } @@ -83126,9 +83126,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter1713 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1723 : struct.notNullConstraints) { - _iter1713.write(oprot); + _iter1723.write(oprot); } oprot.writeListEnd(); } @@ -83138,9 +83138,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1714 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1724 : struct.defaultConstraints) { - _iter1714.write(oprot); + _iter1724.write(oprot); } oprot.writeListEnd(); } @@ -83150,9 +83150,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1715 : struct.checkConstraints) + for (SQLCheckConstraint _iter1725 : struct.checkConstraints) { - _iter1715.write(oprot); + _iter1725.write(oprot); } oprot.writeListEnd(); } @@ -83204,54 +83204,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1716 : struct.primaryKeys) + for (SQLPrimaryKey _iter1726 : struct.primaryKeys) { - _iter1716.write(oprot); + _iter1726.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1717 : struct.foreignKeys) + for (SQLForeignKey _iter1727 : struct.foreignKeys) { - _iter1717.write(oprot); + _iter1727.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1718 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1728 : struct.uniqueConstraints) { - _iter1718.write(oprot); + _iter1728.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1719 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1729 : struct.notNullConstraints) { - _iter1719.write(oprot); + _iter1729.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1720 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1730 : struct.defaultConstraints) { - _iter1720.write(oprot); + _iter1730.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1721 : struct.checkConstraints) + for (SQLCheckConstraint _iter1731 : struct.checkConstraints) { - _iter1721.write(oprot); + _iter1731.write(oprot); } } } @@ -83268,84 +83268,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1722 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.primaryKeys = new java.util.ArrayList(_list1722.size); - @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1723; - for (int _i1724 = 0; _i1724 < _list1722.size; ++_i1724) + org.apache.thrift.protocol.TList _list1732 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.primaryKeys = new java.util.ArrayList(_list1732.size); + @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1733; + for (int _i1734 = 0; _i1734 < _list1732.size; ++_i1734) { - _elem1723 = new SQLPrimaryKey(); - _elem1723.read(iprot); - struct.primaryKeys.add(_elem1723); + _elem1733 = new SQLPrimaryKey(); + _elem1733.read(iprot); + struct.primaryKeys.add(_elem1733); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1725 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.foreignKeys = new java.util.ArrayList(_list1725.size); - @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1726; - for (int _i1727 = 0; _i1727 < _list1725.size; ++_i1727) + org.apache.thrift.protocol.TList _list1735 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.foreignKeys = new java.util.ArrayList(_list1735.size); + @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1736; + for (int _i1737 = 0; _i1737 < _list1735.size; ++_i1737) { - _elem1726 = new SQLForeignKey(); - _elem1726.read(iprot); - struct.foreignKeys.add(_elem1726); + _elem1736 = new SQLForeignKey(); + _elem1736.read(iprot); + struct.foreignKeys.add(_elem1736); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1728 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.uniqueConstraints = new java.util.ArrayList(_list1728.size); - @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1729; - for (int _i1730 = 0; _i1730 < _list1728.size; ++_i1730) + org.apache.thrift.protocol.TList _list1738 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.uniqueConstraints = new java.util.ArrayList(_list1738.size); + @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1739; + for (int _i1740 = 0; _i1740 < _list1738.size; ++_i1740) { - _elem1729 = new SQLUniqueConstraint(); - _elem1729.read(iprot); - struct.uniqueConstraints.add(_elem1729); + _elem1739 = new SQLUniqueConstraint(); + _elem1739.read(iprot); + struct.uniqueConstraints.add(_elem1739); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1731 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.notNullConstraints = new java.util.ArrayList(_list1731.size); - @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1732; - for (int _i1733 = 0; _i1733 < _list1731.size; ++_i1733) + org.apache.thrift.protocol.TList _list1741 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.notNullConstraints = new java.util.ArrayList(_list1741.size); + @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1742; + for (int _i1743 = 0; _i1743 < _list1741.size; ++_i1743) { - _elem1732 = new SQLNotNullConstraint(); - _elem1732.read(iprot); - struct.notNullConstraints.add(_elem1732); + _elem1742 = new SQLNotNullConstraint(); + _elem1742.read(iprot); + struct.notNullConstraints.add(_elem1742); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1734 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.defaultConstraints = new java.util.ArrayList(_list1734.size); - @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1735; - for (int _i1736 = 0; _i1736 < _list1734.size; ++_i1736) + org.apache.thrift.protocol.TList _list1744 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.defaultConstraints = new java.util.ArrayList(_list1744.size); + @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1745; + for (int _i1746 = 0; _i1746 < _list1744.size; ++_i1746) { - _elem1735 = new SQLDefaultConstraint(); - _elem1735.read(iprot); - struct.defaultConstraints.add(_elem1735); + _elem1745 = new SQLDefaultConstraint(); + _elem1745.read(iprot); + struct.defaultConstraints.add(_elem1745); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1737 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.checkConstraints = new java.util.ArrayList(_list1737.size); - @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1738; - for (int _i1739 = 0; _i1739 < _list1737.size; ++_i1739) + org.apache.thrift.protocol.TList _list1747 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.checkConstraints = new java.util.ArrayList(_list1747.size); + @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1748; + for (int _i1749 = 0; _i1749 < _list1747.size; ++_i1749) { - _elem1738 = new SQLCheckConstraint(); - _elem1738.read(iprot); - struct.checkConstraints.add(_elem1738); + _elem1748 = new SQLCheckConstraint(); + _elem1748.read(iprot); + struct.checkConstraints.add(_elem1748); } } struct.setCheckConstraintsIsSet(true); @@ -95614,13 +95614,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, truncate_table_args case 3: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1740 = iprot.readListBegin(); - struct.partNames = new java.util.ArrayList(_list1740.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1741; - for (int _i1742 = 0; _i1742 < _list1740.size; ++_i1742) + org.apache.thrift.protocol.TList _list1750 = iprot.readListBegin(); + struct.partNames = new java.util.ArrayList(_list1750.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1751; + for (int _i1752 = 0; _i1752 < _list1750.size; ++_i1752) { - _elem1741 = iprot.readString(); - struct.partNames.add(_elem1741); + _elem1751 = iprot.readString(); + struct.partNames.add(_elem1751); } iprot.readListEnd(); } @@ -95656,9 +95656,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncate_table_arg oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (java.lang.String _iter1743 : struct.partNames) + for (java.lang.String _iter1753 : struct.partNames) { - oprot.writeString(_iter1743); + oprot.writeString(_iter1753); } oprot.writeListEnd(); } @@ -95701,9 +95701,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (java.lang.String _iter1744 : struct.partNames) + for (java.lang.String _iter1754 : struct.partNames) { - oprot.writeString(_iter1744); + oprot.writeString(_iter1754); } } } @@ -95723,13 +95723,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1745 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partNames = new java.util.ArrayList(_list1745.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1746; - for (int _i1747 = 0; _i1747 < _list1745.size; ++_i1747) + org.apache.thrift.protocol.TList _list1755 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partNames = new java.util.ArrayList(_list1755.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1756; + for (int _i1757 = 0; _i1757 < _list1755.size; ++_i1757) { - _elem1746 = iprot.readString(); - struct.partNames.add(_elem1746); + _elem1756 = iprot.readString(); + struct.partNames.add(_elem1756); } } struct.setPartNamesIsSet(true); @@ -97807,13 +97807,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1748 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1748.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1749; - for (int _i1750 = 0; _i1750 < _list1748.size; ++_i1750) + org.apache.thrift.protocol.TList _list1758 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1758.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1759; + for (int _i1760 = 0; _i1760 < _list1758.size; ++_i1760) { - _elem1749 = iprot.readString(); - struct.success.add(_elem1749); + _elem1759 = iprot.readString(); + struct.success.add(_elem1759); } iprot.readListEnd(); } @@ -97848,9 +97848,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1751 : struct.success) + for (java.lang.String _iter1761 : struct.success) { - oprot.writeString(_iter1751); + oprot.writeString(_iter1761); } oprot.writeListEnd(); } @@ -97889,9 +97889,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1752 : struct.success) + for (java.lang.String _iter1762 : struct.success) { - oprot.writeString(_iter1752); + oprot.writeString(_iter1762); } } } @@ -97906,13 +97906,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1753 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1753.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1754; - for (int _i1755 = 0; _i1755 < _list1753.size; ++_i1755) + org.apache.thrift.protocol.TList _list1763 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1763.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1764; + for (int _i1765 = 0; _i1765 < _list1763.size; ++_i1765) { - _elem1754 = iprot.readString(); - struct.success.add(_elem1754); + _elem1764 = iprot.readString(); + struct.success.add(_elem1764); } } struct.setSuccessIsSet(true); @@ -98895,13 +98895,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1756 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1756.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1757; - for (int _i1758 = 0; _i1758 < _list1756.size; ++_i1758) + org.apache.thrift.protocol.TList _list1766 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1766.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1767; + for (int _i1768 = 0; _i1768 < _list1766.size; ++_i1768) { - _elem1757 = iprot.readString(); - struct.success.add(_elem1757); + _elem1767 = iprot.readString(); + struct.success.add(_elem1767); } iprot.readListEnd(); } @@ -98936,9 +98936,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1759 : struct.success) + for (java.lang.String _iter1769 : struct.success) { - oprot.writeString(_iter1759); + oprot.writeString(_iter1769); } oprot.writeListEnd(); } @@ -98977,9 +98977,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1760 : struct.success) + for (java.lang.String _iter1770 : struct.success) { - oprot.writeString(_iter1760); + oprot.writeString(_iter1770); } } } @@ -98994,13 +98994,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1761 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1761.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1762; - for (int _i1763 = 0; _i1763 < _list1761.size; ++_i1763) + org.apache.thrift.protocol.TList _list1771 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1771.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1772; + for (int _i1773 = 0; _i1773 < _list1771.size; ++_i1773) { - _elem1762 = iprot.readString(); - struct.success.add(_elem1762); + _elem1772 = iprot.readString(); + struct.success.add(_elem1772); } } struct.setSuccessIsSet(true); @@ -99666,14 +99666,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_materialize case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1764 = iprot.readListBegin(); - struct.success = new java.util.ArrayList
(_list1764.size); - @org.apache.thrift.annotation.Nullable Table _elem1765; - for (int _i1766 = 0; _i1766 < _list1764.size; ++_i1766) + org.apache.thrift.protocol.TList _list1774 = iprot.readListBegin(); + struct.success = new java.util.ArrayList
(_list1774.size); + @org.apache.thrift.annotation.Nullable Table _elem1775; + for (int _i1776 = 0; _i1776 < _list1774.size; ++_i1776) { - _elem1765 = new Table(); - _elem1765.read(iprot); - struct.success.add(_elem1765); + _elem1775 = new Table(); + _elem1775.read(iprot); + struct.success.add(_elem1775); } iprot.readListEnd(); } @@ -99708,9 +99708,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_materializ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1767 : struct.success) + for (Table _iter1777 : struct.success) { - _iter1767.write(oprot); + _iter1777.write(oprot); } oprot.writeListEnd(); } @@ -99749,9 +99749,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_materialize if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1768 : struct.success) + for (Table _iter1778 : struct.success) { - _iter1768.write(oprot); + _iter1778.write(oprot); } } } @@ -99766,14 +99766,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_materialized java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1769 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList
(_list1769.size); - @org.apache.thrift.annotation.Nullable Table _elem1770; - for (int _i1771 = 0; _i1771 < _list1769.size; ++_i1771) + org.apache.thrift.protocol.TList _list1779 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList
(_list1779.size); + @org.apache.thrift.annotation.Nullable Table _elem1780; + for (int _i1781 = 0; _i1781 < _list1779.size; ++_i1781) { - _elem1770 = new Table(); - _elem1770.read(iprot); - struct.success.add(_elem1770); + _elem1780 = new Table(); + _elem1780.read(iprot); + struct.success.add(_elem1780); } } struct.setSuccessIsSet(true); @@ -100548,13 +100548,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1772 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1772.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1773; - for (int _i1774 = 0; _i1774 < _list1772.size; ++_i1774) + org.apache.thrift.protocol.TList _list1782 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1782.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1783; + for (int _i1784 = 0; _i1784 < _list1782.size; ++_i1784) { - _elem1773 = iprot.readString(); - struct.success.add(_elem1773); + _elem1783 = iprot.readString(); + struct.success.add(_elem1783); } iprot.readListEnd(); } @@ -100589,9 +100589,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1775 : struct.success) + for (java.lang.String _iter1785 : struct.success) { - oprot.writeString(_iter1775); + oprot.writeString(_iter1785); } oprot.writeListEnd(); } @@ -100630,9 +100630,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1776 : struct.success) + for (java.lang.String _iter1786 : struct.success) { - oprot.writeString(_iter1776); + oprot.writeString(_iter1786); } } } @@ -100647,13 +100647,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1777 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1777.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1778; - for (int _i1779 = 0; _i1779 < _list1777.size; ++_i1779) + org.apache.thrift.protocol.TList _list1787 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1787.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1788; + for (int _i1789 = 0; _i1789 < _list1787.size; ++_i1789) { - _elem1778 = iprot.readString(); - struct.success.add(_elem1778); + _elem1788 = iprot.readString(); + struct.success.add(_elem1788); } } struct.setSuccessIsSet(true); @@ -101163,13 +101163,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1780 = iprot.readListBegin(); - struct.tbl_types = new java.util.ArrayList(_list1780.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1781; - for (int _i1782 = 0; _i1782 < _list1780.size; ++_i1782) + org.apache.thrift.protocol.TList _list1790 = iprot.readListBegin(); + struct.tbl_types = new java.util.ArrayList(_list1790.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1791; + for (int _i1792 = 0; _i1792 < _list1790.size; ++_i1792) { - _elem1781 = iprot.readString(); - struct.tbl_types.add(_elem1781); + _elem1791 = iprot.readString(); + struct.tbl_types.add(_elem1791); } iprot.readListEnd(); } @@ -101205,9 +101205,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (java.lang.String _iter1783 : struct.tbl_types) + for (java.lang.String _iter1793 : struct.tbl_types) { - oprot.writeString(_iter1783); + oprot.writeString(_iter1793); } oprot.writeListEnd(); } @@ -101250,9 +101250,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (java.lang.String _iter1784 : struct.tbl_types) + for (java.lang.String _iter1794 : struct.tbl_types) { - oprot.writeString(_iter1784); + oprot.writeString(_iter1794); } } } @@ -101272,13 +101272,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1785 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.tbl_types = new java.util.ArrayList(_list1785.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1786; - for (int _i1787 = 0; _i1787 < _list1785.size; ++_i1787) + org.apache.thrift.protocol.TList _list1795 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.tbl_types = new java.util.ArrayList(_list1795.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1796; + for (int _i1797 = 0; _i1797 < _list1795.size; ++_i1797) { - _elem1786 = iprot.readString(); - struct.tbl_types.add(_elem1786); + _elem1796 = iprot.readString(); + struct.tbl_types.add(_elem1796); } } struct.setTbl_typesIsSet(true); @@ -101689,14 +101689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1788 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1788.size); - @org.apache.thrift.annotation.Nullable TableMeta _elem1789; - for (int _i1790 = 0; _i1790 < _list1788.size; ++_i1790) + org.apache.thrift.protocol.TList _list1798 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1798.size); + @org.apache.thrift.annotation.Nullable TableMeta _elem1799; + for (int _i1800 = 0; _i1800 < _list1798.size; ++_i1800) { - _elem1789 = new TableMeta(); - _elem1789.read(iprot); - struct.success.add(_elem1789); + _elem1799 = new TableMeta(); + _elem1799.read(iprot); + struct.success.add(_elem1799); } iprot.readListEnd(); } @@ -101731,9 +101731,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter1791 : struct.success) + for (TableMeta _iter1801 : struct.success) { - _iter1791.write(oprot); + _iter1801.write(oprot); } oprot.writeListEnd(); } @@ -101772,9 +101772,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1792 : struct.success) + for (TableMeta _iter1802 : struct.success) { - _iter1792.write(oprot); + _iter1802.write(oprot); } } } @@ -101789,14 +101789,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1793 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1793.size); - @org.apache.thrift.annotation.Nullable TableMeta _elem1794; - for (int _i1795 = 0; _i1795 < _list1793.size; ++_i1795) + org.apache.thrift.protocol.TList _list1803 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1803.size); + @org.apache.thrift.annotation.Nullable TableMeta _elem1804; + for (int _i1805 = 0; _i1805 < _list1803.size; ++_i1805) { - _elem1794 = new TableMeta(); - _elem1794.read(iprot); - struct.success.add(_elem1794); + _elem1804 = new TableMeta(); + _elem1804.read(iprot); + struct.success.add(_elem1804); } } struct.setSuccessIsSet(true); @@ -102571,13 +102571,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1796 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1796.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1797; - for (int _i1798 = 0; _i1798 < _list1796.size; ++_i1798) + org.apache.thrift.protocol.TList _list1806 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1806.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1807; + for (int _i1808 = 0; _i1808 < _list1806.size; ++_i1808) { - _elem1797 = iprot.readString(); - struct.success.add(_elem1797); + _elem1807 = iprot.readString(); + struct.success.add(_elem1807); } iprot.readListEnd(); } @@ -102612,9 +102612,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1799 : struct.success) + for (java.lang.String _iter1809 : struct.success) { - oprot.writeString(_iter1799); + oprot.writeString(_iter1809); } oprot.writeListEnd(); } @@ -102653,9 +102653,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1800 : struct.success) + for (java.lang.String _iter1810 : struct.success) { - oprot.writeString(_iter1800); + oprot.writeString(_iter1810); } } } @@ -102670,13 +102670,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1801 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1801.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1802; - for (int _i1803 = 0; _i1803 < _list1801.size; ++_i1803) + org.apache.thrift.protocol.TList _list1811 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1811.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1812; + for (int _i1813 = 0; _i1813 < _list1811.size; ++_i1813) { - _elem1802 = iprot.readString(); - struct.success.add(_elem1802); + _elem1812 = iprot.readString(); + struct.success.add(_elem1812); } } struct.setSuccessIsSet(true); @@ -103459,14 +103459,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_ext_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1804 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1804.size); - @org.apache.thrift.annotation.Nullable ExtendedTableInfo _elem1805; - for (int _i1806 = 0; _i1806 < _list1804.size; ++_i1806) + org.apache.thrift.protocol.TList _list1814 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1814.size); + @org.apache.thrift.annotation.Nullable ExtendedTableInfo _elem1815; + for (int _i1816 = 0; _i1816 < _list1814.size; ++_i1816) { - _elem1805 = new ExtendedTableInfo(); - _elem1805.read(iprot); - struct.success.add(_elem1805); + _elem1815 = new ExtendedTableInfo(); + _elem1815.read(iprot); + struct.success.add(_elem1815); } iprot.readListEnd(); } @@ -103501,9 +103501,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_ext_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (ExtendedTableInfo _iter1807 : struct.success) + for (ExtendedTableInfo _iter1817 : struct.success) { - _iter1807.write(oprot); + _iter1817.write(oprot); } oprot.writeListEnd(); } @@ -103542,9 +103542,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_ext_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (ExtendedTableInfo _iter1808 : struct.success) + for (ExtendedTableInfo _iter1818 : struct.success) { - _iter1808.write(oprot); + _iter1818.write(oprot); } } } @@ -103559,14 +103559,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_ext_resul java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1809 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1809.size); - @org.apache.thrift.annotation.Nullable ExtendedTableInfo _elem1810; - for (int _i1811 = 0; _i1811 < _list1809.size; ++_i1811) + org.apache.thrift.protocol.TList _list1819 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1819.size); + @org.apache.thrift.annotation.Nullable ExtendedTableInfo _elem1820; + for (int _i1821 = 0; _i1821 < _list1819.size; ++_i1821) { - _elem1810 = new ExtendedTableInfo(); - _elem1810.read(iprot); - struct.success.add(_elem1810); + _elem1820 = new ExtendedTableInfo(); + _elem1820.read(iprot); + struct.success.add(_elem1820); } } struct.setSuccessIsSet(true); @@ -109117,13 +109117,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1812 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1812.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1813; - for (int _i1814 = 0; _i1814 < _list1812.size; ++_i1814) + org.apache.thrift.protocol.TList _list1822 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1822.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1823; + for (int _i1824 = 0; _i1824 < _list1822.size; ++_i1824) { - _elem1813 = iprot.readString(); - struct.success.add(_elem1813); + _elem1823 = iprot.readString(); + struct.success.add(_elem1823); } iprot.readListEnd(); } @@ -109176,9 +109176,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1815 : struct.success) + for (java.lang.String _iter1825 : struct.success) { - oprot.writeString(_iter1815); + oprot.writeString(_iter1825); } oprot.writeListEnd(); } @@ -109233,9 +109233,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1816 : struct.success) + for (java.lang.String _iter1826 : struct.success) { - oprot.writeString(_iter1816); + oprot.writeString(_iter1826); } } } @@ -109256,13 +109256,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1817 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1817.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1818; - for (int _i1819 = 0; _i1819 < _list1817.size; ++_i1819) + org.apache.thrift.protocol.TList _list1827 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1827.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1828; + for (int _i1829 = 0; _i1829 < _list1827.size; ++_i1829) { - _elem1818 = iprot.readString(); - struct.success.add(_elem1818); + _elem1828 = iprot.readString(); + struct.success.add(_elem1828); } } struct.setSuccessIsSet(true); @@ -116109,14 +116109,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1820 = iprot.readListBegin(); - struct.new_parts = new java.util.ArrayList(_list1820.size); - @org.apache.thrift.annotation.Nullable Partition _elem1821; - for (int _i1822 = 0; _i1822 < _list1820.size; ++_i1822) + org.apache.thrift.protocol.TList _list1830 = iprot.readListBegin(); + struct.new_parts = new java.util.ArrayList(_list1830.size); + @org.apache.thrift.annotation.Nullable Partition _elem1831; + for (int _i1832 = 0; _i1832 < _list1830.size; ++_i1832) { - _elem1821 = new Partition(); - _elem1821.read(iprot); - struct.new_parts.add(_elem1821); + _elem1831 = new Partition(); + _elem1831.read(iprot); + struct.new_parts.add(_elem1831); } iprot.readListEnd(); } @@ -116142,9 +116142,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1823 : struct.new_parts) + for (Partition _iter1833 : struct.new_parts) { - _iter1823.write(oprot); + _iter1833.write(oprot); } oprot.writeListEnd(); } @@ -116175,9 +116175,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1824 : struct.new_parts) + for (Partition _iter1834 : struct.new_parts) { - _iter1824.write(oprot); + _iter1834.write(oprot); } } } @@ -116189,14 +116189,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1825 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.new_parts = new java.util.ArrayList(_list1825.size); - @org.apache.thrift.annotation.Nullable Partition _elem1826; - for (int _i1827 = 0; _i1827 < _list1825.size; ++_i1827) + org.apache.thrift.protocol.TList _list1835 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.new_parts = new java.util.ArrayList(_list1835.size); + @org.apache.thrift.annotation.Nullable Partition _elem1836; + for (int _i1837 = 0; _i1837 < _list1835.size; ++_i1837) { - _elem1826 = new Partition(); - _elem1826.read(iprot); - struct.new_parts.add(_elem1826); + _elem1836 = new Partition(); + _elem1836.read(iprot); + struct.new_parts.add(_elem1836); } } struct.setNew_partsIsSet(true); @@ -117203,14 +117203,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1828 = iprot.readListBegin(); - struct.new_parts = new java.util.ArrayList(_list1828.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1829; - for (int _i1830 = 0; _i1830 < _list1828.size; ++_i1830) + org.apache.thrift.protocol.TList _list1838 = iprot.readListBegin(); + struct.new_parts = new java.util.ArrayList(_list1838.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1839; + for (int _i1840 = 0; _i1840 < _list1838.size; ++_i1840) { - _elem1829 = new PartitionSpec(); - _elem1829.read(iprot); - struct.new_parts.add(_elem1829); + _elem1839 = new PartitionSpec(); + _elem1839.read(iprot); + struct.new_parts.add(_elem1839); } iprot.readListEnd(); } @@ -117236,9 +117236,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter1831 : struct.new_parts) + for (PartitionSpec _iter1841 : struct.new_parts) { - _iter1831.write(oprot); + _iter1841.write(oprot); } oprot.writeListEnd(); } @@ -117269,9 +117269,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter1832 : struct.new_parts) + for (PartitionSpec _iter1842 : struct.new_parts) { - _iter1832.write(oprot); + _iter1842.write(oprot); } } } @@ -117283,14 +117283,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1833 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.new_parts = new java.util.ArrayList(_list1833.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1834; - for (int _i1835 = 0; _i1835 < _list1833.size; ++_i1835) + org.apache.thrift.protocol.TList _list1843 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.new_parts = new java.util.ArrayList(_list1843.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1844; + for (int _i1845 = 0; _i1845 < _list1843.size; ++_i1845) { - _elem1834 = new PartitionSpec(); - _elem1834.read(iprot); - struct.new_parts.add(_elem1834); + _elem1844 = new PartitionSpec(); + _elem1844.read(iprot); + struct.new_parts.add(_elem1844); } } struct.setNew_partsIsSet(true); @@ -118472,13 +118472,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1836 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1836.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1837; - for (int _i1838 = 0; _i1838 < _list1836.size; ++_i1838) + org.apache.thrift.protocol.TList _list1846 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1846.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1847; + for (int _i1848 = 0; _i1848 < _list1846.size; ++_i1848) { - _elem1837 = iprot.readString(); - struct.part_vals.add(_elem1837); + _elem1847 = iprot.readString(); + struct.part_vals.add(_elem1847); } iprot.readListEnd(); } @@ -118514,9 +118514,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1839 : struct.part_vals) + for (java.lang.String _iter1849 : struct.part_vals) { - oprot.writeString(_iter1839); + oprot.writeString(_iter1849); } oprot.writeListEnd(); } @@ -118559,9 +118559,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1840 : struct.part_vals) + for (java.lang.String _iter1850 : struct.part_vals) { - oprot.writeString(_iter1840); + oprot.writeString(_iter1850); } } } @@ -118581,13 +118581,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1841 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1841.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1842; - for (int _i1843 = 0; _i1843 < _list1841.size; ++_i1843) + org.apache.thrift.protocol.TList _list1851 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1851.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1852; + for (int _i1853 = 0; _i1853 < _list1851.size; ++_i1853) { - _elem1842 = iprot.readString(); - struct.part_vals.add(_elem1842); + _elem1852 = iprot.readString(); + struct.part_vals.add(_elem1852); } } struct.setPart_valsIsSet(true); @@ -120913,13 +120913,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1844 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1844.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1845; - for (int _i1846 = 0; _i1846 < _list1844.size; ++_i1846) + org.apache.thrift.protocol.TList _list1854 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1854.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1855; + for (int _i1856 = 0; _i1856 < _list1854.size; ++_i1856) { - _elem1845 = iprot.readString(); - struct.part_vals.add(_elem1845); + _elem1855 = iprot.readString(); + struct.part_vals.add(_elem1855); } iprot.readListEnd(); } @@ -120964,9 +120964,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1847 : struct.part_vals) + for (java.lang.String _iter1857 : struct.part_vals) { - oprot.writeString(_iter1847); + oprot.writeString(_iter1857); } oprot.writeListEnd(); } @@ -121017,9 +121017,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1848 : struct.part_vals) + for (java.lang.String _iter1858 : struct.part_vals) { - oprot.writeString(_iter1848); + oprot.writeString(_iter1858); } } } @@ -121042,13 +121042,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1849 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1849.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1850; - for (int _i1851 = 0; _i1851 < _list1849.size; ++_i1851) + org.apache.thrift.protocol.TList _list1859 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1859.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1860; + for (int _i1861 = 0; _i1861 < _list1859.size; ++_i1861) { - _elem1850 = iprot.readString(); - struct.part_vals.add(_elem1850); + _elem1860 = iprot.readString(); + struct.part_vals.add(_elem1860); } } struct.setPart_valsIsSet(true); @@ -125992,13 +125992,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1852 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1852.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1853; - for (int _i1854 = 0; _i1854 < _list1852.size; ++_i1854) + org.apache.thrift.protocol.TList _list1862 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1862.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1863; + for (int _i1864 = 0; _i1864 < _list1862.size; ++_i1864) { - _elem1853 = iprot.readString(); - struct.part_vals.add(_elem1853); + _elem1863 = iprot.readString(); + struct.part_vals.add(_elem1863); } iprot.readListEnd(); } @@ -126042,9 +126042,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1855 : struct.part_vals) + for (java.lang.String _iter1865 : struct.part_vals) { - oprot.writeString(_iter1855); + oprot.writeString(_iter1865); } oprot.writeListEnd(); } @@ -126093,9 +126093,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1856 : struct.part_vals) + for (java.lang.String _iter1866 : struct.part_vals) { - oprot.writeString(_iter1856); + oprot.writeString(_iter1866); } } } @@ -126118,13 +126118,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1857 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1857.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1858; - for (int _i1859 = 0; _i1859 < _list1857.size; ++_i1859) + org.apache.thrift.protocol.TList _list1867 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1867.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1868; + for (int _i1869 = 0; _i1869 < _list1867.size; ++_i1869) { - _elem1858 = iprot.readString(); - struct.part_vals.add(_elem1858); + _elem1868 = iprot.readString(); + struct.part_vals.add(_elem1868); } } struct.setPart_valsIsSet(true); @@ -127366,13 +127366,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1860 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1860.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1861; - for (int _i1862 = 0; _i1862 < _list1860.size; ++_i1862) + org.apache.thrift.protocol.TList _list1870 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1870.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1871; + for (int _i1872 = 0; _i1872 < _list1870.size; ++_i1872) { - _elem1861 = iprot.readString(); - struct.part_vals.add(_elem1861); + _elem1871 = iprot.readString(); + struct.part_vals.add(_elem1871); } iprot.readListEnd(); } @@ -127425,9 +127425,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1863 : struct.part_vals) + for (java.lang.String _iter1873 : struct.part_vals) { - oprot.writeString(_iter1863); + oprot.writeString(_iter1873); } oprot.writeListEnd(); } @@ -127484,9 +127484,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1864 : struct.part_vals) + for (java.lang.String _iter1874 : struct.part_vals) { - oprot.writeString(_iter1864); + oprot.writeString(_iter1874); } } } @@ -127512,13 +127512,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1865 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1865.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1866; - for (int _i1867 = 0; _i1867 < _list1865.size; ++_i1867) + org.apache.thrift.protocol.TList _list1875 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1875.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1876; + for (int _i1877 = 0; _i1877 < _list1875.size; ++_i1877) { - _elem1866 = iprot.readString(); - struct.part_vals.add(_elem1866); + _elem1876 = iprot.readString(); + struct.part_vals.add(_elem1876); } } struct.setPart_valsIsSet(true); @@ -133076,13 +133076,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1868 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1868.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1869; - for (int _i1870 = 0; _i1870 < _list1868.size; ++_i1870) + org.apache.thrift.protocol.TList _list1878 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1878.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1879; + for (int _i1880 = 0; _i1880 < _list1878.size; ++_i1880) { - _elem1869 = iprot.readString(); - struct.part_vals.add(_elem1869); + _elem1879 = iprot.readString(); + struct.part_vals.add(_elem1879); } iprot.readListEnd(); } @@ -133118,9 +133118,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1871 : struct.part_vals) + for (java.lang.String _iter1881 : struct.part_vals) { - oprot.writeString(_iter1871); + oprot.writeString(_iter1881); } oprot.writeListEnd(); } @@ -133163,9 +133163,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1872 : struct.part_vals) + for (java.lang.String _iter1882 : struct.part_vals) { - oprot.writeString(_iter1872); + oprot.writeString(_iter1882); } } } @@ -133185,13 +133185,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1873 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1873.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1874; - for (int _i1875 = 0; _i1875 < _list1873.size; ++_i1875) + org.apache.thrift.protocol.TList _list1883 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1883.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1884; + for (int _i1885 = 0; _i1885 < _list1883.size; ++_i1885) { - _elem1874 = iprot.readString(); - struct.part_vals.add(_elem1874); + _elem1884 = iprot.readString(); + struct.part_vals.add(_elem1884); } } struct.setPart_valsIsSet(true); @@ -135363,15 +135363,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1876 = iprot.readMapBegin(); - struct.partitionSpecs = new java.util.HashMap(2*_map1876.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1877; - @org.apache.thrift.annotation.Nullable java.lang.String _val1878; - for (int _i1879 = 0; _i1879 < _map1876.size; ++_i1879) + org.apache.thrift.protocol.TMap _map1886 = iprot.readMapBegin(); + struct.partitionSpecs = new java.util.HashMap(2*_map1886.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1887; + @org.apache.thrift.annotation.Nullable java.lang.String _val1888; + for (int _i1889 = 0; _i1889 < _map1886.size; ++_i1889) { - _key1877 = iprot.readString(); - _val1878 = iprot.readString(); - struct.partitionSpecs.put(_key1877, _val1878); + _key1887 = iprot.readString(); + _val1888 = iprot.readString(); + struct.partitionSpecs.put(_key1887, _val1888); } iprot.readMapEnd(); } @@ -135429,10 +135429,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (java.util.Map.Entry _iter1880 : struct.partitionSpecs.entrySet()) + for (java.util.Map.Entry _iter1890 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1880.getKey()); - oprot.writeString(_iter1880.getValue()); + oprot.writeString(_iter1890.getKey()); + oprot.writeString(_iter1890.getValue()); } oprot.writeMapEnd(); } @@ -135495,10 +135495,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (java.util.Map.Entry _iter1881 : struct.partitionSpecs.entrySet()) + for (java.util.Map.Entry _iter1891 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1881.getKey()); - oprot.writeString(_iter1881.getValue()); + oprot.writeString(_iter1891.getKey()); + oprot.writeString(_iter1891.getValue()); } } } @@ -135522,15 +135522,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a java.util.BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1882 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.partitionSpecs = new java.util.HashMap(2*_map1882.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1883; - @org.apache.thrift.annotation.Nullable java.lang.String _val1884; - for (int _i1885 = 0; _i1885 < _map1882.size; ++_i1885) + org.apache.thrift.protocol.TMap _map1892 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.partitionSpecs = new java.util.HashMap(2*_map1892.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1893; + @org.apache.thrift.annotation.Nullable java.lang.String _val1894; + for (int _i1895 = 0; _i1895 < _map1892.size; ++_i1895) { - _key1883 = iprot.readString(); - _val1884 = iprot.readString(); - struct.partitionSpecs.put(_key1883, _val1884); + _key1893 = iprot.readString(); + _val1894 = iprot.readString(); + struct.partitionSpecs.put(_key1893, _val1894); } } struct.setPartitionSpecsIsSet(true); @@ -136984,15 +136984,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1886 = iprot.readMapBegin(); - struct.partitionSpecs = new java.util.HashMap(2*_map1886.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1887; - @org.apache.thrift.annotation.Nullable java.lang.String _val1888; - for (int _i1889 = 0; _i1889 < _map1886.size; ++_i1889) + org.apache.thrift.protocol.TMap _map1896 = iprot.readMapBegin(); + struct.partitionSpecs = new java.util.HashMap(2*_map1896.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1897; + @org.apache.thrift.annotation.Nullable java.lang.String _val1898; + for (int _i1899 = 0; _i1899 < _map1896.size; ++_i1899) { - _key1887 = iprot.readString(); - _val1888 = iprot.readString(); - struct.partitionSpecs.put(_key1887, _val1888); + _key1897 = iprot.readString(); + _val1898 = iprot.readString(); + struct.partitionSpecs.put(_key1897, _val1898); } iprot.readMapEnd(); } @@ -137050,10 +137050,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (java.util.Map.Entry _iter1890 : struct.partitionSpecs.entrySet()) + for (java.util.Map.Entry _iter1900 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1890.getKey()); - oprot.writeString(_iter1890.getValue()); + oprot.writeString(_iter1900.getKey()); + oprot.writeString(_iter1900.getValue()); } oprot.writeMapEnd(); } @@ -137116,10 +137116,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (java.util.Map.Entry _iter1891 : struct.partitionSpecs.entrySet()) + for (java.util.Map.Entry _iter1901 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1891.getKey()); - oprot.writeString(_iter1891.getValue()); + oprot.writeString(_iter1901.getKey()); + oprot.writeString(_iter1901.getValue()); } } } @@ -137143,15 +137143,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ java.util.BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1892 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.partitionSpecs = new java.util.HashMap(2*_map1892.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1893; - @org.apache.thrift.annotation.Nullable java.lang.String _val1894; - for (int _i1895 = 0; _i1895 < _map1892.size; ++_i1895) + org.apache.thrift.protocol.TMap _map1902 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.partitionSpecs = new java.util.HashMap(2*_map1902.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1903; + @org.apache.thrift.annotation.Nullable java.lang.String _val1904; + for (int _i1905 = 0; _i1905 < _map1902.size; ++_i1905) { - _key1893 = iprot.readString(); - _val1894 = iprot.readString(); - struct.partitionSpecs.put(_key1893, _val1894); + _key1903 = iprot.readString(); + _val1904 = iprot.readString(); + struct.partitionSpecs.put(_key1903, _val1904); } } struct.setPartitionSpecsIsSet(true); @@ -137821,14 +137821,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1896 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1896.size); - @org.apache.thrift.annotation.Nullable Partition _elem1897; - for (int _i1898 = 0; _i1898 < _list1896.size; ++_i1898) + org.apache.thrift.protocol.TList _list1906 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1906.size); + @org.apache.thrift.annotation.Nullable Partition _elem1907; + for (int _i1908 = 0; _i1908 < _list1906.size; ++_i1908) { - _elem1897 = new Partition(); - _elem1897.read(iprot); - struct.success.add(_elem1897); + _elem1907 = new Partition(); + _elem1907.read(iprot); + struct.success.add(_elem1907); } iprot.readListEnd(); } @@ -137890,9 +137890,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1899 : struct.success) + for (Partition _iter1909 : struct.success) { - _iter1899.write(oprot); + _iter1909.write(oprot); } oprot.writeListEnd(); } @@ -137955,9 +137955,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1900 : struct.success) + for (Partition _iter1910 : struct.success) { - _iter1900.write(oprot); + _iter1910.write(oprot); } } } @@ -137981,14 +137981,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ java.util.BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1901 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1901.size); - @org.apache.thrift.annotation.Nullable Partition _elem1902; - for (int _i1903 = 0; _i1903 < _list1901.size; ++_i1903) + org.apache.thrift.protocol.TList _list1911 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1911.size); + @org.apache.thrift.annotation.Nullable Partition _elem1912; + for (int _i1913 = 0; _i1913 < _list1911.size; ++_i1913) { - _elem1902 = new Partition(); - _elem1902.read(iprot); - struct.success.add(_elem1902); + _elem1912 = new Partition(); + _elem1912.read(iprot); + struct.success.add(_elem1912); } } struct.setSuccessIsSet(true); @@ -138693,13 +138693,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1904 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1904.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1905; - for (int _i1906 = 0; _i1906 < _list1904.size; ++_i1906) + org.apache.thrift.protocol.TList _list1914 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1914.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1915; + for (int _i1916 = 0; _i1916 < _list1914.size; ++_i1916) { - _elem1905 = iprot.readString(); - struct.part_vals.add(_elem1905); + _elem1915 = iprot.readString(); + struct.part_vals.add(_elem1915); } iprot.readListEnd(); } @@ -138719,13 +138719,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1907 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1907.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1908; - for (int _i1909 = 0; _i1909 < _list1907.size; ++_i1909) + org.apache.thrift.protocol.TList _list1917 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1917.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1918; + for (int _i1919 = 0; _i1919 < _list1917.size; ++_i1919) { - _elem1908 = iprot.readString(); - struct.group_names.add(_elem1908); + _elem1918 = iprot.readString(); + struct.group_names.add(_elem1918); } iprot.readListEnd(); } @@ -138761,9 +138761,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1910 : struct.part_vals) + for (java.lang.String _iter1920 : struct.part_vals) { - oprot.writeString(_iter1910); + oprot.writeString(_iter1920); } oprot.writeListEnd(); } @@ -138778,9 +138778,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (java.lang.String _iter1911 : struct.group_names) + for (java.lang.String _iter1921 : struct.group_names) { - oprot.writeString(_iter1911); + oprot.writeString(_iter1921); } oprot.writeListEnd(); } @@ -138829,9 +138829,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1912 : struct.part_vals) + for (java.lang.String _iter1922 : struct.part_vals) { - oprot.writeString(_iter1912); + oprot.writeString(_iter1922); } } } @@ -138841,9 +138841,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (java.lang.String _iter1913 : struct.group_names) + for (java.lang.String _iter1923 : struct.group_names) { - oprot.writeString(_iter1913); + oprot.writeString(_iter1923); } } } @@ -138863,13 +138863,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1914 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1914.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1915; - for (int _i1916 = 0; _i1916 < _list1914.size; ++_i1916) + org.apache.thrift.protocol.TList _list1924 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1924.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1925; + for (int _i1926 = 0; _i1926 < _list1924.size; ++_i1926) { - _elem1915 = iprot.readString(); - struct.part_vals.add(_elem1915); + _elem1925 = iprot.readString(); + struct.part_vals.add(_elem1925); } } struct.setPart_valsIsSet(true); @@ -138880,13 +138880,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1917 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.group_names = new java.util.ArrayList(_list1917.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1918; - for (int _i1919 = 0; _i1919 < _list1917.size; ++_i1919) + org.apache.thrift.protocol.TList _list1927 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.group_names = new java.util.ArrayList(_list1927.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1928; + for (int _i1929 = 0; _i1929 < _list1927.size; ++_i1929) { - _elem1918 = iprot.readString(); - struct.group_names.add(_elem1918); + _elem1928 = iprot.readString(); + struct.group_names.add(_elem1928); } } struct.setGroup_namesIsSet(true); @@ -141673,14 +141673,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1920 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1920.size); - @org.apache.thrift.annotation.Nullable Partition _elem1921; - for (int _i1922 = 0; _i1922 < _list1920.size; ++_i1922) + org.apache.thrift.protocol.TList _list1930 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1930.size); + @org.apache.thrift.annotation.Nullable Partition _elem1931; + for (int _i1932 = 0; _i1932 < _list1930.size; ++_i1932) { - _elem1921 = new Partition(); - _elem1921.read(iprot); - struct.success.add(_elem1921); + _elem1931 = new Partition(); + _elem1931.read(iprot); + struct.success.add(_elem1931); } iprot.readListEnd(); } @@ -141724,9 +141724,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1923 : struct.success) + for (Partition _iter1933 : struct.success) { - _iter1923.write(oprot); + _iter1933.write(oprot); } oprot.writeListEnd(); } @@ -141773,9 +141773,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1924 : struct.success) + for (Partition _iter1934 : struct.success) { - _iter1924.write(oprot); + _iter1934.write(oprot); } } } @@ -141793,14 +141793,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1925 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1925.size); - @org.apache.thrift.annotation.Nullable Partition _elem1926; - for (int _i1927 = 0; _i1927 < _list1925.size; ++_i1927) + org.apache.thrift.protocol.TList _list1935 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1935.size); + @org.apache.thrift.annotation.Nullable Partition _elem1936; + for (int _i1937 = 0; _i1937 < _list1935.size; ++_i1937) { - _elem1926 = new Partition(); - _elem1926.read(iprot); - struct.success.add(_elem1926); + _elem1936 = new Partition(); + _elem1936.read(iprot); + struct.success.add(_elem1936); } } struct.setSuccessIsSet(true); @@ -143438,13 +143438,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1928 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1928.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1929; - for (int _i1930 = 0; _i1930 < _list1928.size; ++_i1930) + org.apache.thrift.protocol.TList _list1938 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1938.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1939; + for (int _i1940 = 0; _i1940 < _list1938.size; ++_i1940) { - _elem1929 = iprot.readString(); - struct.group_names.add(_elem1929); + _elem1939 = iprot.readString(); + struct.group_names.add(_elem1939); } iprot.readListEnd(); } @@ -143488,9 +143488,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (java.lang.String _iter1931 : struct.group_names) + for (java.lang.String _iter1941 : struct.group_names) { - oprot.writeString(_iter1931); + oprot.writeString(_iter1941); } oprot.writeListEnd(); } @@ -143545,9 +143545,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (java.lang.String _iter1932 : struct.group_names) + for (java.lang.String _iter1942 : struct.group_names) { - oprot.writeString(_iter1932); + oprot.writeString(_iter1942); } } } @@ -143575,13 +143575,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1933 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.group_names = new java.util.ArrayList(_list1933.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1934; - for (int _i1935 = 0; _i1935 < _list1933.size; ++_i1935) + org.apache.thrift.protocol.TList _list1943 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.group_names = new java.util.ArrayList(_list1943.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1944; + for (int _i1945 = 0; _i1945 < _list1943.size; ++_i1945) { - _elem1934 = iprot.readString(); - struct.group_names.add(_elem1934); + _elem1944 = iprot.readString(); + struct.group_names.add(_elem1944); } } struct.setGroup_namesIsSet(true); @@ -144073,14 +144073,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1936 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1936.size); - @org.apache.thrift.annotation.Nullable Partition _elem1937; - for (int _i1938 = 0; _i1938 < _list1936.size; ++_i1938) + org.apache.thrift.protocol.TList _list1946 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1946.size); + @org.apache.thrift.annotation.Nullable Partition _elem1947; + for (int _i1948 = 0; _i1948 < _list1946.size; ++_i1948) { - _elem1937 = new Partition(); - _elem1937.read(iprot); - struct.success.add(_elem1937); + _elem1947 = new Partition(); + _elem1947.read(iprot); + struct.success.add(_elem1947); } iprot.readListEnd(); } @@ -144124,9 +144124,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1939 : struct.success) + for (Partition _iter1949 : struct.success) { - _iter1939.write(oprot); + _iter1949.write(oprot); } oprot.writeListEnd(); } @@ -144173,9 +144173,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1940 : struct.success) + for (Partition _iter1950 : struct.success) { - _iter1940.write(oprot); + _iter1950.write(oprot); } } } @@ -144193,14 +144193,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1941 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1941.size); - @org.apache.thrift.annotation.Nullable Partition _elem1942; - for (int _i1943 = 0; _i1943 < _list1941.size; ++_i1943) + org.apache.thrift.protocol.TList _list1951 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1951.size); + @org.apache.thrift.annotation.Nullable Partition _elem1952; + for (int _i1953 = 0; _i1953 < _list1951.size; ++_i1953) { - _elem1942 = new Partition(); - _elem1942.read(iprot); - struct.success.add(_elem1942); + _elem1952 = new Partition(); + _elem1952.read(iprot); + struct.success.add(_elem1952); } } struct.setSuccessIsSet(true); @@ -145269,14 +145269,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1944 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1944.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1945; - for (int _i1946 = 0; _i1946 < _list1944.size; ++_i1946) + org.apache.thrift.protocol.TList _list1954 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1954.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1955; + for (int _i1956 = 0; _i1956 < _list1954.size; ++_i1956) { - _elem1945 = new PartitionSpec(); - _elem1945.read(iprot); - struct.success.add(_elem1945); + _elem1955 = new PartitionSpec(); + _elem1955.read(iprot); + struct.success.add(_elem1955); } iprot.readListEnd(); } @@ -145320,9 +145320,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1947 : struct.success) + for (PartitionSpec _iter1957 : struct.success) { - _iter1947.write(oprot); + _iter1957.write(oprot); } oprot.writeListEnd(); } @@ -145369,9 +145369,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1948 : struct.success) + for (PartitionSpec _iter1958 : struct.success) { - _iter1948.write(oprot); + _iter1958.write(oprot); } } } @@ -145389,14 +145389,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1949 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1949.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1950; - for (int _i1951 = 0; _i1951 < _list1949.size; ++_i1951) + org.apache.thrift.protocol.TList _list1959 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1959.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1960; + for (int _i1961 = 0; _i1961 < _list1959.size; ++_i1961) { - _elem1950 = new PartitionSpec(); - _elem1950.read(iprot); - struct.success.add(_elem1950); + _elem1960 = new PartitionSpec(); + _elem1960.read(iprot); + struct.success.add(_elem1960); } } struct.setSuccessIsSet(true); @@ -146462,13 +146462,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1952 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1952.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1953; - for (int _i1954 = 0; _i1954 < _list1952.size; ++_i1954) + org.apache.thrift.protocol.TList _list1962 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1962.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1963; + for (int _i1964 = 0; _i1964 < _list1962.size; ++_i1964) { - _elem1953 = iprot.readString(); - struct.success.add(_elem1953); + _elem1963 = iprot.readString(); + struct.success.add(_elem1963); } iprot.readListEnd(); } @@ -146512,9 +146512,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1955 : struct.success) + for (java.lang.String _iter1965 : struct.success) { - oprot.writeString(_iter1955); + oprot.writeString(_iter1965); } oprot.writeListEnd(); } @@ -146561,9 +146561,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1956 : struct.success) + for (java.lang.String _iter1966 : struct.success) { - oprot.writeString(_iter1956); + oprot.writeString(_iter1966); } } } @@ -146581,13 +146581,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1957 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1957.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1958; - for (int _i1959 = 0; _i1959 < _list1957.size; ++_i1959) + org.apache.thrift.protocol.TList _list1967 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1967.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1968; + for (int _i1969 = 0; _i1969 < _list1967.size; ++_i1969) { - _elem1958 = iprot.readString(); - struct.success.add(_elem1958); + _elem1968 = iprot.readString(); + struct.success.add(_elem1968); } } struct.setSuccessIsSet(true); @@ -147453,13 +147453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fetch_partition_nam case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1960 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1960.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1961; - for (int _i1962 = 0; _i1962 < _list1960.size; ++_i1962) + org.apache.thrift.protocol.TList _list1970 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1970.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1971; + for (int _i1972 = 0; _i1972 < _list1970.size; ++_i1972) { - _elem1961 = iprot.readString(); - struct.success.add(_elem1961); + _elem1971 = iprot.readString(); + struct.success.add(_elem1971); } iprot.readListEnd(); } @@ -147503,9 +147503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, fetch_partition_na oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1963 : struct.success) + for (java.lang.String _iter1973 : struct.success) { - oprot.writeString(_iter1963); + oprot.writeString(_iter1973); } oprot.writeListEnd(); } @@ -147552,9 +147552,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, fetch_partition_nam if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1964 : struct.success) + for (java.lang.String _iter1974 : struct.success) { - oprot.writeString(_iter1964); + oprot.writeString(_iter1974); } } } @@ -147572,13 +147572,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetch_partition_name java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1965 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list1965.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1966; - for (int _i1967 = 0; _i1967 < _list1965.size; ++_i1967) + org.apache.thrift.protocol.TList _list1975 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list1975.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1976; + for (int _i1977 = 0; _i1977 < _list1975.size; ++_i1977) { - _elem1966 = iprot.readString(); - struct.success.add(_elem1966); + _elem1976 = iprot.readString(); + struct.success.add(_elem1976); } } struct.setSuccessIsSet(true); @@ -149119,13 +149119,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1968 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1968.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1969; - for (int _i1970 = 0; _i1970 < _list1968.size; ++_i1970) + org.apache.thrift.protocol.TList _list1978 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1978.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1979; + for (int _i1980 = 0; _i1980 < _list1978.size; ++_i1980) { - _elem1969 = iprot.readString(); - struct.part_vals.add(_elem1969); + _elem1979 = iprot.readString(); + struct.part_vals.add(_elem1979); } iprot.readListEnd(); } @@ -149169,9 +149169,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1971 : struct.part_vals) + for (java.lang.String _iter1981 : struct.part_vals) { - oprot.writeString(_iter1971); + oprot.writeString(_iter1981); } oprot.writeListEnd(); } @@ -149220,9 +149220,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1972 : struct.part_vals) + for (java.lang.String _iter1982 : struct.part_vals) { - oprot.writeString(_iter1972); + oprot.writeString(_iter1982); } } } @@ -149245,13 +149245,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1973 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1973.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1974; - for (int _i1975 = 0; _i1975 < _list1973.size; ++_i1975) + org.apache.thrift.protocol.TList _list1983 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list1983.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1984; + for (int _i1985 = 0; _i1985 < _list1983.size; ++_i1985) { - _elem1974 = iprot.readString(); - struct.part_vals.add(_elem1974); + _elem1984 = iprot.readString(); + struct.part_vals.add(_elem1984); } } struct.setPart_valsIsSet(true); @@ -149747,14 +149747,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1976 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1976.size); - @org.apache.thrift.annotation.Nullable Partition _elem1977; - for (int _i1978 = 0; _i1978 < _list1976.size; ++_i1978) + org.apache.thrift.protocol.TList _list1986 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1986.size); + @org.apache.thrift.annotation.Nullable Partition _elem1987; + for (int _i1988 = 0; _i1988 < _list1986.size; ++_i1988) { - _elem1977 = new Partition(); - _elem1977.read(iprot); - struct.success.add(_elem1977); + _elem1987 = new Partition(); + _elem1987.read(iprot); + struct.success.add(_elem1987); } iprot.readListEnd(); } @@ -149798,9 +149798,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1979 : struct.success) + for (Partition _iter1989 : struct.success) { - _iter1979.write(oprot); + _iter1989.write(oprot); } oprot.writeListEnd(); } @@ -149847,9 +149847,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1980 : struct.success) + for (Partition _iter1990 : struct.success) { - _iter1980.write(oprot); + _iter1990.write(oprot); } } } @@ -149867,14 +149867,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1981 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list1981.size); - @org.apache.thrift.annotation.Nullable Partition _elem1982; - for (int _i1983 = 0; _i1983 < _list1981.size; ++_i1983) + org.apache.thrift.protocol.TList _list1991 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list1991.size); + @org.apache.thrift.annotation.Nullable Partition _elem1992; + for (int _i1993 = 0; _i1993 < _list1991.size; ++_i1993) { - _elem1982 = new Partition(); - _elem1982.read(iprot); - struct.success.add(_elem1982); + _elem1992 = new Partition(); + _elem1992.read(iprot); + struct.success.add(_elem1992); } } struct.setSuccessIsSet(true); @@ -150649,13 +150649,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1984 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1984.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1985; - for (int _i1986 = 0; _i1986 < _list1984.size; ++_i1986) + org.apache.thrift.protocol.TList _list1994 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1994.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1995; + for (int _i1996 = 0; _i1996 < _list1994.size; ++_i1996) { - _elem1985 = iprot.readString(); - struct.part_vals.add(_elem1985); + _elem1995 = iprot.readString(); + struct.part_vals.add(_elem1995); } iprot.readListEnd(); } @@ -150683,13 +150683,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1987 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1987.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1988; - for (int _i1989 = 0; _i1989 < _list1987.size; ++_i1989) + org.apache.thrift.protocol.TList _list1997 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1997.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1998; + for (int _i1999 = 0; _i1999 < _list1997.size; ++_i1999) { - _elem1988 = iprot.readString(); - struct.group_names.add(_elem1988); + _elem1998 = iprot.readString(); + struct.group_names.add(_elem1998); } iprot.readListEnd(); } @@ -150725,9 +150725,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter1990 : struct.part_vals) + for (java.lang.String _iter2000 : struct.part_vals) { - oprot.writeString(_iter1990); + oprot.writeString(_iter2000); } oprot.writeListEnd(); } @@ -150745,9 +150745,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (java.lang.String _iter1991 : struct.group_names) + for (java.lang.String _iter2001 : struct.group_names) { - oprot.writeString(_iter1991); + oprot.writeString(_iter2001); } oprot.writeListEnd(); } @@ -150799,9 +150799,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1992 : struct.part_vals) + for (java.lang.String _iter2002 : struct.part_vals) { - oprot.writeString(_iter1992); + oprot.writeString(_iter2002); } } } @@ -150814,9 +150814,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (java.lang.String _iter1993 : struct.group_names) + for (java.lang.String _iter2003 : struct.group_names) { - oprot.writeString(_iter1993); + oprot.writeString(_iter2003); } } } @@ -150836,13 +150836,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1994 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list1994.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1995; - for (int _i1996 = 0; _i1996 < _list1994.size; ++_i1996) + org.apache.thrift.protocol.TList _list2004 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list2004.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2005; + for (int _i2006 = 0; _i2006 < _list2004.size; ++_i2006) { - _elem1995 = iprot.readString(); - struct.part_vals.add(_elem1995); + _elem2005 = iprot.readString(); + struct.part_vals.add(_elem2005); } } struct.setPart_valsIsSet(true); @@ -150857,13 +150857,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1997 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.group_names = new java.util.ArrayList(_list1997.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1998; - for (int _i1999 = 0; _i1999 < _list1997.size; ++_i1999) + org.apache.thrift.protocol.TList _list2007 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.group_names = new java.util.ArrayList(_list2007.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2008; + for (int _i2009 = 0; _i2009 < _list2007.size; ++_i2009) { - _elem1998 = iprot.readString(); - struct.group_names.add(_elem1998); + _elem2008 = iprot.readString(); + struct.group_names.add(_elem2008); } } struct.setGroup_namesIsSet(true); @@ -151355,14 +151355,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2000 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2000.size); - @org.apache.thrift.annotation.Nullable Partition _elem2001; - for (int _i2002 = 0; _i2002 < _list2000.size; ++_i2002) + org.apache.thrift.protocol.TList _list2010 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2010.size); + @org.apache.thrift.annotation.Nullable Partition _elem2011; + for (int _i2012 = 0; _i2012 < _list2010.size; ++_i2012) { - _elem2001 = new Partition(); - _elem2001.read(iprot); - struct.success.add(_elem2001); + _elem2011 = new Partition(); + _elem2011.read(iprot); + struct.success.add(_elem2011); } iprot.readListEnd(); } @@ -151406,9 +151406,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter2003 : struct.success) + for (Partition _iter2013 : struct.success) { - _iter2003.write(oprot); + _iter2013.write(oprot); } oprot.writeListEnd(); } @@ -151455,9 +151455,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter2004 : struct.success) + for (Partition _iter2014 : struct.success) { - _iter2004.write(oprot); + _iter2014.write(oprot); } } } @@ -151475,14 +151475,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2005 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2005.size); - @org.apache.thrift.annotation.Nullable Partition _elem2006; - for (int _i2007 = 0; _i2007 < _list2005.size; ++_i2007) + org.apache.thrift.protocol.TList _list2015 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2015.size); + @org.apache.thrift.annotation.Nullable Partition _elem2016; + for (int _i2017 = 0; _i2017 < _list2015.size; ++_i2017) { - _elem2006 = new Partition(); - _elem2006.read(iprot); - struct.success.add(_elem2006); + _elem2016 = new Partition(); + _elem2016.read(iprot); + struct.success.add(_elem2016); } } struct.setSuccessIsSet(true); @@ -153023,13 +153023,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2008 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list2008.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2009; - for (int _i2010 = 0; _i2010 < _list2008.size; ++_i2010) + org.apache.thrift.protocol.TList _list2018 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list2018.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2019; + for (int _i2020 = 0; _i2020 < _list2018.size; ++_i2020) { - _elem2009 = iprot.readString(); - struct.part_vals.add(_elem2009); + _elem2019 = iprot.readString(); + struct.part_vals.add(_elem2019); } iprot.readListEnd(); } @@ -153073,9 +153073,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter2011 : struct.part_vals) + for (java.lang.String _iter2021 : struct.part_vals) { - oprot.writeString(_iter2011); + oprot.writeString(_iter2021); } oprot.writeListEnd(); } @@ -153124,9 +153124,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter2012 : struct.part_vals) + for (java.lang.String _iter2022 : struct.part_vals) { - oprot.writeString(_iter2012); + oprot.writeString(_iter2022); } } } @@ -153149,13 +153149,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2013 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list2013.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2014; - for (int _i2015 = 0; _i2015 < _list2013.size; ++_i2015) + org.apache.thrift.protocol.TList _list2023 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list2023.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2024; + for (int _i2025 = 0; _i2025 < _list2023.size; ++_i2025) { - _elem2014 = iprot.readString(); - struct.part_vals.add(_elem2014); + _elem2024 = iprot.readString(); + struct.part_vals.add(_elem2024); } } struct.setPart_valsIsSet(true); @@ -153648,13 +153648,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2016 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2016.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2017; - for (int _i2018 = 0; _i2018 < _list2016.size; ++_i2018) + org.apache.thrift.protocol.TList _list2026 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2026.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2027; + for (int _i2028 = 0; _i2028 < _list2026.size; ++_i2028) { - _elem2017 = iprot.readString(); - struct.success.add(_elem2017); + _elem2027 = iprot.readString(); + struct.success.add(_elem2027); } iprot.readListEnd(); } @@ -153698,9 +153698,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2019 : struct.success) + for (java.lang.String _iter2029 : struct.success) { - oprot.writeString(_iter2019); + oprot.writeString(_iter2029); } oprot.writeListEnd(); } @@ -153747,9 +153747,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2020 : struct.success) + for (java.lang.String _iter2030 : struct.success) { - oprot.writeString(_iter2020); + oprot.writeString(_iter2030); } } } @@ -153767,13 +153767,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2021 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2021.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2022; - for (int _i2023 = 0; _i2023 < _list2021.size; ++_i2023) + org.apache.thrift.protocol.TList _list2031 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2031.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2032; + for (int _i2033 = 0; _i2033 < _list2031.size; ++_i2033) { - _elem2022 = iprot.readString(); - struct.success.add(_elem2022); + _elem2032 = iprot.readString(); + struct.success.add(_elem2032); } } struct.setSuccessIsSet(true); @@ -155585,13 +155585,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2024 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2024.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2025; - for (int _i2026 = 0; _i2026 < _list2024.size; ++_i2026) + org.apache.thrift.protocol.TList _list2034 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2034.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2035; + for (int _i2036 = 0; _i2036 < _list2034.size; ++_i2036) { - _elem2025 = iprot.readString(); - struct.success.add(_elem2025); + _elem2035 = iprot.readString(); + struct.success.add(_elem2035); } iprot.readListEnd(); } @@ -155635,9 +155635,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2027 : struct.success) + for (java.lang.String _iter2037 : struct.success) { - oprot.writeString(_iter2027); + oprot.writeString(_iter2037); } oprot.writeListEnd(); } @@ -155684,9 +155684,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2028 : struct.success) + for (java.lang.String _iter2038 : struct.success) { - oprot.writeString(_iter2028); + oprot.writeString(_iter2038); } } } @@ -155704,13 +155704,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2029 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2029.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2030; - for (int _i2031 = 0; _i2031 < _list2029.size; ++_i2031) + org.apache.thrift.protocol.TList _list2039 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2039.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2040; + for (int _i2041 = 0; _i2041 < _list2039.size; ++_i2041) { - _elem2030 = iprot.readString(); - struct.success.add(_elem2030); + _elem2040 = iprot.readString(); + struct.success.add(_elem2040); } } struct.setSuccessIsSet(true); @@ -156883,14 +156883,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2032 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2032.size); - @org.apache.thrift.annotation.Nullable Partition _elem2033; - for (int _i2034 = 0; _i2034 < _list2032.size; ++_i2034) + org.apache.thrift.protocol.TList _list2042 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2042.size); + @org.apache.thrift.annotation.Nullable Partition _elem2043; + for (int _i2044 = 0; _i2044 < _list2042.size; ++_i2044) { - _elem2033 = new Partition(); - _elem2033.read(iprot); - struct.success.add(_elem2033); + _elem2043 = new Partition(); + _elem2043.read(iprot); + struct.success.add(_elem2043); } iprot.readListEnd(); } @@ -156934,9 +156934,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter2035 : struct.success) + for (Partition _iter2045 : struct.success) { - _iter2035.write(oprot); + _iter2045.write(oprot); } oprot.writeListEnd(); } @@ -156983,9 +156983,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter2036 : struct.success) + for (Partition _iter2046 : struct.success) { - _iter2036.write(oprot); + _iter2046.write(oprot); } } } @@ -157003,14 +157003,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2037 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2037.size); - @org.apache.thrift.annotation.Nullable Partition _elem2038; - for (int _i2039 = 0; _i2039 < _list2037.size; ++_i2039) + org.apache.thrift.protocol.TList _list2047 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2047.size); + @org.apache.thrift.annotation.Nullable Partition _elem2048; + for (int _i2049 = 0; _i2049 < _list2047.size; ++_i2049) { - _elem2038 = new Partition(); - _elem2038.read(iprot); - struct.success.add(_elem2038); + _elem2048 = new Partition(); + _elem2048.read(iprot); + struct.success.add(_elem2048); } } struct.setSuccessIsSet(true); @@ -157879,14 +157879,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2040 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2040.size); - @org.apache.thrift.annotation.Nullable Partition _elem2041; - for (int _i2042 = 0; _i2042 < _list2040.size; ++_i2042) + org.apache.thrift.protocol.TList _list2050 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2050.size); + @org.apache.thrift.annotation.Nullable Partition _elem2051; + for (int _i2052 = 0; _i2052 < _list2050.size; ++_i2052) { - _elem2041 = new Partition(); - _elem2041.read(iprot); - struct.success.add(_elem2041); + _elem2051 = new Partition(); + _elem2051.read(iprot); + struct.success.add(_elem2051); } iprot.readListEnd(); } @@ -157930,9 +157930,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter2043 : struct.success) + for (Partition _iter2053 : struct.success) { - _iter2043.write(oprot); + _iter2053.write(oprot); } oprot.writeListEnd(); } @@ -157979,9 +157979,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter2044 : struct.success) + for (Partition _iter2054 : struct.success) { - _iter2044.write(oprot); + _iter2054.write(oprot); } } } @@ -157999,14 +157999,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2045 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2045.size); - @org.apache.thrift.annotation.Nullable Partition _elem2046; - for (int _i2047 = 0; _i2047 < _list2045.size; ++_i2047) + org.apache.thrift.protocol.TList _list2055 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2055.size); + @org.apache.thrift.annotation.Nullable Partition _elem2056; + for (int _i2057 = 0; _i2057 < _list2055.size; ++_i2057) { - _elem2046 = new Partition(); - _elem2046.read(iprot); - struct.success.add(_elem2046); + _elem2056 = new Partition(); + _elem2056.read(iprot); + struct.success.add(_elem2056); } } struct.setSuccessIsSet(true); @@ -159179,14 +159179,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2048 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2048.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem2049; - for (int _i2050 = 0; _i2050 < _list2048.size; ++_i2050) + org.apache.thrift.protocol.TList _list2058 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2058.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem2059; + for (int _i2060 = 0; _i2060 < _list2058.size; ++_i2060) { - _elem2049 = new PartitionSpec(); - _elem2049.read(iprot); - struct.success.add(_elem2049); + _elem2059 = new PartitionSpec(); + _elem2059.read(iprot); + struct.success.add(_elem2059); } iprot.readListEnd(); } @@ -159230,9 +159230,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter2051 : struct.success) + for (PartitionSpec _iter2061 : struct.success) { - _iter2051.write(oprot); + _iter2061.write(oprot); } oprot.writeListEnd(); } @@ -159279,9 +159279,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter2052 : struct.success) + for (PartitionSpec _iter2062 : struct.success) { - _iter2052.write(oprot); + _iter2062.write(oprot); } } } @@ -159299,14 +159299,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2053 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2053.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem2054; - for (int _i2055 = 0; _i2055 < _list2053.size; ++_i2055) + org.apache.thrift.protocol.TList _list2063 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2063.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem2064; + for (int _i2065 = 0; _i2065 < _list2063.size; ++_i2065) { - _elem2054 = new PartitionSpec(); - _elem2054.read(iprot); - struct.success.add(_elem2054); + _elem2064 = new PartitionSpec(); + _elem2064.read(iprot); + struct.success.add(_elem2064); } } struct.setSuccessIsSet(true); @@ -162854,13 +162854,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2056 = iprot.readListBegin(); - struct.names = new java.util.ArrayList(_list2056.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2057; - for (int _i2058 = 0; _i2058 < _list2056.size; ++_i2058) + org.apache.thrift.protocol.TList _list2066 = iprot.readListBegin(); + struct.names = new java.util.ArrayList(_list2066.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2067; + for (int _i2068 = 0; _i2068 < _list2066.size; ++_i2068) { - _elem2057 = iprot.readString(); - struct.names.add(_elem2057); + _elem2067 = iprot.readString(); + struct.names.add(_elem2067); } iprot.readListEnd(); } @@ -162896,9 +162896,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (java.lang.String _iter2059 : struct.names) + for (java.lang.String _iter2069 : struct.names) { - oprot.writeString(_iter2059); + oprot.writeString(_iter2069); } oprot.writeListEnd(); } @@ -162941,9 +162941,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (java.lang.String _iter2060 : struct.names) + for (java.lang.String _iter2070 : struct.names) { - oprot.writeString(_iter2060); + oprot.writeString(_iter2070); } } } @@ -162963,13 +162963,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2061 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.names = new java.util.ArrayList(_list2061.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2062; - for (int _i2063 = 0; _i2063 < _list2061.size; ++_i2063) + org.apache.thrift.protocol.TList _list2071 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.names = new java.util.ArrayList(_list2071.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2072; + for (int _i2073 = 0; _i2073 < _list2071.size; ++_i2073) { - _elem2062 = iprot.readString(); - struct.names.add(_elem2062); + _elem2072 = iprot.readString(); + struct.names.add(_elem2072); } } struct.setNamesIsSet(true); @@ -163542,14 +163542,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2064 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2064.size); - @org.apache.thrift.annotation.Nullable Partition _elem2065; - for (int _i2066 = 0; _i2066 < _list2064.size; ++_i2066) + org.apache.thrift.protocol.TList _list2074 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2074.size); + @org.apache.thrift.annotation.Nullable Partition _elem2075; + for (int _i2076 = 0; _i2076 < _list2074.size; ++_i2076) { - _elem2065 = new Partition(); - _elem2065.read(iprot); - struct.success.add(_elem2065); + _elem2075 = new Partition(); + _elem2075.read(iprot); + struct.success.add(_elem2075); } iprot.readListEnd(); } @@ -163602,9 +163602,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter2067 : struct.success) + for (Partition _iter2077 : struct.success) { - _iter2067.write(oprot); + _iter2077.write(oprot); } oprot.writeListEnd(); } @@ -163659,9 +163659,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter2068 : struct.success) + for (Partition _iter2078 : struct.success) { - _iter2068.write(oprot); + _iter2078.write(oprot); } } } @@ -163682,14 +163682,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2069 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2069.size); - @org.apache.thrift.annotation.Nullable Partition _elem2070; - for (int _i2071 = 0; _i2071 < _list2069.size; ++_i2071) + org.apache.thrift.protocol.TList _list2079 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2079.size); + @org.apache.thrift.annotation.Nullable Partition _elem2080; + for (int _i2081 = 0; _i2081 < _list2079.size; ++_i2081) { - _elem2070 = new Partition(); - _elem2070.read(iprot); - struct.success.add(_elem2070); + _elem2080 = new Partition(); + _elem2080.read(iprot); + struct.success.add(_elem2080); } } struct.setSuccessIsSet(true); @@ -168193,14 +168193,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2072 = iprot.readListBegin(); - struct.new_parts = new java.util.ArrayList(_list2072.size); - @org.apache.thrift.annotation.Nullable Partition _elem2073; - for (int _i2074 = 0; _i2074 < _list2072.size; ++_i2074) + org.apache.thrift.protocol.TList _list2082 = iprot.readListBegin(); + struct.new_parts = new java.util.ArrayList(_list2082.size); + @org.apache.thrift.annotation.Nullable Partition _elem2083; + for (int _i2084 = 0; _i2084 < _list2082.size; ++_i2084) { - _elem2073 = new Partition(); - _elem2073.read(iprot); - struct.new_parts.add(_elem2073); + _elem2083 = new Partition(); + _elem2083.read(iprot); + struct.new_parts.add(_elem2083); } iprot.readListEnd(); } @@ -168236,9 +168236,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter2075 : struct.new_parts) + for (Partition _iter2085 : struct.new_parts) { - _iter2075.write(oprot); + _iter2085.write(oprot); } oprot.writeListEnd(); } @@ -168281,9 +168281,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter2076 : struct.new_parts) + for (Partition _iter2086 : struct.new_parts) { - _iter2076.write(oprot); + _iter2086.write(oprot); } } } @@ -168303,14 +168303,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2077 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.new_parts = new java.util.ArrayList(_list2077.size); - @org.apache.thrift.annotation.Nullable Partition _elem2078; - for (int _i2079 = 0; _i2079 < _list2077.size; ++_i2079) + org.apache.thrift.protocol.TList _list2087 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.new_parts = new java.util.ArrayList(_list2087.size); + @org.apache.thrift.annotation.Nullable Partition _elem2088; + for (int _i2089 = 0; _i2089 < _list2087.size; ++_i2089) { - _elem2078 = new Partition(); - _elem2078.read(iprot); - struct.new_parts.add(_elem2078); + _elem2088 = new Partition(); + _elem2088.read(iprot); + struct.new_parts.add(_elem2088); } } struct.setNew_partsIsSet(true); @@ -169372,14 +169372,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2080 = iprot.readListBegin(); - struct.new_parts = new java.util.ArrayList(_list2080.size); - @org.apache.thrift.annotation.Nullable Partition _elem2081; - for (int _i2082 = 0; _i2082 < _list2080.size; ++_i2082) + org.apache.thrift.protocol.TList _list2090 = iprot.readListBegin(); + struct.new_parts = new java.util.ArrayList(_list2090.size); + @org.apache.thrift.annotation.Nullable Partition _elem2091; + for (int _i2092 = 0; _i2092 < _list2090.size; ++_i2092) { - _elem2081 = new Partition(); - _elem2081.read(iprot); - struct.new_parts.add(_elem2081); + _elem2091 = new Partition(); + _elem2091.read(iprot); + struct.new_parts.add(_elem2091); } iprot.readListEnd(); } @@ -169424,9 +169424,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter2083 : struct.new_parts) + for (Partition _iter2093 : struct.new_parts) { - _iter2083.write(oprot); + _iter2093.write(oprot); } oprot.writeListEnd(); } @@ -169477,9 +169477,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter2084 : struct.new_parts) + for (Partition _iter2094 : struct.new_parts) { - _iter2084.write(oprot); + _iter2094.write(oprot); } } } @@ -169502,14 +169502,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2085 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.new_parts = new java.util.ArrayList(_list2085.size); - @org.apache.thrift.annotation.Nullable Partition _elem2086; - for (int _i2087 = 0; _i2087 < _list2085.size; ++_i2087) + org.apache.thrift.protocol.TList _list2095 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.new_parts = new java.util.ArrayList(_list2095.size); + @org.apache.thrift.annotation.Nullable Partition _elem2096; + for (int _i2097 = 0; _i2097 < _list2095.size; ++_i2097) { - _elem2086 = new Partition(); - _elem2086.read(iprot); - struct.new_parts.add(_elem2086); + _elem2096 = new Partition(); + _elem2096.read(iprot); + struct.new_parts.add(_elem2096); } } struct.setNew_partsIsSet(true); @@ -172673,13 +172673,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2088 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list2088.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2089; - for (int _i2090 = 0; _i2090 < _list2088.size; ++_i2090) + org.apache.thrift.protocol.TList _list2098 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list2098.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2099; + for (int _i2100 = 0; _i2100 < _list2098.size; ++_i2100) { - _elem2089 = iprot.readString(); - struct.part_vals.add(_elem2089); + _elem2099 = iprot.readString(); + struct.part_vals.add(_elem2099); } iprot.readListEnd(); } @@ -172724,9 +172724,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter2091 : struct.part_vals) + for (java.lang.String _iter2101 : struct.part_vals) { - oprot.writeString(_iter2091); + oprot.writeString(_iter2101); } oprot.writeListEnd(); } @@ -172777,9 +172777,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter2092 : struct.part_vals) + for (java.lang.String _iter2102 : struct.part_vals) { - oprot.writeString(_iter2092); + oprot.writeString(_iter2102); } } } @@ -172802,13 +172802,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2093 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list2093.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2094; - for (int _i2095 = 0; _i2095 < _list2093.size; ++_i2095) + org.apache.thrift.protocol.TList _list2103 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list2103.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2104; + for (int _i2105 = 0; _i2105 < _list2103.size; ++_i2105) { - _elem2094 = iprot.readString(); - struct.part_vals.add(_elem2094); + _elem2104 = iprot.readString(); + struct.part_vals.add(_elem2104); } } struct.setPart_valsIsSet(true); @@ -174634,13 +174634,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2096 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list2096.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2097; - for (int _i2098 = 0; _i2098 < _list2096.size; ++_i2098) + org.apache.thrift.protocol.TList _list2106 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list2106.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2107; + for (int _i2108 = 0; _i2108 < _list2106.size; ++_i2108) { - _elem2097 = iprot.readString(); - struct.part_vals.add(_elem2097); + _elem2107 = iprot.readString(); + struct.part_vals.add(_elem2107); } iprot.readListEnd(); } @@ -174674,9 +174674,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.lang.String _iter2099 : struct.part_vals) + for (java.lang.String _iter2109 : struct.part_vals) { - oprot.writeString(_iter2099); + oprot.writeString(_iter2109); } oprot.writeListEnd(); } @@ -174713,9 +174713,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter2100 : struct.part_vals) + for (java.lang.String _iter2110 : struct.part_vals) { - oprot.writeString(_iter2100); + oprot.writeString(_iter2110); } } } @@ -174730,13 +174730,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2101 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.ArrayList(_list2101.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2102; - for (int _i2103 = 0; _i2103 < _list2101.size; ++_i2103) + org.apache.thrift.protocol.TList _list2111 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.ArrayList(_list2111.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2112; + for (int _i2113 = 0; _i2113 < _list2111.size; ++_i2113) { - _elem2102 = iprot.readString(); - struct.part_vals.add(_elem2102); + _elem2112 = iprot.readString(); + struct.part_vals.add(_elem2112); } } struct.setPart_valsIsSet(true); @@ -176909,13 +176909,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2104 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2104.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2105; - for (int _i2106 = 0; _i2106 < _list2104.size; ++_i2106) + org.apache.thrift.protocol.TList _list2114 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2114.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2115; + for (int _i2116 = 0; _i2116 < _list2114.size; ++_i2116) { - _elem2105 = iprot.readString(); - struct.success.add(_elem2105); + _elem2115 = iprot.readString(); + struct.success.add(_elem2115); } iprot.readListEnd(); } @@ -176950,9 +176950,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2107 : struct.success) + for (java.lang.String _iter2117 : struct.success) { - oprot.writeString(_iter2107); + oprot.writeString(_iter2117); } oprot.writeListEnd(); } @@ -176991,9 +176991,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2108 : struct.success) + for (java.lang.String _iter2118 : struct.success) { - oprot.writeString(_iter2108); + oprot.writeString(_iter2118); } } } @@ -177008,13 +177008,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2109 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2109.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2110; - for (int _i2111 = 0; _i2111 < _list2109.size; ++_i2111) + org.apache.thrift.protocol.TList _list2119 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2119.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2120; + for (int _i2121 = 0; _i2121 < _list2119.size; ++_i2121) { - _elem2110 = iprot.readString(); - struct.success.add(_elem2110); + _elem2120 = iprot.readString(); + struct.success.add(_elem2120); } } struct.setSuccessIsSet(true); @@ -177785,15 +177785,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2112 = iprot.readMapBegin(); - struct.success = new java.util.HashMap(2*_map2112.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2113; - @org.apache.thrift.annotation.Nullable java.lang.String _val2114; - for (int _i2115 = 0; _i2115 < _map2112.size; ++_i2115) + org.apache.thrift.protocol.TMap _map2122 = iprot.readMapBegin(); + struct.success = new java.util.HashMap(2*_map2122.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2123; + @org.apache.thrift.annotation.Nullable java.lang.String _val2124; + for (int _i2125 = 0; _i2125 < _map2122.size; ++_i2125) { - _key2113 = iprot.readString(); - _val2114 = iprot.readString(); - struct.success.put(_key2113, _val2114); + _key2123 = iprot.readString(); + _val2124 = iprot.readString(); + struct.success.put(_key2123, _val2124); } iprot.readMapEnd(); } @@ -177828,10 +177828,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.util.Map.Entry _iter2116 : struct.success.entrySet()) + for (java.util.Map.Entry _iter2126 : struct.success.entrySet()) { - oprot.writeString(_iter2116.getKey()); - oprot.writeString(_iter2116.getValue()); + oprot.writeString(_iter2126.getKey()); + oprot.writeString(_iter2126.getValue()); } oprot.writeMapEnd(); } @@ -177870,10 +177870,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.util.Map.Entry _iter2117 : struct.success.entrySet()) + for (java.util.Map.Entry _iter2127 : struct.success.entrySet()) { - oprot.writeString(_iter2117.getKey()); - oprot.writeString(_iter2117.getValue()); + oprot.writeString(_iter2127.getKey()); + oprot.writeString(_iter2127.getValue()); } } } @@ -177888,15 +177888,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2118 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.HashMap(2*_map2118.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2119; - @org.apache.thrift.annotation.Nullable java.lang.String _val2120; - for (int _i2121 = 0; _i2121 < _map2118.size; ++_i2121) + org.apache.thrift.protocol.TMap _map2128 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.HashMap(2*_map2128.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2129; + @org.apache.thrift.annotation.Nullable java.lang.String _val2130; + for (int _i2131 = 0; _i2131 < _map2128.size; ++_i2131) { - _key2119 = iprot.readString(); - _val2120 = iprot.readString(); - struct.success.put(_key2119, _val2120); + _key2129 = iprot.readString(); + _val2130 = iprot.readString(); + struct.success.put(_key2129, _val2130); } } struct.setSuccessIsSet(true); @@ -178495,15 +178495,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2122 = iprot.readMapBegin(); - struct.part_vals = new java.util.HashMap(2*_map2122.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2123; - @org.apache.thrift.annotation.Nullable java.lang.String _val2124; - for (int _i2125 = 0; _i2125 < _map2122.size; ++_i2125) + org.apache.thrift.protocol.TMap _map2132 = iprot.readMapBegin(); + struct.part_vals = new java.util.HashMap(2*_map2132.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2133; + @org.apache.thrift.annotation.Nullable java.lang.String _val2134; + for (int _i2135 = 0; _i2135 < _map2132.size; ++_i2135) { - _key2123 = iprot.readString(); - _val2124 = iprot.readString(); - struct.part_vals.put(_key2123, _val2124); + _key2133 = iprot.readString(); + _val2134 = iprot.readString(); + struct.part_vals.put(_key2133, _val2134); } iprot.readMapEnd(); } @@ -178547,10 +178547,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.util.Map.Entry _iter2126 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter2136 : struct.part_vals.entrySet()) { - oprot.writeString(_iter2126.getKey()); - oprot.writeString(_iter2126.getValue()); + oprot.writeString(_iter2136.getKey()); + oprot.writeString(_iter2136.getValue()); } oprot.writeMapEnd(); } @@ -178601,10 +178601,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.util.Map.Entry _iter2127 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter2137 : struct.part_vals.entrySet()) { - oprot.writeString(_iter2127.getKey()); - oprot.writeString(_iter2127.getValue()); + oprot.writeString(_iter2137.getKey()); + oprot.writeString(_iter2137.getValue()); } } } @@ -178627,15 +178627,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map2128 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.HashMap(2*_map2128.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2129; - @org.apache.thrift.annotation.Nullable java.lang.String _val2130; - for (int _i2131 = 0; _i2131 < _map2128.size; ++_i2131) + org.apache.thrift.protocol.TMap _map2138 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.HashMap(2*_map2138.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2139; + @org.apache.thrift.annotation.Nullable java.lang.String _val2140; + for (int _i2141 = 0; _i2141 < _map2138.size; ++_i2141) { - _key2129 = iprot.readString(); - _val2130 = iprot.readString(); - struct.part_vals.put(_key2129, _val2130); + _key2139 = iprot.readString(); + _val2140 = iprot.readString(); + struct.part_vals.put(_key2139, _val2140); } } struct.setPart_valsIsSet(true); @@ -180127,15 +180127,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2132 = iprot.readMapBegin(); - struct.part_vals = new java.util.HashMap(2*_map2132.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2133; - @org.apache.thrift.annotation.Nullable java.lang.String _val2134; - for (int _i2135 = 0; _i2135 < _map2132.size; ++_i2135) + org.apache.thrift.protocol.TMap _map2142 = iprot.readMapBegin(); + struct.part_vals = new java.util.HashMap(2*_map2142.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2143; + @org.apache.thrift.annotation.Nullable java.lang.String _val2144; + for (int _i2145 = 0; _i2145 < _map2142.size; ++_i2145) { - _key2133 = iprot.readString(); - _val2134 = iprot.readString(); - struct.part_vals.put(_key2133, _val2134); + _key2143 = iprot.readString(); + _val2144 = iprot.readString(); + struct.part_vals.put(_key2143, _val2144); } iprot.readMapEnd(); } @@ -180179,10 +180179,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.util.Map.Entry _iter2136 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter2146 : struct.part_vals.entrySet()) { - oprot.writeString(_iter2136.getKey()); - oprot.writeString(_iter2136.getValue()); + oprot.writeString(_iter2146.getKey()); + oprot.writeString(_iter2146.getValue()); } oprot.writeMapEnd(); } @@ -180233,10 +180233,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.util.Map.Entry _iter2137 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter2147 : struct.part_vals.entrySet()) { - oprot.writeString(_iter2137.getKey()); - oprot.writeString(_iter2137.getValue()); + oprot.writeString(_iter2147.getKey()); + oprot.writeString(_iter2147.getValue()); } } } @@ -180259,15 +180259,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map2138 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.part_vals = new java.util.HashMap(2*_map2138.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2139; - @org.apache.thrift.annotation.Nullable java.lang.String _val2140; - for (int _i2141 = 0; _i2141 < _map2138.size; ++_i2141) + org.apache.thrift.protocol.TMap _map2148 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); + struct.part_vals = new java.util.HashMap(2*_map2148.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2149; + @org.apache.thrift.annotation.Nullable java.lang.String _val2150; + for (int _i2151 = 0; _i2151 < _map2148.size; ++_i2151) { - _key2139 = iprot.readString(); - _val2140 = iprot.readString(); - struct.part_vals.put(_key2139, _val2140); + _key2149 = iprot.readString(); + _val2150 = iprot.readString(); + struct.part_vals.put(_key2149, _val2150); } } struct.setPart_valsIsSet(true); @@ -208121,13 +208121,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2142 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2142.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2143; - for (int _i2144 = 0; _i2144 < _list2142.size; ++_i2144) + org.apache.thrift.protocol.TList _list2152 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2152.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2153; + for (int _i2154 = 0; _i2154 < _list2152.size; ++_i2154) { - _elem2143 = iprot.readString(); - struct.success.add(_elem2143); + _elem2153 = iprot.readString(); + struct.success.add(_elem2153); } iprot.readListEnd(); } @@ -208162,9 +208162,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2145 : struct.success) + for (java.lang.String _iter2155 : struct.success) { - oprot.writeString(_iter2145); + oprot.writeString(_iter2155); } oprot.writeListEnd(); } @@ -208203,9 +208203,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2146 : struct.success) + for (java.lang.String _iter2156 : struct.success) { - oprot.writeString(_iter2146); + oprot.writeString(_iter2156); } } } @@ -208220,13 +208220,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2147 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2147.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2148; - for (int _i2149 = 0; _i2149 < _list2147.size; ++_i2149) + org.apache.thrift.protocol.TList _list2157 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2157.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2158; + for (int _i2159 = 0; _i2159 < _list2157.size; ++_i2159) { - _elem2148 = iprot.readString(); - struct.success.add(_elem2148); + _elem2158 = iprot.readString(); + struct.success.add(_elem2158); } } struct.setSuccessIsSet(true); @@ -213156,13 +213156,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2150 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2150.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2151; - for (int _i2152 = 0; _i2152 < _list2150.size; ++_i2152) + org.apache.thrift.protocol.TList _list2160 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2160.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2161; + for (int _i2162 = 0; _i2162 < _list2160.size; ++_i2162) { - _elem2151 = iprot.readString(); - struct.success.add(_elem2151); + _elem2161 = iprot.readString(); + struct.success.add(_elem2161); } iprot.readListEnd(); } @@ -213197,9 +213197,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2153 : struct.success) + for (java.lang.String _iter2163 : struct.success) { - oprot.writeString(_iter2153); + oprot.writeString(_iter2163); } oprot.writeListEnd(); } @@ -213238,9 +213238,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2154 : struct.success) + for (java.lang.String _iter2164 : struct.success) { - oprot.writeString(_iter2154); + oprot.writeString(_iter2164); } } } @@ -213255,13 +213255,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2155 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2155.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2156; - for (int _i2157 = 0; _i2157 < _list2155.size; ++_i2157) + org.apache.thrift.protocol.TList _list2165 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2165.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2166; + for (int _i2167 = 0; _i2167 < _list2165.size; ++_i2167) { - _elem2156 = iprot.readString(); - struct.success.add(_elem2156); + _elem2166 = iprot.readString(); + struct.success.add(_elem2166); } } struct.setSuccessIsSet(true); @@ -216568,14 +216568,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2158 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2158.size); - @org.apache.thrift.annotation.Nullable Role _elem2159; - for (int _i2160 = 0; _i2160 < _list2158.size; ++_i2160) + org.apache.thrift.protocol.TList _list2168 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2168.size); + @org.apache.thrift.annotation.Nullable Role _elem2169; + for (int _i2170 = 0; _i2170 < _list2168.size; ++_i2170) { - _elem2159 = new Role(); - _elem2159.read(iprot); - struct.success.add(_elem2159); + _elem2169 = new Role(); + _elem2169.read(iprot); + struct.success.add(_elem2169); } iprot.readListEnd(); } @@ -216610,9 +216610,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter2161 : struct.success) + for (Role _iter2171 : struct.success) { - _iter2161.write(oprot); + _iter2171.write(oprot); } oprot.writeListEnd(); } @@ -216651,9 +216651,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter2162 : struct.success) + for (Role _iter2172 : struct.success) { - _iter2162.write(oprot); + _iter2172.write(oprot); } } } @@ -216668,14 +216668,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2163 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2163.size); - @org.apache.thrift.annotation.Nullable Role _elem2164; - for (int _i2165 = 0; _i2165 < _list2163.size; ++_i2165) + org.apache.thrift.protocol.TList _list2173 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2173.size); + @org.apache.thrift.annotation.Nullable Role _elem2174; + for (int _i2175 = 0; _i2175 < _list2173.size; ++_i2175) { - _elem2164 = new Role(); - _elem2164.read(iprot); - struct.success.add(_elem2164); + _elem2174 = new Role(); + _elem2174.read(iprot); + struct.success.add(_elem2174); } } struct.setSuccessIsSet(true); @@ -219709,13 +219709,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2166 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list2166.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2167; - for (int _i2168 = 0; _i2168 < _list2166.size; ++_i2168) + org.apache.thrift.protocol.TList _list2176 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list2176.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2177; + for (int _i2178 = 0; _i2178 < _list2176.size; ++_i2178) { - _elem2167 = iprot.readString(); - struct.group_names.add(_elem2167); + _elem2177 = iprot.readString(); + struct.group_names.add(_elem2177); } iprot.readListEnd(); } @@ -219751,9 +219751,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (java.lang.String _iter2169 : struct.group_names) + for (java.lang.String _iter2179 : struct.group_names) { - oprot.writeString(_iter2169); + oprot.writeString(_iter2179); } oprot.writeListEnd(); } @@ -219796,9 +219796,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (java.lang.String _iter2170 : struct.group_names) + for (java.lang.String _iter2180 : struct.group_names) { - oprot.writeString(_iter2170); + oprot.writeString(_iter2180); } } } @@ -219819,13 +219819,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2171 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.group_names = new java.util.ArrayList(_list2171.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2172; - for (int _i2173 = 0; _i2173 < _list2171.size; ++_i2173) + org.apache.thrift.protocol.TList _list2181 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.group_names = new java.util.ArrayList(_list2181.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2182; + for (int _i2183 = 0; _i2183 < _list2181.size; ++_i2183) { - _elem2172 = iprot.readString(); - struct.group_names.add(_elem2172); + _elem2182 = iprot.readString(); + struct.group_names.add(_elem2182); } } struct.setGroup_namesIsSet(true); @@ -221296,14 +221296,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2174 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2174.size); - @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem2175; - for (int _i2176 = 0; _i2176 < _list2174.size; ++_i2176) + org.apache.thrift.protocol.TList _list2184 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2184.size); + @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem2185; + for (int _i2186 = 0; _i2186 < _list2184.size; ++_i2186) { - _elem2175 = new HiveObjectPrivilege(); - _elem2175.read(iprot); - struct.success.add(_elem2175); + _elem2185 = new HiveObjectPrivilege(); + _elem2185.read(iprot); + struct.success.add(_elem2185); } iprot.readListEnd(); } @@ -221338,9 +221338,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter2177 : struct.success) + for (HiveObjectPrivilege _iter2187 : struct.success) { - _iter2177.write(oprot); + _iter2187.write(oprot); } oprot.writeListEnd(); } @@ -221379,9 +221379,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter2178 : struct.success) + for (HiveObjectPrivilege _iter2188 : struct.success) { - _iter2178.write(oprot); + _iter2188.write(oprot); } } } @@ -221396,14 +221396,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2179 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2179.size); - @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem2180; - for (int _i2181 = 0; _i2181 < _list2179.size; ++_i2181) + org.apache.thrift.protocol.TList _list2189 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2189.size); + @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem2190; + for (int _i2191 = 0; _i2191 < _list2189.size; ++_i2191) { - _elem2180 = new HiveObjectPrivilege(); - _elem2180.read(iprot); - struct.success.add(_elem2180); + _elem2190 = new HiveObjectPrivilege(); + _elem2190.read(iprot); + struct.success.add(_elem2190); } } struct.setSuccessIsSet(true); @@ -225381,13 +225381,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2182 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list2182.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2183; - for (int _i2184 = 0; _i2184 < _list2182.size; ++_i2184) + org.apache.thrift.protocol.TList _list2192 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list2192.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2193; + for (int _i2194 = 0; _i2194 < _list2192.size; ++_i2194) { - _elem2183 = iprot.readString(); - struct.group_names.add(_elem2183); + _elem2193 = iprot.readString(); + struct.group_names.add(_elem2193); } iprot.readListEnd(); } @@ -225418,9 +225418,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (java.lang.String _iter2185 : struct.group_names) + for (java.lang.String _iter2195 : struct.group_names) { - oprot.writeString(_iter2185); + oprot.writeString(_iter2195); } oprot.writeListEnd(); } @@ -225457,9 +225457,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (java.lang.String _iter2186 : struct.group_names) + for (java.lang.String _iter2196 : struct.group_names) { - oprot.writeString(_iter2186); + oprot.writeString(_iter2196); } } } @@ -225475,13 +225475,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2187 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.group_names = new java.util.ArrayList(_list2187.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2188; - for (int _i2189 = 0; _i2189 < _list2187.size; ++_i2189) + org.apache.thrift.protocol.TList _list2197 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.group_names = new java.util.ArrayList(_list2197.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2198; + for (int _i2199 = 0; _i2199 < _list2197.size; ++_i2199) { - _elem2188 = iprot.readString(); - struct.group_names.add(_elem2188); + _elem2198 = iprot.readString(); + struct.group_names.add(_elem2198); } } struct.setGroup_namesIsSet(true); @@ -225889,13 +225889,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2190 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2190.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2191; - for (int _i2192 = 0; _i2192 < _list2190.size; ++_i2192) + org.apache.thrift.protocol.TList _list2200 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2200.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2201; + for (int _i2202 = 0; _i2202 < _list2200.size; ++_i2202) { - _elem2191 = iprot.readString(); - struct.success.add(_elem2191); + _elem2201 = iprot.readString(); + struct.success.add(_elem2201); } iprot.readListEnd(); } @@ -225930,9 +225930,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2193 : struct.success) + for (java.lang.String _iter2203 : struct.success) { - oprot.writeString(_iter2193); + oprot.writeString(_iter2203); } oprot.writeListEnd(); } @@ -225971,9 +225971,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2194 : struct.success) + for (java.lang.String _iter2204 : struct.success) { - oprot.writeString(_iter2194); + oprot.writeString(_iter2204); } } } @@ -225988,13 +225988,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2195 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2195.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2196; - for (int _i2197 = 0; _i2197 < _list2195.size; ++_i2197) + org.apache.thrift.protocol.TList _list2205 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2205.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2206; + for (int _i2207 = 0; _i2207 < _list2205.size; ++_i2207) { - _elem2196 = iprot.readString(); - struct.success.add(_elem2196); + _elem2206 = iprot.readString(); + struct.success.add(_elem2206); } } struct.setSuccessIsSet(true); @@ -231333,13 +231333,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2198 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2198.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2199; - for (int _i2200 = 0; _i2200 < _list2198.size; ++_i2200) + org.apache.thrift.protocol.TList _list2208 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2208.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2209; + for (int _i2210 = 0; _i2210 < _list2208.size; ++_i2210) { - _elem2199 = iprot.readString(); - struct.success.add(_elem2199); + _elem2209 = iprot.readString(); + struct.success.add(_elem2209); } iprot.readListEnd(); } @@ -231365,9 +231365,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2201 : struct.success) + for (java.lang.String _iter2211 : struct.success) { - oprot.writeString(_iter2201); + oprot.writeString(_iter2211); } oprot.writeListEnd(); } @@ -231398,9 +231398,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2202 : struct.success) + for (java.lang.String _iter2212 : struct.success) { - oprot.writeString(_iter2202); + oprot.writeString(_iter2212); } } } @@ -231412,13 +231412,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2203 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2203.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2204; - for (int _i2205 = 0; _i2205 < _list2203.size; ++_i2205) + org.apache.thrift.protocol.TList _list2213 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2213.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2214; + for (int _i2215 = 0; _i2215 < _list2213.size; ++_i2215) { - _elem2204 = iprot.readString(); - struct.success.add(_elem2204); + _elem2214 = iprot.readString(); + struct.success.add(_elem2214); } } struct.setSuccessIsSet(true); @@ -234469,13 +234469,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2206 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2206.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2207; - for (int _i2208 = 0; _i2208 < _list2206.size; ++_i2208) + org.apache.thrift.protocol.TList _list2216 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2216.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2217; + for (int _i2218 = 0; _i2218 < _list2216.size; ++_i2218) { - _elem2207 = iprot.readString(); - struct.success.add(_elem2207); + _elem2217 = iprot.readString(); + struct.success.add(_elem2217); } iprot.readListEnd(); } @@ -234501,9 +234501,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2209 : struct.success) + for (java.lang.String _iter2219 : struct.success) { - oprot.writeString(_iter2209); + oprot.writeString(_iter2219); } oprot.writeListEnd(); } @@ -234534,9 +234534,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2210 : struct.success) + for (java.lang.String _iter2220 : struct.success) { - oprot.writeString(_iter2210); + oprot.writeString(_iter2220); } } } @@ -234548,13 +234548,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2211 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2211.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2212; - for (int _i2213 = 0; _i2213 < _list2211.size; ++_i2213) + org.apache.thrift.protocol.TList _list2221 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2221.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2222; + for (int _i2223 = 0; _i2223 < _list2221.size; ++_i2223) { - _elem2212 = iprot.readString(); - struct.success.add(_elem2212); + _elem2222 = iprot.readString(); + struct.success.add(_elem2222); } } struct.setSuccessIsSet(true); @@ -241615,15 +241615,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_write_ids_to_mi case 2: // WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2214 = iprot.readMapBegin(); - struct.writeIds = new java.util.HashMap(2*_map2214.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2215; - long _val2216; - for (int _i2217 = 0; _i2217 < _map2214.size; ++_i2217) + org.apache.thrift.protocol.TMap _map2224 = iprot.readMapBegin(); + struct.writeIds = new java.util.HashMap(2*_map2224.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2225; + long _val2226; + for (int _i2227 = 0; _i2227 < _map2224.size; ++_i2227) { - _key2215 = iprot.readString(); - _val2216 = iprot.readI64(); - struct.writeIds.put(_key2215, _val2216); + _key2225 = iprot.readString(); + _val2226 = iprot.readI64(); + struct.writeIds.put(_key2225, _val2226); } iprot.readMapEnd(); } @@ -241652,10 +241652,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_write_ids_to_m oprot.writeFieldBegin(WRITE_IDS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, struct.writeIds.size())); - for (java.util.Map.Entry _iter2218 : struct.writeIds.entrySet()) + for (java.util.Map.Entry _iter2228 : struct.writeIds.entrySet()) { - oprot.writeString(_iter2218.getKey()); - oprot.writeI64(_iter2218.getValue()); + oprot.writeString(_iter2228.getKey()); + oprot.writeI64(_iter2228.getValue()); } oprot.writeMapEnd(); } @@ -241692,10 +241692,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_write_ids_to_mi if (struct.isSetWriteIds()) { { oprot.writeI32(struct.writeIds.size()); - for (java.util.Map.Entry _iter2219 : struct.writeIds.entrySet()) + for (java.util.Map.Entry _iter2229 : struct.writeIds.entrySet()) { - oprot.writeString(_iter2219.getKey()); - oprot.writeI64(_iter2219.getValue()); + oprot.writeString(_iter2229.getKey()); + oprot.writeI64(_iter2229.getValue()); } } } @@ -241711,15 +241711,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_write_ids_to_min } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map2220 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64); - struct.writeIds = new java.util.HashMap(2*_map2220.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key2221; - long _val2222; - for (int _i2223 = 0; _i2223 < _map2220.size; ++_i2223) + org.apache.thrift.protocol.TMap _map2230 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64); + struct.writeIds = new java.util.HashMap(2*_map2230.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key2231; + long _val2232; + for (int _i2233 = 0; _i2233 < _map2230.size; ++_i2233) { - _key2221 = iprot.readString(); - _val2222 = iprot.readI64(); - struct.writeIds.put(_key2221, _val2222); + _key2231 = iprot.readString(); + _val2232 = iprot.readI64(); + struct.writeIds.put(_key2231, _val2232); } } struct.setWriteIdsIsSet(true); @@ -257716,13 +257716,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, find_columns_with_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2224 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2224.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2225; - for (int _i2226 = 0; _i2226 < _list2224.size; ++_i2226) + org.apache.thrift.protocol.TList _list2234 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2234.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2235; + for (int _i2236 = 0; _i2236 < _list2234.size; ++_i2236) { - _elem2225 = iprot.readString(); - struct.success.add(_elem2225); + _elem2235 = iprot.readString(); + struct.success.add(_elem2235); } iprot.readListEnd(); } @@ -257748,9 +257748,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, find_columns_with_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2227 : struct.success) + for (java.lang.String _iter2237 : struct.success) { - oprot.writeString(_iter2227); + oprot.writeString(_iter2237); } oprot.writeListEnd(); } @@ -257781,9 +257781,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, find_columns_with_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2228 : struct.success) + for (java.lang.String _iter2238 : struct.success) { - oprot.writeString(_iter2228); + oprot.writeString(_iter2238); } } } @@ -257795,13 +257795,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, find_columns_with_st java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2229 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2229.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2230; - for (int _i2231 = 0; _i2231 < _list2229.size; ++_i2231) + org.apache.thrift.protocol.TList _list2239 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2239.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2240; + for (int _i2241 = 0; _i2241 < _list2239.size; ++_i2241) { - _elem2230 = iprot.readString(); - struct.success.add(_elem2230); + _elem2240 = iprot.readString(); + struct.success.add(_elem2240); } } struct.setSuccessIsSet(true); @@ -298783,14 +298783,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2232 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2232.size); - @org.apache.thrift.annotation.Nullable SchemaVersion _elem2233; - for (int _i2234 = 0; _i2234 < _list2232.size; ++_i2234) + org.apache.thrift.protocol.TList _list2242 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2242.size); + @org.apache.thrift.annotation.Nullable SchemaVersion _elem2243; + for (int _i2244 = 0; _i2244 < _list2242.size; ++_i2244) { - _elem2233 = new SchemaVersion(); - _elem2233.read(iprot); - struct.success.add(_elem2233); + _elem2243 = new SchemaVersion(); + _elem2243.read(iprot); + struct.success.add(_elem2243); } iprot.readListEnd(); } @@ -298834,9 +298834,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter2235 : struct.success) + for (SchemaVersion _iter2245 : struct.success) { - _iter2235.write(oprot); + _iter2245.write(oprot); } oprot.writeListEnd(); } @@ -298883,9 +298883,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter2236 : struct.success) + for (SchemaVersion _iter2246 : struct.success) { - _iter2236.write(oprot); + _iter2246.write(oprot); } } } @@ -298903,14 +298903,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2237 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2237.size); - @org.apache.thrift.annotation.Nullable SchemaVersion _elem2238; - for (int _i2239 = 0; _i2239 < _list2237.size; ++_i2239) + org.apache.thrift.protocol.TList _list2247 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2247.size); + @org.apache.thrift.annotation.Nullable SchemaVersion _elem2248; + for (int _i2249 = 0; _i2249 < _list2247.size; ++_i2249) { - _elem2238 = new SchemaVersion(); - _elem2238.read(iprot); - struct.success.add(_elem2238); + _elem2248 = new SchemaVersion(); + _elem2248.read(iprot); + struct.success.add(_elem2248); } } struct.setSuccessIsSet(true); @@ -307525,14 +307525,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2240 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2240.size); - @org.apache.thrift.annotation.Nullable RuntimeStat _elem2241; - for (int _i2242 = 0; _i2242 < _list2240.size; ++_i2242) + org.apache.thrift.protocol.TList _list2250 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2250.size); + @org.apache.thrift.annotation.Nullable RuntimeStat _elem2251; + for (int _i2252 = 0; _i2252 < _list2250.size; ++_i2252) { - _elem2241 = new RuntimeStat(); - _elem2241.read(iprot); - struct.success.add(_elem2241); + _elem2251 = new RuntimeStat(); + _elem2251.read(iprot); + struct.success.add(_elem2251); } iprot.readListEnd(); } @@ -307567,9 +307567,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter2243 : struct.success) + for (RuntimeStat _iter2253 : struct.success) { - _iter2243.write(oprot); + _iter2253.write(oprot); } oprot.writeListEnd(); } @@ -307608,9 +307608,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter2244 : struct.success) + for (RuntimeStat _iter2254 : struct.success) { - _iter2244.write(oprot); + _iter2254.write(oprot); } } } @@ -307625,14 +307625,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2245 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2245.size); - @org.apache.thrift.annotation.Nullable RuntimeStat _elem2246; - for (int _i2247 = 0; _i2247 < _list2245.size; ++_i2247) + org.apache.thrift.protocol.TList _list2255 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2255.size); + @org.apache.thrift.annotation.Nullable RuntimeStat _elem2256; + for (int _i2257 = 0; _i2257 < _list2255.size; ++_i2257) { - _elem2246 = new RuntimeStat(); - _elem2246.read(iprot); - struct.success.add(_elem2246); + _elem2256 = new RuntimeStat(); + _elem2256.read(iprot); + struct.success.add(_elem2256); } } struct.setSuccessIsSet(true); @@ -317743,13 +317743,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_stored_proc case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2248 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2248.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2249; - for (int _i2250 = 0; _i2250 < _list2248.size; ++_i2250) + org.apache.thrift.protocol.TList _list2258 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2258.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2259; + for (int _i2260 = 0; _i2260 < _list2258.size; ++_i2260) { - _elem2249 = iprot.readString(); - struct.success.add(_elem2249); + _elem2259 = iprot.readString(); + struct.success.add(_elem2259); } iprot.readListEnd(); } @@ -317784,9 +317784,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_stored_pro oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2251 : struct.success) + for (java.lang.String _iter2261 : struct.success) { - oprot.writeString(_iter2251); + oprot.writeString(_iter2261); } oprot.writeListEnd(); } @@ -317825,9 +317825,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_stored_proc if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2252 : struct.success) + for (java.lang.String _iter2262 : struct.success) { - oprot.writeString(_iter2252); + oprot.writeString(_iter2262); } } } @@ -317842,13 +317842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_stored_proce java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2253 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2253.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2254; - for (int _i2255 = 0; _i2255 < _list2253.size; ++_i2255) + org.apache.thrift.protocol.TList _list2263 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2263.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2264; + for (int _i2265 = 0; _i2265 < _list2263.size; ++_i2265) { - _elem2254 = iprot.readString(); - struct.success.add(_elem2254); + _elem2264 = iprot.readString(); + struct.success.add(_elem2264); } } struct.setSuccessIsSet(true); @@ -320305,13 +320305,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_packages_re case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2256 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2256.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2257; - for (int _i2258 = 0; _i2258 < _list2256.size; ++_i2258) + org.apache.thrift.protocol.TList _list2266 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2266.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2267; + for (int _i2268 = 0; _i2268 < _list2266.size; ++_i2268) { - _elem2257 = iprot.readString(); - struct.success.add(_elem2257); + _elem2267 = iprot.readString(); + struct.success.add(_elem2267); } iprot.readListEnd(); } @@ -320346,9 +320346,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_packages_r oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter2259 : struct.success) + for (java.lang.String _iter2269 : struct.success) { - oprot.writeString(_iter2259); + oprot.writeString(_iter2269); } oprot.writeListEnd(); } @@ -320387,9 +320387,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_packages_re if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter2260 : struct.success) + for (java.lang.String _iter2270 : struct.success) { - oprot.writeString(_iter2260); + oprot.writeString(_iter2270); } } } @@ -320404,13 +320404,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_packages_res java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2261 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.success = new java.util.ArrayList(_list2261.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem2262; - for (int _i2263 = 0; _i2263 < _list2261.size; ++_i2263) + org.apache.thrift.protocol.TList _list2271 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.success = new java.util.ArrayList(_list2271.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem2272; + for (int _i2273 = 0; _i2273 < _list2271.size; ++_i2273) { - _elem2262 = iprot.readString(); - struct.success.add(_elem2262); + _elem2272 = iprot.readString(); + struct.success.add(_elem2272); } } struct.setSuccessIsSet(true); @@ -321924,14 +321924,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_write_event case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2264 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list2264.size); - @org.apache.thrift.annotation.Nullable WriteEventInfo _elem2265; - for (int _i2266 = 0; _i2266 < _list2264.size; ++_i2266) + org.apache.thrift.protocol.TList _list2274 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list2274.size); + @org.apache.thrift.annotation.Nullable WriteEventInfo _elem2275; + for (int _i2276 = 0; _i2276 < _list2274.size; ++_i2276) { - _elem2265 = new WriteEventInfo(); - _elem2265.read(iprot); - struct.success.add(_elem2265); + _elem2275 = new WriteEventInfo(); + _elem2275.read(iprot); + struct.success.add(_elem2275); } iprot.readListEnd(); } @@ -321966,9 +321966,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_write_even oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (WriteEventInfo _iter2267 : struct.success) + for (WriteEventInfo _iter2277 : struct.success) { - _iter2267.write(oprot); + _iter2277.write(oprot); } oprot.writeListEnd(); } @@ -322007,9 +322007,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_write_event if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (WriteEventInfo _iter2268 : struct.success) + for (WriteEventInfo _iter2278 : struct.success) { - _iter2268.write(oprot); + _iter2278.write(oprot); } } } @@ -322024,14 +322024,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_write_event_ java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2269 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.success = new java.util.ArrayList(_list2269.size); - @org.apache.thrift.annotation.Nullable WriteEventInfo _elem2270; - for (int _i2271 = 0; _i2271 < _list2269.size; ++_i2271) + org.apache.thrift.protocol.TList _list2279 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.success = new java.util.ArrayList(_list2279.size); + @org.apache.thrift.annotation.Nullable WriteEventInfo _elem2280; + for (int _i2281 = 0; _i2281 < _list2279.size; ++_i2281) { - _elem2270 = new WriteEventInfo(); - _elem2270.read(iprot); - struct.success.add(_elem2270); + _elem2280 = new WriteEventInfo(); + _elem2280.read(iprot); + struct.success.add(_elem2280); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index 24d6ec981bef..d24867311196 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -733,14 +733,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 2: // POOLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1286 = iprot.readListBegin(); - struct.pools = new java.util.ArrayList(_list1286.size); - @org.apache.thrift.annotation.Nullable WMPool _elem1287; - for (int _i1288 = 0; _i1288 < _list1286.size; ++_i1288) + org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); + struct.pools = new java.util.ArrayList(_list1296.size); + @org.apache.thrift.annotation.Nullable WMPool _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1287 = new WMPool(); - _elem1287.read(iprot); - struct.pools.add(_elem1287); + _elem1297 = new WMPool(); + _elem1297.read(iprot); + struct.pools.add(_elem1297); } iprot.readListEnd(); } @@ -752,14 +752,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 3: // MAPPINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1289 = iprot.readListBegin(); - struct.mappings = new java.util.ArrayList(_list1289.size); - @org.apache.thrift.annotation.Nullable WMMapping _elem1290; - for (int _i1291 = 0; _i1291 < _list1289.size; ++_i1291) + org.apache.thrift.protocol.TList _list1299 = iprot.readListBegin(); + struct.mappings = new java.util.ArrayList(_list1299.size); + @org.apache.thrift.annotation.Nullable WMMapping _elem1300; + for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) { - _elem1290 = new WMMapping(); - _elem1290.read(iprot); - struct.mappings.add(_elem1290); + _elem1300 = new WMMapping(); + _elem1300.read(iprot); + struct.mappings.add(_elem1300); } iprot.readListEnd(); } @@ -771,14 +771,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 4: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1292 = iprot.readListBegin(); - struct.triggers = new java.util.ArrayList(_list1292.size); - @org.apache.thrift.annotation.Nullable WMTrigger _elem1293; - for (int _i1294 = 0; _i1294 < _list1292.size; ++_i1294) + org.apache.thrift.protocol.TList _list1302 = iprot.readListBegin(); + struct.triggers = new java.util.ArrayList(_list1302.size); + @org.apache.thrift.annotation.Nullable WMTrigger _elem1303; + for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) { - _elem1293 = new WMTrigger(); - _elem1293.read(iprot); - struct.triggers.add(_elem1293); + _elem1303 = new WMTrigger(); + _elem1303.read(iprot); + struct.triggers.add(_elem1303); } iprot.readListEnd(); } @@ -790,14 +790,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 5: // POOL_TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1295 = iprot.readListBegin(); - struct.poolTriggers = new java.util.ArrayList(_list1295.size); - @org.apache.thrift.annotation.Nullable WMPoolTrigger _elem1296; - for (int _i1297 = 0; _i1297 < _list1295.size; ++_i1297) + org.apache.thrift.protocol.TList _list1305 = iprot.readListBegin(); + struct.poolTriggers = new java.util.ArrayList(_list1305.size); + @org.apache.thrift.annotation.Nullable WMPoolTrigger _elem1306; + for (int _i1307 = 0; _i1307 < _list1305.size; ++_i1307) { - _elem1296 = new WMPoolTrigger(); - _elem1296.read(iprot); - struct.poolTriggers.add(_elem1296); + _elem1306 = new WMPoolTrigger(); + _elem1306.read(iprot); + struct.poolTriggers.add(_elem1306); } iprot.readListEnd(); } @@ -828,9 +828,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size())); - for (WMPool _iter1298 : struct.pools) + for (WMPool _iter1308 : struct.pools) { - _iter1298.write(oprot); + _iter1308.write(oprot); } oprot.writeListEnd(); } @@ -841,9 +841,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(MAPPINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size())); - for (WMMapping _iter1299 : struct.mappings) + for (WMMapping _iter1309 : struct.mappings) { - _iter1299.write(oprot); + _iter1309.write(oprot); } oprot.writeListEnd(); } @@ -855,9 +855,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter1300 : struct.triggers) + for (WMTrigger _iter1310 : struct.triggers) { - _iter1300.write(oprot); + _iter1310.write(oprot); } oprot.writeListEnd(); } @@ -869,9 +869,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size())); - for (WMPoolTrigger _iter1301 : struct.poolTriggers) + for (WMPoolTrigger _iter1311 : struct.poolTriggers) { - _iter1301.write(oprot); + _iter1311.write(oprot); } oprot.writeListEnd(); } @@ -898,9 +898,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter1302 : struct.pools) + for (WMPool _iter1312 : struct.pools) { - _iter1302.write(oprot); + _iter1312.write(oprot); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -917,27 +917,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter1303 : struct.mappings) + for (WMMapping _iter1313 : struct.mappings) { - _iter1303.write(oprot); + _iter1313.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter1304 : struct.triggers) + for (WMTrigger _iter1314 : struct.triggers) { - _iter1304.write(oprot); + _iter1314.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter1305 : struct.poolTriggers) + for (WMPoolTrigger _iter1315 : struct.poolTriggers) { - _iter1305.write(oprot); + _iter1315.write(oprot); } } } @@ -950,56 +950,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list1306 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.pools = new java.util.ArrayList(_list1306.size); - @org.apache.thrift.annotation.Nullable WMPool _elem1307; - for (int _i1308 = 0; _i1308 < _list1306.size; ++_i1308) + org.apache.thrift.protocol.TList _list1316 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.pools = new java.util.ArrayList(_list1316.size); + @org.apache.thrift.annotation.Nullable WMPool _elem1317; + for (int _i1318 = 0; _i1318 < _list1316.size; ++_i1318) { - _elem1307 = new WMPool(); - _elem1307.read(iprot); - struct.pools.add(_elem1307); + _elem1317 = new WMPool(); + _elem1317.read(iprot); + struct.pools.add(_elem1317); } } struct.setPoolsIsSet(true); java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1309 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.mappings = new java.util.ArrayList(_list1309.size); - @org.apache.thrift.annotation.Nullable WMMapping _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1319 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.mappings = new java.util.ArrayList(_list1319.size); + @org.apache.thrift.annotation.Nullable WMMapping _elem1320; + for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) { - _elem1310 = new WMMapping(); - _elem1310.read(iprot); - struct.mappings.add(_elem1310); + _elem1320 = new WMMapping(); + _elem1320.read(iprot); + struct.mappings.add(_elem1320); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.triggers = new java.util.ArrayList(_list1312.size); - @org.apache.thrift.annotation.Nullable WMTrigger _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1322 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.triggers = new java.util.ArrayList(_list1322.size); + @org.apache.thrift.annotation.Nullable WMTrigger _elem1323; + for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) { - _elem1313 = new WMTrigger(); - _elem1313.read(iprot); - struct.triggers.add(_elem1313); + _elem1323 = new WMTrigger(); + _elem1323.read(iprot); + struct.triggers.add(_elem1323); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1315 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.poolTriggers = new java.util.ArrayList(_list1315.size); - @org.apache.thrift.annotation.Nullable WMPoolTrigger _elem1316; - for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) + org.apache.thrift.protocol.TList _list1325 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.poolTriggers = new java.util.ArrayList(_list1325.size); + @org.apache.thrift.annotation.Nullable WMPoolTrigger _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1316 = new WMPoolTrigger(); - _elem1316.read(iprot); - struct.poolTriggers.add(_elem1316); + _elem1326 = new WMPoolTrigger(); + _elem1326.read(iprot); + struct.poolTriggers.add(_elem1326); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index 4991da5e9ea9..eb1297df1121 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -321,14 +321,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetAllResourcePla case 1: // RESOURCE_PLANS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1318 = iprot.readListBegin(); - struct.resourcePlans = new java.util.ArrayList(_list1318.size); - @org.apache.thrift.annotation.Nullable WMResourcePlan _elem1319; - for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.resourcePlans = new java.util.ArrayList(_list1328.size); + @org.apache.thrift.annotation.Nullable WMResourcePlan _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1319 = new WMResourcePlan(); - _elem1319.read(iprot); - struct.resourcePlans.add(_elem1319); + _elem1329 = new WMResourcePlan(); + _elem1329.read(iprot); + struct.resourcePlans.add(_elem1329); } iprot.readListEnd(); } @@ -355,9 +355,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetAllResourcePl oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size())); - for (WMResourcePlan _iter1321 : struct.resourcePlans) + for (WMResourcePlan _iter1331 : struct.resourcePlans) { - _iter1321.write(oprot); + _iter1331.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter1322 : struct.resourcePlans) + for (WMResourcePlan _iter1332 : struct.resourcePlans) { - _iter1322.write(oprot); + _iter1332.write(oprot); } } } @@ -403,14 +403,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1323 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.resourcePlans = new java.util.ArrayList(_list1323.size); - @org.apache.thrift.annotation.Nullable WMResourcePlan _elem1324; - for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) + org.apache.thrift.protocol.TList _list1333 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.resourcePlans = new java.util.ArrayList(_list1333.size); + @org.apache.thrift.annotation.Nullable WMResourcePlan _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1324 = new WMResourcePlan(); - _elem1324.read(iprot); - struct.resourcePlans.add(_elem1324); + _elem1334 = new WMResourcePlan(); + _elem1334.read(iprot); + struct.resourcePlans.add(_elem1334); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index d680e75e3b6c..8dabf4ca5f17 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -321,14 +321,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetTriggersForRes case 1: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); - struct.triggers = new java.util.ArrayList(_list1342.size); - @org.apache.thrift.annotation.Nullable WMTrigger _elem1343; - for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) + org.apache.thrift.protocol.TList _list1352 = iprot.readListBegin(); + struct.triggers = new java.util.ArrayList(_list1352.size); + @org.apache.thrift.annotation.Nullable WMTrigger _elem1353; + for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) { - _elem1343 = new WMTrigger(); - _elem1343.read(iprot); - struct.triggers.add(_elem1343); + _elem1353 = new WMTrigger(); + _elem1353.read(iprot); + struct.triggers.add(_elem1353); } iprot.readListEnd(); } @@ -355,9 +355,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetTriggersForRe oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter1345 : struct.triggers) + for (WMTrigger _iter1355 : struct.triggers) { - _iter1345.write(oprot); + _iter1355.write(oprot); } oprot.writeListEnd(); } @@ -389,9 +389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter1346 : struct.triggers) + for (WMTrigger _iter1356 : struct.triggers) { - _iter1346.write(oprot); + _iter1356.write(oprot); } } } @@ -403,14 +403,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1347 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.triggers = new java.util.ArrayList(_list1347.size); - @org.apache.thrift.annotation.Nullable WMTrigger _elem1348; - for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) + org.apache.thrift.protocol.TList _list1357 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.triggers = new java.util.ArrayList(_list1357.size); + @org.apache.thrift.annotation.Nullable WMTrigger _elem1358; + for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) { - _elem1348 = new WMTrigger(); - _elem1348.read(iprot); - struct.triggers.add(_elem1348); + _elem1358 = new WMTrigger(); + _elem1358.read(iprot); + struct.triggers.add(_elem1358); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index 1f303c183994..636920f59966 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -417,13 +417,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 1: // ERRORS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1326 = iprot.readListBegin(); - struct.errors = new java.util.ArrayList(_list1326.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1327; - for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.errors = new java.util.ArrayList(_list1336.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1327 = iprot.readString(); - struct.errors.add(_elem1327); + _elem1337 = iprot.readString(); + struct.errors.add(_elem1337); } iprot.readListEnd(); } @@ -435,13 +435,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 2: // WARNINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1329 = iprot.readListBegin(); - struct.warnings = new java.util.ArrayList(_list1329.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1330; - for (int _i1331 = 0; _i1331 < _list1329.size; ++_i1331) + org.apache.thrift.protocol.TList _list1339 = iprot.readListBegin(); + struct.warnings = new java.util.ArrayList(_list1339.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1340; + for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) { - _elem1330 = iprot.readString(); - struct.warnings.add(_elem1330); + _elem1340 = iprot.readString(); + struct.warnings.add(_elem1340); } iprot.readListEnd(); } @@ -468,9 +468,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(ERRORS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size())); - for (java.lang.String _iter1332 : struct.errors) + for (java.lang.String _iter1342 : struct.errors) { - oprot.writeString(_iter1332); + oprot.writeString(_iter1342); } oprot.writeListEnd(); } @@ -482,9 +482,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(WARNINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.warnings.size())); - for (java.lang.String _iter1333 : struct.warnings) + for (java.lang.String _iter1343 : struct.warnings) { - oprot.writeString(_iter1333); + oprot.writeString(_iter1343); } oprot.writeListEnd(); } @@ -519,18 +519,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (java.lang.String _iter1334 : struct.errors) + for (java.lang.String _iter1344 : struct.errors) { - oprot.writeString(_iter1334); + oprot.writeString(_iter1344); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (java.lang.String _iter1335 : struct.warnings) + for (java.lang.String _iter1345 : struct.warnings) { - oprot.writeString(_iter1335); + oprot.writeString(_iter1345); } } } @@ -542,26 +542,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.errors = new java.util.ArrayList(_list1336.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1346 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.errors = new java.util.ArrayList(_list1346.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1347; + for (int _i1348 = 0; _i1348 < _list1346.size; ++_i1348) { - _elem1337 = iprot.readString(); - struct.errors.add(_elem1337); + _elem1347 = iprot.readString(); + struct.errors.add(_elem1347); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1339 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.warnings = new java.util.ArrayList(_list1339.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1340; - for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) + org.apache.thrift.protocol.TList _list1349 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.warnings = new java.util.ArrayList(_list1349.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1340 = iprot.readString(); - struct.warnings.add(_elem1340); + _elem1350 = iprot.readString(); + struct.warnings.add(_elem1350); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogBatchRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogBatchRequest.java index df63b2795dfc..c188202b2af8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogBatchRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogBatchRequest.java @@ -608,14 +608,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WriteNotificationLo case 4: // REQUEST_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1114 = iprot.readListBegin(); - struct.requestList = new java.util.ArrayList(_list1114.size); - @org.apache.thrift.annotation.Nullable WriteNotificationLogRequest _elem1115; - for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) + org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); + struct.requestList = new java.util.ArrayList(_list1124.size); + @org.apache.thrift.annotation.Nullable WriteNotificationLogRequest _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) { - _elem1115 = new WriteNotificationLogRequest(); - _elem1115.read(iprot); - struct.requestList.add(_elem1115); + _elem1125 = new WriteNotificationLogRequest(); + _elem1125.read(iprot); + struct.requestList.add(_elem1125); } iprot.readListEnd(); } @@ -656,9 +656,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WriteNotificationL oprot.writeFieldBegin(REQUEST_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.requestList.size())); - for (WriteNotificationLogRequest _iter1117 : struct.requestList) + for (WriteNotificationLogRequest _iter1127 : struct.requestList) { - _iter1117.write(oprot); + _iter1127.write(oprot); } oprot.writeListEnd(); } @@ -686,9 +686,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLo oprot.writeString(struct.table); { oprot.writeI32(struct.requestList.size()); - for (WriteNotificationLogRequest _iter1118 : struct.requestList) + for (WriteNotificationLogRequest _iter1128 : struct.requestList) { - _iter1118.write(oprot); + _iter1128.write(oprot); } } } @@ -703,14 +703,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLog struct.table = iprot.readString(); struct.setTableIsSet(true); { - org.apache.thrift.protocol.TList _list1119 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.requestList = new java.util.ArrayList(_list1119.size); - @org.apache.thrift.annotation.Nullable WriteNotificationLogRequest _elem1120; - for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) + org.apache.thrift.protocol.TList _list1129 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); + struct.requestList = new java.util.ArrayList(_list1129.size); + @org.apache.thrift.annotation.Nullable WriteNotificationLogRequest _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1120 = new WriteNotificationLogRequest(); - _elem1120.read(iprot); - struct.requestList.add(_elem1120); + _elem1130 = new WriteNotificationLogRequest(); + _elem1130.read(iprot); + struct.requestList.add(_elem1130); } } struct.setRequestListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java index 2bd86117ce7c..fb5e59cb17df 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java @@ -782,13 +782,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WriteNotificationLo case 6: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); - struct.partitionVals = new java.util.ArrayList(_list1106.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1107; - for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) + org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); + struct.partitionVals = new java.util.ArrayList(_list1116.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1117; + for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) { - _elem1107 = iprot.readString(); - struct.partitionVals.add(_elem1107); + _elem1117 = iprot.readString(); + struct.partitionVals.add(_elem1117); } iprot.readListEnd(); } @@ -836,9 +836,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WriteNotificationL oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (java.lang.String _iter1109 : struct.partitionVals) + for (java.lang.String _iter1119 : struct.partitionVals) { - oprot.writeString(_iter1109); + oprot.writeString(_iter1119); } oprot.writeListEnd(); } @@ -875,9 +875,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLo if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (java.lang.String _iter1110 : struct.partitionVals) + for (java.lang.String _iter1120 : struct.partitionVals) { - oprot.writeString(_iter1110); + oprot.writeString(_iter1120); } } } @@ -900,13 +900,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLog java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1111 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.partitionVals = new java.util.ArrayList(_list1111.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1112; - for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) + org.apache.thrift.protocol.TList _list1121 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); + struct.partitionVals = new java.util.ArrayList(_list1121.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1112 = iprot.readString(); - struct.partitionVals.add(_elem1112); + _elem1122 = iprot.readString(); + struct.partitionVals.add(_elem1122); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactResponse.php index e12f9066a622..6f5cb88b86d2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactResponse.php @@ -73,17 +73,17 @@ public function read($input) case 1: if ($ftype == TType::MAP) { $this->abortedcompacts = array(); - $_size839 = 0; - $_ktype840 = 0; - $_vtype841 = 0; - $xfer += $input->readMapBegin($_ktype840, $_vtype841, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) { - $key844 = 0; - $val845 = new \metastore\AbortCompactionResponseElement(); - $xfer += $input->readI64($key844); - $val845 = new \metastore\AbortCompactionResponseElement(); - $xfer += $val845->read($input); - $this->abortedcompacts[$key844] = $val845; + $_size848 = 0; + $_ktype849 = 0; + $_vtype850 = 0; + $xfer += $input->readMapBegin($_ktype849, $_vtype850, $_size848); + for ($_i852 = 0; $_i852 < $_size848; ++$_i852) { + $key853 = 0; + $val854 = new \metastore\AbortCompactionResponseElement(); + $xfer += $input->readI64($key853); + $val854 = new \metastore\AbortCompactionResponseElement(); + $xfer += $val854->read($input); + $this->abortedcompacts[$key853] = $val854; } $xfer += $input->readMapEnd(); } else { @@ -110,9 +110,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('abortedcompacts', TType::MAP, 1); $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->abortedcompacts)); - foreach ($this->abortedcompacts as $kiter846 => $viter847) { - $xfer += $output->writeI64($kiter846); - $xfer += $viter847->write($output); + foreach ($this->abortedcompacts as $kiter855 => $viter856) { + $xfer += $output->writeI64($kiter855); + $xfer += $viter856->write($output); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactionRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactionRequest.php index 0ad7e2854971..ff412cd2fd80 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactionRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AbortCompactionRequest.php @@ -92,13 +92,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->compactionIds = array(); - $_size832 = 0; - $_etype835 = 0; - $xfer += $input->readListBegin($_etype835, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) { - $elem837 = null; - $xfer += $input->readI64($elem837); - $this->compactionIds []= $elem837; + $_size841 = 0; + $_etype844 = 0; + $xfer += $input->readListBegin($_etype844, $_size841); + for ($_i845 = 0; $_i845 < $_size841; ++$_i845) { + $elem846 = null; + $xfer += $input->readI64($elem846); + $this->compactionIds []= $elem846; } $xfer += $input->readListEnd(); } else { @@ -139,8 +139,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('compactionIds', TType::LST, 1); $output->writeListBegin(TType::I64, count($this->compactionIds)); - foreach ($this->compactionIds as $iter838) { - $xfer += $output->writeI64($iter838); + foreach ($this->compactionIds as $iter847) { + $xfer += $output->writeI64($iter847); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AddDynamicPartitions.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AddDynamicPartitions.php index 109fe6704d36..cae2a6cf901a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AddDynamicPartitions.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AddDynamicPartitions.php @@ -157,13 +157,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size862 = 0; - $_etype865 = 0; - $xfer += $input->readListBegin($_etype865, $_size862); - for ($_i866 = 0; $_i866 < $_size862; ++$_i866) { - $elem867 = null; - $xfer += $input->readString($elem867); - $this->partitionnames []= $elem867; + $_size871 = 0; + $_etype874 = 0; + $xfer += $input->readListBegin($_etype874, $_size871); + for ($_i875 = 0; $_i875 < $_size871; ++$_i875) { + $elem876 = null; + $xfer += $input->readString($elem876); + $this->partitionnames []= $elem876; } $xfer += $input->readListEnd(); } else { @@ -217,8 +217,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionnames', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->partitionnames)); - foreach ($this->partitionnames as $iter868) { - $xfer += $output->writeString($iter868); + foreach ($this->partitionnames as $iter877) { + $xfer += $output->writeString($iter877); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterPartitionsRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterPartitionsRequest.php index 66552041c455..ac194efc9a24 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterPartitionsRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterPartitionsRequest.php @@ -192,14 +192,14 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->partitions = array(); - $_size1262 = 0; - $_etype1265 = 0; - $xfer += $input->readListBegin($_etype1265, $_size1262); - for ($_i1266 = 0; $_i1266 < $_size1262; ++$_i1266) { - $elem1267 = null; - $elem1267 = new \metastore\Partition(); - $xfer += $elem1267->read($input); - $this->partitions []= $elem1267; + $_size1271 = 0; + $_etype1274 = 0; + $xfer += $input->readListBegin($_etype1274, $_size1271); + for ($_i1275 = 0; $_i1275 < $_size1271; ++$_i1275) { + $elem1276 = null; + $elem1276 = new \metastore\Partition(); + $xfer += $elem1276->read($input); + $this->partitions []= $elem1276; } $xfer += $input->readListEnd(); } else { @@ -238,14 +238,14 @@ public function read($input) case 9: if ($ftype == TType::LST) { $this->partitionColSchema = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1273 = null; - $elem1273 = new \metastore\FieldSchema(); - $xfer += $elem1273->read($input); - $this->partitionColSchema []= $elem1273; + $_size1277 = 0; + $_etype1280 = 0; + $xfer += $input->readListBegin($_etype1280, $_size1277); + for ($_i1281 = 0; $_i1281 < $_size1277; ++$_i1281) { + $elem1282 = null; + $elem1282 = new \metastore\FieldSchema(); + $xfer += $elem1282->read($input); + $this->partitionColSchema []= $elem1282; } $xfer += $input->readListEnd(); } else { @@ -287,8 +287,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitions', TType::LST, 4); $output->writeListBegin(TType::STRUCT, count($this->partitions)); - foreach ($this->partitions as $iter1274) { - $xfer += $iter1274->write($output); + foreach ($this->partitions as $iter1283) { + $xfer += $iter1283->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -322,8 +322,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionColSchema', TType::LST, 9); $output->writeListBegin(TType::STRUCT, count($this->partitionColSchema)); - foreach ($this->partitionColSchema as $iter1275) { - $xfer += $iter1275->write($output); + foreach ($this->partitionColSchema as $iter1284) { + $xfer += $iter1284->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterTableRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterTableRequest.php index 75386dd59a3b..deadcbfd4401 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterTableRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AlterTableRequest.php @@ -241,13 +241,13 @@ public function read($input) case 8: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1290 = 0; - $_etype1293 = 0; - $xfer += $input->readListBegin($_etype1293, $_size1290); - for ($_i1294 = 0; $_i1294 < $_size1290; ++$_i1294) { - $elem1295 = null; - $xfer += $input->readString($elem1295); - $this->processorCapabilities []= $elem1295; + $_size1299 = 0; + $_etype1302 = 0; + $xfer += $input->readListBegin($_etype1302, $_size1299); + for ($_i1303 = 0; $_i1303 < $_size1299; ++$_i1303) { + $elem1304 = null; + $xfer += $input->readString($elem1304); + $this->processorCapabilities []= $elem1304; } $xfer += $input->readListEnd(); } else { @@ -336,8 +336,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 8); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1296) { - $xfer += $output->writeString($iter1296); + foreach ($this->processorCapabilities as $iter1305) { + $xfer += $output->writeString($iter1305); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AppendPartitionsRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AppendPartitionsRequest.php index 709f0592b7ae..71b5208e8845 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AppendPartitionsRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/AppendPartitionsRequest.php @@ -157,13 +157,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->partVals = array(); - $_size1276 = 0; - $_etype1279 = 0; - $xfer += $input->readListBegin($_etype1279, $_size1276); - for ($_i1280 = 0; $_i1280 < $_size1276; ++$_i1280) { - $elem1281 = null; - $xfer += $input->readString($elem1281); - $this->partVals []= $elem1281; + $_size1285 = 0; + $_etype1288 = 0; + $xfer += $input->readListBegin($_etype1288, $_size1285); + for ($_i1289 = 0; $_i1289 < $_size1285; ++$_i1289) { + $elem1290 = null; + $xfer += $input->readString($elem1290); + $this->partVals []= $elem1290; } $xfer += $input->readListEnd(); } else { @@ -218,8 +218,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partVals', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->partVals)); - foreach ($this->partVals as $iter1282) { - $xfer += $output->writeString($iter1282); + foreach ($this->partVals as $iter1291) { + $xfer += $output->writeString($iter1291); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClearFileMetadataRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClearFileMetadataRequest.php index 6393af5595e2..be4747d69a92 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClearFileMetadataRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClearFileMetadataRequest.php @@ -68,13 +68,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size1036 = 0; - $_etype1039 = 0; - $xfer += $input->readListBegin($_etype1039, $_size1036); - for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) { - $elem1041 = null; - $xfer += $input->readI64($elem1041); - $this->fileIds []= $elem1041; + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { + $elem1050 = null; + $xfer += $input->readI64($elem1050); + $this->fileIds []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fileIds', TType::LST, 1); $output->writeListBegin(TType::I64, count($this->fileIds)); - foreach ($this->fileIds as $iter1042) { - $xfer += $output->writeI64($iter1042); + foreach ($this->fileIds as $iter1051) { + $xfer += $output->writeI64($iter1051); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClientCapabilities.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClientCapabilities.php index 7d830c7b97f3..b7aafe3143de 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClientCapabilities.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ClientCapabilities.php @@ -69,13 +69,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size1050 = 0; - $_etype1053 = 0; - $xfer += $input->readListBegin($_etype1053, $_size1050); - for ($_i1054 = 0; $_i1054 < $_size1050; ++$_i1054) { - $elem1055 = null; - $xfer += $input->readI32($elem1055); - $this->values []= $elem1055; + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { + $elem1064 = null; + $xfer += $input->readI32($elem1064); + $this->values []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -102,8 +102,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('values', TType::LST, 1); $output->writeListBegin(TType::I32, count($this->values)); - foreach ($this->values as $iter1056) { - $xfer += $output->writeI32($iter1056); + foreach ($this->values as $iter1065) { + $xfer += $output->writeI32($iter1065); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CompactionRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CompactionRequest.php index cf1f0c535298..2625552184f4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CompactionRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CompactionRequest.php @@ -228,16 +228,16 @@ public function read($input) case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size816 = 0; - $_ktype817 = 0; - $_vtype818 = 0; - $xfer += $input->readMapBegin($_ktype817, $_vtype818, $_size816); - for ($_i820 = 0; $_i820 < $_size816; ++$_i820) { - $key821 = ''; - $val822 = ''; - $xfer += $input->readString($key821); - $xfer += $input->readString($val822); - $this->properties[$key821] = $val822; + $_size825 = 0; + $_ktype826 = 0; + $_vtype827 = 0; + $xfer += $input->readMapBegin($_ktype826, $_vtype827, $_size825); + for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { + $key830 = ''; + $val831 = ''; + $xfer += $input->readString($key830); + $xfer += $input->readString($val831); + $this->properties[$key830] = $val831; } $xfer += $input->readMapEnd(); } else { @@ -324,9 +324,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('properties', TType::MAP, 6); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); - foreach ($this->properties as $kiter823 => $viter824) { - $xfer += $output->writeString($kiter823); - $xfer += $output->writeString($viter824); + foreach ($this->properties as $kiter832 => $viter833) { + $xfer += $output->writeString($kiter832); + $xfer += $output->writeString($viter833); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateDatabaseRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateDatabaseRequest.php index d987d5678cce..663e3d6e048e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateDatabaseRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateDatabaseRequest.php @@ -240,16 +240,16 @@ public function read($input) case 4: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size1253 = 0; - $_ktype1254 = 0; - $_vtype1255 = 0; - $xfer += $input->readMapBegin($_ktype1254, $_vtype1255, $_size1253); - for ($_i1257 = 0; $_i1257 < $_size1253; ++$_i1257) { - $key1258 = ''; - $val1259 = ''; - $xfer += $input->readString($key1258); - $xfer += $input->readString($val1259); - $this->parameters[$key1258] = $val1259; + $_size1262 = 0; + $_ktype1263 = 0; + $_vtype1264 = 0; + $xfer += $input->readMapBegin($_ktype1263, $_vtype1264, $_size1262); + for ($_i1266 = 0; $_i1266 < $_size1262; ++$_i1266) { + $key1267 = ''; + $val1268 = ''; + $xfer += $input->readString($key1267); + $xfer += $input->readString($val1268); + $this->parameters[$key1267] = $val1268; } $xfer += $input->readMapEnd(); } else { @@ -355,9 +355,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('parameters', TType::MAP, 4); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); - foreach ($this->parameters as $kiter1260 => $viter1261) { - $xfer += $output->writeString($kiter1260); - $xfer += $output->writeString($viter1261); + foreach ($this->parameters as $kiter1269 => $viter1270) { + $xfer += $output->writeString($kiter1269); + $xfer += $output->writeString($viter1270); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateTableRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateTableRequest.php index 0b9980733bb8..be5bc4804db4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateTableRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/CreateTableRequest.php @@ -224,14 +224,14 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size1204 = 0; - $_etype1207 = 0; - $xfer += $input->readListBegin($_etype1207, $_size1204); - for ($_i1208 = 0; $_i1208 < $_size1204; ++$_i1208) { - $elem1209 = null; - $elem1209 = new \metastore\SQLPrimaryKey(); - $xfer += $elem1209->read($input); - $this->primaryKeys []= $elem1209; + $_size1213 = 0; + $_etype1216 = 0; + $xfer += $input->readListBegin($_etype1216, $_size1213); + for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) { + $elem1218 = null; + $elem1218 = new \metastore\SQLPrimaryKey(); + $xfer += $elem1218->read($input); + $this->primaryKeys []= $elem1218; } $xfer += $input->readListEnd(); } else { @@ -241,14 +241,14 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size1210 = 0; - $_etype1213 = 0; - $xfer += $input->readListBegin($_etype1213, $_size1210); - for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $elem1215 = null; - $elem1215 = new \metastore\SQLForeignKey(); - $xfer += $elem1215->read($input); - $this->foreignKeys []= $elem1215; + $_size1219 = 0; + $_etype1222 = 0; + $xfer += $input->readListBegin($_etype1222, $_size1219); + for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) { + $elem1224 = null; + $elem1224 = new \metastore\SQLForeignKey(); + $xfer += $elem1224->read($input); + $this->foreignKeys []= $elem1224; } $xfer += $input->readListEnd(); } else { @@ -258,14 +258,14 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size1216 = 0; - $_etype1219 = 0; - $xfer += $input->readListBegin($_etype1219, $_size1216); - for ($_i1220 = 0; $_i1220 < $_size1216; ++$_i1220) { - $elem1221 = null; - $elem1221 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem1221->read($input); - $this->uniqueConstraints []= $elem1221; + $_size1225 = 0; + $_etype1228 = 0; + $xfer += $input->readListBegin($_etype1228, $_size1225); + for ($_i1229 = 0; $_i1229 < $_size1225; ++$_i1229) { + $elem1230 = null; + $elem1230 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem1230->read($input); + $this->uniqueConstraints []= $elem1230; } $xfer += $input->readListEnd(); } else { @@ -275,14 +275,14 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size1222 = 0; - $_etype1225 = 0; - $xfer += $input->readListBegin($_etype1225, $_size1222); - for ($_i1226 = 0; $_i1226 < $_size1222; ++$_i1226) { - $elem1227 = null; - $elem1227 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem1227->read($input); - $this->notNullConstraints []= $elem1227; + $_size1231 = 0; + $_etype1234 = 0; + $xfer += $input->readListBegin($_etype1234, $_size1231); + for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) { + $elem1236 = null; + $elem1236 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem1236->read($input); + $this->notNullConstraints []= $elem1236; } $xfer += $input->readListEnd(); } else { @@ -292,14 +292,14 @@ public function read($input) case 7: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size1228 = 0; - $_etype1231 = 0; - $xfer += $input->readListBegin($_etype1231, $_size1228); - for ($_i1232 = 0; $_i1232 < $_size1228; ++$_i1232) { - $elem1233 = null; - $elem1233 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem1233->read($input); - $this->defaultConstraints []= $elem1233; + $_size1237 = 0; + $_etype1240 = 0; + $xfer += $input->readListBegin($_etype1240, $_size1237); + for ($_i1241 = 0; $_i1241 < $_size1237; ++$_i1241) { + $elem1242 = null; + $elem1242 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem1242->read($input); + $this->defaultConstraints []= $elem1242; } $xfer += $input->readListEnd(); } else { @@ -309,14 +309,14 @@ public function read($input) case 8: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size1234 = 0; - $_etype1237 = 0; - $xfer += $input->readListBegin($_etype1237, $_size1234); - for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) { - $elem1239 = null; - $elem1239 = new \metastore\SQLCheckConstraint(); - $xfer += $elem1239->read($input); - $this->checkConstraints []= $elem1239; + $_size1243 = 0; + $_etype1246 = 0; + $xfer += $input->readListBegin($_etype1246, $_size1243); + for ($_i1247 = 0; $_i1247 < $_size1243; ++$_i1247) { + $elem1248 = null; + $elem1248 = new \metastore\SQLCheckConstraint(); + $xfer += $elem1248->read($input); + $this->checkConstraints []= $elem1248; } $xfer += $input->readListEnd(); } else { @@ -326,13 +326,13 @@ public function read($input) case 9: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1240 = 0; - $_etype1243 = 0; - $xfer += $input->readListBegin($_etype1243, $_size1240); - for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) { - $elem1245 = null; - $xfer += $input->readString($elem1245); - $this->processorCapabilities []= $elem1245; + $_size1249 = 0; + $_etype1252 = 0; + $xfer += $input->readListBegin($_etype1252, $_size1249); + for ($_i1253 = 0; $_i1253 < $_size1249; ++$_i1253) { + $elem1254 = null; + $xfer += $input->readString($elem1254); + $this->processorCapabilities []= $elem1254; } $xfer += $input->readListEnd(); } else { @@ -382,8 +382,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('primaryKeys', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); - foreach ($this->primaryKeys as $iter1246) { - $xfer += $iter1246->write($output); + foreach ($this->primaryKeys as $iter1255) { + $xfer += $iter1255->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -394,8 +394,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('foreignKeys', TType::LST, 4); $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); - foreach ($this->foreignKeys as $iter1247) { - $xfer += $iter1247->write($output); + foreach ($this->foreignKeys as $iter1256) { + $xfer += $iter1256->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -406,8 +406,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('uniqueConstraints', TType::LST, 5); $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); - foreach ($this->uniqueConstraints as $iter1248) { - $xfer += $iter1248->write($output); + foreach ($this->uniqueConstraints as $iter1257) { + $xfer += $iter1257->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -418,8 +418,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('notNullConstraints', TType::LST, 6); $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); - foreach ($this->notNullConstraints as $iter1249) { - $xfer += $iter1249->write($output); + foreach ($this->notNullConstraints as $iter1258) { + $xfer += $iter1258->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -430,8 +430,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('defaultConstraints', TType::LST, 7); $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); - foreach ($this->defaultConstraints as $iter1250) { - $xfer += $iter1250->write($output); + foreach ($this->defaultConstraints as $iter1259) { + $xfer += $iter1259->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -442,8 +442,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('checkConstraints', TType::LST, 8); $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); - foreach ($this->checkConstraints as $iter1251) { - $xfer += $iter1251->write($output); + foreach ($this->checkConstraints as $iter1260) { + $xfer += $iter1260->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -454,8 +454,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 9); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1252) { - $xfer += $output->writeString($iter1252); + foreach ($this->processorCapabilities as $iter1261) { + $xfer += $output->writeString($iter1261); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/DeleteColumnStatisticsRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/DeleteColumnStatisticsRequest.php index 5ec776df24fc..7c9e7519d2c1 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/DeleteColumnStatisticsRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/DeleteColumnStatisticsRequest.php @@ -165,13 +165,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->part_names = array(); - $_size1409 = 0; - $_etype1412 = 0; - $xfer += $input->readListBegin($_etype1412, $_size1409); - for ($_i1413 = 0; $_i1413 < $_size1409; ++$_i1413) { - $elem1414 = null; - $xfer += $input->readString($elem1414); - $this->part_names []= $elem1414; + $_size1418 = 0; + $_etype1421 = 0; + $xfer += $input->readListBegin($_etype1421, $_size1418); + for ($_i1422 = 0; $_i1422 < $_size1418; ++$_i1422) { + $elem1423 = null; + $xfer += $input->readString($elem1423); + $this->part_names []= $elem1423; } $xfer += $input->readListEnd(); } else { @@ -181,13 +181,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->col_names = array(); - $_size1415 = 0; - $_etype1418 = 0; - $xfer += $input->readListBegin($_etype1418, $_size1415); - for ($_i1419 = 0; $_i1419 < $_size1415; ++$_i1419) { - $elem1420 = null; - $xfer += $input->readString($elem1420); - $this->col_names []= $elem1420; + $_size1424 = 0; + $_etype1427 = 0; + $xfer += $input->readListBegin($_etype1427, $_size1424); + for ($_i1428 = 0; $_i1428 < $_size1424; ++$_i1428) { + $elem1429 = null; + $xfer += $input->readString($elem1429); + $this->col_names []= $elem1429; } $xfer += $input->readListEnd(); } else { @@ -243,8 +243,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_names', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->part_names)); - foreach ($this->part_names as $iter1421) { - $xfer += $output->writeString($iter1421); + foreach ($this->part_names as $iter1430) { + $xfer += $output->writeString($iter1430); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -255,8 +255,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('col_names', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->col_names)); - foreach ($this->col_names as $iter1422) { - $xfer += $output->writeString($iter1422); + foreach ($this->col_names as $iter1431) { + $xfer += $output->writeString($iter1431); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ExtendedTableInfo.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ExtendedTableInfo.php index d30fa11bb4e7..0b3bb087aba7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ExtendedTableInfo.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ExtendedTableInfo.php @@ -122,13 +122,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->requiredReadCapabilities = array(); - $_size1099 = 0; - $_etype1102 = 0; - $xfer += $input->readListBegin($_etype1102, $_size1099); - for ($_i1103 = 0; $_i1103 < $_size1099; ++$_i1103) { - $elem1104 = null; - $xfer += $input->readString($elem1104); - $this->requiredReadCapabilities []= $elem1104; + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { + $elem1113 = null; + $xfer += $input->readString($elem1113); + $this->requiredReadCapabilities []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -138,13 +138,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->requiredWriteCapabilities = array(); - $_size1105 = 0; - $_etype1108 = 0; - $xfer += $input->readListBegin($_etype1108, $_size1105); - for ($_i1109 = 0; $_i1109 < $_size1105; ++$_i1109) { - $elem1110 = null; - $xfer += $input->readString($elem1110); - $this->requiredWriteCapabilities []= $elem1110; + $_size1114 = 0; + $_etype1117 = 0; + $xfer += $input->readListBegin($_etype1117, $_size1114); + for ($_i1118 = 0; $_i1118 < $_size1114; ++$_i1118) { + $elem1119 = null; + $xfer += $input->readString($elem1119); + $this->requiredWriteCapabilities []= $elem1119; } $xfer += $input->readListEnd(); } else { @@ -181,8 +181,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('requiredReadCapabilities', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->requiredReadCapabilities)); - foreach ($this->requiredReadCapabilities as $iter1111) { - $xfer += $output->writeString($iter1111); + foreach ($this->requiredReadCapabilities as $iter1120) { + $xfer += $output->writeString($iter1120); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -193,8 +193,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('requiredWriteCapabilities', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->requiredWriteCapabilities)); - foreach ($this->requiredWriteCapabilities as $iter1112) { - $xfer += $output->writeString($iter1112); + foreach ($this->requiredWriteCapabilities as $iter1121) { + $xfer += $output->writeString($iter1121); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FindSchemasByColsResp.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FindSchemasByColsResp.php index 64ef999f1729..fc29d1dbb39b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FindSchemasByColsResp.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FindSchemasByColsResp.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size1197 = 0; - $_etype1200 = 0; - $xfer += $input->readListBegin($_etype1200, $_size1197); - for ($_i1201 = 0; $_i1201 < $_size1197; ++$_i1201) { - $elem1202 = null; - $elem1202 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem1202->read($input); - $this->schemaVersions []= $elem1202; + $_size1206 = 0; + $_etype1209 = 0; + $xfer += $input->readListBegin($_etype1209, $_size1206); + for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) { + $elem1211 = null; + $elem1211 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem1211->read($input); + $this->schemaVersions []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('schemaVersions', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); - foreach ($this->schemaVersions as $iter1203) { - $xfer += $iter1203->write($output); + foreach ($this->schemaVersions as $iter1212) { + $xfer += $iter1212->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequest.php index 660f06a5bf9e..8adc93ed1260 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequest.php @@ -198,13 +198,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size939 = 0; - $_etype942 = 0; - $xfer += $input->readListBegin($_etype942, $_size939); - for ($_i943 = 0; $_i943 < $_size939; ++$_i943) { - $elem944 = null; - $xfer += $input->readString($elem944); - $this->partitionVals []= $elem944; + $_size948 = 0; + $_etype951 = 0; + $xfer += $input->readListBegin($_etype951, $_size948); + for ($_i952 = 0; $_i952 < $_size948; ++$_i952) { + $elem953 = null; + $xfer += $input->readString($elem953); + $this->partitionVals []= $elem953; } $xfer += $input->readListEnd(); } else { @@ -221,16 +221,16 @@ public function read($input) case 7: if ($ftype == TType::MAP) { $this->tblParams = array(); - $_size945 = 0; - $_ktype946 = 0; - $_vtype947 = 0; - $xfer += $input->readMapBegin($_ktype946, $_vtype947, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) { - $key950 = ''; - $val951 = ''; - $xfer += $input->readString($key950); - $xfer += $input->readString($val951); - $this->tblParams[$key950] = $val951; + $_size954 = 0; + $_ktype955 = 0; + $_vtype956 = 0; + $xfer += $input->readMapBegin($_ktype955, $_vtype956, $_size954); + for ($_i958 = 0; $_i958 < $_size954; ++$_i958) { + $key959 = ''; + $val960 = ''; + $xfer += $input->readString($key959); + $xfer += $input->readString($val960); + $this->tblParams[$key959] = $val960; } $xfer += $input->readMapEnd(); } else { @@ -240,22 +240,22 @@ public function read($input) case 8: if ($ftype == TType::LST) { $this->batchPartitionValsForRefresh = array(); - $_size952 = 0; - $_etype955 = 0; - $xfer += $input->readListBegin($_etype955, $_size952); - for ($_i956 = 0; $_i956 < $_size952; ++$_i956) { - $elem957 = null; - $elem957 = array(); - $_size958 = 0; - $_etype961 = 0; - $xfer += $input->readListBegin($_etype961, $_size958); - for ($_i962 = 0; $_i962 < $_size958; ++$_i962) { - $elem963 = null; - $xfer += $input->readString($elem963); - $elem957 []= $elem963; + $_size961 = 0; + $_etype964 = 0; + $xfer += $input->readListBegin($_etype964, $_size961); + for ($_i965 = 0; $_i965 < $_size961; ++$_i965) { + $elem966 = null; + $elem966 = array(); + $_size967 = 0; + $_etype970 = 0; + $xfer += $input->readListBegin($_etype970, $_size967); + for ($_i971 = 0; $_i971 < $_size967; ++$_i971) { + $elem972 = null; + $xfer += $input->readString($elem972); + $elem966 []= $elem972; } $xfer += $input->readListEnd(); - $this->batchPartitionValsForRefresh []= $elem957; + $this->batchPartitionValsForRefresh []= $elem966; } $xfer += $input->readListEnd(); } else { @@ -305,8 +305,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionVals', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->partitionVals)); - foreach ($this->partitionVals as $iter964) { - $xfer += $output->writeString($iter964); + foreach ($this->partitionVals as $iter973) { + $xfer += $output->writeString($iter973); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -322,9 +322,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('tblParams', TType::MAP, 7); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->tblParams)); - foreach ($this->tblParams as $kiter965 => $viter966) { - $xfer += $output->writeString($kiter965); - $xfer += $output->writeString($viter966); + foreach ($this->tblParams as $kiter974 => $viter975) { + $xfer += $output->writeString($kiter974); + $xfer += $output->writeString($viter975); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); @@ -335,10 +335,10 @@ public function write($output) } $xfer += $output->writeFieldBegin('batchPartitionValsForRefresh', TType::LST, 8); $output->writeListBegin(TType::LST, count($this->batchPartitionValsForRefresh)); - foreach ($this->batchPartitionValsForRefresh as $iter967) { - $output->writeListBegin(TType::STRING, count($iter967)); - foreach ($iter967 as $iter968) { - $xfer += $output->writeString($iter968); + foreach ($this->batchPartitionValsForRefresh as $iter976) { + $output->writeListBegin(TType::STRING, count($iter976)); + foreach ($iter976 as $iter977) { + $xfer += $output->writeString($iter977); } $output->writeListEnd(); } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequestData.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequestData.php index b2b588337e01..f723880694c8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequestData.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventRequestData.php @@ -102,14 +102,14 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->insertDatas = array(); - $_size932 = 0; - $_etype935 = 0; - $xfer += $input->readListBegin($_etype935, $_size932); - for ($_i936 = 0; $_i936 < $_size932; ++$_i936) { - $elem937 = null; - $elem937 = new \metastore\InsertEventRequestData(); - $xfer += $elem937->read($input); - $this->insertDatas []= $elem937; + $_size941 = 0; + $_etype944 = 0; + $xfer += $input->readListBegin($_etype944, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { + $elem946 = null; + $elem946 = new \metastore\InsertEventRequestData(); + $xfer += $elem946->read($input); + $this->insertDatas []= $elem946; } $xfer += $input->readListEnd(); } else { @@ -151,8 +151,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('insertDatas', TType::LST, 2); $output->writeListBegin(TType::STRUCT, count($this->insertDatas)); - foreach ($this->insertDatas as $iter938) { - $xfer += $iter938->write($output); + foreach ($this->insertDatas as $iter947) { + $xfer += $iter947->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventResponse.php index adddda62d8c7..6f6684f195a3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/FireEventResponse.php @@ -68,13 +68,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->eventIds = array(); - $_size969 = 0; - $_etype972 = 0; - $xfer += $input->readListBegin($_etype972, $_size969); - for ($_i973 = 0; $_i973 < $_size969; ++$_i973) { - $elem974 = null; - $xfer += $input->readI64($elem974); - $this->eventIds []= $elem974; + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { + $elem983 = null; + $xfer += $input->readI64($elem983); + $this->eventIds []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('eventIds', TType::LST, 1); $output->writeListBegin(TType::I64, count($this->eventIds)); - foreach ($this->eventIds as $iter975) { - $xfer += $output->writeI64($iter975); + foreach ($this->eventIds as $iter984) { + $xfer += $output->writeI64($iter984); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetAllFunctionsResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetAllFunctionsResponse.php index 104263b1be47..a34e4c9e5da4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetAllFunctionsResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetAllFunctionsResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size1043 = 0; - $_etype1046 = 0; - $xfer += $input->readListBegin($_etype1046, $_size1043); - for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) { - $elem1048 = null; - $elem1048 = new \metastore\Function(); - $xfer += $elem1048->read($input); - $this->functions []= $elem1048; + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { + $elem1057 = null; + $elem1057 = new \metastore\Function(); + $xfer += $elem1057->read($input); + $this->functions []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('functions', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->functions)); - foreach ($this->functions as $iter1049) { - $xfer += $iter1049->write($output); + foreach ($this->functions as $iter1058) { + $xfer += $iter1058->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetDatabaseRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetDatabaseRequest.php index 653f43e6d196..291ed28d0e1d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetDatabaseRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetDatabaseRequest.php @@ -118,13 +118,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1113 = 0; - $_etype1116 = 0; - $xfer += $input->readListBegin($_etype1116, $_size1113); - for ($_i1117 = 0; $_i1117 < $_size1113; ++$_i1117) { - $elem1118 = null; - $xfer += $input->readString($elem1118); - $this->processorCapabilities []= $elem1118; + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->processorCapabilities []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1119) { - $xfer += $output->writeString($iter1119); + foreach ($this->processorCapabilities as $iter1128) { + $xfer += $output->writeString($iter1128); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFieldsResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFieldsResponse.php index 147e25685b8b..204c0759ba06 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFieldsResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFieldsResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fields = array(); - $_size1325 = 0; - $_etype1328 = 0; - $xfer += $input->readListBegin($_etype1328, $_size1325); - for ($_i1329 = 0; $_i1329 < $_size1325; ++$_i1329) { - $elem1330 = null; - $elem1330 = new \metastore\FieldSchema(); - $xfer += $elem1330->read($input); - $this->fields []= $elem1330; + $_size1334 = 0; + $_etype1337 = 0; + $xfer += $input->readListBegin($_etype1337, $_size1334); + for ($_i1338 = 0; $_i1338 < $_size1334; ++$_i1338) { + $elem1339 = null; + $elem1339 = new \metastore\FieldSchema(); + $xfer += $elem1339->read($input); + $this->fields []= $elem1339; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fields', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->fields)); - foreach ($this->fields as $iter1331) { - $xfer += $iter1331->write($output); + foreach ($this->fields as $iter1340) { + $xfer += $iter1340->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprRequest.php index 0ebc9506035e..9ab80212c924 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprRequest.php @@ -105,13 +105,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size999 = 0; - $_etype1002 = 0; - $xfer += $input->readListBegin($_etype1002, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { - $elem1004 = null; - $xfer += $input->readI64($elem1004); - $this->fileIds []= $elem1004; + $_size1008 = 0; + $_etype1011 = 0; + $xfer += $input->readListBegin($_etype1011, $_size1008); + for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) { + $elem1013 = null; + $xfer += $input->readI64($elem1013); + $this->fileIds []= $elem1013; } $xfer += $input->readListEnd(); } else { @@ -159,8 +159,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fileIds', TType::LST, 1); $output->writeListBegin(TType::I64, count($this->fileIds)); - foreach ($this->fileIds as $iter1005) { - $xfer += $output->writeI64($iter1005); + foreach ($this->fileIds as $iter1014) { + $xfer += $output->writeI64($iter1014); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprResult.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprResult.php index 41bee99f615b..fe80220e9012 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprResult.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataByExprResult.php @@ -85,17 +85,17 @@ public function read($input) case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size990 = 0; - $_ktype991 = 0; - $_vtype992 = 0; - $xfer += $input->readMapBegin($_ktype991, $_vtype992, $_size990); - for ($_i994 = 0; $_i994 < $_size990; ++$_i994) { - $key995 = 0; - $val996 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key995); - $val996 = new \metastore\MetadataPpdResult(); - $xfer += $val996->read($input); - $this->metadata[$key995] = $val996; + $_size999 = 0; + $_ktype1000 = 0; + $_vtype1001 = 0; + $xfer += $input->readMapBegin($_ktype1000, $_vtype1001, $_size999); + for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { + $key1004 = 0; + $val1005 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key1004); + $val1005 = new \metastore\MetadataPpdResult(); + $xfer += $val1005->read($input); + $this->metadata[$key1004] = $val1005; } $xfer += $input->readMapEnd(); } else { @@ -129,9 +129,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('metadata', TType::MAP, 1); $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); - foreach ($this->metadata as $kiter997 => $viter998) { - $xfer += $output->writeI64($kiter997); - $xfer += $viter998->write($output); + foreach ($this->metadata as $kiter1006 => $viter1007) { + $xfer += $output->writeI64($kiter1006); + $xfer += $viter1007->write($output); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataRequest.php index 3088e123e0e9..edbc0e088100 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataRequest.php @@ -68,13 +68,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size1015 = 0; - $_etype1018 = 0; - $xfer += $input->readListBegin($_etype1018, $_size1015); - for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $elem1020 = null; - $xfer += $input->readI64($elem1020); - $this->fileIds []= $elem1020; + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { + $elem1029 = null; + $xfer += $input->readI64($elem1029); + $this->fileIds []= $elem1029; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fileIds', TType::LST, 1); $output->writeListBegin(TType::I64, count($this->fileIds)); - foreach ($this->fileIds as $iter1021) { - $xfer += $output->writeI64($iter1021); + foreach ($this->fileIds as $iter1030) { + $xfer += $output->writeI64($iter1030); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataResult.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataResult.php index 4a9b42e9721b..8132a39bc295 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataResult.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFileMetadataResult.php @@ -84,16 +84,16 @@ public function read($input) case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size1006 = 0; - $_ktype1007 = 0; - $_vtype1008 = 0; - $xfer += $input->readMapBegin($_ktype1007, $_vtype1008, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $key1011 = 0; - $val1012 = ''; - $xfer += $input->readI64($key1011); - $xfer += $input->readString($val1012); - $this->metadata[$key1011] = $val1012; + $_size1015 = 0; + $_ktype1016 = 0; + $_vtype1017 = 0; + $xfer += $input->readMapBegin($_ktype1016, $_vtype1017, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { + $key1020 = 0; + $val1021 = ''; + $xfer += $input->readI64($key1020); + $xfer += $input->readString($val1021); + $this->metadata[$key1020] = $val1021; } $xfer += $input->readMapEnd(); } else { @@ -127,9 +127,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('metadata', TType::MAP, 1); $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); - foreach ($this->metadata as $kiter1013 => $viter1014) { - $xfer += $output->writeI64($kiter1013); - $xfer += $output->writeString($viter1014); + foreach ($this->metadata as $kiter1022 => $viter1023) { + $xfer += $output->writeI64($kiter1022); + $xfer += $output->writeString($viter1023); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFunctionsResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFunctionsResponse.php index 6bb75c8ec37e..c9e9e7444694 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFunctionsResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetFunctionsResponse.php @@ -85,13 +85,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->function_names = array(); - $_size1120 = 0; - $_etype1123 = 0; - $xfer += $input->readListBegin($_etype1123, $_size1120); - for ($_i1124 = 0; $_i1124 < $_size1120; ++$_i1124) { - $elem1125 = null; - $xfer += $input->readString($elem1125); - $this->function_names []= $elem1125; + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { + $elem1134 = null; + $xfer += $input->readString($elem1134); + $this->function_names []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -101,14 +101,14 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->functions = array(); - $_size1126 = 0; - $_etype1129 = 0; - $xfer += $input->readListBegin($_etype1129, $_size1126); - for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) { - $elem1131 = null; - $elem1131 = new \metastore\Function(); - $xfer += $elem1131->read($input); - $this->functions []= $elem1131; + $_size1135 = 0; + $_etype1138 = 0; + $xfer += $input->readListBegin($_etype1138, $_size1135); + for ($_i1139 = 0; $_i1139 < $_size1135; ++$_i1139) { + $elem1140 = null; + $elem1140 = new \metastore\Function(); + $xfer += $elem1140->read($input); + $this->functions []= $elem1140; } $xfer += $input->readListEnd(); } else { @@ -135,8 +135,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('function_names', TType::LST, 1); $output->writeListBegin(TType::STRING, count($this->function_names)); - foreach ($this->function_names as $iter1132) { - $xfer += $output->writeString($iter1132); + foreach ($this->function_names as $iter1141) { + $xfer += $output->writeString($iter1141); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -147,8 +147,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('functions', TType::LST, 2); $output->writeListBegin(TType::STRUCT, count($this->functions)); - foreach ($this->functions as $iter1133) { - $xfer += $iter1133->write($output); + foreach ($this->functions as $iter1142) { + $xfer += $iter1142->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoRequest.php index c305b203de61..35c534cd2be8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoRequest.php @@ -118,13 +118,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size848 = 0; - $_etype851 = 0; - $xfer += $input->readListBegin($_etype851, $_size848); - for ($_i852 = 0; $_i852 < $_size848; ++$_i852) { - $elem853 = null; - $xfer += $input->readString($elem853); - $this->partitionnames []= $elem853; + $_size857 = 0; + $_etype860 = 0; + $xfer += $input->readListBegin($_etype860, $_size857); + for ($_i861 = 0; $_i861 < $_size857; ++$_i861) { + $elem862 = null; + $xfer += $input->readString($elem862); + $this->partitionnames []= $elem862; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionnames', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->partitionnames)); - foreach ($this->partitionnames as $iter854) { - $xfer += $output->writeString($iter854); + foreach ($this->partitionnames as $iter863) { + $xfer += $output->writeString($iter863); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoResponse.php index 58ae5c55a410..36617b6aee22 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetLatestCommittedCompactionInfoResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->compactions = array(); - $_size855 = 0; - $_etype858 = 0; - $xfer += $input->readListBegin($_etype858, $_size855); - for ($_i859 = 0; $_i859 < $_size855; ++$_i859) { - $elem860 = null; - $elem860 = new \metastore\CompactionInfoStruct(); - $xfer += $elem860->read($input); - $this->compactions []= $elem860; + $_size864 = 0; + $_etype867 = 0; + $xfer += $input->readListBegin($_etype867, $_size864); + for ($_i868 = 0; $_i868 < $_size864; ++$_i868) { + $elem869 = null; + $elem869 = new \metastore\CompactionInfoStruct(); + $xfer += $elem869->read($input); + $this->compactions []= $elem869; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('compactions', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->compactions)); - foreach ($this->compactions as $iter861) { - $xfer += $iter861->write($output); + foreach ($this->compactions as $iter870) { + $xfer += $iter870->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetOpenTxnsRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetOpenTxnsRequest.php index e1ca8a904745..d80cb21e2c0b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetOpenTxnsRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetOpenTxnsRequest.php @@ -69,13 +69,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->excludeTxnTypes = array(); - $_size1402 = 0; - $_etype1405 = 0; - $xfer += $input->readListBegin($_etype1405, $_size1402); - for ($_i1406 = 0; $_i1406 < $_size1402; ++$_i1406) { - $elem1407 = null; - $xfer += $input->readI32($elem1407); - $this->excludeTxnTypes []= $elem1407; + $_size1411 = 0; + $_etype1414 = 0; + $xfer += $input->readListBegin($_etype1414, $_size1411); + for ($_i1415 = 0; $_i1415 < $_size1411; ++$_i1415) { + $elem1416 = null; + $xfer += $input->readI32($elem1416); + $this->excludeTxnTypes []= $elem1416; } $xfer += $input->readListEnd(); } else { @@ -102,8 +102,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('excludeTxnTypes', TType::LST, 1); $output->writeListBegin(TType::I32, count($this->excludeTxnTypes)); - foreach ($this->excludeTxnTypes as $iter1408) { - $xfer += $output->writeI32($iter1408); + foreach ($this->excludeTxnTypes as $iter1417) { + $xfer += $output->writeI32($iter1417); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsRequest.php index 04ca21d58610..223e2059bf67 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsRequest.php @@ -161,13 +161,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->partValues = array(); - $_size1353 = 0; - $_etype1356 = 0; - $xfer += $input->readListBegin($_etype1356, $_size1353); - for ($_i1357 = 0; $_i1357 < $_size1353; ++$_i1357) { - $elem1358 = null; - $xfer += $input->readString($elem1358); - $this->partValues []= $elem1358; + $_size1362 = 0; + $_etype1365 = 0; + $xfer += $input->readListBegin($_etype1365, $_size1362); + for ($_i1366 = 0; $_i1366 < $_size1362; ++$_i1366) { + $elem1367 = null; + $xfer += $input->readString($elem1367); + $this->partValues []= $elem1367; } $xfer += $input->readListEnd(); } else { @@ -230,8 +230,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partValues', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->partValues)); - foreach ($this->partValues as $iter1359) { - $xfer += $output->writeString($iter1359); + foreach ($this->partValues as $iter1368) { + $xfer += $output->writeString($iter1368); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsResponse.php index a683f20c0ed1..3e7e16048e4c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionNamesPsResponse.php @@ -68,13 +68,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size1360 = 0; - $_etype1363 = 0; - $xfer += $input->readListBegin($_etype1363, $_size1360); - for ($_i1364 = 0; $_i1364 < $_size1360; ++$_i1364) { - $elem1365 = null; - $xfer += $input->readString($elem1365); - $this->names []= $elem1365; + $_size1369 = 0; + $_etype1372 = 0; + $xfer += $input->readListBegin($_etype1372, $_size1369); + for ($_i1373 = 0; $_i1373 < $_size1369; ++$_i1373) { + $elem1374 = null; + $xfer += $input->readString($elem1374); + $this->names []= $elem1374; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('names', TType::LST, 1); $output->writeListBegin(TType::STRING, count($this->names)); - foreach ($this->names as $iter1366) { - $xfer += $output->writeString($iter1366); + foreach ($this->names as $iter1375) { + $xfer += $output->writeString($iter1375); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionRequest.php index f9da612880d9..46fd84b10409 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionRequest.php @@ -149,13 +149,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->partVals = array(); - $_size1339 = 0; - $_etype1342 = 0; - $xfer += $input->readListBegin($_etype1342, $_size1339); - for ($_i1343 = 0; $_i1343 < $_size1339; ++$_i1343) { - $elem1344 = null; - $xfer += $input->readString($elem1344); - $this->partVals []= $elem1344; + $_size1348 = 0; + $_etype1351 = 0; + $xfer += $input->readListBegin($_etype1351, $_size1348); + for ($_i1352 = 0; $_i1352 < $_size1348; ++$_i1352) { + $elem1353 = null; + $xfer += $input->readString($elem1353); + $this->partVals []= $elem1353; } $xfer += $input->readListEnd(); } else { @@ -211,8 +211,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partVals', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->partVals)); - foreach ($this->partVals as $iter1345) { - $xfer += $output->writeString($iter1345); + foreach ($this->partVals as $iter1354) { + $xfer += $output->writeString($iter1354); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsFilterSpec.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsFilterSpec.php index 5523f8fb89a9..07bbffbe34fd 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsFilterSpec.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsFilterSpec.php @@ -88,13 +88,13 @@ public function read($input) case 8: if ($ftype == TType::LST) { $this->filters = array(); - $_size1297 = 0; - $_etype1300 = 0; - $xfer += $input->readListBegin($_etype1300, $_size1297); - for ($_i1301 = 0; $_i1301 < $_size1297; ++$_i1301) { - $elem1302 = null; - $xfer += $input->readString($elem1302); - $this->filters []= $elem1302; + $_size1306 = 0; + $_etype1309 = 0; + $xfer += $input->readListBegin($_etype1309, $_size1306); + for ($_i1310 = 0; $_i1310 < $_size1306; ++$_i1310) { + $elem1311 = null; + $xfer += $input->readString($elem1311); + $this->filters []= $elem1311; } $xfer += $input->readListEnd(); } else { @@ -126,8 +126,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('filters', TType::LST, 8); $output->writeListBegin(TType::STRING, count($this->filters)); - foreach ($this->filters as $iter1303) { - $xfer += $output->writeString($iter1303); + foreach ($this->filters as $iter1312) { + $xfer += $output->writeString($iter1312); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthRequest.php index a7a9dcfa9d88..1c57c5eaa9aa 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthRequest.php @@ -241,13 +241,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->partVals = array(); - $_size1367 = 0; - $_etype1370 = 0; - $xfer += $input->readListBegin($_etype1370, $_size1367); - for ($_i1371 = 0; $_i1371 < $_size1367; ++$_i1371) { - $elem1372 = null; - $xfer += $input->readString($elem1372); - $this->partVals []= $elem1372; + $_size1376 = 0; + $_etype1379 = 0; + $xfer += $input->readListBegin($_etype1379, $_size1376); + for ($_i1380 = 0; $_i1380 < $_size1376; ++$_i1380) { + $elem1381 = null; + $xfer += $input->readString($elem1381); + $this->partVals []= $elem1381; } $xfer += $input->readListEnd(); } else { @@ -271,13 +271,13 @@ public function read($input) case 7: if ($ftype == TType::LST) { $this->groupNames = array(); - $_size1373 = 0; - $_etype1376 = 0; - $xfer += $input->readListBegin($_etype1376, $_size1373); - for ($_i1377 = 0; $_i1377 < $_size1373; ++$_i1377) { - $elem1378 = null; - $xfer += $input->readString($elem1378); - $this->groupNames []= $elem1378; + $_size1382 = 0; + $_etype1385 = 0; + $xfer += $input->readListBegin($_etype1385, $_size1382); + for ($_i1386 = 0; $_i1386 < $_size1382; ++$_i1386) { + $elem1387 = null; + $xfer += $input->readString($elem1387); + $this->groupNames []= $elem1387; } $xfer += $input->readListEnd(); } else { @@ -322,13 +322,13 @@ public function read($input) case 13: if ($ftype == TType::LST) { $this->partNames = array(); - $_size1379 = 0; - $_etype1382 = 0; - $xfer += $input->readListBegin($_etype1382, $_size1379); - for ($_i1383 = 0; $_i1383 < $_size1379; ++$_i1383) { - $elem1384 = null; - $xfer += $input->readString($elem1384); - $this->partNames []= $elem1384; + $_size1388 = 0; + $_etype1391 = 0; + $xfer += $input->readListBegin($_etype1391, $_size1388); + for ($_i1392 = 0; $_i1392 < $_size1388; ++$_i1392) { + $elem1393 = null; + $xfer += $input->readString($elem1393); + $this->partNames []= $elem1393; } $xfer += $input->readListEnd(); } else { @@ -370,8 +370,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partVals', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->partVals)); - foreach ($this->partVals as $iter1385) { - $xfer += $output->writeString($iter1385); + foreach ($this->partVals as $iter1394) { + $xfer += $output->writeString($iter1394); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -392,8 +392,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('groupNames', TType::LST, 7); $output->writeListBegin(TType::STRING, count($this->groupNames)); - foreach ($this->groupNames as $iter1386) { - $xfer += $output->writeString($iter1386); + foreach ($this->groupNames as $iter1395) { + $xfer += $output->writeString($iter1395); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -429,8 +429,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partNames', TType::LST, 13); $output->writeListBegin(TType::STRING, count($this->partNames)); - foreach ($this->partNames as $iter1387) { - $xfer += $output->writeString($iter1387); + foreach ($this->partNames as $iter1396) { + $xfer += $output->writeString($iter1396); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthResponse.php index 1fc39a12d36e..9e95e80ccc49 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsPsWithAuthResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size1388 = 0; - $_etype1391 = 0; - $xfer += $input->readListBegin($_etype1391, $_size1388); - for ($_i1392 = 0; $_i1392 < $_size1388; ++$_i1392) { - $elem1393 = null; - $elem1393 = new \metastore\Partition(); - $xfer += $elem1393->read($input); - $this->partitions []= $elem1393; + $_size1397 = 0; + $_etype1400 = 0; + $xfer += $input->readListBegin($_etype1400, $_size1397); + for ($_i1401 = 0; $_i1401 < $_size1397; ++$_i1401) { + $elem1402 = null; + $elem1402 = new \metastore\Partition(); + $xfer += $elem1402->read($input); + $this->partitions []= $elem1402; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitions', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->partitions)); - foreach ($this->partitions as $iter1394) { - $xfer += $iter1394->write($output); + foreach ($this->partitions as $iter1403) { + $xfer += $iter1403->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsRequest.php index 02c6fe336a1b..8aa69fb54ddd 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsRequest.php @@ -229,13 +229,13 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->groupNames = array(); - $_size1311 = 0; - $_etype1314 = 0; - $xfer += $input->readListBegin($_etype1314, $_size1311); - for ($_i1315 = 0; $_i1315 < $_size1311; ++$_i1315) { - $elem1316 = null; - $xfer += $input->readString($elem1316); - $this->groupNames []= $elem1316; + $_size1320 = 0; + $_etype1323 = 0; + $xfer += $input->readListBegin($_etype1323, $_size1320); + for ($_i1324 = 0; $_i1324 < $_size1320; ++$_i1324) { + $elem1325 = null; + $xfer += $input->readString($elem1325); + $this->groupNames []= $elem1325; } $xfer += $input->readListEnd(); } else { @@ -261,13 +261,13 @@ public function read($input) case 9: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1317 = 0; - $_etype1320 = 0; - $xfer += $input->readListBegin($_etype1320, $_size1317); - for ($_i1321 = 0; $_i1321 < $_size1317; ++$_i1321) { - $elem1322 = null; - $xfer += $input->readString($elem1322); - $this->processorCapabilities []= $elem1322; + $_size1326 = 0; + $_etype1329 = 0; + $xfer += $input->readListBegin($_etype1329, $_size1326); + for ($_i1330 = 0; $_i1330 < $_size1326; ++$_i1330) { + $elem1331 = null; + $xfer += $input->readString($elem1331); + $this->processorCapabilities []= $elem1331; } $xfer += $input->readListEnd(); } else { @@ -333,8 +333,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('groupNames', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->groupNames)); - foreach ($this->groupNames as $iter1323) { - $xfer += $output->writeString($iter1323); + foreach ($this->groupNames as $iter1332) { + $xfer += $output->writeString($iter1332); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -361,8 +361,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 9); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1324) { - $xfer += $output->writeString($iter1324); + foreach ($this->processorCapabilities as $iter1333) { + $xfer += $output->writeString($iter1333); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsResponse.php index 2ee4f79209e2..2dbc1b1b1d88 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetPartitionsResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->partitionSpec = array(); - $_size1304 = 0; - $_etype1307 = 0; - $xfer += $input->readListBegin($_etype1307, $_size1304); - for ($_i1308 = 0; $_i1308 < $_size1304; ++$_i1308) { - $elem1309 = null; - $elem1309 = new \metastore\PartitionSpec(); - $xfer += $elem1309->read($input); - $this->partitionSpec []= $elem1309; + $_size1313 = 0; + $_etype1316 = 0; + $xfer += $input->readListBegin($_etype1316, $_size1313); + for ($_i1317 = 0; $_i1317 < $_size1313; ++$_i1317) { + $elem1318 = null; + $elem1318 = new \metastore\PartitionSpec(); + $xfer += $elem1318->read($input); + $this->partitionSpec []= $elem1318; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionSpec', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->partitionSpec)); - foreach ($this->partitionSpec as $iter1310) { - $xfer += $iter1310->write($output); + foreach ($this->partitionSpec as $iter1319) { + $xfer += $iter1319->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetProjectionsSpec.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetProjectionsSpec.php index 2b2c6baaf90a..878c6adc813b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetProjectionsSpec.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetProjectionsSpec.php @@ -92,13 +92,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fieldList = array(); - $_size1057 = 0; - $_etype1060 = 0; - $xfer += $input->readListBegin($_etype1060, $_size1057); - for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061) { - $elem1062 = null; - $xfer += $input->readString($elem1062); - $this->fieldList []= $elem1062; + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { + $elem1071 = null; + $xfer += $input->readString($elem1071); + $this->fieldList []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -139,8 +139,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fieldList', TType::LST, 1); $output->writeListBegin(TType::STRING, count($this->fieldList)); - foreach ($this->fieldList as $iter1063) { - $xfer += $output->writeString($iter1063); + foreach ($this->fieldList as $iter1072) { + $xfer += $output->writeString($iter1072); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetSchemaResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetSchemaResponse.php index 995ff2bffe17..6e2b8df09a5f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetSchemaResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetSchemaResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fields = array(); - $_size1332 = 0; - $_etype1335 = 0; - $xfer += $input->readListBegin($_etype1335, $_size1332); - for ($_i1336 = 0; $_i1336 < $_size1332; ++$_i1336) { - $elem1337 = null; - $elem1337 = new \metastore\FieldSchema(); - $xfer += $elem1337->read($input); - $this->fields []= $elem1337; + $_size1341 = 0; + $_etype1344 = 0; + $xfer += $input->readListBegin($_etype1344, $_size1341); + for ($_i1345 = 0; $_i1345 < $_size1341; ++$_i1345) { + $elem1346 = null; + $elem1346 = new \metastore\FieldSchema(); + $xfer += $elem1346->read($input); + $this->fields []= $elem1346; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fields', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->fields)); - foreach ($this->fields as $iter1338) { - $xfer += $iter1338->write($output); + foreach ($this->fields as $iter1347) { + $xfer += $iter1347->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTableRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTableRequest.php index a0852d7d5074..a967cf9245a3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTableRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTableRequest.php @@ -220,13 +220,13 @@ public function read($input) case 8: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1064 = 0; - $_etype1067 = 0; - $xfer += $input->readListBegin($_etype1067, $_size1064); - for ($_i1068 = 0; $_i1068 < $_size1064; ++$_i1068) { - $elem1069 = null; - $xfer += $input->readString($elem1069); - $this->processorCapabilities []= $elem1069; + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->processorCapabilities []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -307,8 +307,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 8); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1070) { - $xfer += $output->writeString($iter1070); + foreach ($this->processorCapabilities as $iter1079) { + $xfer += $output->writeString($iter1079); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesExtRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesExtRequest.php index a587ebfa3d76..bc8329935d4c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesExtRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesExtRequest.php @@ -175,13 +175,13 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1092 = 0; - $_etype1095 = 0; - $xfer += $input->readListBegin($_etype1095, $_size1092); - for ($_i1096 = 0; $_i1096 < $_size1092; ++$_i1096) { - $elem1097 = null; - $xfer += $input->readString($elem1097); - $this->processorCapabilities []= $elem1097; + $_size1101 = 0; + $_etype1104 = 0; + $xfer += $input->readListBegin($_etype1104, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { + $elem1106 = null; + $xfer += $input->readString($elem1106); + $this->processorCapabilities []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -240,8 +240,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1098) { - $xfer += $output->writeString($iter1098); + foreach ($this->processorCapabilities as $iter1107) { + $xfer += $output->writeString($iter1107); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesRequest.php index 7c9c43a3ad7a..8d1e423ef01d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesRequest.php @@ -165,13 +165,13 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size1071 = 0; - $_etype1074 = 0; - $xfer += $input->readListBegin($_etype1074, $_size1071); - for ($_i1075 = 0; $_i1075 < $_size1071; ++$_i1075) { - $elem1076 = null; - $xfer += $input->readString($elem1076); - $this->tblNames []= $elem1076; + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { + $elem1085 = null; + $xfer += $input->readString($elem1085); + $this->tblNames []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -196,13 +196,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1077 = 0; - $_etype1080 = 0; - $xfer += $input->readListBegin($_etype1080, $_size1077); - for ($_i1081 = 0; $_i1081 < $_size1077; ++$_i1081) { - $elem1082 = null; - $xfer += $input->readString($elem1082); - $this->processorCapabilities []= $elem1082; + $_size1086 = 0; + $_etype1089 = 0; + $xfer += $input->readListBegin($_etype1089, $_size1086); + for ($_i1090 = 0; $_i1090 < $_size1086; ++$_i1090) { + $elem1091 = null; + $xfer += $input->readString($elem1091); + $this->processorCapabilities []= $elem1091; } $xfer += $input->readListEnd(); } else { @@ -256,8 +256,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('tblNames', TType::LST, 2); $output->writeListBegin(TType::STRING, count($this->tblNames)); - foreach ($this->tblNames as $iter1083) { - $xfer += $output->writeString($iter1083); + foreach ($this->tblNames as $iter1092) { + $xfer += $output->writeString($iter1092); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -281,8 +281,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); - foreach ($this->processorCapabilities as $iter1084) { - $xfer += $output->writeString($iter1084); + foreach ($this->processorCapabilities as $iter1093) { + $xfer += $output->writeString($iter1093); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesResult.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesResult.php index dedcb3a10467..8b12f20ea40b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesResult.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetTablesResult.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size1085 = 0; - $_etype1088 = 0; - $xfer += $input->readListBegin($_etype1088, $_size1085); - for ($_i1089 = 0; $_i1089 < $_size1085; ++$_i1089) { - $elem1090 = null; - $elem1090 = new \metastore\Table(); - $xfer += $elem1090->read($input); - $this->tables []= $elem1090; + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { + $elem1099 = null; + $elem1099 = new \metastore\Table(); + $xfer += $elem1099->read($input); + $this->tables []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('tables', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->tables)); - foreach ($this->tables as $iter1091) { - $xfer += $iter1091->write($output); + foreach ($this->tables as $iter1100) { + $xfer += $iter1100->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/HeartbeatTxnRangeResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/HeartbeatTxnRangeResponse.php index 209d87e8dadf..7be9692effff 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/HeartbeatTxnRangeResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/HeartbeatTxnRangeResponse.php @@ -84,13 +84,13 @@ public function read($input) case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size800 = 0; - $_etype803 = 0; - $xfer += $input->readSetBegin($_etype803, $_size800); - for ($_i804 = 0; $_i804 < $_size800; ++$_i804) { - $elem805 = null; - $xfer += $input->readI64($elem805); - $this->aborted[$elem805] = true; + $_size809 = 0; + $_etype812 = 0; + $xfer += $input->readSetBegin($_etype812, $_size809); + for ($_i813 = 0; $_i813 < $_size809; ++$_i813) { + $elem814 = null; + $xfer += $input->readI64($elem814); + $this->aborted[$elem814] = true; } $xfer += $input->readSetEnd(); } else { @@ -100,13 +100,13 @@ public function read($input) case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size806 = 0; - $_etype809 = 0; - $xfer += $input->readSetBegin($_etype809, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) { - $elem811 = null; - $xfer += $input->readI64($elem811); - $this->nosuch[$elem811] = true; + $_size815 = 0; + $_etype818 = 0; + $xfer += $input->readSetBegin($_etype818, $_size815); + for ($_i819 = 0; $_i819 < $_size815; ++$_i819) { + $elem820 = null; + $xfer += $input->readI64($elem820); + $this->nosuch[$elem820] = true; } $xfer += $input->readSetEnd(); } else { @@ -133,8 +133,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('aborted', TType::SET, 1); $output->writeSetBegin(TType::I64, count($this->aborted)); - foreach ($this->aborted as $iter812 => $iter813) { - $xfer += $output->writeI64($iter812); + foreach ($this->aborted as $iter821 => $iter822) { + $xfer += $output->writeI64($iter821); } $output->writeSetEnd(); $xfer += $output->writeFieldEnd(); @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('nosuch', TType::SET, 2); $output->writeSetBegin(TType::I64, count($this->nosuch)); - foreach ($this->nosuch as $iter814 => $iter815) { - $xfer += $output->writeI64($iter814); + foreach ($this->nosuch as $iter823 => $iter824) { + $xfer += $output->writeI64($iter823); } $output->writeSetEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/InsertEventRequestData.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/InsertEventRequestData.php index 11d6b0274436..fc0b51ea981b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/InsertEventRequestData.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/InsertEventRequestData.php @@ -135,13 +135,13 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size904 = 0; - $_etype907 = 0; - $xfer += $input->readListBegin($_etype907, $_size904); - for ($_i908 = 0; $_i908 < $_size904; ++$_i908) { - $elem909 = null; - $xfer += $input->readString($elem909); - $this->filesAdded []= $elem909; + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { + $elem918 = null; + $xfer += $input->readString($elem918); + $this->filesAdded []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -151,13 +151,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size910 = 0; - $_etype913 = 0; - $xfer += $input->readListBegin($_etype913, $_size910); - for ($_i914 = 0; $_i914 < $_size910; ++$_i914) { - $elem915 = null; - $xfer += $input->readString($elem915); - $this->filesAddedChecksum []= $elem915; + $_size919 = 0; + $_etype922 = 0; + $xfer += $input->readListBegin($_etype922, $_size919); + for ($_i923 = 0; $_i923 < $_size919; ++$_i923) { + $elem924 = null; + $xfer += $input->readString($elem924); + $this->filesAddedChecksum []= $elem924; } $xfer += $input->readListEnd(); } else { @@ -167,13 +167,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->subDirectoryList = array(); - $_size916 = 0; - $_etype919 = 0; - $xfer += $input->readListBegin($_etype919, $_size916); - for ($_i920 = 0; $_i920 < $_size916; ++$_i920) { - $elem921 = null; - $xfer += $input->readString($elem921); - $this->subDirectoryList []= $elem921; + $_size925 = 0; + $_etype928 = 0; + $xfer += $input->readListBegin($_etype928, $_size925); + for ($_i929 = 0; $_i929 < $_size925; ++$_i929) { + $elem930 = null; + $xfer += $input->readString($elem930); + $this->subDirectoryList []= $elem930; } $xfer += $input->readListEnd(); } else { @@ -183,13 +183,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->partitionVal = array(); - $_size922 = 0; - $_etype925 = 0; - $xfer += $input->readListBegin($_etype925, $_size922); - for ($_i926 = 0; $_i926 < $_size922; ++$_i926) { - $elem927 = null; - $xfer += $input->readString($elem927); - $this->partitionVal []= $elem927; + $_size931 = 0; + $_etype934 = 0; + $xfer += $input->readListBegin($_etype934, $_size931); + for ($_i935 = 0; $_i935 < $_size931; ++$_i935) { + $elem936 = null; + $xfer += $input->readString($elem936); + $this->partitionVal []= $elem936; } $xfer += $input->readListEnd(); } else { @@ -221,8 +221,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('filesAdded', TType::LST, 2); $output->writeListBegin(TType::STRING, count($this->filesAdded)); - foreach ($this->filesAdded as $iter928) { - $xfer += $output->writeString($iter928); + foreach ($this->filesAdded as $iter937) { + $xfer += $output->writeString($iter937); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -233,8 +233,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('filesAddedChecksum', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); - foreach ($this->filesAddedChecksum as $iter929) { - $xfer += $output->writeString($iter929); + foreach ($this->filesAddedChecksum as $iter938) { + $xfer += $output->writeString($iter938); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -245,8 +245,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('subDirectoryList', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->subDirectoryList)); - foreach ($this->subDirectoryList as $iter930) { - $xfer += $output->writeString($iter930); + foreach ($this->subDirectoryList as $iter939) { + $xfer += $output->writeString($iter939); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -257,8 +257,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionVal', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->partitionVal)); - foreach ($this->partitionVal as $iter931) { - $xfer += $output->writeString($iter931); + foreach ($this->partitionVal as $iter940) { + $xfer += $output->writeString($iter940); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockComponent.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockComponent.php index 05cbb73b6499..f64f06ffe532 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockComponent.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockComponent.php @@ -64,6 +64,19 @@ class LockComponent 'isRequired' => false, 'type' => TType::BOOL, ), + 9 => array( + 'var' => 'tableParams', + 'isRequired' => false, + 'type' => TType::MAP, + 'ktype' => TType::STRING, + 'vtype' => TType::STRING, + 'key' => array( + 'type' => TType::STRING, + ), + 'val' => array( + 'type' => TType::STRING, + ), + ), ); /** @@ -98,6 +111,10 @@ class LockComponent * @var bool */ public $isDynamicPartitionWrite = false; + /** + * @var array + */ + public $tableParams = null; public function __construct($vals = null) { @@ -126,6 +143,9 @@ public function __construct($vals = null) if (isset($vals['isDynamicPartitionWrite'])) { $this->isDynamicPartitionWrite = $vals['isDynamicPartitionWrite']; } + if (isset($vals['tableParams'])) { + $this->tableParams = $vals['tableParams']; + } } } @@ -204,6 +224,25 @@ public function read($input) $xfer += $input->skip($ftype); } break; + case 9: + if ($ftype == TType::MAP) { + $this->tableParams = array(); + $_size786 = 0; + $_ktype787 = 0; + $_vtype788 = 0; + $xfer += $input->readMapBegin($_ktype787, $_vtype788, $_size786); + for ($_i790 = 0; $_i790 < $_size786; ++$_i790) { + $key791 = ''; + $val792 = ''; + $xfer += $input->readString($key791); + $xfer += $input->readString($val792); + $this->tableParams[$key791] = $val792; + } + $xfer += $input->readMapEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -258,6 +297,19 @@ public function write($output) $xfer += $output->writeBool($this->isDynamicPartitionWrite); $xfer += $output->writeFieldEnd(); } + if ($this->tableParams !== null) { + if (!is_array($this->tableParams)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('tableParams', TType::MAP, 9); + $output->writeMapBegin(TType::STRING, TType::STRING, count($this->tableParams)); + foreach ($this->tableParams as $kiter793 => $viter794) { + $xfer += $output->writeString($kiter793); + $xfer += $output->writeString($viter794); + } + $output->writeMapEnd(); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockRequest.php index 17a671ea6d36..bed7690f15cc 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/LockRequest.php @@ -153,14 +153,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size786 = 0; - $_etype789 = 0; - $xfer += $input->readListBegin($_etype789, $_size786); - for ($_i790 = 0; $_i790 < $_size786; ++$_i790) { - $elem791 = null; - $elem791 = new \metastore\LockComponent(); - $xfer += $elem791->read($input); - $this->component []= $elem791; + $_size795 = 0; + $_etype798 = 0; + $xfer += $input->readListBegin($_etype798, $_size795); + for ($_i799 = 0; $_i799 < $_size795; ++$_i799) { + $elem800 = null; + $elem800 = new \metastore\LockComponent(); + $xfer += $elem800->read($input); + $this->component []= $elem800; } $xfer += $input->readListEnd(); } else { @@ -236,8 +236,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('component', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->component)); - foreach ($this->component as $iter792) { - $xfer += $iter792->write($output); + foreach ($this->component as $iter801) { + $xfer += $iter801->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventRequest.php index 7d0f7f6a96cf..b8717ba912d3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventRequest.php @@ -162,13 +162,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->eventTypeSkipList = array(); - $_size869 = 0; - $_etype872 = 0; - $xfer += $input->readListBegin($_etype872, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) { - $elem874 = null; - $xfer += $input->readString($elem874); - $this->eventTypeSkipList []= $elem874; + $_size878 = 0; + $_etype881 = 0; + $xfer += $input->readListBegin($_etype881, $_size878); + for ($_i882 = 0; $_i882 < $_size878; ++$_i882) { + $elem883 = null; + $xfer += $input->readString($elem883); + $this->eventTypeSkipList []= $elem883; } $xfer += $input->readListEnd(); } else { @@ -192,13 +192,13 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->tableNames = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) { - $elem880 = null; - $xfer += $input->readString($elem880); - $this->tableNames []= $elem880; + $_size884 = 0; + $_etype887 = 0; + $xfer += $input->readListBegin($_etype887, $_size884); + for ($_i888 = 0; $_i888 < $_size884; ++$_i888) { + $elem889 = null; + $xfer += $input->readString($elem889); + $this->tableNames []= $elem889; } $xfer += $input->readListEnd(); } else { @@ -208,13 +208,13 @@ public function read($input) case 7: if ($ftype == TType::LST) { $this->eventTypeList = array(); - $_size881 = 0; - $_etype884 = 0; - $xfer += $input->readListBegin($_etype884, $_size881); - for ($_i885 = 0; $_i885 < $_size881; ++$_i885) { - $elem886 = null; - $xfer += $input->readString($elem886); - $this->eventTypeList []= $elem886; + $_size890 = 0; + $_etype893 = 0; + $xfer += $input->readListBegin($_etype893, $_size890); + for ($_i894 = 0; $_i894 < $_size890; ++$_i894) { + $elem895 = null; + $xfer += $input->readString($elem895); + $this->eventTypeList []= $elem895; } $xfer += $input->readListEnd(); } else { @@ -251,8 +251,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('eventTypeSkipList', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->eventTypeSkipList)); - foreach ($this->eventTypeSkipList as $iter887) { - $xfer += $output->writeString($iter887); + foreach ($this->eventTypeSkipList as $iter896) { + $xfer += $output->writeString($iter896); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -273,8 +273,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('tableNames', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->tableNames)); - foreach ($this->tableNames as $iter888) { - $xfer += $output->writeString($iter888); + foreach ($this->tableNames as $iter897) { + $xfer += $output->writeString($iter897); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -285,8 +285,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('eventTypeList', TType::LST, 7); $output->writeListBegin(TType::STRING, count($this->eventTypeList)); - foreach ($this->eventTypeList as $iter889) { - $xfer += $output->writeString($iter889); + foreach ($this->eventTypeList as $iter898) { + $xfer += $output->writeString($iter898); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventResponse.php index 043bd010510d..432d6fbe282e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size890 = 0; - $_etype893 = 0; - $xfer += $input->readListBegin($_etype893, $_size890); - for ($_i894 = 0; $_i894 < $_size890; ++$_i894) { - $elem895 = null; - $elem895 = new \metastore\NotificationEvent(); - $xfer += $elem895->read($input); - $this->events []= $elem895; + $_size899 = 0; + $_etype902 = 0; + $xfer += $input->readListBegin($_etype902, $_size899); + for ($_i903 = 0; $_i903 < $_size899; ++$_i903) { + $elem904 = null; + $elem904 = new \metastore\NotificationEvent(); + $xfer += $elem904->read($input); + $this->events []= $elem904; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('events', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->events)); - foreach ($this->events as $iter896) { - $xfer += $iter896->write($output); + foreach ($this->events as $iter905) { + $xfer += $iter905->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventsCountRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventsCountRequest.php index b78d8f73690f..07fe55cc5355 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventsCountRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/NotificationEventsCountRequest.php @@ -163,13 +163,13 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->tableNames = array(); - $_size897 = 0; - $_etype900 = 0; - $xfer += $input->readListBegin($_etype900, $_size897); - for ($_i901 = 0; $_i901 < $_size897; ++$_i901) { - $elem902 = null; - $xfer += $input->readString($elem902); - $this->tableNames []= $elem902; + $_size906 = 0; + $_etype909 = 0; + $xfer += $input->readListBegin($_etype909, $_size906); + for ($_i910 = 0; $_i910 < $_size906; ++$_i910) { + $elem911 = null; + $xfer += $input->readString($elem911); + $this->tableNames []= $elem911; } $xfer += $input->readListEnd(); } else { @@ -221,8 +221,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('tableNames', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->tableNames)); - foreach ($this->tableNames as $iter903) { - $xfer += $output->writeString($iter903); + foreach ($this->tableNames as $iter912) { + $xfer += $output->writeString($iter912); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PartitionsResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PartitionsResponse.php index 2684b54b24c6..86f7caffd3ba 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PartitionsResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PartitionsResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size1346 = 0; - $_etype1349 = 0; - $xfer += $input->readListBegin($_etype1349, $_size1346); - for ($_i1350 = 0; $_i1350 < $_size1346; ++$_i1350) { - $elem1351 = null; - $elem1351 = new \metastore\Partition(); - $xfer += $elem1351->read($input); - $this->partitions []= $elem1351; + $_size1355 = 0; + $_etype1358 = 0; + $xfer += $input->readListBegin($_etype1358, $_size1355); + for ($_i1359 = 0; $_i1359 < $_size1355; ++$_i1359) { + $elem1360 = null; + $elem1360 = new \metastore\Partition(); + $xfer += $elem1360->read($input); + $this->partitions []= $elem1360; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitions', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->partitions)); - foreach ($this->partitions as $iter1352) { - $xfer += $iter1352->write($output); + foreach ($this->partitions as $iter1361) { + $xfer += $iter1361->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PutFileMetadataRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PutFileMetadataRequest.php index 8bdbecbca9a2..1c38080abada 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PutFileMetadataRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/PutFileMetadataRequest.php @@ -97,13 +97,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size1022 = 0; - $_etype1025 = 0; - $xfer += $input->readListBegin($_etype1025, $_size1022); - for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) { - $elem1027 = null; - $xfer += $input->readI64($elem1027); - $this->fileIds []= $elem1027; + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { + $elem1036 = null; + $xfer += $input->readI64($elem1036); + $this->fileIds []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -113,13 +113,13 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size1028 = 0; - $_etype1031 = 0; - $xfer += $input->readListBegin($_etype1031, $_size1028); - for ($_i1032 = 0; $_i1032 < $_size1028; ++$_i1032) { - $elem1033 = null; - $xfer += $input->readString($elem1033); - $this->metadata []= $elem1033; + $_size1037 = 0; + $_etype1040 = 0; + $xfer += $input->readListBegin($_etype1040, $_size1037); + for ($_i1041 = 0; $_i1041 < $_size1037; ++$_i1041) { + $elem1042 = null; + $xfer += $input->readString($elem1042); + $this->metadata []= $elem1042; } $xfer += $input->readListEnd(); } else { @@ -153,8 +153,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('fileIds', TType::LST, 1); $output->writeListBegin(TType::I64, count($this->fileIds)); - foreach ($this->fileIds as $iter1034) { - $xfer += $output->writeI64($iter1034); + foreach ($this->fileIds as $iter1043) { + $xfer += $output->writeI64($iter1043); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -165,8 +165,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('metadata', TType::LST, 2); $output->writeListBegin(TType::STRING, count($this->metadata)); - foreach ($this->metadata as $iter1035) { - $xfer += $output->writeString($iter1035); + foreach ($this->metadata as $iter1044) { + $xfer += $output->writeString($iter1044); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/RenamePartitionRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/RenamePartitionRequest.php index 11582d3186ad..15ea00cfb866 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/RenamePartitionRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/RenamePartitionRequest.php @@ -174,13 +174,13 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->partVals = array(); - $_size1283 = 0; - $_etype1286 = 0; - $xfer += $input->readListBegin($_etype1286, $_size1283); - for ($_i1287 = 0; $_i1287 < $_size1283; ++$_i1287) { - $elem1288 = null; - $xfer += $input->readString($elem1288); - $this->partVals []= $elem1288; + $_size1292 = 0; + $_etype1295 = 0; + $xfer += $input->readListBegin($_etype1295, $_size1292); + for ($_i1296 = 0; $_i1296 < $_size1292; ++$_i1296) { + $elem1297 = null; + $xfer += $input->readString($elem1297); + $this->partVals []= $elem1297; } $xfer += $input->readListEnd(); } else { @@ -251,8 +251,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partVals', TType::LST, 4); $output->writeListBegin(TType::STRING, count($this->partVals)); - foreach ($this->partVals as $iter1289) { - $xfer += $output->writeString($iter1289); + foreach ($this->partVals as $iter1298) { + $xfer += $output->writeString($iter1298); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplayedTxnsForPolicyResult.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplayedTxnsForPolicyResult.php index 5fbe8579a045..b34657626464 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplayedTxnsForPolicyResult.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplayedTxnsForPolicyResult.php @@ -72,16 +72,16 @@ public function read($input) case 1: if ($ftype == TType::MAP) { $this->replTxnMapEntry = array(); - $_size1423 = 0; - $_ktype1424 = 0; - $_vtype1425 = 0; - $xfer += $input->readMapBegin($_ktype1424, $_vtype1425, $_size1423); - for ($_i1427 = 0; $_i1427 < $_size1423; ++$_i1427) { - $key1428 = ''; - $val1429 = ''; - $xfer += $input->readString($key1428); - $xfer += $input->readString($val1429); - $this->replTxnMapEntry[$key1428] = $val1429; + $_size1432 = 0; + $_ktype1433 = 0; + $_vtype1434 = 0; + $xfer += $input->readMapBegin($_ktype1433, $_vtype1434, $_size1432); + for ($_i1436 = 0; $_i1436 < $_size1432; ++$_i1436) { + $key1437 = ''; + $val1438 = ''; + $xfer += $input->readString($key1437); + $xfer += $input->readString($val1438); + $this->replTxnMapEntry[$key1437] = $val1438; } $xfer += $input->readMapEnd(); } else { @@ -108,9 +108,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('replTxnMapEntry', TType::MAP, 1); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->replTxnMapEntry)); - foreach ($this->replTxnMapEntry as $kiter1430 => $viter1431) { - $xfer += $output->writeString($kiter1430); - $xfer += $output->writeString($viter1431); + foreach ($this->replTxnMapEntry as $kiter1439 => $viter1440) { + $xfer += $output->writeString($kiter1439); + $xfer += $output->writeString($viter1440); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplicationMetricList.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplicationMetricList.php index 84a046fa7f7e..0e63550b80f3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplicationMetricList.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ReplicationMetricList.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->replicationMetricList = array(); - $_size1395 = 0; - $_etype1398 = 0; - $xfer += $input->readListBegin($_etype1398, $_size1395); - for ($_i1399 = 0; $_i1399 < $_size1395; ++$_i1399) { - $elem1400 = null; - $elem1400 = new \metastore\ReplicationMetrics(); - $xfer += $elem1400->read($input); - $this->replicationMetricList []= $elem1400; + $_size1404 = 0; + $_etype1407 = 0; + $xfer += $input->readListBegin($_etype1407, $_size1404); + for ($_i1408 = 0; $_i1408 < $_size1404; ++$_i1408) { + $elem1409 = null; + $elem1409 = new \metastore\ReplicationMetrics(); + $xfer += $elem1409->read($input); + $this->replicationMetricList []= $elem1409; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('replicationMetricList', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->replicationMetricList)); - foreach ($this->replicationMetricList as $iter1401) { - $xfer += $iter1401->write($output); + foreach ($this->replicationMetricList as $iter1410) { + $xfer += $iter1410->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/SchemaVersion.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/SchemaVersion.php index d563723658a7..ff70f6f6eae1 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/SchemaVersion.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/SchemaVersion.php @@ -202,14 +202,14 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size1190 = 0; - $_etype1193 = 0; - $xfer += $input->readListBegin($_etype1193, $_size1190); - for ($_i1194 = 0; $_i1194 < $_size1190; ++$_i1194) { - $elem1195 = null; - $elem1195 = new \metastore\FieldSchema(); - $xfer += $elem1195->read($input); - $this->cols []= $elem1195; + $_size1199 = 0; + $_etype1202 = 0; + $xfer += $input->readListBegin($_etype1202, $_size1199); + for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) { + $elem1204 = null; + $elem1204 = new \metastore\FieldSchema(); + $xfer += $elem1204->read($input); + $this->cols []= $elem1204; } $xfer += $input->readListEnd(); } else { @@ -297,8 +297,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('cols', TType::LST, 4); $output->writeListBegin(TType::STRUCT, count($this->cols)); - foreach ($this->cols as $iter1196) { - $xfer += $iter1196->write($output); + foreach ($this->cols as $iter1205) { + $xfer += $iter1205->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowCompactResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowCompactResponse.php index 4e003f3a0657..72d8ad68a7f7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowCompactResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowCompactResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { - $elem830 = null; - $elem830 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem830->read($input); - $this->compacts []= $elem830; + $_size834 = 0; + $_etype837 = 0; + $xfer += $input->readListBegin($_etype837, $_size834); + for ($_i838 = 0; $_i838 < $_size834; ++$_i838) { + $elem839 = null; + $elem839 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem839->read($input); + $this->compacts []= $elem839; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('compacts', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->compacts)); - foreach ($this->compacts as $iter831) { - $xfer += $iter831->write($output); + foreach ($this->compacts as $iter840) { + $xfer += $iter840->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowLocksResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowLocksResponse.php index 83f3857f7929..5e221df4d28c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowLocksResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ShowLocksResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size793 = 0; - $_etype796 = 0; - $xfer += $input->readListBegin($_etype796, $_size793); - for ($_i797 = 0; $_i797 < $_size793; ++$_i797) { - $elem798 = null; - $elem798 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem798->read($input); - $this->locks []= $elem798; + $_size802 = 0; + $_etype805 = 0; + $xfer += $input->readListBegin($_etype805, $_size802); + for ($_i806 = 0; $_i806 < $_size802; ++$_i806) { + $elem807 = null; + $elem807 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem807->read($input); + $this->locks []= $elem807; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('locks', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->locks)); - foreach ($this->locks as $iter799) { - $xfer += $iter799->write($output); + foreach ($this->locks as $iter808) { + $xfer += $iter808->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_args.php index 32f8fc93c492..2b7b16fb0557 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_args.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1602 = 0; - $_etype1605 = 0; - $xfer += $input->readListBegin($_etype1605, $_size1602); - for ($_i1606 = 0; $_i1606 < $_size1602; ++$_i1606) { - $elem1607 = null; - $elem1607 = new \metastore\Partition(); - $xfer += $elem1607->read($input); - $this->new_parts []= $elem1607; + $_size1611 = 0; + $_etype1614 = 0; + $xfer += $input->readListBegin($_etype1614, $_size1611); + for ($_i1615 = 0; $_i1615 < $_size1611; ++$_i1615) { + $elem1616 = null; + $elem1616 = new \metastore\Partition(); + $xfer += $elem1616->read($input); + $this->new_parts []= $elem1616; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('new_parts', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - foreach ($this->new_parts as $iter1608) { - $xfer += $iter1608->write($output); + foreach ($this->new_parts as $iter1617) { + $xfer += $iter1617->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_pspec_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_pspec_args.php index 7cca10d2fdfc..36f1444ba570 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_pspec_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_partitions_pspec_args.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1609 = 0; - $_etype1612 = 0; - $xfer += $input->readListBegin($_etype1612, $_size1609); - for ($_i1613 = 0; $_i1613 < $_size1609; ++$_i1613) { - $elem1614 = null; - $elem1614 = new \metastore\PartitionSpec(); - $xfer += $elem1614->read($input); - $this->new_parts []= $elem1614; + $_size1618 = 0; + $_etype1621 = 0; + $xfer += $input->readListBegin($_etype1621, $_size1618); + for ($_i1622 = 0; $_i1622 < $_size1618; ++$_i1622) { + $elem1623 = null; + $elem1623 = new \metastore\PartitionSpec(); + $xfer += $elem1623->read($input); + $this->new_parts []= $elem1623; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('new_parts', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - foreach ($this->new_parts as $iter1615) { - $xfer += $iter1615->write($output); + foreach ($this->new_parts as $iter1624) { + $xfer += $iter1624->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_write_ids_to_min_history_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_write_ids_to_min_history_args.php index 2b5f0ab606d6..5f2b22818b8a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_write_ids_to_min_history_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_add_write_ids_to_min_history_args.php @@ -91,16 +91,16 @@ public function read($input) case 2: if ($ftype == TType::MAP) { $this->writeIds = array(); - $_size1948 = 0; - $_ktype1949 = 0; - $_vtype1950 = 0; - $xfer += $input->readMapBegin($_ktype1949, $_vtype1950, $_size1948); - for ($_i1952 = 0; $_i1952 < $_size1948; ++$_i1952) { - $key1953 = ''; - $val1954 = 0; - $xfer += $input->readString($key1953); - $xfer += $input->readI64($val1954); - $this->writeIds[$key1953] = $val1954; + $_size1957 = 0; + $_ktype1958 = 0; + $_vtype1959 = 0; + $xfer += $input->readMapBegin($_ktype1958, $_vtype1959, $_size1957); + for ($_i1961 = 0; $_i1961 < $_size1957; ++$_i1961) { + $key1962 = ''; + $val1963 = 0; + $xfer += $input->readString($key1962); + $xfer += $input->readI64($val1963); + $this->writeIds[$key1962] = $val1963; } $xfer += $input->readMapEnd(); } else { @@ -132,9 +132,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('writeIds', TType::MAP, 2); $output->writeMapBegin(TType::STRING, TType::I64, count($this->writeIds)); - foreach ($this->writeIds as $kiter1955 => $viter1956) { - $xfer += $output->writeString($kiter1955); - $xfer += $output->writeI64($viter1956); + foreach ($this->writeIds as $kiter1964 => $viter1965) { + $xfer += $output->writeString($kiter1964); + $xfer += $output->writeI64($viter1965); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php index 2436045d3b76..380182070725 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php @@ -107,14 +107,14 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1823 = 0; - $_etype1826 = 0; - $xfer += $input->readListBegin($_etype1826, $_size1823); - for ($_i1827 = 0; $_i1827 < $_size1823; ++$_i1827) { - $elem1828 = null; - $elem1828 = new \metastore\Partition(); - $xfer += $elem1828->read($input); - $this->new_parts []= $elem1828; + $_size1832 = 0; + $_etype1835 = 0; + $xfer += $input->readListBegin($_etype1835, $_size1832); + for ($_i1836 = 0; $_i1836 < $_size1832; ++$_i1836) { + $elem1837 = null; + $elem1837 = new \metastore\Partition(); + $xfer += $elem1837->read($input); + $this->new_parts []= $elem1837; } $xfer += $input->readListEnd(); } else { @@ -151,8 +151,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('new_parts', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - foreach ($this->new_parts as $iter1829) { - $xfer += $iter1829->write($output); + foreach ($this->new_parts as $iter1838) { + $xfer += $iter1838->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php index 5e54fdab70a1..b70a9194f06b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php @@ -120,14 +120,14 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1830 = 0; - $_etype1833 = 0; - $xfer += $input->readListBegin($_etype1833, $_size1830); - for ($_i1834 = 0; $_i1834 < $_size1830; ++$_i1834) { - $elem1835 = null; - $elem1835 = new \metastore\Partition(); - $xfer += $elem1835->read($input); - $this->new_parts []= $elem1835; + $_size1839 = 0; + $_etype1842 = 0; + $xfer += $input->readListBegin($_etype1842, $_size1839); + for ($_i1843 = 0; $_i1843 < $_size1839; ++$_i1843) { + $elem1844 = null; + $elem1844 = new \metastore\Partition(); + $xfer += $elem1844->read($input); + $this->new_parts []= $elem1844; } $xfer += $input->readListEnd(); } else { @@ -172,8 +172,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('new_parts', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - foreach ($this->new_parts as $iter1836) { - $xfer += $iter1836->write($output); + foreach ($this->new_parts as $iter1845) { + $xfer += $iter1845->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_args.php index 62884cf57043..73139cb0dd10 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_args.php @@ -106,13 +106,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1616 = 0; - $_etype1619 = 0; - $xfer += $input->readListBegin($_etype1619, $_size1616); - for ($_i1620 = 0; $_i1620 < $_size1616; ++$_i1620) { - $elem1621 = null; - $xfer += $input->readString($elem1621); - $this->part_vals []= $elem1621; + $_size1625 = 0; + $_etype1628 = 0; + $xfer += $input->readListBegin($_etype1628, $_size1625); + for ($_i1629 = 0; $_i1629 < $_size1625; ++$_i1629) { + $elem1630 = null; + $xfer += $input->readString($elem1630); + $this->part_vals []= $elem1630; } $xfer += $input->readListEnd(); } else { @@ -149,8 +149,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1622) { - $xfer += $output->writeString($iter1622); + foreach ($this->part_vals as $iter1631) { + $xfer += $output->writeString($iter1631); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_with_environment_context_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_with_environment_context_args.php index 2202b2028cd4..7c41cf53b8f8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_with_environment_context_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_append_partition_with_environment_context_args.php @@ -119,13 +119,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1623 = 0; - $_etype1626 = 0; - $xfer += $input->readListBegin($_etype1626, $_size1623); - for ($_i1627 = 0; $_i1627 < $_size1623; ++$_i1627) { - $elem1628 = null; - $xfer += $input->readString($elem1628); - $this->part_vals []= $elem1628; + $_size1632 = 0; + $_etype1635 = 0; + $xfer += $input->readListBegin($_etype1635, $_size1632); + for ($_i1636 = 0; $_i1636 < $_size1632; ++$_i1636) { + $elem1637 = null; + $xfer += $input->readString($elem1637); + $this->part_vals []= $elem1637; } $xfer += $input->readListEnd(); } else { @@ -170,8 +170,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1629) { - $xfer += $output->writeString($iter1629); + foreach ($this->part_vals as $iter1638) { + $xfer += $output->writeString($iter1638); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_create_table_with_constraints_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_create_table_with_constraints_args.php index 16fe33dc2370..3de928d8a0d4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_create_table_with_constraints_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_create_table_with_constraints_args.php @@ -175,14 +175,14 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size1490 = 0; - $_etype1493 = 0; - $xfer += $input->readListBegin($_etype1493, $_size1490); - for ($_i1494 = 0; $_i1494 < $_size1490; ++$_i1494) { - $elem1495 = null; - $elem1495 = new \metastore\SQLPrimaryKey(); - $xfer += $elem1495->read($input); - $this->primaryKeys []= $elem1495; + $_size1499 = 0; + $_etype1502 = 0; + $xfer += $input->readListBegin($_etype1502, $_size1499); + for ($_i1503 = 0; $_i1503 < $_size1499; ++$_i1503) { + $elem1504 = null; + $elem1504 = new \metastore\SQLPrimaryKey(); + $xfer += $elem1504->read($input); + $this->primaryKeys []= $elem1504; } $xfer += $input->readListEnd(); } else { @@ -192,14 +192,14 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size1496 = 0; - $_etype1499 = 0; - $xfer += $input->readListBegin($_etype1499, $_size1496); - for ($_i1500 = 0; $_i1500 < $_size1496; ++$_i1500) { - $elem1501 = null; - $elem1501 = new \metastore\SQLForeignKey(); - $xfer += $elem1501->read($input); - $this->foreignKeys []= $elem1501; + $_size1505 = 0; + $_etype1508 = 0; + $xfer += $input->readListBegin($_etype1508, $_size1505); + for ($_i1509 = 0; $_i1509 < $_size1505; ++$_i1509) { + $elem1510 = null; + $elem1510 = new \metastore\SQLForeignKey(); + $xfer += $elem1510->read($input); + $this->foreignKeys []= $elem1510; } $xfer += $input->readListEnd(); } else { @@ -209,14 +209,14 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size1502 = 0; - $_etype1505 = 0; - $xfer += $input->readListBegin($_etype1505, $_size1502); - for ($_i1506 = 0; $_i1506 < $_size1502; ++$_i1506) { - $elem1507 = null; - $elem1507 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem1507->read($input); - $this->uniqueConstraints []= $elem1507; + $_size1511 = 0; + $_etype1514 = 0; + $xfer += $input->readListBegin($_etype1514, $_size1511); + for ($_i1515 = 0; $_i1515 < $_size1511; ++$_i1515) { + $elem1516 = null; + $elem1516 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem1516->read($input); + $this->uniqueConstraints []= $elem1516; } $xfer += $input->readListEnd(); } else { @@ -226,14 +226,14 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size1508 = 0; - $_etype1511 = 0; - $xfer += $input->readListBegin($_etype1511, $_size1508); - for ($_i1512 = 0; $_i1512 < $_size1508; ++$_i1512) { - $elem1513 = null; - $elem1513 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem1513->read($input); - $this->notNullConstraints []= $elem1513; + $_size1517 = 0; + $_etype1520 = 0; + $xfer += $input->readListBegin($_etype1520, $_size1517); + for ($_i1521 = 0; $_i1521 < $_size1517; ++$_i1521) { + $elem1522 = null; + $elem1522 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem1522->read($input); + $this->notNullConstraints []= $elem1522; } $xfer += $input->readListEnd(); } else { @@ -243,14 +243,14 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size1514 = 0; - $_etype1517 = 0; - $xfer += $input->readListBegin($_etype1517, $_size1514); - for ($_i1518 = 0; $_i1518 < $_size1514; ++$_i1518) { - $elem1519 = null; - $elem1519 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem1519->read($input); - $this->defaultConstraints []= $elem1519; + $_size1523 = 0; + $_etype1526 = 0; + $xfer += $input->readListBegin($_etype1526, $_size1523); + for ($_i1527 = 0; $_i1527 < $_size1523; ++$_i1527) { + $elem1528 = null; + $elem1528 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem1528->read($input); + $this->defaultConstraints []= $elem1528; } $xfer += $input->readListEnd(); } else { @@ -260,14 +260,14 @@ public function read($input) case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size1520 = 0; - $_etype1523 = 0; - $xfer += $input->readListBegin($_etype1523, $_size1520); - for ($_i1524 = 0; $_i1524 < $_size1520; ++$_i1524) { - $elem1525 = null; - $elem1525 = new \metastore\SQLCheckConstraint(); - $xfer += $elem1525->read($input); - $this->checkConstraints []= $elem1525; + $_size1529 = 0; + $_etype1532 = 0; + $xfer += $input->readListBegin($_etype1532, $_size1529); + for ($_i1533 = 0; $_i1533 < $_size1529; ++$_i1533) { + $elem1534 = null; + $elem1534 = new \metastore\SQLCheckConstraint(); + $xfer += $elem1534->read($input); + $this->checkConstraints []= $elem1534; } $xfer += $input->readListEnd(); } else { @@ -302,8 +302,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('primaryKeys', TType::LST, 2); $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); - foreach ($this->primaryKeys as $iter1526) { - $xfer += $iter1526->write($output); + foreach ($this->primaryKeys as $iter1535) { + $xfer += $iter1535->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -314,8 +314,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('foreignKeys', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); - foreach ($this->foreignKeys as $iter1527) { - $xfer += $iter1527->write($output); + foreach ($this->foreignKeys as $iter1536) { + $xfer += $iter1536->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -326,8 +326,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('uniqueConstraints', TType::LST, 4); $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); - foreach ($this->uniqueConstraints as $iter1528) { - $xfer += $iter1528->write($output); + foreach ($this->uniqueConstraints as $iter1537) { + $xfer += $iter1537->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -338,8 +338,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('notNullConstraints', TType::LST, 5); $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); - foreach ($this->notNullConstraints as $iter1529) { - $xfer += $iter1529->write($output); + foreach ($this->notNullConstraints as $iter1538) { + $xfer += $iter1538->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -350,8 +350,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('defaultConstraints', TType::LST, 6); $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); - foreach ($this->defaultConstraints as $iter1530) { - $xfer += $iter1530->write($output); + foreach ($this->defaultConstraints as $iter1539) { + $xfer += $iter1539->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -362,8 +362,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('checkConstraints', TType::LST, 7); $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); - foreach ($this->checkConstraints as $iter1531) { - $xfer += $iter1531->write($output); + foreach ($this->checkConstraints as $iter1540) { + $xfer += $iter1540->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_args.php index e54efa4ad9b6..e8948e465fe3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_args.php @@ -118,13 +118,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1630 = 0; - $_etype1633 = 0; - $xfer += $input->readListBegin($_etype1633, $_size1630); - for ($_i1634 = 0; $_i1634 < $_size1630; ++$_i1634) { - $elem1635 = null; - $xfer += $input->readString($elem1635); - $this->part_vals []= $elem1635; + $_size1639 = 0; + $_etype1642 = 0; + $xfer += $input->readListBegin($_etype1642, $_size1639); + for ($_i1643 = 0; $_i1643 < $_size1639; ++$_i1643) { + $elem1644 = null; + $xfer += $input->readString($elem1644); + $this->part_vals []= $elem1644; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1636) { - $xfer += $output->writeString($iter1636); + foreach ($this->part_vals as $iter1645) { + $xfer += $output->writeString($iter1645); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_with_environment_context_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_with_environment_context_args.php index f1a2ae3291ad..ef467910b7ad 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_with_environment_context_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_drop_partition_with_environment_context_args.php @@ -131,13 +131,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1637 = 0; - $_etype1640 = 0; - $xfer += $input->readListBegin($_etype1640, $_size1637); - for ($_i1641 = 0; $_i1641 < $_size1637; ++$_i1641) { - $elem1642 = null; - $xfer += $input->readString($elem1642); - $this->part_vals []= $elem1642; + $_size1646 = 0; + $_etype1649 = 0; + $xfer += $input->readListBegin($_etype1649, $_size1646); + for ($_i1650 = 0; $_i1650 < $_size1646; ++$_i1650) { + $elem1651 = null; + $xfer += $input->readString($elem1651); + $this->part_vals []= $elem1651; } $xfer += $input->readListEnd(); } else { @@ -189,8 +189,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1643) { - $xfer += $output->writeString($iter1643); + foreach ($this->part_vals as $iter1652) { + $xfer += $output->writeString($iter1652); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partition_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partition_args.php index 827f8d3e08cc..2ac3332e5662 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partition_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partition_args.php @@ -120,16 +120,16 @@ public function read($input) case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1651 = 0; - $_ktype1652 = 0; - $_vtype1653 = 0; - $xfer += $input->readMapBegin($_ktype1652, $_vtype1653, $_size1651); - for ($_i1655 = 0; $_i1655 < $_size1651; ++$_i1655) { - $key1656 = ''; - $val1657 = ''; - $xfer += $input->readString($key1656); - $xfer += $input->readString($val1657); - $this->partitionSpecs[$key1656] = $val1657; + $_size1660 = 0; + $_ktype1661 = 0; + $_vtype1662 = 0; + $xfer += $input->readMapBegin($_ktype1661, $_vtype1662, $_size1660); + for ($_i1664 = 0; $_i1664 < $_size1660; ++$_i1664) { + $key1665 = ''; + $val1666 = ''; + $xfer += $input->readString($key1665); + $xfer += $input->readString($val1666); + $this->partitionSpecs[$key1665] = $val1666; } $xfer += $input->readMapEnd(); } else { @@ -184,9 +184,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionSpecs', TType::MAP, 1); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); - foreach ($this->partitionSpecs as $kiter1658 => $viter1659) { - $xfer += $output->writeString($kiter1658); - $xfer += $output->writeString($viter1659); + foreach ($this->partitionSpecs as $kiter1667 => $viter1668) { + $xfer += $output->writeString($kiter1667); + $xfer += $output->writeString($viter1668); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_args.php index cc2115e26374..29d255d57f19 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_args.php @@ -120,16 +120,16 @@ public function read($input) case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1660 = 0; - $_ktype1661 = 0; - $_vtype1662 = 0; - $xfer += $input->readMapBegin($_ktype1661, $_vtype1662, $_size1660); - for ($_i1664 = 0; $_i1664 < $_size1660; ++$_i1664) { - $key1665 = ''; - $val1666 = ''; - $xfer += $input->readString($key1665); - $xfer += $input->readString($val1666); - $this->partitionSpecs[$key1665] = $val1666; + $_size1669 = 0; + $_ktype1670 = 0; + $_vtype1671 = 0; + $xfer += $input->readMapBegin($_ktype1670, $_vtype1671, $_size1669); + for ($_i1673 = 0; $_i1673 < $_size1669; ++$_i1673) { + $key1674 = ''; + $val1675 = ''; + $xfer += $input->readString($key1674); + $xfer += $input->readString($val1675); + $this->partitionSpecs[$key1674] = $val1675; } $xfer += $input->readMapEnd(); } else { @@ -184,9 +184,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionSpecs', TType::MAP, 1); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); - foreach ($this->partitionSpecs as $kiter1667 => $viter1668) { - $xfer += $output->writeString($kiter1667); - $xfer += $output->writeString($viter1668); + foreach ($this->partitionSpecs as $kiter1676 => $viter1677) { + $xfer += $output->writeString($kiter1676); + $xfer += $output->writeString($viter1677); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_result.php index 0311592c5c84..32954c324429 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_exchange_partitions_result.php @@ -121,14 +121,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1669 = 0; - $_etype1672 = 0; - $xfer += $input->readListBegin($_etype1672, $_size1669); - for ($_i1673 = 0; $_i1673 < $_size1669; ++$_i1673) { - $elem1674 = null; - $elem1674 = new \metastore\Partition(); - $xfer += $elem1674->read($input); - $this->success []= $elem1674; + $_size1678 = 0; + $_etype1681 = 0; + $xfer += $input->readListBegin($_etype1681, $_size1678); + for ($_i1682 = 0; $_i1682 < $_size1678; ++$_i1682) { + $elem1683 = null; + $elem1683 = new \metastore\Partition(); + $xfer += $elem1683->read($input); + $this->success []= $elem1683; } $xfer += $input->readListEnd(); } else { @@ -187,8 +187,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1675) { - $xfer += $iter1675->write($output); + foreach ($this->success as $iter1684) { + $xfer += $iter1684->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_fetch_partition_names_req_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_fetch_partition_names_req_result.php index 388b4a50d560..b6d996f699b7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_fetch_partition_names_req_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_fetch_partition_names_req_result.php @@ -94,13 +94,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1725 = 0; - $_etype1728 = 0; - $xfer += $input->readListBegin($_etype1728, $_size1725); - for ($_i1729 = 0; $_i1729 < $_size1725; ++$_i1729) { - $elem1730 = null; - $xfer += $input->readString($elem1730); - $this->success []= $elem1730; + $_size1734 = 0; + $_etype1737 = 0; + $xfer += $input->readListBegin($_etype1737, $_size1734); + for ($_i1738 = 0; $_i1738 < $_size1734; ++$_i1738) { + $elem1739 = null; + $xfer += $input->readString($elem1739); + $this->success []= $elem1739; } $xfer += $input->readListEnd(); } else { @@ -143,8 +143,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1731) { - $xfer += $output->writeString($iter1731); + foreach ($this->success as $iter1740) { + $xfer += $output->writeString($iter1740); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php index 9e566ded1a88..3f1e2a0a3da5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php @@ -68,13 +68,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1957 = 0; - $_etype1960 = 0; - $xfer += $input->readListBegin($_etype1960, $_size1957); - for ($_i1961 = 0; $_i1961 < $_size1957; ++$_i1961) { - $elem1962 = null; - $xfer += $input->readString($elem1962); - $this->success []= $elem1962; + $_size1966 = 0; + $_etype1969 = 0; + $xfer += $input->readListBegin($_etype1969, $_size1966); + for ($_i1970 = 0; $_i1970 < $_size1966; ++$_i1970) { + $elem1971 = null; + $xfer += $input->readString($elem1971); + $this->success []= $elem1971; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1963) { - $xfer += $output->writeString($iter1963); + foreach ($this->success as $iter1972) { + $xfer += $output->writeString($iter1972); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_databases_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_databases_result.php index 8c5d80730c08..a986fd0c2232 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_databases_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_databases_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1439 = 0; - $_etype1442 = 0; - $xfer += $input->readListBegin($_etype1442, $_size1439); - for ($_i1443 = 0; $_i1443 < $_size1439; ++$_i1443) { - $elem1444 = null; - $xfer += $input->readString($elem1444); - $this->success []= $elem1444; + $_size1448 = 0; + $_etype1451 = 0; + $xfer += $input->readListBegin($_etype1451, $_size1448); + for ($_i1452 = 0; $_i1452 < $_size1448; ++$_i1452) { + $elem1453 = null; + $xfer += $input->readString($elem1453); + $this->success []= $elem1453; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1445) { - $xfer += $output->writeString($iter1445); + foreach ($this->success as $iter1454) { + $xfer += $output->writeString($iter1454); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result.php index e918a3cbf515..8af20b41659a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1553 = 0; - $_etype1556 = 0; - $xfer += $input->readListBegin($_etype1556, $_size1553); - for ($_i1557 = 0; $_i1557 < $_size1553; ++$_i1557) { - $elem1558 = null; - $elem1558 = new \metastore\Table(); - $xfer += $elem1558->read($input); - $this->success []= $elem1558; + $_size1562 = 0; + $_etype1565 = 0; + $xfer += $input->readListBegin($_etype1565, $_size1562); + for ($_i1566 = 0; $_i1566 < $_size1562; ++$_i1566) { + $elem1567 = null; + $elem1567 = new \metastore\Table(); + $xfer += $elem1567->read($input); + $this->success []= $elem1567; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1559) { - $xfer += $iter1559->write($output); + foreach ($this->success as $iter1568) { + $xfer += $iter1568->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_packages_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_packages_result.php index 6701dad41b67..c904616579bd 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_packages_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_packages_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1985 = 0; - $_etype1988 = 0; - $xfer += $input->readListBegin($_etype1988, $_size1985); - for ($_i1989 = 0; $_i1989 < $_size1985; ++$_i1989) { - $elem1990 = null; - $xfer += $input->readString($elem1990); - $this->success []= $elem1990; + $_size1994 = 0; + $_etype1997 = 0; + $xfer += $input->readListBegin($_etype1997, $_size1994); + for ($_i1998 = 0; $_i1998 < $_size1994; ++$_i1998) { + $elem1999 = null; + $xfer += $input->readString($elem1999); + $this->success []= $elem1999; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1991) { - $xfer += $output->writeString($iter1991); + foreach ($this->success as $iter2000) { + $xfer += $output->writeString($iter2000); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_stored_procedures_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_stored_procedures_result.php index 1e6b151f055d..eb575b7d8415 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_stored_procedures_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_stored_procedures_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1978 = 0; - $_etype1981 = 0; - $xfer += $input->readListBegin($_etype1981, $_size1978); - for ($_i1982 = 0; $_i1982 < $_size1978; ++$_i1982) { - $elem1983 = null; - $xfer += $input->readString($elem1983); - $this->success []= $elem1983; + $_size1987 = 0; + $_etype1990 = 0; + $xfer += $input->readListBegin($_etype1990, $_size1987); + for ($_i1991 = 0; $_i1991 < $_size1987; ++$_i1991) { + $elem1992 = null; + $xfer += $input->readString($elem1992); + $this->success []= $elem1992; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1984) { - $xfer += $output->writeString($iter1984); + foreach ($this->success as $iter1993) { + $xfer += $output->writeString($iter1993); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_tables_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_tables_result.php index 2004b98d4b31..93369426541a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_tables_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_tables_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1581 = 0; - $_etype1584 = 0; - $xfer += $input->readListBegin($_etype1584, $_size1581); - for ($_i1585 = 0; $_i1585 < $_size1581; ++$_i1585) { - $elem1586 = null; - $xfer += $input->readString($elem1586); - $this->success []= $elem1586; + $_size1590 = 0; + $_etype1593 = 0; + $xfer += $input->readListBegin($_etype1593, $_size1590); + for ($_i1594 = 0; $_i1594 < $_size1590; ++$_i1594) { + $elem1595 = null; + $xfer += $input->readString($elem1595); + $this->success []= $elem1595; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1587) { - $xfer += $output->writeString($iter1587); + foreach ($this->success as $iter1596) { + $xfer += $output->writeString($iter1596); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php index da6fba5c2c2b..0969f8b8575b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php @@ -68,13 +68,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1934 = 0; - $_etype1937 = 0; - $xfer += $input->readListBegin($_etype1937, $_size1934); - for ($_i1938 = 0; $_i1938 < $_size1934; ++$_i1938) { - $elem1939 = null; - $xfer += $input->readString($elem1939); - $this->success []= $elem1939; + $_size1943 = 0; + $_etype1946 = 0; + $xfer += $input->readListBegin($_etype1946, $_size1943); + for ($_i1947 = 0; $_i1947 < $_size1943; ++$_i1947) { + $elem1948 = null; + $xfer += $input->readString($elem1948); + $this->success []= $elem1948; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1940) { - $xfer += $output->writeString($iter1940); + foreach ($this->success as $iter1949) { + $xfer += $output->writeString($iter1949); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_write_event_info_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_write_event_info_result.php index a5f93a7a4cc1..4a92f5abb377 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_write_event_info_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_write_event_info_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1992 = 0; - $_etype1995 = 0; - $xfer += $input->readListBegin($_etype1995, $_size1992); - for ($_i1996 = 0; $_i1996 < $_size1992; ++$_i1996) { - $elem1997 = null; - $elem1997 = new \metastore\WriteEventInfo(); - $xfer += $elem1997->read($input); - $this->success []= $elem1997; + $_size2001 = 0; + $_etype2004 = 0; + $xfer += $input->readListBegin($_etype2004, $_size2001); + for ($_i2005 = 0; $_i2005 < $_size2001; ++$_i2005) { + $elem2006 = null; + $elem2006 = new \metastore\WriteEventInfo(); + $xfer += $elem2006->read($input); + $this->success []= $elem2006; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1998) { - $xfer += $iter1998->write($output); + foreach ($this->success as $iter2007) { + $xfer += $iter2007->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_databases_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_databases_result.php index f12efd46ed85..f95dc65f7601 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_databases_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_databases_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1432 = 0; - $_etype1435 = 0; - $xfer += $input->readListBegin($_etype1435, $_size1432); - for ($_i1436 = 0; $_i1436 < $_size1432; ++$_i1436) { - $elem1437 = null; - $xfer += $input->readString($elem1437); - $this->success []= $elem1437; + $_size1441 = 0; + $_etype1444 = 0; + $xfer += $input->readListBegin($_etype1444, $_size1441); + for ($_i1445 = 0; $_i1445 < $_size1441; ++$_i1445) { + $elem1446 = null; + $xfer += $input->readString($elem1446); + $this->success []= $elem1446; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1438) { - $xfer += $output->writeString($iter1438); + foreach ($this->success as $iter1447) { + $xfer += $output->writeString($iter1447); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_dataconnectors_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_dataconnectors_result.php index b4b0c8d9de83..9f7bf3a18810 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_dataconnectors_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_dataconnectors_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1446 = 0; - $_etype1449 = 0; - $xfer += $input->readListBegin($_etype1449, $_size1446); - for ($_i1450 = 0; $_i1450 < $_size1446; ++$_i1450) { - $elem1451 = null; - $xfer += $input->readString($elem1451); - $this->success []= $elem1451; + $_size1455 = 0; + $_etype1458 = 0; + $xfer += $input->readListBegin($_etype1458, $_size1455); + for ($_i1459 = 0; $_i1459 < $_size1455; ++$_i1459) { + $elem1460 = null; + $xfer += $input->readString($elem1460); + $this->success []= $elem1460; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1452) { - $xfer += $output->writeString($iter1452); + foreach ($this->success as $iter1461) { + $xfer += $output->writeString($iter1461); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_result.php index 1e485d87cbe0..2be9a0584203 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_result.php @@ -108,14 +108,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1462 = 0; - $_etype1465 = 0; - $xfer += $input->readListBegin($_etype1465, $_size1462); - for ($_i1466 = 0; $_i1466 < $_size1462; ++$_i1466) { - $elem1467 = null; - $elem1467 = new \metastore\FieldSchema(); - $xfer += $elem1467->read($input); - $this->success []= $elem1467; + $_size1471 = 0; + $_etype1474 = 0; + $xfer += $input->readListBegin($_etype1474, $_size1471); + for ($_i1475 = 0; $_i1475 < $_size1471; ++$_i1475) { + $elem1476 = null; + $elem1476 = new \metastore\FieldSchema(); + $xfer += $elem1476->read($input); + $this->success []= $elem1476; } $xfer += $input->readListEnd(); } else { @@ -166,8 +166,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1468) { - $xfer += $iter1468->write($output); + foreach ($this->success as $iter1477) { + $xfer += $iter1477->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_with_environment_context_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_with_environment_context_result.php index d7e5e3ab70b1..0b418f4cd31d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_with_environment_context_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_fields_with_environment_context_result.php @@ -108,14 +108,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1469 = 0; - $_etype1472 = 0; - $xfer += $input->readListBegin($_etype1472, $_size1469); - for ($_i1473 = 0; $_i1473 < $_size1469; ++$_i1473) { - $elem1474 = null; - $elem1474 = new \metastore\FieldSchema(); - $xfer += $elem1474->read($input); - $this->success []= $elem1474; + $_size1478 = 0; + $_etype1481 = 0; + $xfer += $input->readListBegin($_etype1481, $_size1478); + for ($_i1482 = 0; $_i1482 < $_size1478; ++$_i1482) { + $elem1483 = null; + $elem1483 = new \metastore\FieldSchema(); + $xfer += $elem1483->read($input); + $this->success []= $elem1483; } $xfer += $input->readListEnd(); } else { @@ -166,8 +166,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1475) { - $xfer += $iter1475->write($output); + foreach ($this->success as $iter1484) { + $xfer += $iter1484->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php index 82545775e260..ddf110170f51 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1885 = 0; - $_etype1888 = 0; - $xfer += $input->readListBegin($_etype1888, $_size1885); - for ($_i1889 = 0; $_i1889 < $_size1885; ++$_i1889) { - $elem1890 = null; - $xfer += $input->readString($elem1890); - $this->success []= $elem1890; + $_size1894 = 0; + $_etype1897 = 0; + $xfer += $input->readListBegin($_etype1897, $_size1894); + for ($_i1898 = 0; $_i1898 < $_size1894; ++$_i1898) { + $elem1899 = null; + $xfer += $input->readString($elem1899); + $this->success []= $elem1899; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1891) { - $xfer += $output->writeString($iter1891); + foreach ($this->success as $iter1900) { + $xfer += $output->writeString($iter1900); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php index 45c44dfdbe73..4985ef7223d4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php @@ -68,13 +68,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1941 = 0; - $_etype1944 = 0; - $xfer += $input->readListBegin($_etype1944, $_size1941); - for ($_i1945 = 0; $_i1945 < $_size1941; ++$_i1945) { - $elem1946 = null; - $xfer += $input->readString($elem1946); - $this->success []= $elem1946; + $_size1950 = 0; + $_etype1953 = 0; + $xfer += $input->readListBegin($_etype1953, $_size1950); + for ($_i1954 = 0; $_i1954 < $_size1950; ++$_i1954) { + $elem1955 = null; + $xfer += $input->readString($elem1955); + $this->success []= $elem1955; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1947) { - $xfer += $output->writeString($iter1947); + foreach ($this->success as $iter1956) { + $xfer += $output->writeString($iter1956); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_materialized_views_for_rewriting_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_materialized_views_for_rewriting_result.php index f383858b40da..bf6ced33037b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_materialized_views_for_rewriting_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_materialized_views_for_rewriting_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1560 = 0; - $_etype1563 = 0; - $xfer += $input->readListBegin($_etype1563, $_size1560); - for ($_i1564 = 0; $_i1564 < $_size1560; ++$_i1564) { - $elem1565 = null; - $xfer += $input->readString($elem1565); - $this->success []= $elem1565; + $_size1569 = 0; + $_etype1572 = 0; + $xfer += $input->readListBegin($_etype1572, $_size1569); + for ($_i1573 = 0; $_i1573 < $_size1569; ++$_i1573) { + $elem1574 = null; + $xfer += $input->readString($elem1574); + $this->success []= $elem1574; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1566) { - $xfer += $output->writeString($iter1566); + foreach ($this->success as $iter1575) { + $xfer += $output->writeString($iter1575); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php index 49d356e1aab7..0ca9f491f6c3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1802 = 0; - $_etype1805 = 0; - $xfer += $input->readListBegin($_etype1805, $_size1802); - for ($_i1806 = 0; $_i1806 < $_size1802; ++$_i1806) { - $elem1807 = null; - $elem1807 = new \metastore\PartitionSpec(); - $xfer += $elem1807->read($input); - $this->success []= $elem1807; + $_size1811 = 0; + $_etype1814 = 0; + $xfer += $input->readListBegin($_etype1814, $_size1811); + for ($_i1815 = 0; $_i1815 < $_size1811; ++$_i1815) { + $elem1816 = null; + $elem1816 = new \metastore\PartitionSpec(); + $xfer += $elem1816->read($input); + $this->success []= $elem1816; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1808) { - $xfer += $iter1808->write($output); + foreach ($this->success as $iter1817) { + $xfer += $iter1817->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_args.php index 07b299000b99..a7fe216931e8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_args.php @@ -106,13 +106,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1644 = 0; - $_etype1647 = 0; - $xfer += $input->readListBegin($_etype1647, $_size1644); - for ($_i1648 = 0; $_i1648 < $_size1644; ++$_i1648) { - $elem1649 = null; - $xfer += $input->readString($elem1649); - $this->part_vals []= $elem1649; + $_size1653 = 0; + $_etype1656 = 0; + $xfer += $input->readListBegin($_etype1656, $_size1653); + for ($_i1657 = 0; $_i1657 < $_size1653; ++$_i1657) { + $elem1658 = null; + $xfer += $input->readString($elem1658); + $this->part_vals []= $elem1658; } $xfer += $input->readListEnd(); } else { @@ -149,8 +149,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1650) { - $xfer += $output->writeString($iter1650); + foreach ($this->part_vals as $iter1659) { + $xfer += $output->writeString($iter1659); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php index 4a8a960e5920..79fe461eaec0 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php @@ -118,13 +118,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1767 = 0; - $_etype1770 = 0; - $xfer += $input->readListBegin($_etype1770, $_size1767); - for ($_i1771 = 0; $_i1771 < $_size1767; ++$_i1771) { - $elem1772 = null; - $xfer += $input->readString($elem1772); - $this->part_vals []= $elem1772; + $_size1776 = 0; + $_etype1779 = 0; + $xfer += $input->readListBegin($_etype1779, $_size1776); + for ($_i1780 = 0; $_i1780 < $_size1776; ++$_i1780) { + $elem1781 = null; + $xfer += $input->readString($elem1781); + $this->part_vals []= $elem1781; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1773) { - $xfer += $output->writeString($iter1773); + foreach ($this->part_vals as $iter1782) { + $xfer += $output->writeString($iter1782); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php index 9941d532493a..f44d6c006dc8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php @@ -94,13 +94,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1774 = 0; - $_etype1777 = 0; - $xfer += $input->readListBegin($_etype1777, $_size1774); - for ($_i1778 = 0; $_i1778 < $_size1774; ++$_i1778) { - $elem1779 = null; - $xfer += $input->readString($elem1779); - $this->success []= $elem1779; + $_size1783 = 0; + $_etype1786 = 0; + $xfer += $input->readListBegin($_etype1786, $_size1783); + for ($_i1787 = 0; $_i1787 < $_size1783; ++$_i1787) { + $elem1788 = null; + $xfer += $input->readString($elem1788); + $this->success []= $elem1788; } $xfer += $input->readListEnd(); } else { @@ -143,8 +143,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1780) { - $xfer += $output->writeString($iter1780); + foreach ($this->success as $iter1789) { + $xfer += $output->writeString($iter1789); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php index 15d805c2e131..13b44b3a4a78 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php @@ -94,13 +94,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1781 = 0; - $_etype1784 = 0; - $xfer += $input->readListBegin($_etype1784, $_size1781); - for ($_i1785 = 0; $_i1785 < $_size1781; ++$_i1785) { - $elem1786 = null; - $xfer += $input->readString($elem1786); - $this->success []= $elem1786; + $_size1790 = 0; + $_etype1793 = 0; + $xfer += $input->readListBegin($_etype1793, $_size1790); + for ($_i1794 = 0; $_i1794 < $_size1790; ++$_i1794) { + $elem1795 = null; + $xfer += $input->readString($elem1795); + $this->success []= $elem1795; } $xfer += $input->readListEnd(); } else { @@ -143,8 +143,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1787) { - $xfer += $output->writeString($iter1787); + foreach ($this->success as $iter1796) { + $xfer += $output->writeString($iter1796); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_result.php index d3b5a853e6d6..b006122e27a2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_result.php @@ -94,13 +94,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1718 = 0; - $_etype1721 = 0; - $xfer += $input->readListBegin($_etype1721, $_size1718); - for ($_i1722 = 0; $_i1722 < $_size1718; ++$_i1722) { - $elem1723 = null; - $xfer += $input->readString($elem1723); - $this->success []= $elem1723; + $_size1727 = 0; + $_etype1730 = 0; + $xfer += $input->readListBegin($_etype1730, $_size1727); + for ($_i1731 = 0; $_i1731 < $_size1727; ++$_i1731) { + $elem1732 = null; + $xfer += $input->readString($elem1732); + $this->success []= $elem1732; } $xfer += $input->readListEnd(); } else { @@ -143,8 +143,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1724) { - $xfer += $output->writeString($iter1724); + foreach ($this->success as $iter1733) { + $xfer += $output->writeString($iter1733); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_with_auth_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_with_auth_args.php index fd4b09fed6f3..296e25d769f2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_with_auth_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_with_auth_args.php @@ -134,13 +134,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1676 = 0; - $_etype1679 = 0; - $xfer += $input->readListBegin($_etype1679, $_size1676); - for ($_i1680 = 0; $_i1680 < $_size1676; ++$_i1680) { - $elem1681 = null; - $xfer += $input->readString($elem1681); - $this->part_vals []= $elem1681; + $_size1685 = 0; + $_etype1688 = 0; + $xfer += $input->readListBegin($_etype1688, $_size1685); + for ($_i1689 = 0; $_i1689 < $_size1685; ++$_i1689) { + $elem1690 = null; + $xfer += $input->readString($elem1690); + $this->part_vals []= $elem1690; } $xfer += $input->readListEnd(); } else { @@ -157,13 +157,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1682 = 0; - $_etype1685 = 0; - $xfer += $input->readListBegin($_etype1685, $_size1682); - for ($_i1686 = 0; $_i1686 < $_size1682; ++$_i1686) { - $elem1687 = null; - $xfer += $input->readString($elem1687); - $this->group_names []= $elem1687; + $_size1691 = 0; + $_etype1694 = 0; + $xfer += $input->readListBegin($_etype1694, $_size1691); + for ($_i1695 = 0; $_i1695 < $_size1691; ++$_i1695) { + $elem1696 = null; + $xfer += $input->readString($elem1696); + $this->group_names []= $elem1696; } $xfer += $input->readListEnd(); } else { @@ -200,8 +200,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1688) { - $xfer += $output->writeString($iter1688); + foreach ($this->part_vals as $iter1697) { + $xfer += $output->writeString($iter1697); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -217,8 +217,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('group_names', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1689) { - $xfer += $output->writeString($iter1689); + foreach ($this->group_names as $iter1698) { + $xfer += $output->writeString($iter1698); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_req_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_req_result.php index ae237ad00916..967892f231d4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_req_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_req_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1795 = 0; - $_etype1798 = 0; - $xfer += $input->readListBegin($_etype1798, $_size1795); - for ($_i1799 = 0; $_i1799 < $_size1795; ++$_i1799) { - $elem1800 = null; - $elem1800 = new \metastore\Partition(); - $xfer += $elem1800->read($input); - $this->success []= $elem1800; + $_size1804 = 0; + $_etype1807 = 0; + $xfer += $input->readListBegin($_etype1807, $_size1804); + for ($_i1808 = 0; $_i1808 < $_size1804; ++$_i1808) { + $elem1809 = null; + $elem1809 = new \metastore\Partition(); + $xfer += $elem1809->read($input); + $this->success []= $elem1809; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1801) { - $xfer += $iter1801->write($output); + foreach ($this->success as $iter1810) { + $xfer += $iter1810->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php index f1cafe162b29..2a9dae36d70a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1788 = 0; - $_etype1791 = 0; - $xfer += $input->readListBegin($_etype1791, $_size1788); - for ($_i1792 = 0; $_i1792 < $_size1788; ++$_i1792) { - $elem1793 = null; - $elem1793 = new \metastore\Partition(); - $xfer += $elem1793->read($input); - $this->success []= $elem1793; + $_size1797 = 0; + $_etype1800 = 0; + $xfer += $input->readListBegin($_etype1800, $_size1797); + for ($_i1801 = 0; $_i1801 < $_size1797; ++$_i1801) { + $elem1802 = null; + $elem1802 = new \metastore\Partition(); + $xfer += $elem1802->read($input); + $this->success []= $elem1802; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1794) { - $xfer += $iter1794->write($output); + foreach ($this->success as $iter1803) { + $xfer += $iter1803->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php index 13873063a74a..a5e12c36cb00 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php @@ -106,13 +106,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1809 = 0; - $_etype1812 = 0; - $xfer += $input->readListBegin($_etype1812, $_size1809); - for ($_i1813 = 0; $_i1813 < $_size1809; ++$_i1813) { - $elem1814 = null; - $xfer += $input->readString($elem1814); - $this->names []= $elem1814; + $_size1818 = 0; + $_etype1821 = 0; + $xfer += $input->readListBegin($_etype1821, $_size1818); + for ($_i1822 = 0; $_i1822 < $_size1818; ++$_i1822) { + $elem1823 = null; + $xfer += $input->readString($elem1823); + $this->names []= $elem1823; } $xfer += $input->readListEnd(); } else { @@ -149,8 +149,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('names', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->names)); - foreach ($this->names as $iter1815) { - $xfer += $output->writeString($iter1815); + foreach ($this->names as $iter1824) { + $xfer += $output->writeString($iter1824); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php index 4d5dc278d4a7..cdcf7ded05de 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php @@ -108,14 +108,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1816 = 0; - $_etype1819 = 0; - $xfer += $input->readListBegin($_etype1819, $_size1816); - for ($_i1820 = 0; $_i1820 < $_size1816; ++$_i1820) { - $elem1821 = null; - $elem1821 = new \metastore\Partition(); - $xfer += $elem1821->read($input); - $this->success []= $elem1821; + $_size1825 = 0; + $_etype1828 = 0; + $xfer += $input->readListBegin($_etype1828, $_size1825); + for ($_i1829 = 0; $_i1829 < $_size1825; ++$_i1829) { + $elem1830 = null; + $elem1830 = new \metastore\Partition(); + $xfer += $elem1830->read($input); + $this->success []= $elem1830; } $xfer += $input->readListEnd(); } else { @@ -166,8 +166,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1822) { - $xfer += $iter1822->write($output); + foreach ($this->success as $iter1831) { + $xfer += $iter1831->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php index deeaf68b2570..b116286ec9ab 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php @@ -118,13 +118,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1732 = 0; - $_etype1735 = 0; - $xfer += $input->readListBegin($_etype1735, $_size1732); - for ($_i1736 = 0; $_i1736 < $_size1732; ++$_i1736) { - $elem1737 = null; - $xfer += $input->readString($elem1737); - $this->part_vals []= $elem1737; + $_size1741 = 0; + $_etype1744 = 0; + $xfer += $input->readListBegin($_etype1744, $_size1741); + for ($_i1745 = 0; $_i1745 < $_size1741; ++$_i1745) { + $elem1746 = null; + $xfer += $input->readString($elem1746); + $this->part_vals []= $elem1746; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1738) { - $xfer += $output->writeString($iter1738); + foreach ($this->part_vals as $iter1747) { + $xfer += $output->writeString($iter1747); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php index e83ab22b46c3..170c6790c584 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1739 = 0; - $_etype1742 = 0; - $xfer += $input->readListBegin($_etype1742, $_size1739); - for ($_i1743 = 0; $_i1743 < $_size1739; ++$_i1743) { - $elem1744 = null; - $elem1744 = new \metastore\Partition(); - $xfer += $elem1744->read($input); - $this->success []= $elem1744; + $_size1748 = 0; + $_etype1751 = 0; + $xfer += $input->readListBegin($_etype1751, $_size1748); + for ($_i1752 = 0; $_i1752 < $_size1748; ++$_i1752) { + $elem1753 = null; + $elem1753 = new \metastore\Partition(); + $xfer += $elem1753->read($input); + $this->success []= $elem1753; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1745) { - $xfer += $iter1745->write($output); + foreach ($this->success as $iter1754) { + $xfer += $iter1754->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php index 9c54d186de0a..1cc41f2208c6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php @@ -146,13 +146,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1746 = 0; - $_etype1749 = 0; - $xfer += $input->readListBegin($_etype1749, $_size1746); - for ($_i1750 = 0; $_i1750 < $_size1746; ++$_i1750) { - $elem1751 = null; - $xfer += $input->readString($elem1751); - $this->part_vals []= $elem1751; + $_size1755 = 0; + $_etype1758 = 0; + $xfer += $input->readListBegin($_etype1758, $_size1755); + for ($_i1759 = 0; $_i1759 < $_size1755; ++$_i1759) { + $elem1760 = null; + $xfer += $input->readString($elem1760); + $this->part_vals []= $elem1760; } $xfer += $input->readListEnd(); } else { @@ -176,13 +176,13 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1752 = 0; - $_etype1755 = 0; - $xfer += $input->readListBegin($_etype1755, $_size1752); - for ($_i1756 = 0; $_i1756 < $_size1752; ++$_i1756) { - $elem1757 = null; - $xfer += $input->readString($elem1757); - $this->group_names []= $elem1757; + $_size1761 = 0; + $_etype1764 = 0; + $xfer += $input->readListBegin($_etype1764, $_size1761); + for ($_i1765 = 0; $_i1765 < $_size1761; ++$_i1765) { + $elem1766 = null; + $xfer += $input->readString($elem1766); + $this->group_names []= $elem1766; } $xfer += $input->readListEnd(); } else { @@ -219,8 +219,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1758) { - $xfer += $output->writeString($iter1758); + foreach ($this->part_vals as $iter1767) { + $xfer += $output->writeString($iter1767); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -241,8 +241,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('group_names', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1759) { - $xfer += $output->writeString($iter1759); + foreach ($this->group_names as $iter1768) { + $xfer += $output->writeString($iter1768); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php index 2d4b24a4112e..67536e3efd43 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1760 = 0; - $_etype1763 = 0; - $xfer += $input->readListBegin($_etype1763, $_size1760); - for ($_i1764 = 0; $_i1764 < $_size1760; ++$_i1764) { - $elem1765 = null; - $elem1765 = new \metastore\Partition(); - $xfer += $elem1765->read($input); - $this->success []= $elem1765; + $_size1769 = 0; + $_etype1772 = 0; + $xfer += $input->readListBegin($_etype1772, $_size1769); + for ($_i1773 = 0; $_i1773 < $_size1769; ++$_i1773) { + $elem1774 = null; + $elem1774 = new \metastore\Partition(); + $xfer += $elem1774->read($input); + $this->success []= $elem1774; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1766) { - $xfer += $iter1766->write($output); + foreach ($this->success as $iter1775) { + $xfer += $iter1775->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_pspec_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_pspec_result.php index 0decf2c614ec..5cdff893dbf8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_pspec_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_pspec_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1711 = 0; - $_etype1714 = 0; - $xfer += $input->readListBegin($_etype1714, $_size1711); - for ($_i1715 = 0; $_i1715 < $_size1711; ++$_i1715) { - $elem1716 = null; - $elem1716 = new \metastore\PartitionSpec(); - $xfer += $elem1716->read($input); - $this->success []= $elem1716; + $_size1720 = 0; + $_etype1723 = 0; + $xfer += $input->readListBegin($_etype1723, $_size1720); + for ($_i1724 = 0; $_i1724 < $_size1720; ++$_i1724) { + $elem1725 = null; + $elem1725 = new \metastore\PartitionSpec(); + $xfer += $elem1725->read($input); + $this->success []= $elem1725; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1717) { - $xfer += $iter1717->write($output); + foreach ($this->success as $iter1726) { + $xfer += $iter1726->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_result.php index f14c7320d57d..bc5d55bed7ca 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1690 = 0; - $_etype1693 = 0; - $xfer += $input->readListBegin($_etype1693, $_size1690); - for ($_i1694 = 0; $_i1694 < $_size1690; ++$_i1694) { - $elem1695 = null; - $elem1695 = new \metastore\Partition(); - $xfer += $elem1695->read($input); - $this->success []= $elem1695; + $_size1699 = 0; + $_etype1702 = 0; + $xfer += $input->readListBegin($_etype1702, $_size1699); + for ($_i1703 = 0; $_i1703 < $_size1699; ++$_i1703) { + $elem1704 = null; + $elem1704 = new \metastore\Partition(); + $xfer += $elem1704->read($input); + $this->success []= $elem1704; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1696) { - $xfer += $iter1696->write($output); + foreach ($this->success as $iter1705) { + $xfer += $iter1705->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_args.php index b8bd28a328f0..b8137cd520eb 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_args.php @@ -144,13 +144,13 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1697 = 0; - $_etype1700 = 0; - $xfer += $input->readListBegin($_etype1700, $_size1697); - for ($_i1701 = 0; $_i1701 < $_size1697; ++$_i1701) { - $elem1702 = null; - $xfer += $input->readString($elem1702); - $this->group_names []= $elem1702; + $_size1706 = 0; + $_etype1709 = 0; + $xfer += $input->readListBegin($_etype1709, $_size1706); + for ($_i1710 = 0; $_i1710 < $_size1706; ++$_i1710) { + $elem1711 = null; + $xfer += $input->readString($elem1711); + $this->group_names []= $elem1711; } $xfer += $input->readListEnd(); } else { @@ -197,8 +197,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('group_names', TType::LST, 5); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1703) { - $xfer += $output->writeString($iter1703); + foreach ($this->group_names as $iter1712) { + $xfer += $output->writeString($iter1712); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_result.php index 8097134553ae..c4740eaefca5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_with_auth_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1704 = 0; - $_etype1707 = 0; - $xfer += $input->readListBegin($_etype1707, $_size1704); - for ($_i1708 = 0; $_i1708 < $_size1704; ++$_i1708) { - $elem1709 = null; - $elem1709 = new \metastore\Partition(); - $xfer += $elem1709->read($input); - $this->success []= $elem1709; + $_size1713 = 0; + $_etype1716 = 0; + $xfer += $input->readListBegin($_etype1716, $_size1713); + for ($_i1717 = 0; $_i1717 < $_size1713; ++$_i1717) { + $elem1718 = null; + $elem1718 = new \metastore\Partition(); + $xfer += $elem1718->read($input); + $this->success []= $elem1718; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1710) { - $xfer += $iter1710->write($output); + foreach ($this->success as $iter1719) { + $xfer += $iter1719->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php index 1fb1e9559c56..d00ac2a12548 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php @@ -108,13 +108,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1906 = 0; - $_etype1909 = 0; - $xfer += $input->readListBegin($_etype1909, $_size1906); - for ($_i1910 = 0; $_i1910 < $_size1906; ++$_i1910) { - $elem1911 = null; - $xfer += $input->readString($elem1911); - $this->group_names []= $elem1911; + $_size1915 = 0; + $_etype1918 = 0; + $xfer += $input->readListBegin($_etype1918, $_size1915); + for ($_i1919 = 0; $_i1919 < $_size1915; ++$_i1919) { + $elem1920 = null; + $xfer += $input->readString($elem1920); + $this->group_names []= $elem1920; } $xfer += $input->readListEnd(); } else { @@ -154,8 +154,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('group_names', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1912) { - $xfer += $output->writeString($iter1912); + foreach ($this->group_names as $iter1921) { + $xfer += $output->writeString($iter1921); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php index 7555f05aa049..99b18189918a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1892 = 0; - $_etype1895 = 0; - $xfer += $input->readListBegin($_etype1895, $_size1892); - for ($_i1896 = 0; $_i1896 < $_size1892; ++$_i1896) { - $elem1897 = null; - $xfer += $input->readString($elem1897); - $this->success []= $elem1897; + $_size1901 = 0; + $_etype1904 = 0; + $xfer += $input->readListBegin($_etype1904, $_size1901); + for ($_i1905 = 0; $_i1905 < $_size1901; ++$_i1905) { + $elem1906 = null; + $xfer += $input->readString($elem1906); + $this->success []= $elem1906; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1898) { - $xfer += $output->writeString($iter1898); + foreach ($this->success as $iter1907) { + $xfer += $output->writeString($iter1907); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php index 372d8403ccd3..026b6ace85be 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1971 = 0; - $_etype1974 = 0; - $xfer += $input->readListBegin($_etype1974, $_size1971); - for ($_i1975 = 0; $_i1975 < $_size1971; ++$_i1975) { - $elem1976 = null; - $elem1976 = new \metastore\RuntimeStat(); - $xfer += $elem1976->read($input); - $this->success []= $elem1976; + $_size1980 = 0; + $_etype1983 = 0; + $xfer += $input->readListBegin($_etype1983, $_size1980); + for ($_i1984 = 0; $_i1984 < $_size1980; ++$_i1984) { + $elem1985 = null; + $elem1985 = new \metastore\RuntimeStat(); + $xfer += $elem1985->read($input); + $this->success []= $elem1985; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1977) { - $xfer += $iter1977->write($output); + foreach ($this->success as $iter1986) { + $xfer += $iter1986->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php index eb9061e4f756..5ba421eeb671 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php @@ -95,14 +95,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1964 = 0; - $_etype1967 = 0; - $xfer += $input->readListBegin($_etype1967, $_size1964); - for ($_i1968 = 0; $_i1968 < $_size1964; ++$_i1968) { - $elem1969 = null; - $elem1969 = new \metastore\SchemaVersion(); - $xfer += $elem1969->read($input); - $this->success []= $elem1969; + $_size1973 = 0; + $_etype1976 = 0; + $xfer += $input->readListBegin($_etype1976, $_size1973); + for ($_i1977 = 0; $_i1977 < $_size1973; ++$_i1977) { + $elem1978 = null; + $elem1978 = new \metastore\SchemaVersion(); + $xfer += $elem1978->read($input); + $this->success []= $elem1978; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1970) { - $xfer += $iter1970->write($output); + foreach ($this->success as $iter1979) { + $xfer += $iter1979->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_result.php index 0dcc169cd931..db790186d37f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_result.php @@ -108,14 +108,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1476 = 0; - $_etype1479 = 0; - $xfer += $input->readListBegin($_etype1479, $_size1476); - for ($_i1480 = 0; $_i1480 < $_size1476; ++$_i1480) { - $elem1481 = null; - $elem1481 = new \metastore\FieldSchema(); - $xfer += $elem1481->read($input); - $this->success []= $elem1481; + $_size1485 = 0; + $_etype1488 = 0; + $xfer += $input->readListBegin($_etype1488, $_size1485); + for ($_i1489 = 0; $_i1489 < $_size1485; ++$_i1489) { + $elem1490 = null; + $elem1490 = new \metastore\FieldSchema(); + $xfer += $elem1490->read($input); + $this->success []= $elem1490; } $xfer += $input->readListEnd(); } else { @@ -166,8 +166,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1482) { - $xfer += $iter1482->write($output); + foreach ($this->success as $iter1491) { + $xfer += $iter1491->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_with_environment_context_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_with_environment_context_result.php index cda56e521a60..621220f82b95 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_with_environment_context_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_with_environment_context_result.php @@ -108,14 +108,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1483 = 0; - $_etype1486 = 0; - $xfer += $input->readListBegin($_etype1486, $_size1483); - for ($_i1487 = 0; $_i1487 < $_size1483; ++$_i1487) { - $elem1488 = null; - $elem1488 = new \metastore\FieldSchema(); - $xfer += $elem1488->read($input); - $this->success []= $elem1488; + $_size1492 = 0; + $_etype1495 = 0; + $xfer += $input->readListBegin($_etype1495, $_size1492); + for ($_i1496 = 0; $_i1496 < $_size1492; ++$_i1496) { + $elem1497 = null; + $elem1497 = new \metastore\FieldSchema(); + $xfer += $elem1497->read($input); + $this->success []= $elem1497; } $xfer += $input->readListEnd(); } else { @@ -166,8 +166,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1489) { - $xfer += $iter1489->write($output); + foreach ($this->success as $iter1498) { + $xfer += $iter1498->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_args.php index 2c087fc32cda..badfe4a04a95 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_args.php @@ -106,13 +106,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size1567 = 0; - $_etype1570 = 0; - $xfer += $input->readListBegin($_etype1570, $_size1567); - for ($_i1571 = 0; $_i1571 < $_size1567; ++$_i1571) { - $elem1572 = null; - $xfer += $input->readString($elem1572); - $this->tbl_types []= $elem1572; + $_size1576 = 0; + $_etype1579 = 0; + $xfer += $input->readListBegin($_etype1579, $_size1576); + for ($_i1580 = 0; $_i1580 < $_size1576; ++$_i1580) { + $elem1581 = null; + $xfer += $input->readString($elem1581); + $this->tbl_types []= $elem1581; } $xfer += $input->readListEnd(); } else { @@ -149,8 +149,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('tbl_types', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->tbl_types)); - foreach ($this->tbl_types as $iter1573) { - $xfer += $output->writeString($iter1573); + foreach ($this->tbl_types as $iter1582) { + $xfer += $output->writeString($iter1582); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_result.php index 45dd6cd65b29..2268cb616e2c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_meta_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1574 = 0; - $_etype1577 = 0; - $xfer += $input->readListBegin($_etype1577, $_size1574); - for ($_i1578 = 0; $_i1578 < $_size1574; ++$_i1578) { - $elem1579 = null; - $elem1579 = new \metastore\TableMeta(); - $xfer += $elem1579->read($input); - $this->success []= $elem1579; + $_size1583 = 0; + $_etype1586 = 0; + $xfer += $input->readListBegin($_etype1586, $_size1583); + for ($_i1587 = 0; $_i1587 < $_size1583; ++$_i1587) { + $elem1588 = null; + $elem1588 = new \metastore\TableMeta(); + $xfer += $elem1588->read($input); + $this->success []= $elem1588; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1580) { - $xfer += $iter1580->write($output); + foreach ($this->success as $iter1589) { + $xfer += $iter1589->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_names_by_filter_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_names_by_filter_result.php index f072cb35adf1..f6dfcff06dde 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_names_by_filter_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_table_names_by_filter_result.php @@ -107,13 +107,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1595 = 0; - $_etype1598 = 0; - $xfer += $input->readListBegin($_etype1598, $_size1595); - for ($_i1599 = 0; $_i1599 < $_size1595; ++$_i1599) { - $elem1600 = null; - $xfer += $input->readString($elem1600); - $this->success []= $elem1600; + $_size1604 = 0; + $_etype1607 = 0; + $xfer += $input->readListBegin($_etype1607, $_size1604); + for ($_i1608 = 0; $_i1608 < $_size1604; ++$_i1608) { + $elem1609 = null; + $xfer += $input->readString($elem1609); + $this->success []= $elem1609; } $xfer += $input->readListEnd(); } else { @@ -164,8 +164,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1601) { - $xfer += $output->writeString($iter1601); + foreach ($this->success as $iter1610) { + $xfer += $output->writeString($iter1610); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_by_type_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_by_type_result.php index b4d6203e319c..f45eb52b3ac7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_by_type_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_by_type_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1546 = 0; - $_etype1549 = 0; - $xfer += $input->readListBegin($_etype1549, $_size1546); - for ($_i1550 = 0; $_i1550 < $_size1546; ++$_i1550) { - $elem1551 = null; - $xfer += $input->readString($elem1551); - $this->success []= $elem1551; + $_size1555 = 0; + $_etype1558 = 0; + $xfer += $input->readListBegin($_etype1558, $_size1555); + for ($_i1559 = 0; $_i1559 < $_size1555; ++$_i1559) { + $elem1560 = null; + $xfer += $input->readString($elem1560); + $this->success []= $elem1560; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1552) { - $xfer += $output->writeString($iter1552); + foreach ($this->success as $iter1561) { + $xfer += $output->writeString($iter1561); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_ext_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_ext_result.php index d05ff617edbd..4f77cb991ee9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_ext_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_ext_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1588 = 0; - $_etype1591 = 0; - $xfer += $input->readListBegin($_etype1591, $_size1588); - for ($_i1592 = 0; $_i1592 < $_size1588; ++$_i1592) { - $elem1593 = null; - $elem1593 = new \metastore\ExtendedTableInfo(); - $xfer += $elem1593->read($input); - $this->success []= $elem1593; + $_size1597 = 0; + $_etype1600 = 0; + $xfer += $input->readListBegin($_etype1600, $_size1597); + for ($_i1601 = 0; $_i1601 < $_size1597; ++$_i1601) { + $elem1602 = null; + $elem1602 = new \metastore\ExtendedTableInfo(); + $xfer += $elem1602->read($input); + $this->success []= $elem1602; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1594) { - $xfer += $iter1594->write($output); + foreach ($this->success as $iter1603) { + $xfer += $iter1603->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_result.php index 80f49e804d7b..18c850dfc274 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_tables_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1539 = 0; - $_etype1542 = 0; - $xfer += $input->readListBegin($_etype1542, $_size1539); - for ($_i1543 = 0; $_i1543 < $_size1539; ++$_i1543) { - $elem1544 = null; - $xfer += $input->readString($elem1544); - $this->success []= $elem1544; + $_size1548 = 0; + $_etype1551 = 0; + $xfer += $input->readListBegin($_etype1551, $_size1548); + for ($_i1552 = 0; $_i1552 < $_size1548; ++$_i1552) { + $elem1553 = null; + $xfer += $input->readString($elem1553); + $this->success []= $elem1553; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1545) { - $xfer += $output->writeString($iter1545); + foreach ($this->success as $iter1554) { + $xfer += $output->writeString($iter1554); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_type_all_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_type_all_result.php index 60ef471f5798..07cab29dd9be 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_type_all_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_type_all_result.php @@ -86,17 +86,17 @@ public function read($input) case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1453 = 0; - $_ktype1454 = 0; - $_vtype1455 = 0; - $xfer += $input->readMapBegin($_ktype1454, $_vtype1455, $_size1453); - for ($_i1457 = 0; $_i1457 < $_size1453; ++$_i1457) { - $key1458 = ''; - $val1459 = new \metastore\Type(); - $xfer += $input->readString($key1458); - $val1459 = new \metastore\Type(); - $xfer += $val1459->read($input); - $this->success[$key1458] = $val1459; + $_size1462 = 0; + $_ktype1463 = 0; + $_vtype1464 = 0; + $xfer += $input->readMapBegin($_ktype1463, $_vtype1464, $_size1462); + for ($_i1466 = 0; $_i1466 < $_size1462; ++$_i1466) { + $key1467 = ''; + $val1468 = new \metastore\Type(); + $xfer += $input->readString($key1467); + $val1468 = new \metastore\Type(); + $xfer += $val1468->read($input); + $this->success[$key1467] = $val1468; } $xfer += $input->readMapEnd(); } else { @@ -131,9 +131,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::MAP, 0); $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); - foreach ($this->success as $kiter1460 => $viter1461) { - $xfer += $output->writeString($kiter1460); - $xfer += $viter1461->write($output); + foreach ($this->success as $kiter1469 => $viter1470) { + $xfer += $output->writeString($kiter1469); + $xfer += $viter1470->write($output); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php index 5cb3afa27716..913ca37cae6d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php @@ -123,16 +123,16 @@ public function read($input) case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1876 = 0; - $_ktype1877 = 0; - $_vtype1878 = 0; - $xfer += $input->readMapBegin($_ktype1877, $_vtype1878, $_size1876); - for ($_i1880 = 0; $_i1880 < $_size1876; ++$_i1880) { - $key1881 = ''; - $val1882 = ''; - $xfer += $input->readString($key1881); - $xfer += $input->readString($val1882); - $this->part_vals[$key1881] = $val1882; + $_size1885 = 0; + $_ktype1886 = 0; + $_vtype1887 = 0; + $xfer += $input->readMapBegin($_ktype1886, $_vtype1887, $_size1885); + for ($_i1889 = 0; $_i1889 < $_size1885; ++$_i1889) { + $key1890 = ''; + $val1891 = ''; + $xfer += $input->readString($key1890); + $xfer += $input->readString($val1891); + $this->part_vals[$key1890] = $val1891; } $xfer += $input->readMapEnd(); } else { @@ -176,9 +176,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::MAP, 3); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $kiter1883 => $viter1884) { - $xfer += $output->writeString($kiter1883); - $xfer += $output->writeString($viter1884); + foreach ($this->part_vals as $kiter1892 => $viter1893) { + $xfer += $output->writeString($kiter1892); + $xfer += $output->writeString($viter1893); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php index 0da1781cb33b..0859ffc1e35c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1913 = 0; - $_etype1916 = 0; - $xfer += $input->readListBegin($_etype1916, $_size1913); - for ($_i1917 = 0; $_i1917 < $_size1913; ++$_i1917) { - $elem1918 = null; - $elem1918 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1918->read($input); - $this->success []= $elem1918; + $_size1922 = 0; + $_etype1925 = 0; + $xfer += $input->readListBegin($_etype1925, $_size1922); + for ($_i1926 = 0; $_i1926 < $_size1922; ++$_i1926) { + $elem1927 = null; + $elem1927 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1927->read($input); + $this->success []= $elem1927; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1919) { - $xfer += $iter1919->write($output); + foreach ($this->success as $iter1928) { + $xfer += $iter1928->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php index 14f4dc3b2293..3ae117c36dbf 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php @@ -82,14 +82,14 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1899 = 0; - $_etype1902 = 0; - $xfer += $input->readListBegin($_etype1902, $_size1899); - for ($_i1903 = 0; $_i1903 < $_size1899; ++$_i1903) { - $elem1904 = null; - $elem1904 = new \metastore\Role(); - $xfer += $elem1904->read($input); - $this->success []= $elem1904; + $_size1908 = 0; + $_etype1911 = 0; + $xfer += $input->readListBegin($_etype1911, $_size1908); + for ($_i1912 = 0; $_i1912 < $_size1908; ++$_i1912) { + $elem1913 = null; + $elem1913 = new \metastore\Role(); + $xfer += $elem1913->read($input); + $this->success []= $elem1913; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1905) { - $xfer += $iter1905->write($output); + foreach ($this->success as $iter1914) { + $xfer += $iter1914->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php index a321d9246a86..b9532204ce55 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php @@ -123,16 +123,16 @@ public function read($input) case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1867 = 0; - $_ktype1868 = 0; - $_vtype1869 = 0; - $xfer += $input->readMapBegin($_ktype1868, $_vtype1869, $_size1867); - for ($_i1871 = 0; $_i1871 < $_size1867; ++$_i1871) { - $key1872 = ''; - $val1873 = ''; - $xfer += $input->readString($key1872); - $xfer += $input->readString($val1873); - $this->part_vals[$key1872] = $val1873; + $_size1876 = 0; + $_ktype1877 = 0; + $_vtype1878 = 0; + $xfer += $input->readMapBegin($_ktype1877, $_vtype1878, $_size1876); + for ($_i1880 = 0; $_i1880 < $_size1876; ++$_i1880) { + $key1881 = ''; + $val1882 = ''; + $xfer += $input->readString($key1881); + $xfer += $input->readString($val1882); + $this->part_vals[$key1881] = $val1882; } $xfer += $input->readMapEnd(); } else { @@ -176,9 +176,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::MAP, 3); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $kiter1874 => $viter1875) { - $xfer += $output->writeString($kiter1874); - $xfer += $output->writeString($viter1875); + foreach ($this->part_vals as $kiter1883 => $viter1884) { + $xfer += $output->writeString($kiter1883); + $xfer += $output->writeString($viter1884); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php index af3da22214b0..cb2ed0216b84 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php @@ -80,13 +80,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1844 = 0; - $_etype1847 = 0; - $xfer += $input->readListBegin($_etype1847, $_size1844); - for ($_i1848 = 0; $_i1848 < $_size1844; ++$_i1848) { - $elem1849 = null; - $xfer += $input->readString($elem1849); - $this->part_vals []= $elem1849; + $_size1853 = 0; + $_etype1856 = 0; + $xfer += $input->readListBegin($_etype1856, $_size1853); + for ($_i1857 = 0; $_i1857 < $_size1853; ++$_i1857) { + $elem1858 = null; + $xfer += $input->readString($elem1858); + $this->part_vals []= $elem1858; } $xfer += $input->readListEnd(); } else { @@ -120,8 +120,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 1); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1850) { - $xfer += $output->writeString($iter1850); + foreach ($this->part_vals as $iter1859) { + $xfer += $output->writeString($iter1859); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php index a0c3b416ebff..3a1853878a9b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php @@ -85,16 +85,16 @@ public function read($input) case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1858 = 0; - $_ktype1859 = 0; - $_vtype1860 = 0; - $xfer += $input->readMapBegin($_ktype1859, $_vtype1860, $_size1858); - for ($_i1862 = 0; $_i1862 < $_size1858; ++$_i1862) { - $key1863 = ''; - $val1864 = ''; - $xfer += $input->readString($key1863); - $xfer += $input->readString($val1864); - $this->success[$key1863] = $val1864; + $_size1867 = 0; + $_ktype1868 = 0; + $_vtype1869 = 0; + $xfer += $input->readMapBegin($_ktype1868, $_vtype1869, $_size1867); + for ($_i1871 = 0; $_i1871 < $_size1867; ++$_i1871) { + $key1872 = ''; + $val1873 = ''; + $xfer += $input->readString($key1872); + $xfer += $input->readString($val1873); + $this->success[$key1872] = $val1873; } $xfer += $input->readMapEnd(); } else { @@ -129,9 +129,9 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::MAP, 0); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); - foreach ($this->success as $kiter1865 => $viter1866) { - $xfer += $output->writeString($kiter1865); - $xfer += $output->writeString($viter1866); + foreach ($this->success as $kiter1874 => $viter1875) { + $xfer += $output->writeString($kiter1874); + $xfer += $output->writeString($viter1875); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php index 9f4004b513eb..1e4a81536614 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1851 = 0; - $_etype1854 = 0; - $xfer += $input->readListBegin($_etype1854, $_size1851); - for ($_i1855 = 0; $_i1855 < $_size1851; ++$_i1855) { - $elem1856 = null; - $xfer += $input->readString($elem1856); - $this->success []= $elem1856; + $_size1860 = 0; + $_etype1863 = 0; + $xfer += $input->readListBegin($_etype1863, $_size1860); + for ($_i1864 = 0; $_i1864 < $_size1860; ++$_i1864) { + $elem1865 = null; + $xfer += $input->readString($elem1865); + $this->success []= $elem1865; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1857) { - $xfer += $output->writeString($iter1857); + foreach ($this->success as $iter1866) { + $xfer += $output->writeString($iter1866); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php index 10ae0a4e36b9..e35d95824e23 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php @@ -119,13 +119,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1837 = 0; - $_etype1840 = 0; - $xfer += $input->readListBegin($_etype1840, $_size1837); - for ($_i1841 = 0; $_i1841 < $_size1837; ++$_i1841) { - $elem1842 = null; - $xfer += $input->readString($elem1842); - $this->part_vals []= $elem1842; + $_size1846 = 0; + $_etype1849 = 0; + $xfer += $input->readListBegin($_etype1849, $_size1846); + for ($_i1850 = 0; $_i1850 < $_size1846; ++$_i1850) { + $elem1851 = null; + $xfer += $input->readString($elem1851); + $this->part_vals []= $elem1851; } $xfer += $input->readListEnd(); } else { @@ -170,8 +170,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1843) { - $xfer += $output->writeString($iter1843); + foreach ($this->part_vals as $iter1852) { + $xfer += $output->writeString($iter1852); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php index 7d7b455f3d72..c508c7411457 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php @@ -87,13 +87,13 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1920 = 0; - $_etype1923 = 0; - $xfer += $input->readListBegin($_etype1923, $_size1920); - for ($_i1924 = 0; $_i1924 < $_size1920; ++$_i1924) { - $elem1925 = null; - $xfer += $input->readString($elem1925); - $this->group_names []= $elem1925; + $_size1929 = 0; + $_etype1932 = 0; + $xfer += $input->readListBegin($_etype1932, $_size1929); + for ($_i1933 = 0; $_i1933 < $_size1929; ++$_i1933) { + $elem1934 = null; + $xfer += $input->readString($elem1934); + $this->group_names []= $elem1934; } $xfer += $input->readListEnd(); } else { @@ -125,8 +125,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('group_names', TType::LST, 2); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1926) { - $xfer += $output->writeString($iter1926); + foreach ($this->group_names as $iter1935) { + $xfer += $output->writeString($iter1935); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php index a404bbcc1c0e..bd4a1709bab6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php @@ -81,13 +81,13 @@ public function read($input) case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1927 = 0; - $_etype1930 = 0; - $xfer += $input->readListBegin($_etype1930, $_size1927); - for ($_i1931 = 0; $_i1931 < $_size1927; ++$_i1931) { - $elem1932 = null; - $xfer += $input->readString($elem1932); - $this->success []= $elem1932; + $_size1936 = 0; + $_etype1939 = 0; + $xfer += $input->readListBegin($_etype1939, $_size1936); + for ($_i1940 = 0; $_i1940 < $_size1936; ++$_i1940) { + $elem1941 = null; + $xfer += $input->readString($elem1941); + $this->success []= $elem1941; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1933) { - $xfer += $output->writeString($iter1933); + foreach ($this->success as $iter1942) { + $xfer += $output->writeString($iter1942); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_truncate_table_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_truncate_table_args.php index 7294aee5c516..0ff19a7c9f90 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_truncate_table_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_truncate_table_args.php @@ -106,13 +106,13 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size1532 = 0; - $_etype1535 = 0; - $xfer += $input->readListBegin($_etype1535, $_size1532); - for ($_i1536 = 0; $_i1536 < $_size1532; ++$_i1536) { - $elem1537 = null; - $xfer += $input->readString($elem1537); - $this->partNames []= $elem1537; + $_size1541 = 0; + $_etype1544 = 0; + $xfer += $input->readListBegin($_etype1544, $_size1541); + for ($_i1545 = 0; $_i1545 < $_size1541; ++$_i1545) { + $elem1546 = null; + $xfer += $input->readString($elem1546); + $this->partNames []= $elem1546; } $xfer += $input->readListEnd(); } else { @@ -149,8 +149,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partNames', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->partNames)); - foreach ($this->partNames as $iter1538) { - $xfer += $output->writeString($iter1538); + foreach ($this->partNames as $iter1547) { + $xfer += $output->writeString($iter1547); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMFullResourcePlan.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMFullResourcePlan.php index daae322671c7..1bdfa37271ee 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMFullResourcePlan.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMFullResourcePlan.php @@ -141,14 +141,14 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size1134 = 0; - $_etype1137 = 0; - $xfer += $input->readListBegin($_etype1137, $_size1134); - for ($_i1138 = 0; $_i1138 < $_size1134; ++$_i1138) { - $elem1139 = null; - $elem1139 = new \metastore\WMPool(); - $xfer += $elem1139->read($input); - $this->pools []= $elem1139; + $_size1143 = 0; + $_etype1146 = 0; + $xfer += $input->readListBegin($_etype1146, $_size1143); + for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) { + $elem1148 = null; + $elem1148 = new \metastore\WMPool(); + $xfer += $elem1148->read($input); + $this->pools []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -158,14 +158,14 @@ public function read($input) case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size1140 = 0; - $_etype1143 = 0; - $xfer += $input->readListBegin($_etype1143, $_size1140); - for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) { - $elem1145 = null; - $elem1145 = new \metastore\WMMapping(); - $xfer += $elem1145->read($input); - $this->mappings []= $elem1145; + $_size1149 = 0; + $_etype1152 = 0; + $xfer += $input->readListBegin($_etype1152, $_size1149); + for ($_i1153 = 0; $_i1153 < $_size1149; ++$_i1153) { + $elem1154 = null; + $elem1154 = new \metastore\WMMapping(); + $xfer += $elem1154->read($input); + $this->mappings []= $elem1154; } $xfer += $input->readListEnd(); } else { @@ -175,14 +175,14 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size1146 = 0; - $_etype1149 = 0; - $xfer += $input->readListBegin($_etype1149, $_size1146); - for ($_i1150 = 0; $_i1150 < $_size1146; ++$_i1150) { - $elem1151 = null; - $elem1151 = new \metastore\WMTrigger(); - $xfer += $elem1151->read($input); - $this->triggers []= $elem1151; + $_size1155 = 0; + $_etype1158 = 0; + $xfer += $input->readListBegin($_etype1158, $_size1155); + for ($_i1159 = 0; $_i1159 < $_size1155; ++$_i1159) { + $elem1160 = null; + $elem1160 = new \metastore\WMTrigger(); + $xfer += $elem1160->read($input); + $this->triggers []= $elem1160; } $xfer += $input->readListEnd(); } else { @@ -192,14 +192,14 @@ public function read($input) case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size1152 = 0; - $_etype1155 = 0; - $xfer += $input->readListBegin($_etype1155, $_size1152); - for ($_i1156 = 0; $_i1156 < $_size1152; ++$_i1156) { - $elem1157 = null; - $elem1157 = new \metastore\WMPoolTrigger(); - $xfer += $elem1157->read($input); - $this->poolTriggers []= $elem1157; + $_size1161 = 0; + $_etype1164 = 0; + $xfer += $input->readListBegin($_etype1164, $_size1161); + for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) { + $elem1166 = null; + $elem1166 = new \metastore\WMPoolTrigger(); + $xfer += $elem1166->read($input); + $this->poolTriggers []= $elem1166; } $xfer += $input->readListEnd(); } else { @@ -234,8 +234,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('pools', TType::LST, 2); $output->writeListBegin(TType::STRUCT, count($this->pools)); - foreach ($this->pools as $iter1158) { - $xfer += $iter1158->write($output); + foreach ($this->pools as $iter1167) { + $xfer += $iter1167->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -246,8 +246,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('mappings', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->mappings)); - foreach ($this->mappings as $iter1159) { - $xfer += $iter1159->write($output); + foreach ($this->mappings as $iter1168) { + $xfer += $iter1168->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -258,8 +258,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('triggers', TType::LST, 4); $output->writeListBegin(TType::STRUCT, count($this->triggers)); - foreach ($this->triggers as $iter1160) { - $xfer += $iter1160->write($output); + foreach ($this->triggers as $iter1169) { + $xfer += $iter1169->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -270,8 +270,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('poolTriggers', TType::LST, 5); $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); - foreach ($this->poolTriggers as $iter1161) { - $xfer += $iter1161->write($output); + foreach ($this->poolTriggers as $iter1170) { + $xfer += $iter1170->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetAllResourcePlanResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetAllResourcePlanResponse.php index 74ae15588bee..c903b2d82372 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetAllResourcePlanResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetAllResourcePlanResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size1162 = 0; - $_etype1165 = 0; - $xfer += $input->readListBegin($_etype1165, $_size1162); - for ($_i1166 = 0; $_i1166 < $_size1162; ++$_i1166) { - $elem1167 = null; - $elem1167 = new \metastore\WMResourcePlan(); - $xfer += $elem1167->read($input); - $this->resourcePlans []= $elem1167; + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { + $elem1176 = null; + $elem1176 = new \metastore\WMResourcePlan(); + $xfer += $elem1176->read($input); + $this->resourcePlans []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('resourcePlans', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); - foreach ($this->resourcePlans as $iter1168) { - $xfer += $iter1168->write($output); + foreach ($this->resourcePlans as $iter1177) { + $xfer += $iter1177->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetTriggersForResourePlanResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetTriggersForResourePlanResponse.php index 3805f9c674b3..021374515b0c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetTriggersForResourePlanResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMGetTriggersForResourePlanResponse.php @@ -69,14 +69,14 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size1183 = 0; - $_etype1186 = 0; - $xfer += $input->readListBegin($_etype1186, $_size1183); - for ($_i1187 = 0; $_i1187 < $_size1183; ++$_i1187) { - $elem1188 = null; - $elem1188 = new \metastore\WMTrigger(); - $xfer += $elem1188->read($input); - $this->triggers []= $elem1188; + $_size1192 = 0; + $_etype1195 = 0; + $xfer += $input->readListBegin($_etype1195, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { + $elem1197 = null; + $elem1197 = new \metastore\WMTrigger(); + $xfer += $elem1197->read($input); + $this->triggers []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -103,8 +103,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('triggers', TType::LST, 1); $output->writeListBegin(TType::STRUCT, count($this->triggers)); - foreach ($this->triggers as $iter1189) { - $xfer += $iter1189->write($output); + foreach ($this->triggers as $iter1198) { + $xfer += $iter1198->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMValidateResourcePlanResponse.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMValidateResourcePlanResponse.php index c733ae2469b4..a4bdeeb4fd0d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMValidateResourcePlanResponse.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WMValidateResourcePlanResponse.php @@ -84,13 +84,13 @@ public function read($input) case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size1169 = 0; - $_etype1172 = 0; - $xfer += $input->readListBegin($_etype1172, $_size1169); - for ($_i1173 = 0; $_i1173 < $_size1169; ++$_i1173) { - $elem1174 = null; - $xfer += $input->readString($elem1174); - $this->errors []= $elem1174; + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { + $elem1183 = null; + $xfer += $input->readString($elem1183); + $this->errors []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -100,13 +100,13 @@ public function read($input) case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size1175 = 0; - $_etype1178 = 0; - $xfer += $input->readListBegin($_etype1178, $_size1175); - for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) { - $elem1180 = null; - $xfer += $input->readString($elem1180); - $this->warnings []= $elem1180; + $_size1184 = 0; + $_etype1187 = 0; + $xfer += $input->readListBegin($_etype1187, $_size1184); + for ($_i1188 = 0; $_i1188 < $_size1184; ++$_i1188) { + $elem1189 = null; + $xfer += $input->readString($elem1189); + $this->warnings []= $elem1189; } $xfer += $input->readListEnd(); } else { @@ -133,8 +133,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('errors', TType::LST, 1); $output->writeListBegin(TType::STRING, count($this->errors)); - foreach ($this->errors as $iter1181) { - $xfer += $output->writeString($iter1181); + foreach ($this->errors as $iter1190) { + $xfer += $output->writeString($iter1190); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -145,8 +145,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('warnings', TType::LST, 2); $output->writeListBegin(TType::STRING, count($this->warnings)); - foreach ($this->warnings as $iter1182) { - $xfer += $output->writeString($iter1182); + foreach ($this->warnings as $iter1191) { + $xfer += $output->writeString($iter1191); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogBatchRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogBatchRequest.php index 0cc90ebd0974..6e37a6ab8665 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogBatchRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogBatchRequest.php @@ -126,14 +126,14 @@ public function read($input) case 4: if ($ftype == TType::LST) { $this->requestList = array(); - $_size983 = 0; - $_etype986 = 0; - $xfer += $input->readListBegin($_etype986, $_size983); - for ($_i987 = 0; $_i987 < $_size983; ++$_i987) { - $elem988 = null; - $elem988 = new \metastore\WriteNotificationLogRequest(); - $xfer += $elem988->read($input); - $this->requestList []= $elem988; + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { + $elem997 = null; + $elem997 = new \metastore\WriteNotificationLogRequest(); + $xfer += $elem997->read($input); + $this->requestList []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -175,8 +175,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('requestList', TType::LST, 4); $output->writeListBegin(TType::STRUCT, count($this->requestList)); - foreach ($this->requestList as $iter989) { - $xfer += $iter989->write($output); + foreach ($this->requestList as $iter998) { + $xfer += $iter998->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogRequest.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogRequest.php index 9cb07184b88d..58a8f31a9d67 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogRequest.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/WriteNotificationLogRequest.php @@ -165,13 +165,13 @@ public function read($input) case 6: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size976 = 0; - $_etype979 = 0; - $xfer += $input->readListBegin($_etype979, $_size976); - for ($_i980 = 0; $_i980 < $_size976; ++$_i980) { - $elem981 = null; - $xfer += $input->readString($elem981); - $this->partitionVals []= $elem981; + $_size985 = 0; + $_etype988 = 0; + $xfer += $input->readListBegin($_etype988, $_size985); + for ($_i989 = 0; $_i989 < $_size985; ++$_i989) { + $elem990 = null; + $xfer += $input->readString($elem990); + $this->partitionVals []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -226,8 +226,8 @@ public function write($output) } $xfer += $output->writeFieldBegin('partitionVals', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->partitionVals)); - foreach ($this->partitionVals as $iter982) { - $xfer += $output->writeString($iter982); + foreach ($this->partitionVals as $iter991) { + $xfer += $output->writeString($iter991); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 159db857053e..26cfd8ca022e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -23194,10 +23194,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1432, _size1429) = iprot.readListBegin() - for _i1433 in range(_size1429): - _elem1434 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1434) + (_etype1441, _size1438) = iprot.readListBegin() + for _i1442 in range(_size1438): + _elem1443 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1443) iprot.readListEnd() else: iprot.skip(ftype) @@ -23219,8 +23219,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1435 in self.success: - oprot.writeString(iter1435.encode('utf-8') if sys.version_info[0] == 2 else iter1435) + for iter1444 in self.success: + oprot.writeString(iter1444.encode('utf-8') if sys.version_info[0] == 2 else iter1444) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23318,10 +23318,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1439, _size1436) = iprot.readListBegin() - for _i1440 in range(_size1436): - _elem1441 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1441) + (_etype1448, _size1445) = iprot.readListBegin() + for _i1449 in range(_size1445): + _elem1450 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1450) iprot.readListEnd() else: iprot.skip(ftype) @@ -23343,8 +23343,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1442 in self.success: - oprot.writeString(iter1442.encode('utf-8') if sys.version_info[0] == 2 else iter1442) + for iter1451 in self.success: + oprot.writeString(iter1451.encode('utf-8') if sys.version_info[0] == 2 else iter1451) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24312,10 +24312,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1446, _size1443) = iprot.readListBegin() - for _i1447 in range(_size1443): - _elem1448 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1448) + (_etype1455, _size1452) = iprot.readListBegin() + for _i1456 in range(_size1452): + _elem1457 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1457) iprot.readListEnd() else: iprot.skip(ftype) @@ -24337,8 +24337,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1449 in self.success: - oprot.writeString(iter1449.encode('utf-8') if sys.version_info[0] == 2 else iter1449) + for iter1458 in self.success: + oprot.writeString(iter1458.encode('utf-8') if sys.version_info[0] == 2 else iter1458) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25047,12 +25047,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1451, _vtype1452, _size1450) = iprot.readMapBegin() - for _i1454 in range(_size1450): - _key1455 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1456 = Type() - _val1456.read(iprot) - self.success[_key1455] = _val1456 + (_ktype1460, _vtype1461, _size1459) = iprot.readMapBegin() + for _i1463 in range(_size1459): + _key1464 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1465 = Type() + _val1465.read(iprot) + self.success[_key1464] = _val1465 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25074,9 +25074,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter1457, viter1458 in self.success.items(): - oprot.writeString(kiter1457.encode('utf-8') if sys.version_info[0] == 2 else kiter1457) - viter1458.write(oprot) + for kiter1466, viter1467 in self.success.items(): + oprot.writeString(kiter1466.encode('utf-8') if sys.version_info[0] == 2 else kiter1466) + viter1467.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -25209,11 +25209,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1462, _size1459) = iprot.readListBegin() - for _i1463 in range(_size1459): - _elem1464 = FieldSchema() - _elem1464.read(iprot) - self.success.append(_elem1464) + (_etype1471, _size1468) = iprot.readListBegin() + for _i1472 in range(_size1468): + _elem1473 = FieldSchema() + _elem1473.read(iprot) + self.success.append(_elem1473) iprot.readListEnd() else: iprot.skip(ftype) @@ -25245,8 +25245,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1465 in self.success: - iter1465.write(oprot) + for iter1474 in self.success: + iter1474.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25402,11 +25402,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1469, _size1466) = iprot.readListBegin() - for _i1470 in range(_size1466): - _elem1471 = FieldSchema() - _elem1471.read(iprot) - self.success.append(_elem1471) + (_etype1478, _size1475) = iprot.readListBegin() + for _i1479 in range(_size1475): + _elem1480 = FieldSchema() + _elem1480.read(iprot) + self.success.append(_elem1480) iprot.readListEnd() else: iprot.skip(ftype) @@ -25438,8 +25438,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1472 in self.success: - iter1472.write(oprot) + for iter1481 in self.success: + iter1481.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25743,11 +25743,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1476, _size1473) = iprot.readListBegin() - for _i1477 in range(_size1473): - _elem1478 = FieldSchema() - _elem1478.read(iprot) - self.success.append(_elem1478) + (_etype1485, _size1482) = iprot.readListBegin() + for _i1486 in range(_size1482): + _elem1487 = FieldSchema() + _elem1487.read(iprot) + self.success.append(_elem1487) iprot.readListEnd() else: iprot.skip(ftype) @@ -25779,8 +25779,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1479 in self.success: - iter1479.write(oprot) + for iter1488 in self.success: + iter1488.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25936,11 +25936,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1483, _size1480) = iprot.readListBegin() - for _i1484 in range(_size1480): - _elem1485 = FieldSchema() - _elem1485.read(iprot) - self.success.append(_elem1485) + (_etype1492, _size1489) = iprot.readListBegin() + for _i1493 in range(_size1489): + _elem1494 = FieldSchema() + _elem1494.read(iprot) + self.success.append(_elem1494) iprot.readListEnd() else: iprot.skip(ftype) @@ -25972,8 +25972,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1486 in self.success: - iter1486.write(oprot) + for iter1495 in self.success: + iter1495.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26550,66 +26550,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype1490, _size1487) = iprot.readListBegin() - for _i1491 in range(_size1487): - _elem1492 = SQLPrimaryKey() - _elem1492.read(iprot) - self.primaryKeys.append(_elem1492) + (_etype1499, _size1496) = iprot.readListBegin() + for _i1500 in range(_size1496): + _elem1501 = SQLPrimaryKey() + _elem1501.read(iprot) + self.primaryKeys.append(_elem1501) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype1496, _size1493) = iprot.readListBegin() - for _i1497 in range(_size1493): - _elem1498 = SQLForeignKey() - _elem1498.read(iprot) - self.foreignKeys.append(_elem1498) + (_etype1505, _size1502) = iprot.readListBegin() + for _i1506 in range(_size1502): + _elem1507 = SQLForeignKey() + _elem1507.read(iprot) + self.foreignKeys.append(_elem1507) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype1502, _size1499) = iprot.readListBegin() - for _i1503 in range(_size1499): - _elem1504 = SQLUniqueConstraint() - _elem1504.read(iprot) - self.uniqueConstraints.append(_elem1504) + (_etype1511, _size1508) = iprot.readListBegin() + for _i1512 in range(_size1508): + _elem1513 = SQLUniqueConstraint() + _elem1513.read(iprot) + self.uniqueConstraints.append(_elem1513) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype1508, _size1505) = iprot.readListBegin() - for _i1509 in range(_size1505): - _elem1510 = SQLNotNullConstraint() - _elem1510.read(iprot) - self.notNullConstraints.append(_elem1510) + (_etype1517, _size1514) = iprot.readListBegin() + for _i1518 in range(_size1514): + _elem1519 = SQLNotNullConstraint() + _elem1519.read(iprot) + self.notNullConstraints.append(_elem1519) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype1514, _size1511) = iprot.readListBegin() - for _i1515 in range(_size1511): - _elem1516 = SQLDefaultConstraint() - _elem1516.read(iprot) - self.defaultConstraints.append(_elem1516) + (_etype1523, _size1520) = iprot.readListBegin() + for _i1524 in range(_size1520): + _elem1525 = SQLDefaultConstraint() + _elem1525.read(iprot) + self.defaultConstraints.append(_elem1525) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype1520, _size1517) = iprot.readListBegin() - for _i1521 in range(_size1517): - _elem1522 = SQLCheckConstraint() - _elem1522.read(iprot) - self.checkConstraints.append(_elem1522) + (_etype1529, _size1526) = iprot.readListBegin() + for _i1530 in range(_size1526): + _elem1531 = SQLCheckConstraint() + _elem1531.read(iprot) + self.checkConstraints.append(_elem1531) iprot.readListEnd() else: iprot.skip(ftype) @@ -26630,43 +26630,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter1523 in self.primaryKeys: - iter1523.write(oprot) + for iter1532 in self.primaryKeys: + iter1532.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter1524 in self.foreignKeys: - iter1524.write(oprot) + for iter1533 in self.foreignKeys: + iter1533.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter1525 in self.uniqueConstraints: - iter1525.write(oprot) + for iter1534 in self.uniqueConstraints: + iter1534.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter1526 in self.notNullConstraints: - iter1526.write(oprot) + for iter1535 in self.notNullConstraints: + iter1535.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter1527 in self.defaultConstraints: - iter1527.write(oprot) + for iter1536 in self.defaultConstraints: + iter1536.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter1528 in self.checkConstraints: - iter1528.write(oprot) + for iter1537 in self.checkConstraints: + iter1537.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28596,10 +28596,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype1532, _size1529) = iprot.readListBegin() - for _i1533 in range(_size1529): - _elem1534 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partNames.append(_elem1534) + (_etype1541, _size1538) = iprot.readListBegin() + for _i1542 in range(_size1538): + _elem1543 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partNames.append(_elem1543) iprot.readListEnd() else: iprot.skip(ftype) @@ -28624,8 +28624,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter1535 in self.partNames: - oprot.writeString(iter1535.encode('utf-8') if sys.version_info[0] == 2 else iter1535) + for iter1544 in self.partNames: + oprot.writeString(iter1544.encode('utf-8') if sys.version_info[0] == 2 else iter1544) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28951,10 +28951,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1539, _size1536) = iprot.readListBegin() - for _i1540 in range(_size1536): - _elem1541 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1541) + (_etype1548, _size1545) = iprot.readListBegin() + for _i1549 in range(_size1545): + _elem1550 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1550) iprot.readListEnd() else: iprot.skip(ftype) @@ -28976,8 +28976,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1542 in self.success: - oprot.writeString(iter1542.encode('utf-8') if sys.version_info[0] == 2 else iter1542) + for iter1551 in self.success: + oprot.writeString(iter1551.encode('utf-8') if sys.version_info[0] == 2 else iter1551) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29118,10 +29118,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1546, _size1543) = iprot.readListBegin() - for _i1547 in range(_size1543): - _elem1548 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1548) + (_etype1555, _size1552) = iprot.readListBegin() + for _i1556 in range(_size1552): + _elem1557 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1557) iprot.readListEnd() else: iprot.skip(ftype) @@ -29143,8 +29143,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1549 in self.success: - oprot.writeString(iter1549.encode('utf-8') if sys.version_info[0] == 2 else iter1549) + for iter1558 in self.success: + oprot.writeString(iter1558.encode('utf-8') if sys.version_info[0] == 2 else iter1558) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29242,11 +29242,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1553, _size1550) = iprot.readListBegin() - for _i1554 in range(_size1550): - _elem1555 = Table() - _elem1555.read(iprot) - self.success.append(_elem1555) + (_etype1562, _size1559) = iprot.readListBegin() + for _i1563 in range(_size1559): + _elem1564 = Table() + _elem1564.read(iprot) + self.success.append(_elem1564) iprot.readListEnd() else: iprot.skip(ftype) @@ -29268,8 +29268,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1556 in self.success: - iter1556.write(oprot) + for iter1565 in self.success: + iter1565.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29386,10 +29386,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1560, _size1557) = iprot.readListBegin() - for _i1561 in range(_size1557): - _elem1562 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1562) + (_etype1569, _size1566) = iprot.readListBegin() + for _i1570 in range(_size1566): + _elem1571 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1571) iprot.readListEnd() else: iprot.skip(ftype) @@ -29411,8 +29411,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1563 in self.success: - oprot.writeString(iter1563.encode('utf-8') if sys.version_info[0] == 2 else iter1563) + for iter1572 in self.success: + oprot.writeString(iter1572.encode('utf-8') if sys.version_info[0] == 2 else iter1572) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29479,10 +29479,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype1567, _size1564) = iprot.readListBegin() - for _i1568 in range(_size1564): - _elem1569 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.tbl_types.append(_elem1569) + (_etype1576, _size1573) = iprot.readListBegin() + for _i1577 in range(_size1573): + _elem1578 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.tbl_types.append(_elem1578) iprot.readListEnd() else: iprot.skip(ftype) @@ -29507,8 +29507,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter1570 in self.tbl_types: - oprot.writeString(iter1570.encode('utf-8') if sys.version_info[0] == 2 else iter1570) + for iter1579 in self.tbl_types: + oprot.writeString(iter1579.encode('utf-8') if sys.version_info[0] == 2 else iter1579) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29561,11 +29561,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1574, _size1571) = iprot.readListBegin() - for _i1575 in range(_size1571): - _elem1576 = TableMeta() - _elem1576.read(iprot) - self.success.append(_elem1576) + (_etype1583, _size1580) = iprot.readListBegin() + for _i1584 in range(_size1580): + _elem1585 = TableMeta() + _elem1585.read(iprot) + self.success.append(_elem1585) iprot.readListEnd() else: iprot.skip(ftype) @@ -29587,8 +29587,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1577 in self.success: - iter1577.write(oprot) + for iter1586 in self.success: + iter1586.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29705,10 +29705,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1581, _size1578) = iprot.readListBegin() - for _i1582 in range(_size1578): - _elem1583 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1583) + (_etype1590, _size1587) = iprot.readListBegin() + for _i1591 in range(_size1587): + _elem1592 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1592) iprot.readListEnd() else: iprot.skip(ftype) @@ -29730,8 +29730,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1584 in self.success: - oprot.writeString(iter1584.encode('utf-8') if sys.version_info[0] == 2 else iter1584) + for iter1593 in self.success: + oprot.writeString(iter1593.encode('utf-8') if sys.version_info[0] == 2 else iter1593) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29849,11 +29849,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1588, _size1585) = iprot.readListBegin() - for _i1589 in range(_size1585): - _elem1590 = ExtendedTableInfo() - _elem1590.read(iprot) - self.success.append(_elem1590) + (_etype1597, _size1594) = iprot.readListBegin() + for _i1598 in range(_size1594): + _elem1599 = ExtendedTableInfo() + _elem1599.read(iprot) + self.success.append(_elem1599) iprot.readListEnd() else: iprot.skip(ftype) @@ -29875,8 +29875,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1591 in self.success: - iter1591.write(oprot) + for iter1600 in self.success: + iter1600.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30689,10 +30689,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1595, _size1592) = iprot.readListBegin() - for _i1596 in range(_size1592): - _elem1597 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1597) + (_etype1604, _size1601) = iprot.readListBegin() + for _i1605 in range(_size1601): + _elem1606 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1606) iprot.readListEnd() else: iprot.skip(ftype) @@ -30724,8 +30724,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1598 in self.success: - oprot.writeString(iter1598.encode('utf-8') if sys.version_info[0] == 2 else iter1598) + for iter1607 in self.success: + oprot.writeString(iter1607.encode('utf-8') if sys.version_info[0] == 2 else iter1607) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31780,11 +31780,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1602, _size1599) = iprot.readListBegin() - for _i1603 in range(_size1599): - _elem1604 = Partition() - _elem1604.read(iprot) - self.new_parts.append(_elem1604) + (_etype1611, _size1608) = iprot.readListBegin() + for _i1612 in range(_size1608): + _elem1613 = Partition() + _elem1613.read(iprot) + self.new_parts.append(_elem1613) iprot.readListEnd() else: iprot.skip(ftype) @@ -31801,8 +31801,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1605 in self.new_parts: - iter1605.write(oprot) + for iter1614 in self.new_parts: + iter1614.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31948,11 +31948,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1609, _size1606) = iprot.readListBegin() - for _i1610 in range(_size1606): - _elem1611 = PartitionSpec() - _elem1611.read(iprot) - self.new_parts.append(_elem1611) + (_etype1618, _size1615) = iprot.readListBegin() + for _i1619 in range(_size1615): + _elem1620 = PartitionSpec() + _elem1620.read(iprot) + self.new_parts.append(_elem1620) iprot.readListEnd() else: iprot.skip(ftype) @@ -31969,8 +31969,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1612 in self.new_parts: - iter1612.write(oprot) + for iter1621 in self.new_parts: + iter1621.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32130,10 +32130,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1616, _size1613) = iprot.readListBegin() - for _i1617 in range(_size1613): - _elem1618 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1618) + (_etype1625, _size1622) = iprot.readListBegin() + for _i1626 in range(_size1622): + _elem1627 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1627) iprot.readListEnd() else: iprot.skip(ftype) @@ -32158,8 +32158,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1619 in self.part_vals: - oprot.writeString(iter1619.encode('utf-8') if sys.version_info[0] == 2 else iter1619) + for iter1628 in self.part_vals: + oprot.writeString(iter1628.encode('utf-8') if sys.version_info[0] == 2 else iter1628) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32485,10 +32485,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1623, _size1620) = iprot.readListBegin() - for _i1624 in range(_size1620): - _elem1625 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1625) + (_etype1632, _size1629) = iprot.readListBegin() + for _i1633 in range(_size1629): + _elem1634 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1634) iprot.readListEnd() else: iprot.skip(ftype) @@ -32519,8 +32519,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1626 in self.part_vals: - oprot.writeString(iter1626.encode('utf-8') if sys.version_info[0] == 2 else iter1626) + for iter1635 in self.part_vals: + oprot.writeString(iter1635.encode('utf-8') if sys.version_info[0] == 2 else iter1635) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -33232,10 +33232,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1630, _size1627) = iprot.readListBegin() - for _i1631 in range(_size1627): - _elem1632 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1632) + (_etype1639, _size1636) = iprot.readListBegin() + for _i1640 in range(_size1636): + _elem1641 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1641) iprot.readListEnd() else: iprot.skip(ftype) @@ -33265,8 +33265,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1633 in self.part_vals: - oprot.writeString(iter1633.encode('utf-8') if sys.version_info[0] == 2 else iter1633) + for iter1642 in self.part_vals: + oprot.writeString(iter1642.encode('utf-8') if sys.version_info[0] == 2 else iter1642) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -33425,10 +33425,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1637, _size1634) = iprot.readListBegin() - for _i1638 in range(_size1634): - _elem1639 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1639) + (_etype1646, _size1643) = iprot.readListBegin() + for _i1647 in range(_size1643): + _elem1648 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1648) iprot.readListEnd() else: iprot.skip(ftype) @@ -33464,8 +33464,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1640 in self.part_vals: - oprot.writeString(iter1640.encode('utf-8') if sys.version_info[0] == 2 else iter1640) + for iter1649 in self.part_vals: + oprot.writeString(iter1649.encode('utf-8') if sys.version_info[0] == 2 else iter1649) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -34301,10 +34301,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1644, _size1641) = iprot.readListBegin() - for _i1645 in range(_size1641): - _elem1646 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1646) + (_etype1653, _size1650) = iprot.readListBegin() + for _i1654 in range(_size1650): + _elem1655 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1655) iprot.readListEnd() else: iprot.skip(ftype) @@ -34329,8 +34329,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1647 in self.part_vals: - oprot.writeString(iter1647.encode('utf-8') if sys.version_info[0] == 2 else iter1647) + for iter1656 in self.part_vals: + oprot.writeString(iter1656.encode('utf-8') if sys.version_info[0] == 2 else iter1656) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34624,11 +34624,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1649, _vtype1650, _size1648) = iprot.readMapBegin() - for _i1652 in range(_size1648): - _key1653 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1654 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionSpecs[_key1653] = _val1654 + (_ktype1658, _vtype1659, _size1657) = iprot.readMapBegin() + for _i1661 in range(_size1657): + _key1662 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1663 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionSpecs[_key1662] = _val1663 iprot.readMapEnd() else: iprot.skip(ftype) @@ -34665,9 +34665,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1655, viter1656 in self.partitionSpecs.items(): - oprot.writeString(kiter1655.encode('utf-8') if sys.version_info[0] == 2 else kiter1655) - oprot.writeString(viter1656.encode('utf-8') if sys.version_info[0] == 2 else viter1656) + for kiter1664, viter1665 in self.partitionSpecs.items(): + oprot.writeString(kiter1664.encode('utf-8') if sys.version_info[0] == 2 else kiter1664) + oprot.writeString(viter1665.encode('utf-8') if sys.version_info[0] == 2 else viter1665) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -34854,11 +34854,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1658, _vtype1659, _size1657) = iprot.readMapBegin() - for _i1661 in range(_size1657): - _key1662 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1663 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionSpecs[_key1662] = _val1663 + (_ktype1667, _vtype1668, _size1666) = iprot.readMapBegin() + for _i1670 in range(_size1666): + _key1671 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1672 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionSpecs[_key1671] = _val1672 iprot.readMapEnd() else: iprot.skip(ftype) @@ -34895,9 +34895,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1664, viter1665 in self.partitionSpecs.items(): - oprot.writeString(kiter1664.encode('utf-8') if sys.version_info[0] == 2 else kiter1664) - oprot.writeString(viter1665.encode('utf-8') if sys.version_info[0] == 2 else viter1665) + for kiter1673, viter1674 in self.partitionSpecs.items(): + oprot.writeString(kiter1673.encode('utf-8') if sys.version_info[0] == 2 else kiter1673) + oprot.writeString(viter1674.encode('utf-8') if sys.version_info[0] == 2 else viter1674) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -34974,11 +34974,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1669, _size1666) = iprot.readListBegin() - for _i1670 in range(_size1666): - _elem1671 = Partition() - _elem1671.read(iprot) - self.success.append(_elem1671) + (_etype1678, _size1675) = iprot.readListBegin() + for _i1679 in range(_size1675): + _elem1680 = Partition() + _elem1680.read(iprot) + self.success.append(_elem1680) iprot.readListEnd() else: iprot.skip(ftype) @@ -35015,8 +35015,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1672 in self.success: - iter1672.write(oprot) + for iter1681 in self.success: + iter1681.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35102,10 +35102,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1676, _size1673) = iprot.readListBegin() - for _i1677 in range(_size1673): - _elem1678 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1678) + (_etype1685, _size1682) = iprot.readListBegin() + for _i1686 in range(_size1682): + _elem1687 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1687) iprot.readListEnd() else: iprot.skip(ftype) @@ -35117,10 +35117,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1682, _size1679) = iprot.readListBegin() - for _i1683 in range(_size1679): - _elem1684 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1684) + (_etype1691, _size1688) = iprot.readListBegin() + for _i1692 in range(_size1688): + _elem1693 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1693) iprot.readListEnd() else: iprot.skip(ftype) @@ -35145,8 +35145,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1685 in self.part_vals: - oprot.writeString(iter1685.encode('utf-8') if sys.version_info[0] == 2 else iter1685) + for iter1694 in self.part_vals: + oprot.writeString(iter1694.encode('utf-8') if sys.version_info[0] == 2 else iter1694) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -35156,8 +35156,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1686 in self.group_names: - oprot.writeString(iter1686.encode('utf-8') if sys.version_info[0] == 2 else iter1686) + for iter1695 in self.group_names: + oprot.writeString(iter1695.encode('utf-8') if sys.version_info[0] == 2 else iter1695) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35558,11 +35558,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1690, _size1687) = iprot.readListBegin() - for _i1691 in range(_size1687): - _elem1692 = Partition() - _elem1692.read(iprot) - self.success.append(_elem1692) + (_etype1699, _size1696) = iprot.readListBegin() + for _i1700 in range(_size1696): + _elem1701 = Partition() + _elem1701.read(iprot) + self.success.append(_elem1701) iprot.readListEnd() else: iprot.skip(ftype) @@ -35589,8 +35589,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1693 in self.success: - iter1693.write(oprot) + for iter1702 in self.success: + iter1702.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35825,10 +35825,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1697, _size1694) = iprot.readListBegin() - for _i1698 in range(_size1694): - _elem1699 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1699) + (_etype1706, _size1703) = iprot.readListBegin() + for _i1707 in range(_size1703): + _elem1708 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1708) iprot.readListEnd() else: iprot.skip(ftype) @@ -35861,8 +35861,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1700 in self.group_names: - oprot.writeString(iter1700.encode('utf-8') if sys.version_info[0] == 2 else iter1700) + for iter1709 in self.group_names: + oprot.writeString(iter1709.encode('utf-8') if sys.version_info[0] == 2 else iter1709) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35919,11 +35919,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1704, _size1701) = iprot.readListBegin() - for _i1705 in range(_size1701): - _elem1706 = Partition() - _elem1706.read(iprot) - self.success.append(_elem1706) + (_etype1713, _size1710) = iprot.readListBegin() + for _i1714 in range(_size1710): + _elem1715 = Partition() + _elem1715.read(iprot) + self.success.append(_elem1715) iprot.readListEnd() else: iprot.skip(ftype) @@ -35950,8 +35950,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1707 in self.success: - iter1707.write(oprot) + for iter1716 in self.success: + iter1716.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36099,11 +36099,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1711, _size1708) = iprot.readListBegin() - for _i1712 in range(_size1708): - _elem1713 = PartitionSpec() - _elem1713.read(iprot) - self.success.append(_elem1713) + (_etype1720, _size1717) = iprot.readListBegin() + for _i1721 in range(_size1717): + _elem1722 = PartitionSpec() + _elem1722.read(iprot) + self.success.append(_elem1722) iprot.readListEnd() else: iprot.skip(ftype) @@ -36130,8 +36130,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1714 in self.success: - iter1714.write(oprot) + for iter1723 in self.success: + iter1723.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36279,10 +36279,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1718, _size1715) = iprot.readListBegin() - for _i1719 in range(_size1715): - _elem1720 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1720) + (_etype1727, _size1724) = iprot.readListBegin() + for _i1728 in range(_size1724): + _elem1729 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1729) iprot.readListEnd() else: iprot.skip(ftype) @@ -36309,8 +36309,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1721 in self.success: - oprot.writeString(iter1721.encode('utf-8') if sys.version_info[0] == 2 else iter1721) + for iter1730 in self.success: + oprot.writeString(iter1730.encode('utf-8') if sys.version_info[0] == 2 else iter1730) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36435,10 +36435,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1725, _size1722) = iprot.readListBegin() - for _i1726 in range(_size1722): - _elem1727 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1727) + (_etype1734, _size1731) = iprot.readListBegin() + for _i1735 in range(_size1731): + _elem1736 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1736) iprot.readListEnd() else: iprot.skip(ftype) @@ -36465,8 +36465,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1728 in self.success: - oprot.writeString(iter1728.encode('utf-8') if sys.version_info[0] == 2 else iter1728) + for iter1737 in self.success: + oprot.writeString(iter1737.encode('utf-8') if sys.version_info[0] == 2 else iter1737) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36689,10 +36689,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1732, _size1729) = iprot.readListBegin() - for _i1733 in range(_size1729): - _elem1734 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1734) + (_etype1741, _size1738) = iprot.readListBegin() + for _i1742 in range(_size1738): + _elem1743 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1743) iprot.readListEnd() else: iprot.skip(ftype) @@ -36722,8 +36722,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1735 in self.part_vals: - oprot.writeString(iter1735.encode('utf-8') if sys.version_info[0] == 2 else iter1735) + for iter1744 in self.part_vals: + oprot.writeString(iter1744.encode('utf-8') if sys.version_info[0] == 2 else iter1744) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -36783,11 +36783,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1739, _size1736) = iprot.readListBegin() - for _i1740 in range(_size1736): - _elem1741 = Partition() - _elem1741.read(iprot) - self.success.append(_elem1741) + (_etype1748, _size1745) = iprot.readListBegin() + for _i1749 in range(_size1745): + _elem1750 = Partition() + _elem1750.read(iprot) + self.success.append(_elem1750) iprot.readListEnd() else: iprot.skip(ftype) @@ -36814,8 +36814,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1742 in self.success: - iter1742.write(oprot) + for iter1751 in self.success: + iter1751.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36893,10 +36893,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1746, _size1743) = iprot.readListBegin() - for _i1747 in range(_size1743): - _elem1748 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1748) + (_etype1755, _size1752) = iprot.readListBegin() + for _i1756 in range(_size1752): + _elem1757 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1757) iprot.readListEnd() else: iprot.skip(ftype) @@ -36913,10 +36913,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1752, _size1749) = iprot.readListBegin() - for _i1753 in range(_size1749): - _elem1754 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1754) + (_etype1761, _size1758) = iprot.readListBegin() + for _i1762 in range(_size1758): + _elem1763 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1763) iprot.readListEnd() else: iprot.skip(ftype) @@ -36941,8 +36941,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1755 in self.part_vals: - oprot.writeString(iter1755.encode('utf-8') if sys.version_info[0] == 2 else iter1755) + for iter1764 in self.part_vals: + oprot.writeString(iter1764.encode('utf-8') if sys.version_info[0] == 2 else iter1764) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -36956,8 +36956,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1756 in self.group_names: - oprot.writeString(iter1756.encode('utf-8') if sys.version_info[0] == 2 else iter1756) + for iter1765 in self.group_names: + oprot.writeString(iter1765.encode('utf-8') if sys.version_info[0] == 2 else iter1765) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -37015,11 +37015,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1760, _size1757) = iprot.readListBegin() - for _i1761 in range(_size1757): - _elem1762 = Partition() - _elem1762.read(iprot) - self.success.append(_elem1762) + (_etype1769, _size1766) = iprot.readListBegin() + for _i1770 in range(_size1766): + _elem1771 = Partition() + _elem1771.read(iprot) + self.success.append(_elem1771) iprot.readListEnd() else: iprot.skip(ftype) @@ -37046,8 +37046,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1763 in self.success: - iter1763.write(oprot) + for iter1772 in self.success: + iter1772.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37270,10 +37270,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1767, _size1764) = iprot.readListBegin() - for _i1768 in range(_size1764): - _elem1769 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1769) + (_etype1776, _size1773) = iprot.readListBegin() + for _i1777 in range(_size1773): + _elem1778 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1778) iprot.readListEnd() else: iprot.skip(ftype) @@ -37303,8 +37303,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1770 in self.part_vals: - oprot.writeString(iter1770.encode('utf-8') if sys.version_info[0] == 2 else iter1770) + for iter1779 in self.part_vals: + oprot.writeString(iter1779.encode('utf-8') if sys.version_info[0] == 2 else iter1779) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -37364,10 +37364,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1774, _size1771) = iprot.readListBegin() - for _i1775 in range(_size1771): - _elem1776 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1776) + (_etype1783, _size1780) = iprot.readListBegin() + for _i1784 in range(_size1780): + _elem1785 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1785) iprot.readListEnd() else: iprot.skip(ftype) @@ -37394,8 +37394,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1777 in self.success: - oprot.writeString(iter1777.encode('utf-8') if sys.version_info[0] == 2 else iter1777) + for iter1786 in self.success: + oprot.writeString(iter1786.encode('utf-8') if sys.version_info[0] == 2 else iter1786) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37669,10 +37669,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1781, _size1778) = iprot.readListBegin() - for _i1782 in range(_size1778): - _elem1783 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1783) + (_etype1790, _size1787) = iprot.readListBegin() + for _i1791 in range(_size1787): + _elem1792 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1792) iprot.readListEnd() else: iprot.skip(ftype) @@ -37699,8 +37699,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1784 in self.success: - oprot.writeString(iter1784.encode('utf-8') if sys.version_info[0] == 2 else iter1784) + for iter1793 in self.success: + oprot.writeString(iter1793.encode('utf-8') if sys.version_info[0] == 2 else iter1793) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37860,11 +37860,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1788, _size1785) = iprot.readListBegin() - for _i1789 in range(_size1785): - _elem1790 = Partition() - _elem1790.read(iprot) - self.success.append(_elem1790) + (_etype1797, _size1794) = iprot.readListBegin() + for _i1798 in range(_size1794): + _elem1799 = Partition() + _elem1799.read(iprot) + self.success.append(_elem1799) iprot.readListEnd() else: iprot.skip(ftype) @@ -37891,8 +37891,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1791 in self.success: - iter1791.write(oprot) + for iter1800 in self.success: + iter1800.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38017,11 +38017,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1795, _size1792) = iprot.readListBegin() - for _i1796 in range(_size1792): - _elem1797 = Partition() - _elem1797.read(iprot) - self.success.append(_elem1797) + (_etype1804, _size1801) = iprot.readListBegin() + for _i1805 in range(_size1801): + _elem1806 = Partition() + _elem1806.read(iprot) + self.success.append(_elem1806) iprot.readListEnd() else: iprot.skip(ftype) @@ -38048,8 +38048,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1798 in self.success: - iter1798.write(oprot) + for iter1807 in self.success: + iter1807.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38209,11 +38209,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1802, _size1799) = iprot.readListBegin() - for _i1803 in range(_size1799): - _elem1804 = PartitionSpec() - _elem1804.read(iprot) - self.success.append(_elem1804) + (_etype1811, _size1808) = iprot.readListBegin() + for _i1812 in range(_size1808): + _elem1813 = PartitionSpec() + _elem1813.read(iprot) + self.success.append(_elem1813) iprot.readListEnd() else: iprot.skip(ftype) @@ -38240,8 +38240,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1805 in self.success: - iter1805.write(oprot) + for iter1814 in self.success: + iter1814.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38782,10 +38782,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1809, _size1806) = iprot.readListBegin() - for _i1810 in range(_size1806): - _elem1811 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.names.append(_elem1811) + (_etype1818, _size1815) = iprot.readListBegin() + for _i1819 in range(_size1815): + _elem1820 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.names.append(_elem1820) iprot.readListEnd() else: iprot.skip(ftype) @@ -38810,8 +38810,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter1812 in self.names: - oprot.writeString(iter1812.encode('utf-8') if sys.version_info[0] == 2 else iter1812) + for iter1821 in self.names: + oprot.writeString(iter1821.encode('utf-8') if sys.version_info[0] == 2 else iter1821) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38868,11 +38868,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1816, _size1813) = iprot.readListBegin() - for _i1817 in range(_size1813): - _elem1818 = Partition() - _elem1818.read(iprot) - self.success.append(_elem1818) + (_etype1825, _size1822) = iprot.readListBegin() + for _i1826 in range(_size1822): + _elem1827 = Partition() + _elem1827.read(iprot) + self.success.append(_elem1827) iprot.readListEnd() else: iprot.skip(ftype) @@ -38904,8 +38904,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1819 in self.success: - iter1819.write(oprot) + for iter1828 in self.success: + iter1828.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39601,11 +39601,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1823, _size1820) = iprot.readListBegin() - for _i1824 in range(_size1820): - _elem1825 = Partition() - _elem1825.read(iprot) - self.new_parts.append(_elem1825) + (_etype1832, _size1829) = iprot.readListBegin() + for _i1833 in range(_size1829): + _elem1834 = Partition() + _elem1834.read(iprot) + self.new_parts.append(_elem1834) iprot.readListEnd() else: iprot.skip(ftype) @@ -39630,8 +39630,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1826 in self.new_parts: - iter1826.write(oprot) + for iter1835 in self.new_parts: + iter1835.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39772,11 +39772,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1830, _size1827) = iprot.readListBegin() - for _i1831 in range(_size1827): - _elem1832 = Partition() - _elem1832.read(iprot) - self.new_parts.append(_elem1832) + (_etype1839, _size1836) = iprot.readListBegin() + for _i1840 in range(_size1836): + _elem1841 = Partition() + _elem1841.read(iprot) + self.new_parts.append(_elem1841) iprot.readListEnd() else: iprot.skip(ftype) @@ -39807,8 +39807,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1833 in self.new_parts: - iter1833.write(oprot) + for iter1842 in self.new_parts: + iter1842.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -40277,10 +40277,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1837, _size1834) = iprot.readListBegin() - for _i1838 in range(_size1834): - _elem1839 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1839) + (_etype1846, _size1843) = iprot.readListBegin() + for _i1847 in range(_size1843): + _elem1848 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1848) iprot.readListEnd() else: iprot.skip(ftype) @@ -40311,8 +40311,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1840 in self.part_vals: - oprot.writeString(iter1840.encode('utf-8') if sys.version_info[0] == 2 else iter1840) + for iter1849 in self.part_vals: + oprot.writeString(iter1849.encode('utf-8') if sys.version_info[0] == 2 else iter1849) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -40593,10 +40593,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1844, _size1841) = iprot.readListBegin() - for _i1845 in range(_size1841): - _elem1846 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1846) + (_etype1853, _size1850) = iprot.readListBegin() + for _i1854 in range(_size1850): + _elem1855 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1855) iprot.readListEnd() else: iprot.skip(ftype) @@ -40618,8 +40618,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1847 in self.part_vals: - oprot.writeString(iter1847.encode('utf-8') if sys.version_info[0] == 2 else iter1847) + for iter1856 in self.part_vals: + oprot.writeString(iter1856.encode('utf-8') if sys.version_info[0] == 2 else iter1856) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -40957,10 +40957,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1851, _size1848) = iprot.readListBegin() - for _i1852 in range(_size1848): - _elem1853 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1853) + (_etype1860, _size1857) = iprot.readListBegin() + for _i1861 in range(_size1857): + _elem1862 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1862) iprot.readListEnd() else: iprot.skip(ftype) @@ -40982,8 +40982,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1854 in self.success: - oprot.writeString(iter1854.encode('utf-8') if sys.version_info[0] == 2 else iter1854) + for iter1863 in self.success: + oprot.writeString(iter1863.encode('utf-8') if sys.version_info[0] == 2 else iter1863) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -41100,11 +41100,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1856, _vtype1857, _size1855) = iprot.readMapBegin() - for _i1859 in range(_size1855): - _key1860 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1861 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success[_key1860] = _val1861 + (_ktype1865, _vtype1866, _size1864) = iprot.readMapBegin() + for _i1868 in range(_size1864): + _key1869 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1870 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success[_key1869] = _val1870 iprot.readMapEnd() else: iprot.skip(ftype) @@ -41126,9 +41126,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter1862, viter1863 in self.success.items(): - oprot.writeString(kiter1862.encode('utf-8') if sys.version_info[0] == 2 else kiter1862) - oprot.writeString(viter1863.encode('utf-8') if sys.version_info[0] == 2 else viter1863) + for kiter1871, viter1872 in self.success.items(): + oprot.writeString(kiter1871.encode('utf-8') if sys.version_info[0] == 2 else kiter1871) + oprot.writeString(viter1872.encode('utf-8') if sys.version_info[0] == 2 else viter1872) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -41197,11 +41197,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1865, _vtype1866, _size1864) = iprot.readMapBegin() - for _i1868 in range(_size1864): - _key1869 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1870 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals[_key1869] = _val1870 + (_ktype1874, _vtype1875, _size1873) = iprot.readMapBegin() + for _i1877 in range(_size1873): + _key1878 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1879 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals[_key1878] = _val1879 iprot.readMapEnd() else: iprot.skip(ftype) @@ -41231,9 +41231,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1871, viter1872 in self.part_vals.items(): - oprot.writeString(kiter1871.encode('utf-8') if sys.version_info[0] == 2 else kiter1871) - oprot.writeString(viter1872.encode('utf-8') if sys.version_info[0] == 2 else viter1872) + for kiter1880, viter1881 in self.part_vals.items(): + oprot.writeString(kiter1880.encode('utf-8') if sys.version_info[0] == 2 else kiter1880) + oprot.writeString(viter1881.encode('utf-8') if sys.version_info[0] == 2 else viter1881) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -41427,11 +41427,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1874, _vtype1875, _size1873) = iprot.readMapBegin() - for _i1877 in range(_size1873): - _key1878 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1879 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals[_key1878] = _val1879 + (_ktype1883, _vtype1884, _size1882) = iprot.readMapBegin() + for _i1886 in range(_size1882): + _key1887 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1888 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals[_key1887] = _val1888 iprot.readMapEnd() else: iprot.skip(ftype) @@ -41461,9 +41461,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1880, viter1881 in self.part_vals.items(): - oprot.writeString(kiter1880.encode('utf-8') if sys.version_info[0] == 2 else kiter1880) - oprot.writeString(viter1881.encode('utf-8') if sys.version_info[0] == 2 else viter1881) + for kiter1889, viter1890 in self.part_vals.items(): + oprot.writeString(kiter1889.encode('utf-8') if sys.version_info[0] == 2 else kiter1889) + oprot.writeString(viter1890.encode('utf-8') if sys.version_info[0] == 2 else viter1890) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -45677,10 +45677,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1885, _size1882) = iprot.readListBegin() - for _i1886 in range(_size1882): - _elem1887 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1887) + (_etype1894, _size1891) = iprot.readListBegin() + for _i1895 in range(_size1891): + _elem1896 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1896) iprot.readListEnd() else: iprot.skip(ftype) @@ -45702,8 +45702,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1888 in self.success: - oprot.writeString(iter1888.encode('utf-8') if sys.version_info[0] == 2 else iter1888) + for iter1897 in self.success: + oprot.writeString(iter1897.encode('utf-8') if sys.version_info[0] == 2 else iter1897) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -46486,10 +46486,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1892, _size1889) = iprot.readListBegin() - for _i1893 in range(_size1889): - _elem1894 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1894) + (_etype1901, _size1898) = iprot.readListBegin() + for _i1902 in range(_size1898): + _elem1903 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1903) iprot.readListEnd() else: iprot.skip(ftype) @@ -46511,8 +46511,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1895 in self.success: - oprot.writeString(iter1895.encode('utf-8') if sys.version_info[0] == 2 else iter1895) + for iter1904 in self.success: + oprot.writeString(iter1904.encode('utf-8') if sys.version_info[0] == 2 else iter1904) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -46995,11 +46995,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1899, _size1896) = iprot.readListBegin() - for _i1900 in range(_size1896): - _elem1901 = Role() - _elem1901.read(iprot) - self.success.append(_elem1901) + (_etype1908, _size1905) = iprot.readListBegin() + for _i1909 in range(_size1905): + _elem1910 = Role() + _elem1910.read(iprot) + self.success.append(_elem1910) iprot.readListEnd() else: iprot.skip(ftype) @@ -47021,8 +47021,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1902 in self.success: - iter1902.write(oprot) + for iter1911 in self.success: + iter1911.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -47501,10 +47501,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1906, _size1903) = iprot.readListBegin() - for _i1907 in range(_size1903): - _elem1908 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1908) + (_etype1915, _size1912) = iprot.readListBegin() + for _i1916 in range(_size1912): + _elem1917 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1917) iprot.readListEnd() else: iprot.skip(ftype) @@ -47529,8 +47529,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1909 in self.group_names: - oprot.writeString(iter1909.encode('utf-8') if sys.version_info[0] == 2 else iter1909) + for iter1918 in self.group_names: + oprot.writeString(iter1918.encode('utf-8') if sys.version_info[0] == 2 else iter1918) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -47744,11 +47744,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1913, _size1910) = iprot.readListBegin() - for _i1914 in range(_size1910): - _elem1915 = HiveObjectPrivilege() - _elem1915.read(iprot) - self.success.append(_elem1915) + (_etype1922, _size1919) = iprot.readListBegin() + for _i1923 in range(_size1919): + _elem1924 = HiveObjectPrivilege() + _elem1924.read(iprot) + self.success.append(_elem1924) iprot.readListEnd() else: iprot.skip(ftype) @@ -47770,8 +47770,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1916 in self.success: - iter1916.write(oprot) + for iter1925 in self.success: + iter1925.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -48402,10 +48402,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1920, _size1917) = iprot.readListBegin() - for _i1921 in range(_size1917): - _elem1922 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1922) + (_etype1929, _size1926) = iprot.readListBegin() + for _i1930 in range(_size1926): + _elem1931 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1931) iprot.readListEnd() else: iprot.skip(ftype) @@ -48426,8 +48426,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1923 in self.group_names: - oprot.writeString(iter1923.encode('utf-8') if sys.version_info[0] == 2 else iter1923) + for iter1932 in self.group_names: + oprot.writeString(iter1932.encode('utf-8') if sys.version_info[0] == 2 else iter1932) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -48479,10 +48479,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1927, _size1924) = iprot.readListBegin() - for _i1928 in range(_size1924): - _elem1929 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1929) + (_etype1936, _size1933) = iprot.readListBegin() + for _i1937 in range(_size1933): + _elem1938 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1938) iprot.readListEnd() else: iprot.skip(ftype) @@ -48504,8 +48504,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1930 in self.success: - oprot.writeString(iter1930.encode('utf-8') if sys.version_info[0] == 2 else iter1930) + for iter1939 in self.success: + oprot.writeString(iter1939.encode('utf-8') if sys.version_info[0] == 2 else iter1939) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -49388,10 +49388,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1934, _size1931) = iprot.readListBegin() - for _i1935 in range(_size1931): - _elem1936 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1936) + (_etype1943, _size1940) = iprot.readListBegin() + for _i1944 in range(_size1940): + _elem1945 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1945) iprot.readListEnd() else: iprot.skip(ftype) @@ -49408,8 +49408,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1937 in self.success: - oprot.writeString(iter1937.encode('utf-8') if sys.version_info[0] == 2 else iter1937) + for iter1946 in self.success: + oprot.writeString(iter1946.encode('utf-8') if sys.version_info[0] == 2 else iter1946) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -49906,10 +49906,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1941, _size1938) = iprot.readListBegin() - for _i1942 in range(_size1938): - _elem1943 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1943) + (_etype1950, _size1947) = iprot.readListBegin() + for _i1951 in range(_size1947): + _elem1952 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1952) iprot.readListEnd() else: iprot.skip(ftype) @@ -49926,8 +49926,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1944 in self.success: - oprot.writeString(iter1944.encode('utf-8') if sys.version_info[0] == 2 else iter1944) + for iter1953 in self.success: + oprot.writeString(iter1953.encode('utf-8') if sys.version_info[0] == 2 else iter1953) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -51094,11 +51094,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.MAP: self.writeIds = {} - (_ktype1946, _vtype1947, _size1945) = iprot.readMapBegin() - for _i1949 in range(_size1945): - _key1950 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1951 = iprot.readI64() - self.writeIds[_key1950] = _val1951 + (_ktype1955, _vtype1956, _size1954) = iprot.readMapBegin() + for _i1958 in range(_size1954): + _key1959 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1960 = iprot.readI64() + self.writeIds[_key1959] = _val1960 iprot.readMapEnd() else: iprot.skip(ftype) @@ -51119,9 +51119,9 @@ def write(self, oprot): if self.writeIds is not None: oprot.writeFieldBegin('writeIds', TType.MAP, 2) oprot.writeMapBegin(TType.STRING, TType.I64, len(self.writeIds)) - for kiter1952, viter1953 in self.writeIds.items(): - oprot.writeString(kiter1952.encode('utf-8') if sys.version_info[0] == 2 else kiter1952) - oprot.writeI64(viter1953) + for kiter1961, viter1962 in self.writeIds.items(): + oprot.writeString(kiter1961.encode('utf-8') if sys.version_info[0] == 2 else kiter1961) + oprot.writeI64(viter1962) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -53734,10 +53734,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1957, _size1954) = iprot.readListBegin() - for _i1958 in range(_size1954): - _elem1959 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1959) + (_etype1966, _size1963) = iprot.readListBegin() + for _i1967 in range(_size1963): + _elem1968 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1968) iprot.readListEnd() else: iprot.skip(ftype) @@ -53754,8 +53754,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1960 in self.success: - oprot.writeString(iter1960.encode('utf-8') if sys.version_info[0] == 2 else iter1960) + for iter1969 in self.success: + oprot.writeString(iter1969.encode('utf-8') if sys.version_info[0] == 2 else iter1969) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -60311,11 +60311,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1964, _size1961) = iprot.readListBegin() - for _i1965 in range(_size1961): - _elem1966 = SchemaVersion() - _elem1966.read(iprot) - self.success.append(_elem1966) + (_etype1973, _size1970) = iprot.readListBegin() + for _i1974 in range(_size1970): + _elem1975 = SchemaVersion() + _elem1975.read(iprot) + self.success.append(_elem1975) iprot.readListEnd() else: iprot.skip(ftype) @@ -60342,8 +60342,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1967 in self.success: - iter1967.write(oprot) + for iter1976 in self.success: + iter1976.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -61732,11 +61732,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1971, _size1968) = iprot.readListBegin() - for _i1972 in range(_size1968): - _elem1973 = RuntimeStat() - _elem1973.read(iprot) - self.success.append(_elem1973) + (_etype1980, _size1977) = iprot.readListBegin() + for _i1981 in range(_size1977): + _elem1982 = RuntimeStat() + _elem1982.read(iprot) + self.success.append(_elem1982) iprot.readListEnd() else: iprot.skip(ftype) @@ -61758,8 +61758,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1974 in self.success: - iter1974.write(oprot) + for iter1983 in self.success: + iter1983.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -63396,10 +63396,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1978, _size1975) = iprot.readListBegin() - for _i1979 in range(_size1975): - _elem1980 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1980) + (_etype1987, _size1984) = iprot.readListBegin() + for _i1988 in range(_size1984): + _elem1989 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1989) iprot.readListEnd() else: iprot.skip(ftype) @@ -63421,8 +63421,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1981 in self.success: - oprot.writeString(iter1981.encode('utf-8') if sys.version_info[0] == 2 else iter1981) + for iter1990 in self.success: + oprot.writeString(iter1990.encode('utf-8') if sys.version_info[0] == 2 else iter1990) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -63814,10 +63814,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1985, _size1982) = iprot.readListBegin() - for _i1986 in range(_size1982): - _elem1987 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1987) + (_etype1994, _size1991) = iprot.readListBegin() + for _i1995 in range(_size1991): + _elem1996 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1996) iprot.readListEnd() else: iprot.skip(ftype) @@ -63839,8 +63839,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1988 in self.success: - oprot.writeString(iter1988.encode('utf-8') if sys.version_info[0] == 2 else iter1988) + for iter1997 in self.success: + oprot.writeString(iter1997.encode('utf-8') if sys.version_info[0] == 2 else iter1997) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -64083,11 +64083,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1992, _size1989) = iprot.readListBegin() - for _i1993 in range(_size1989): - _elem1994 = WriteEventInfo() - _elem1994.read(iprot) - self.success.append(_elem1994) + (_etype2001, _size1998) = iprot.readListBegin() + for _i2002 in range(_size1998): + _elem2003 = WriteEventInfo() + _elem2003.read(iprot) + self.success.append(_elem2003) iprot.readListEnd() else: iprot.skip(ftype) @@ -64109,8 +64109,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1995 in self.success: - iter1995.write(oprot) + for iter2004 in self.success: + iter2004.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py index a8df9cc68930..0430c2b90439 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -14893,11 +14893,12 @@ class LockComponent(object): - operationType - isTransactional - isDynamicPartitionWrite + - tableParams """ - def __init__(self, type=None, level=None, dbname=None, tablename=None, partitionname=None, operationType=5, isTransactional=False, isDynamicPartitionWrite=False,): + def __init__(self, type=None, level=None, dbname=None, tablename=None, partitionname=None, operationType=5, isTransactional=False, isDynamicPartitionWrite=False, tableParams=None,): self.type = type self.level = level self.dbname = dbname @@ -14906,6 +14907,7 @@ def __init__(self, type=None, level=None, dbname=None, tablename=None, partition self.operationType = operationType self.isTransactional = isTransactional self.isDynamicPartitionWrite = isDynamicPartitionWrite + self.tableParams = tableParams def read(self, iprot): if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None: @@ -14956,6 +14958,17 @@ def read(self, iprot): self.isDynamicPartitionWrite = iprot.readBool() else: iprot.skip(ftype) + elif fid == 9: + if ftype == TType.MAP: + self.tableParams = {} + (_ktype786, _vtype787, _size785) = iprot.readMapBegin() + for _i789 in range(_size785): + _key790 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val791 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.tableParams[_key790] = _val791 + iprot.readMapEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -14998,6 +15011,14 @@ def write(self, oprot): oprot.writeFieldBegin('isDynamicPartitionWrite', TType.BOOL, 8) oprot.writeBool(self.isDynamicPartitionWrite) oprot.writeFieldEnd() + if self.tableParams is not None: + oprot.writeFieldBegin('tableParams', TType.MAP, 9) + oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.tableParams)) + for kiter792, viter793 in self.tableParams.items(): + oprot.writeString(kiter792.encode('utf-8') if sys.version_info[0] == 2 else kiter792) + oprot.writeString(viter793.encode('utf-8') if sys.version_info[0] == 2 else viter793) + oprot.writeMapEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -15059,11 +15080,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype788, _size785) = iprot.readListBegin() - for _i789 in range(_size785): - _elem790 = LockComponent() - _elem790.read(iprot) - self.component.append(_elem790) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in range(_size794): + _elem799 = LockComponent() + _elem799.read(iprot) + self.component.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) @@ -15115,8 +15136,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter791 in self.component: - iter791.write(oprot) + for iter800 in self.component: + iter800.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -15754,11 +15775,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype795, _size792) = iprot.readListBegin() - for _i796 in range(_size792): - _elem797 = ShowLocksResponseElement() - _elem797.read(iprot) - self.locks.append(_elem797) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in range(_size801): + _elem806 = ShowLocksResponseElement() + _elem806.read(iprot) + self.locks.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -15775,8 +15796,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter798 in self.locks: - iter798.write(oprot) + for iter807 in self.locks: + iter807.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15962,20 +15983,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype802, _size799) = iprot.readSetBegin() - for _i803 in range(_size799): - _elem804 = iprot.readI64() - self.aborted.add(_elem804) + (_etype811, _size808) = iprot.readSetBegin() + for _i812 in range(_size808): + _elem813 = iprot.readI64() + self.aborted.add(_elem813) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype808, _size805) = iprot.readSetBegin() - for _i809 in range(_size805): - _elem810 = iprot.readI64() - self.nosuch.add(_elem810) + (_etype817, _size814) = iprot.readSetBegin() + for _i818 in range(_size814): + _elem819 = iprot.readI64() + self.nosuch.add(_elem819) iprot.readSetEnd() else: iprot.skip(ftype) @@ -15992,15 +16013,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter811 in self.aborted: - oprot.writeI64(iter811) + for iter820 in self.aborted: + oprot.writeI64(iter820) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter812 in self.nosuch: - oprot.writeI64(iter812) + for iter821 in self.nosuch: + oprot.writeI64(iter821) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16093,11 +16114,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype814, _vtype815, _size813) = iprot.readMapBegin() - for _i817 in range(_size813): - _key818 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val819 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.properties[_key818] = _val819 + (_ktype823, _vtype824, _size822) = iprot.readMapBegin() + for _i826 in range(_size822): + _key827 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val828 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.properties[_key827] = _val828 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16159,9 +16180,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter820, viter821 in self.properties.items(): - oprot.writeString(kiter820.encode('utf-8') if sys.version_info[0] == 2 else kiter820) - oprot.writeString(viter821.encode('utf-8') if sys.version_info[0] == 2 else viter821) + for kiter829, viter830 in self.properties.items(): + oprot.writeString(kiter829.encode('utf-8') if sys.version_info[0] == 2 else kiter829) + oprot.writeString(viter830.encode('utf-8') if sys.version_info[0] == 2 else viter830) oprot.writeMapEnd() oprot.writeFieldEnd() if self.initiatorId is not None: @@ -17400,11 +17421,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in range(_size822): - _elem827 = ShowCompactResponseElement() - _elem827.read(iprot) - self.compacts.append(_elem827) + (_etype834, _size831) = iprot.readListBegin() + for _i835 in range(_size831): + _elem836 = ShowCompactResponseElement() + _elem836.read(iprot) + self.compacts.append(_elem836) iprot.readListEnd() else: iprot.skip(ftype) @@ -17421,8 +17442,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter828 in self.compacts: - iter828.write(oprot) + for iter837 in self.compacts: + iter837.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17472,10 +17493,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compactionIds = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in range(_size829): - _elem834 = iprot.readI64() - self.compactionIds.append(_elem834) + (_etype841, _size838) = iprot.readListBegin() + for _i842 in range(_size838): + _elem843 = iprot.readI64() + self.compactionIds.append(_elem843) iprot.readListEnd() else: iprot.skip(ftype) @@ -17502,8 +17523,8 @@ def write(self, oprot): if self.compactionIds is not None: oprot.writeFieldBegin('compactionIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.compactionIds)) - for iter835 in self.compactionIds: - oprot.writeI64(iter835) + for iter844 in self.compactionIds: + oprot.writeI64(iter844) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -17638,12 +17659,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.abortedcompacts = {} - (_ktype837, _vtype838, _size836) = iprot.readMapBegin() - for _i840 in range(_size836): - _key841 = iprot.readI64() - _val842 = AbortCompactionResponseElement() - _val842.read(iprot) - self.abortedcompacts[_key841] = _val842 + (_ktype846, _vtype847, _size845) = iprot.readMapBegin() + for _i849 in range(_size845): + _key850 = iprot.readI64() + _val851 = AbortCompactionResponseElement() + _val851.read(iprot) + self.abortedcompacts[_key850] = _val851 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17660,9 +17681,9 @@ def write(self, oprot): if self.abortedcompacts is not None: oprot.writeFieldBegin('abortedcompacts', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.abortedcompacts)) - for kiter843, viter844 in self.abortedcompacts.items(): - oprot.writeI64(kiter843) - viter844.write(oprot) + for kiter852, viter853 in self.abortedcompacts.items(): + oprot.writeI64(kiter852) + viter853.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17724,10 +17745,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partitionnames = [] - (_etype848, _size845) = iprot.readListBegin() - for _i849 in range(_size845): - _elem850 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionnames.append(_elem850) + (_etype857, _size854) = iprot.readListBegin() + for _i858 in range(_size854): + _elem859 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionnames.append(_elem859) iprot.readListEnd() else: iprot.skip(ftype) @@ -17757,8 +17778,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter851 in self.partitionnames: - oprot.writeString(iter851.encode('utf-8') if sys.version_info[0] == 2 else iter851) + for iter860 in self.partitionnames: + oprot.writeString(iter860.encode('utf-8') if sys.version_info[0] == 2 else iter860) oprot.writeListEnd() oprot.writeFieldEnd() if self.lastCompactionId is not None: @@ -17810,11 +17831,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compactions = [] - (_etype855, _size852) = iprot.readListBegin() - for _i856 in range(_size852): - _elem857 = CompactionInfoStruct() - _elem857.read(iprot) - self.compactions.append(_elem857) + (_etype864, _size861) = iprot.readListBegin() + for _i865 in range(_size861): + _elem866 = CompactionInfoStruct() + _elem866.read(iprot) + self.compactions.append(_elem866) iprot.readListEnd() else: iprot.skip(ftype) @@ -17831,8 +17852,8 @@ def write(self, oprot): if self.compactions is not None: oprot.writeFieldBegin('compactions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compactions)) - for iter858 in self.compactions: - iter858.write(oprot) + for iter867 in self.compactions: + iter867.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17987,10 +18008,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype862, _size859) = iprot.readListBegin() - for _i863 in range(_size859): - _elem864 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionnames.append(_elem864) + (_etype871, _size868) = iprot.readListBegin() + for _i872 in range(_size868): + _elem873 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionnames.append(_elem873) iprot.readListEnd() else: iprot.skip(ftype) @@ -18028,8 +18049,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter865 in self.partitionnames: - oprot.writeString(iter865.encode('utf-8') if sys.version_info[0] == 2 else iter865) + for iter874 in self.partitionnames: + oprot.writeString(iter874.encode('utf-8') if sys.version_info[0] == 2 else iter874) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -18223,10 +18244,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.eventTypeSkipList = [] - (_etype869, _size866) = iprot.readListBegin() - for _i870 in range(_size866): - _elem871 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.eventTypeSkipList.append(_elem871) + (_etype878, _size875) = iprot.readListBegin() + for _i879 in range(_size875): + _elem880 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.eventTypeSkipList.append(_elem880) iprot.readListEnd() else: iprot.skip(ftype) @@ -18243,20 +18264,20 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.tableNames = [] - (_etype875, _size872) = iprot.readListBegin() - for _i876 in range(_size872): - _elem877 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.tableNames.append(_elem877) + (_etype884, _size881) = iprot.readListBegin() + for _i885 in range(_size881): + _elem886 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.tableNames.append(_elem886) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.eventTypeList = [] - (_etype881, _size878) = iprot.readListBegin() - for _i882 in range(_size878): - _elem883 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.eventTypeList.append(_elem883) + (_etype890, _size887) = iprot.readListBegin() + for _i891 in range(_size887): + _elem892 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.eventTypeList.append(_elem892) iprot.readListEnd() else: iprot.skip(ftype) @@ -18281,8 +18302,8 @@ def write(self, oprot): if self.eventTypeSkipList is not None: oprot.writeFieldBegin('eventTypeSkipList', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.eventTypeSkipList)) - for iter884 in self.eventTypeSkipList: - oprot.writeString(iter884.encode('utf-8') if sys.version_info[0] == 2 else iter884) + for iter893 in self.eventTypeSkipList: + oprot.writeString(iter893.encode('utf-8') if sys.version_info[0] == 2 else iter893) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -18296,15 +18317,15 @@ def write(self, oprot): if self.tableNames is not None: oprot.writeFieldBegin('tableNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.tableNames)) - for iter885 in self.tableNames: - oprot.writeString(iter885.encode('utf-8') if sys.version_info[0] == 2 else iter885) + for iter894 in self.tableNames: + oprot.writeString(iter894.encode('utf-8') if sys.version_info[0] == 2 else iter894) oprot.writeListEnd() oprot.writeFieldEnd() if self.eventTypeList is not None: oprot.writeFieldBegin('eventTypeList', TType.LIST, 7) oprot.writeListBegin(TType.STRING, len(self.eventTypeList)) - for iter886 in self.eventTypeList: - oprot.writeString(iter886.encode('utf-8') if sys.version_info[0] == 2 else iter886) + for iter895 in self.eventTypeList: + oprot.writeString(iter895.encode('utf-8') if sys.version_info[0] == 2 else iter895) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18492,11 +18513,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype890, _size887) = iprot.readListBegin() - for _i891 in range(_size887): - _elem892 = NotificationEvent() - _elem892.read(iprot) - self.events.append(_elem892) + (_etype899, _size896) = iprot.readListBegin() + for _i900 in range(_size896): + _elem901 = NotificationEvent() + _elem901.read(iprot) + self.events.append(_elem901) iprot.readListEnd() else: iprot.skip(ftype) @@ -18513,8 +18534,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter893 in self.events: - iter893.write(oprot) + for iter902 in self.events: + iter902.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18654,10 +18675,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.tableNames = [] - (_etype897, _size894) = iprot.readListBegin() - for _i898 in range(_size894): - _elem899 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.tableNames.append(_elem899) + (_etype906, _size903) = iprot.readListBegin() + for _i907 in range(_size903): + _elem908 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.tableNames.append(_elem908) iprot.readListEnd() else: iprot.skip(ftype) @@ -18694,8 +18715,8 @@ def write(self, oprot): if self.tableNames is not None: oprot.writeFieldBegin('tableNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.tableNames)) - for iter900 in self.tableNames: - oprot.writeString(iter900.encode('utf-8') if sys.version_info[0] == 2 else iter900) + for iter909 in self.tableNames: + oprot.writeString(iter909.encode('utf-8') if sys.version_info[0] == 2 else iter909) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18815,40 +18836,40 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype904, _size901) = iprot.readListBegin() - for _i905 in range(_size901): - _elem906 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.filesAdded.append(_elem906) + (_etype913, _size910) = iprot.readListBegin() + for _i914 in range(_size910): + _elem915 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.filesAdded.append(_elem915) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype910, _size907) = iprot.readListBegin() - for _i911 in range(_size907): - _elem912 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.filesAddedChecksum.append(_elem912) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in range(_size916): + _elem921 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.filesAddedChecksum.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.subDirectoryList = [] - (_etype916, _size913) = iprot.readListBegin() - for _i917 in range(_size913): - _elem918 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.subDirectoryList.append(_elem918) + (_etype925, _size922) = iprot.readListBegin() + for _i926 in range(_size922): + _elem927 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.subDirectoryList.append(_elem927) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.partitionVal = [] - (_etype922, _size919) = iprot.readListBegin() - for _i923 in range(_size919): - _elem924 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionVal.append(_elem924) + (_etype931, _size928) = iprot.readListBegin() + for _i932 in range(_size928): + _elem933 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionVal.append(_elem933) iprot.readListEnd() else: iprot.skip(ftype) @@ -18869,29 +18890,29 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter925 in self.filesAdded: - oprot.writeString(iter925.encode('utf-8') if sys.version_info[0] == 2 else iter925) + for iter934 in self.filesAdded: + oprot.writeString(iter934.encode('utf-8') if sys.version_info[0] == 2 else iter934) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter926 in self.filesAddedChecksum: - oprot.writeString(iter926.encode('utf-8') if sys.version_info[0] == 2 else iter926) + for iter935 in self.filesAddedChecksum: + oprot.writeString(iter935.encode('utf-8') if sys.version_info[0] == 2 else iter935) oprot.writeListEnd() oprot.writeFieldEnd() if self.subDirectoryList is not None: oprot.writeFieldBegin('subDirectoryList', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.subDirectoryList)) - for iter927 in self.subDirectoryList: - oprot.writeString(iter927.encode('utf-8') if sys.version_info[0] == 2 else iter927) + for iter936 in self.subDirectoryList: + oprot.writeString(iter936.encode('utf-8') if sys.version_info[0] == 2 else iter936) oprot.writeListEnd() oprot.writeFieldEnd() if self.partitionVal is not None: oprot.writeFieldBegin('partitionVal', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVal)) - for iter928 in self.partitionVal: - oprot.writeString(iter928.encode('utf-8') if sys.version_info[0] == 2 else iter928) + for iter937 in self.partitionVal: + oprot.writeString(iter937.encode('utf-8') if sys.version_info[0] == 2 else iter937) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18947,11 +18968,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.insertDatas = [] - (_etype932, _size929) = iprot.readListBegin() - for _i933 in range(_size929): - _elem934 = InsertEventRequestData() - _elem934.read(iprot) - self.insertDatas.append(_elem934) + (_etype941, _size938) = iprot.readListBegin() + for _i942 in range(_size938): + _elem943 = InsertEventRequestData() + _elem943.read(iprot) + self.insertDatas.append(_elem943) iprot.readListEnd() else: iprot.skip(ftype) @@ -18977,8 +18998,8 @@ def write(self, oprot): if self.insertDatas is not None: oprot.writeFieldBegin('insertDatas', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.insertDatas)) - for iter935 in self.insertDatas: - iter935.write(oprot) + for iter944 in self.insertDatas: + iter944.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.refreshEvent is not None: @@ -19061,10 +19082,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype939, _size936) = iprot.readListBegin() - for _i940 in range(_size936): - _elem941 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionVals.append(_elem941) + (_etype948, _size945) = iprot.readListBegin() + for _i949 in range(_size945): + _elem950 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionVals.append(_elem950) iprot.readListEnd() else: iprot.skip(ftype) @@ -19076,26 +19097,26 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.tblParams = {} - (_ktype943, _vtype944, _size942) = iprot.readMapBegin() - for _i946 in range(_size942): - _key947 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val948 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.tblParams[_key947] = _val948 + (_ktype952, _vtype953, _size951) = iprot.readMapBegin() + for _i955 in range(_size951): + _key956 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val957 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.tblParams[_key956] = _val957 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 8: if ftype == TType.LIST: self.batchPartitionValsForRefresh = [] - (_etype952, _size949) = iprot.readListBegin() - for _i953 in range(_size949): - _elem954 = [] - (_etype958, _size955) = iprot.readListBegin() - for _i959 in range(_size955): - _elem960 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _elem954.append(_elem960) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in range(_size958): + _elem963 = [] + (_etype967, _size964) = iprot.readListBegin() + for _i968 in range(_size964): + _elem969 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _elem963.append(_elem969) iprot.readListEnd() - self.batchPartitionValsForRefresh.append(_elem954) + self.batchPartitionValsForRefresh.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -19128,8 +19149,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter961 in self.partitionVals: - oprot.writeString(iter961.encode('utf-8') if sys.version_info[0] == 2 else iter961) + for iter970 in self.partitionVals: + oprot.writeString(iter970.encode('utf-8') if sys.version_info[0] == 2 else iter970) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -19139,18 +19160,18 @@ def write(self, oprot): if self.tblParams is not None: oprot.writeFieldBegin('tblParams', TType.MAP, 7) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.tblParams)) - for kiter962, viter963 in self.tblParams.items(): - oprot.writeString(kiter962.encode('utf-8') if sys.version_info[0] == 2 else kiter962) - oprot.writeString(viter963.encode('utf-8') if sys.version_info[0] == 2 else viter963) + for kiter971, viter972 in self.tblParams.items(): + oprot.writeString(kiter971.encode('utf-8') if sys.version_info[0] == 2 else kiter971) + oprot.writeString(viter972.encode('utf-8') if sys.version_info[0] == 2 else viter972) oprot.writeMapEnd() oprot.writeFieldEnd() if self.batchPartitionValsForRefresh is not None: oprot.writeFieldBegin('batchPartitionValsForRefresh', TType.LIST, 8) oprot.writeListBegin(TType.LIST, len(self.batchPartitionValsForRefresh)) - for iter964 in self.batchPartitionValsForRefresh: - oprot.writeListBegin(TType.STRING, len(iter964)) - for iter965 in iter964: - oprot.writeString(iter965.encode('utf-8') if sys.version_info[0] == 2 else iter965) + for iter973 in self.batchPartitionValsForRefresh: + oprot.writeListBegin(TType.STRING, len(iter973)) + for iter974 in iter973: + oprot.writeString(iter974.encode('utf-8') if sys.version_info[0] == 2 else iter974) oprot.writeListEnd() oprot.writeListEnd() oprot.writeFieldEnd() @@ -19199,10 +19220,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.eventIds = [] - (_etype969, _size966) = iprot.readListBegin() - for _i970 in range(_size966): - _elem971 = iprot.readI64() - self.eventIds.append(_elem971) + (_etype978, _size975) = iprot.readListBegin() + for _i979 in range(_size975): + _elem980 = iprot.readI64() + self.eventIds.append(_elem980) iprot.readListEnd() else: iprot.skip(ftype) @@ -19219,8 +19240,8 @@ def write(self, oprot): if self.eventIds is not None: oprot.writeFieldBegin('eventIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.eventIds)) - for iter972 in self.eventIds: - oprot.writeI64(iter972) + for iter981 in self.eventIds: + oprot.writeI64(iter981) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19300,10 +19321,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionVals = [] - (_etype976, _size973) = iprot.readListBegin() - for _i977 in range(_size973): - _elem978 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partitionVals.append(_elem978) + (_etype985, _size982) = iprot.readListBegin() + for _i986 in range(_size982): + _elem987 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partitionVals.append(_elem987) iprot.readListEnd() else: iprot.skip(ftype) @@ -19340,8 +19361,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter979 in self.partitionVals: - oprot.writeString(iter979.encode('utf-8') if sys.version_info[0] == 2 else iter979) + for iter988 in self.partitionVals: + oprot.writeString(iter988.encode('utf-8') if sys.version_info[0] == 2 else iter988) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19456,11 +19477,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.requestList = [] - (_etype983, _size980) = iprot.readListBegin() - for _i984 in range(_size980): - _elem985 = WriteNotificationLogRequest() - _elem985.read(iprot) - self.requestList.append(_elem985) + (_etype992, _size989) = iprot.readListBegin() + for _i993 in range(_size989): + _elem994 = WriteNotificationLogRequest() + _elem994.read(iprot) + self.requestList.append(_elem994) iprot.readListEnd() else: iprot.skip(ftype) @@ -19489,8 +19510,8 @@ def write(self, oprot): if self.requestList is not None: oprot.writeFieldBegin('requestList', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.requestList)) - for iter986 in self.requestList: - iter986.write(oprot) + for iter995 in self.requestList: + iter995.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19652,12 +19673,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype988, _vtype989, _size987) = iprot.readMapBegin() - for _i991 in range(_size987): - _key992 = iprot.readI64() - _val993 = MetadataPpdResult() - _val993.read(iprot) - self.metadata[_key992] = _val993 + (_ktype997, _vtype998, _size996) = iprot.readMapBegin() + for _i1000 in range(_size996): + _key1001 = iprot.readI64() + _val1002 = MetadataPpdResult() + _val1002.read(iprot) + self.metadata[_key1001] = _val1002 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19679,9 +19700,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter994, viter995 in self.metadata.items(): - oprot.writeI64(kiter994) - viter995.write(oprot) + for kiter1003, viter1004 in self.metadata.items(): + oprot.writeI64(kiter1003) + viter1004.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -19739,10 +19760,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype999, _size996) = iprot.readListBegin() - for _i1000 in range(_size996): - _elem1001 = iprot.readI64() - self.fileIds.append(_elem1001) + (_etype1008, _size1005) = iprot.readListBegin() + for _i1009 in range(_size1005): + _elem1010 = iprot.readI64() + self.fileIds.append(_elem1010) iprot.readListEnd() else: iprot.skip(ftype) @@ -19774,8 +19795,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter1002 in self.fileIds: - oprot.writeI64(iter1002) + for iter1011 in self.fileIds: + oprot.writeI64(iter1011) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -19837,11 +19858,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype1004, _vtype1005, _size1003) = iprot.readMapBegin() - for _i1007 in range(_size1003): - _key1008 = iprot.readI64() - _val1009 = iprot.readBinary() - self.metadata[_key1008] = _val1009 + (_ktype1013, _vtype1014, _size1012) = iprot.readMapBegin() + for _i1016 in range(_size1012): + _key1017 = iprot.readI64() + _val1018 = iprot.readBinary() + self.metadata[_key1017] = _val1018 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19863,9 +19884,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter1010, viter1011 in self.metadata.items(): - oprot.writeI64(kiter1010) - oprot.writeBinary(viter1011) + for kiter1019, viter1020 in self.metadata.items(): + oprot.writeI64(kiter1019) + oprot.writeBinary(viter1020) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -19917,10 +19938,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype1015, _size1012) = iprot.readListBegin() - for _i1016 in range(_size1012): - _elem1017 = iprot.readI64() - self.fileIds.append(_elem1017) + (_etype1024, _size1021) = iprot.readListBegin() + for _i1025 in range(_size1021): + _elem1026 = iprot.readI64() + self.fileIds.append(_elem1026) iprot.readListEnd() else: iprot.skip(ftype) @@ -19937,8 +19958,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter1018 in self.fileIds: - oprot.writeI64(iter1018) + for iter1027 in self.fileIds: + oprot.writeI64(iter1027) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20028,20 +20049,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype1022, _size1019) = iprot.readListBegin() - for _i1023 in range(_size1019): - _elem1024 = iprot.readI64() - self.fileIds.append(_elem1024) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in range(_size1028): + _elem1033 = iprot.readI64() + self.fileIds.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype1028, _size1025) = iprot.readListBegin() - for _i1029 in range(_size1025): - _elem1030 = iprot.readBinary() - self.metadata.append(_elem1030) + (_etype1037, _size1034) = iprot.readListBegin() + for _i1038 in range(_size1034): + _elem1039 = iprot.readBinary() + self.metadata.append(_elem1039) iprot.readListEnd() else: iprot.skip(ftype) @@ -20063,15 +20084,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter1031 in self.fileIds: - oprot.writeI64(iter1031) + for iter1040 in self.fileIds: + oprot.writeI64(iter1040) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter1032 in self.metadata: - oprot.writeBinary(iter1032) + for iter1041 in self.metadata: + oprot.writeBinary(iter1041) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -20163,10 +20184,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype1036, _size1033) = iprot.readListBegin() - for _i1037 in range(_size1033): - _elem1038 = iprot.readI64() - self.fileIds.append(_elem1038) + (_etype1045, _size1042) = iprot.readListBegin() + for _i1046 in range(_size1042): + _elem1047 = iprot.readI64() + self.fileIds.append(_elem1047) iprot.readListEnd() else: iprot.skip(ftype) @@ -20183,8 +20204,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter1039 in self.fileIds: - oprot.writeI64(iter1039) + for iter1048 in self.fileIds: + oprot.writeI64(iter1048) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20383,11 +20404,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype1043, _size1040) = iprot.readListBegin() - for _i1044 in range(_size1040): - _elem1045 = Function() - _elem1045.read(iprot) - self.functions.append(_elem1045) + (_etype1052, _size1049) = iprot.readListBegin() + for _i1053 in range(_size1049): + _elem1054 = Function() + _elem1054.read(iprot) + self.functions.append(_elem1054) iprot.readListEnd() else: iprot.skip(ftype) @@ -20404,8 +20425,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter1046 in self.functions: - iter1046.write(oprot) + for iter1055 in self.functions: + iter1055.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20449,10 +20470,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype1050, _size1047) = iprot.readListBegin() - for _i1051 in range(_size1047): - _elem1052 = iprot.readI32() - self.values.append(_elem1052) + (_etype1059, _size1056) = iprot.readListBegin() + for _i1060 in range(_size1056): + _elem1061 = iprot.readI32() + self.values.append(_elem1061) iprot.readListEnd() else: iprot.skip(ftype) @@ -20469,8 +20490,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter1053 in self.values: - oprot.writeI32(iter1053) + for iter1062 in self.values: + oprot.writeI32(iter1062) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20520,10 +20541,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldList = [] - (_etype1057, _size1054) = iprot.readListBegin() - for _i1058 in range(_size1054): - _elem1059 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.fieldList.append(_elem1059) + (_etype1066, _size1063) = iprot.readListBegin() + for _i1067 in range(_size1063): + _elem1068 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.fieldList.append(_elem1068) iprot.readListEnd() else: iprot.skip(ftype) @@ -20550,8 +20571,8 @@ def write(self, oprot): if self.fieldList is not None: oprot.writeFieldBegin('fieldList', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fieldList)) - for iter1060 in self.fieldList: - oprot.writeString(iter1060.encode('utf-8') if sys.version_info[0] == 2 else iter1060) + for iter1069 in self.fieldList: + oprot.writeString(iter1069.encode('utf-8') if sys.version_info[0] == 2 else iter1069) oprot.writeListEnd() oprot.writeFieldEnd() if self.includeParamKeyPattern is not None: @@ -20652,10 +20673,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1064, _size1061) = iprot.readListBegin() - for _i1065 in range(_size1061): - _elem1066 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1066) + (_etype1073, _size1070) = iprot.readListBegin() + for _i1074 in range(_size1070): + _elem1075 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1075) iprot.readListEnd() else: iprot.skip(ftype) @@ -20711,8 +20732,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1067 in self.processorCapabilities: - oprot.writeString(iter1067.encode('utf-8') if sys.version_info[0] == 2 else iter1067) + for iter1076 in self.processorCapabilities: + oprot.writeString(iter1076.encode('utf-8') if sys.version_info[0] == 2 else iter1076) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -20862,10 +20883,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype1071, _size1068) = iprot.readListBegin() - for _i1072 in range(_size1068): - _elem1073 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.tblNames.append(_elem1073) + (_etype1080, _size1077) = iprot.readListBegin() + for _i1081 in range(_size1077): + _elem1082 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.tblNames.append(_elem1082) iprot.readListEnd() else: iprot.skip(ftype) @@ -20883,10 +20904,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1077, _size1074) = iprot.readListBegin() - for _i1078 in range(_size1074): - _elem1079 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1079) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in range(_size1083): + _elem1088 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -20923,8 +20944,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter1080 in self.tblNames: - oprot.writeString(iter1080.encode('utf-8') if sys.version_info[0] == 2 else iter1080) + for iter1089 in self.tblNames: + oprot.writeString(iter1089.encode('utf-8') if sys.version_info[0] == 2 else iter1089) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -20938,8 +20959,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1081 in self.processorCapabilities: - oprot.writeString(iter1081.encode('utf-8') if sys.version_info[0] == 2 else iter1081) + for iter1090 in self.processorCapabilities: + oprot.writeString(iter1090.encode('utf-8') if sys.version_info[0] == 2 else iter1090) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -20997,11 +21018,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype1085, _size1082) = iprot.readListBegin() - for _i1086 in range(_size1082): - _elem1087 = Table() - _elem1087.read(iprot) - self.tables.append(_elem1087) + (_etype1094, _size1091) = iprot.readListBegin() + for _i1095 in range(_size1091): + _elem1096 = Table() + _elem1096.read(iprot) + self.tables.append(_elem1096) iprot.readListEnd() else: iprot.skip(ftype) @@ -21018,8 +21039,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter1088 in self.tables: - iter1088.write(oprot) + for iter1097 in self.tables: + iter1097.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21102,10 +21123,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1092, _size1089) = iprot.readListBegin() - for _i1093 in range(_size1089): - _elem1094 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1094) + (_etype1101, _size1098) = iprot.readListBegin() + for _i1102 in range(_size1098): + _elem1103 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1103) iprot.readListEnd() else: iprot.skip(ftype) @@ -21147,8 +21168,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1095 in self.processorCapabilities: - oprot.writeString(iter1095.encode('utf-8') if sys.version_info[0] == 2 else iter1095) + for iter1104 in self.processorCapabilities: + oprot.writeString(iter1104.encode('utf-8') if sys.version_info[0] == 2 else iter1104) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -21220,20 +21241,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.requiredReadCapabilities = [] - (_etype1099, _size1096) = iprot.readListBegin() - for _i1100 in range(_size1096): - _elem1101 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.requiredReadCapabilities.append(_elem1101) + (_etype1108, _size1105) = iprot.readListBegin() + for _i1109 in range(_size1105): + _elem1110 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.requiredReadCapabilities.append(_elem1110) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.requiredWriteCapabilities = [] - (_etype1105, _size1102) = iprot.readListBegin() - for _i1106 in range(_size1102): - _elem1107 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.requiredWriteCapabilities.append(_elem1107) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in range(_size1111): + _elem1116 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.requiredWriteCapabilities.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -21258,15 +21279,15 @@ def write(self, oprot): if self.requiredReadCapabilities is not None: oprot.writeFieldBegin('requiredReadCapabilities', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.requiredReadCapabilities)) - for iter1108 in self.requiredReadCapabilities: - oprot.writeString(iter1108.encode('utf-8') if sys.version_info[0] == 2 else iter1108) + for iter1117 in self.requiredReadCapabilities: + oprot.writeString(iter1117.encode('utf-8') if sys.version_info[0] == 2 else iter1117) oprot.writeListEnd() oprot.writeFieldEnd() if self.requiredWriteCapabilities is not None: oprot.writeFieldBegin('requiredWriteCapabilities', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.requiredWriteCapabilities)) - for iter1109 in self.requiredWriteCapabilities: - oprot.writeString(iter1109.encode('utf-8') if sys.version_info[0] == 2 else iter1109) + for iter1118 in self.requiredWriteCapabilities: + oprot.writeString(iter1118.encode('utf-8') if sys.version_info[0] == 2 else iter1118) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21445,10 +21466,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1113, _size1110) = iprot.readListBegin() - for _i1114 in range(_size1110): - _elem1115 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1115) + (_etype1122, _size1119) = iprot.readListBegin() + for _i1123 in range(_size1119): + _elem1124 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1124) iprot.readListEnd() else: iprot.skip(ftype) @@ -21478,8 +21499,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1116 in self.processorCapabilities: - oprot.writeString(iter1116.encode('utf-8') if sys.version_info[0] == 2 else iter1116) + for iter1125 in self.processorCapabilities: + oprot.writeString(iter1125.encode('utf-8') if sys.version_info[0] == 2 else iter1125) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -21836,21 +21857,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.function_names = [] - (_etype1120, _size1117) = iprot.readListBegin() - for _i1121 in range(_size1117): - _elem1122 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.function_names.append(_elem1122) + (_etype1129, _size1126) = iprot.readListBegin() + for _i1130 in range(_size1126): + _elem1131 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.function_names.append(_elem1131) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.functions = [] - (_etype1126, _size1123) = iprot.readListBegin() - for _i1127 in range(_size1123): - _elem1128 = Function() - _elem1128.read(iprot) - self.functions.append(_elem1128) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in range(_size1132): + _elem1137 = Function() + _elem1137.read(iprot) + self.functions.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -21867,15 +21888,15 @@ def write(self, oprot): if self.function_names is not None: oprot.writeFieldBegin('function_names', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.function_names)) - for iter1129 in self.function_names: - oprot.writeString(iter1129.encode('utf-8') if sys.version_info[0] == 2 else iter1129) + for iter1138 in self.function_names: + oprot.writeString(iter1138.encode('utf-8') if sys.version_info[0] == 2 else iter1138) oprot.writeListEnd() oprot.writeFieldEnd() if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter1130 in self.functions: - iter1130.write(oprot) + for iter1139 in self.functions: + iter1139.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23032,44 +23053,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype1134, _size1131) = iprot.readListBegin() - for _i1135 in range(_size1131): - _elem1136 = WMPool() - _elem1136.read(iprot) - self.pools.append(_elem1136) + (_etype1143, _size1140) = iprot.readListBegin() + for _i1144 in range(_size1140): + _elem1145 = WMPool() + _elem1145.read(iprot) + self.pools.append(_elem1145) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype1140, _size1137) = iprot.readListBegin() - for _i1141 in range(_size1137): - _elem1142 = WMMapping() - _elem1142.read(iprot) - self.mappings.append(_elem1142) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in range(_size1146): + _elem1151 = WMMapping() + _elem1151.read(iprot) + self.mappings.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype1146, _size1143) = iprot.readListBegin() - for _i1147 in range(_size1143): - _elem1148 = WMTrigger() - _elem1148.read(iprot) - self.triggers.append(_elem1148) + (_etype1155, _size1152) = iprot.readListBegin() + for _i1156 in range(_size1152): + _elem1157 = WMTrigger() + _elem1157.read(iprot) + self.triggers.append(_elem1157) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype1152, _size1149) = iprot.readListBegin() - for _i1153 in range(_size1149): - _elem1154 = WMPoolTrigger() - _elem1154.read(iprot) - self.poolTriggers.append(_elem1154) + (_etype1161, _size1158) = iprot.readListBegin() + for _i1162 in range(_size1158): + _elem1163 = WMPoolTrigger() + _elem1163.read(iprot) + self.poolTriggers.append(_elem1163) iprot.readListEnd() else: iprot.skip(ftype) @@ -23090,29 +23111,29 @@ def write(self, oprot): if self.pools is not None: oprot.writeFieldBegin('pools', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.pools)) - for iter1155 in self.pools: - iter1155.write(oprot) + for iter1164 in self.pools: + iter1164.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.mappings is not None: oprot.writeFieldBegin('mappings', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.mappings)) - for iter1156 in self.mappings: - iter1156.write(oprot) + for iter1165 in self.mappings: + iter1165.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter1157 in self.triggers: - iter1157.write(oprot) + for iter1166 in self.triggers: + iter1166.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.poolTriggers is not None: oprot.writeFieldBegin('poolTriggers', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.poolTriggers)) - for iter1158 in self.poolTriggers: - iter1158.write(oprot) + for iter1167 in self.poolTriggers: + iter1167.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23567,11 +23588,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype1162, _size1159) = iprot.readListBegin() - for _i1163 in range(_size1159): - _elem1164 = WMResourcePlan() - _elem1164.read(iprot) - self.resourcePlans.append(_elem1164) + (_etype1171, _size1168) = iprot.readListBegin() + for _i1172 in range(_size1168): + _elem1173 = WMResourcePlan() + _elem1173.read(iprot) + self.resourcePlans.append(_elem1173) iprot.readListEnd() else: iprot.skip(ftype) @@ -23588,8 +23609,8 @@ def write(self, oprot): if self.resourcePlans is not None: oprot.writeFieldBegin('resourcePlans', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.resourcePlans)) - for iter1165 in self.resourcePlans: - iter1165.write(oprot) + for iter1174 in self.resourcePlans: + iter1174.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23874,20 +23895,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype1169, _size1166) = iprot.readListBegin() - for _i1170 in range(_size1166): - _elem1171 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.errors.append(_elem1171) + (_etype1178, _size1175) = iprot.readListBegin() + for _i1179 in range(_size1175): + _elem1180 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.errors.append(_elem1180) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype1175, _size1172) = iprot.readListBegin() - for _i1176 in range(_size1172): - _elem1177 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.warnings.append(_elem1177) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in range(_size1181): + _elem1186 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.warnings.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -23904,15 +23925,15 @@ def write(self, oprot): if self.errors is not None: oprot.writeFieldBegin('errors', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.errors)) - for iter1178 in self.errors: - oprot.writeString(iter1178.encode('utf-8') if sys.version_info[0] == 2 else iter1178) + for iter1187 in self.errors: + oprot.writeString(iter1187.encode('utf-8') if sys.version_info[0] == 2 else iter1187) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter1179 in self.warnings: - oprot.writeString(iter1179.encode('utf-8') if sys.version_info[0] == 2 else iter1179) + for iter1188 in self.warnings: + oprot.writeString(iter1188.encode('utf-8') if sys.version_info[0] == 2 else iter1188) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24447,11 +24468,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype1183, _size1180) = iprot.readListBegin() - for _i1184 in range(_size1180): - _elem1185 = WMTrigger() - _elem1185.read(iprot) - self.triggers.append(_elem1185) + (_etype1192, _size1189) = iprot.readListBegin() + for _i1193 in range(_size1189): + _elem1194 = WMTrigger() + _elem1194.read(iprot) + self.triggers.append(_elem1194) iprot.readListEnd() else: iprot.skip(ftype) @@ -24468,8 +24489,8 @@ def write(self, oprot): if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter1186 in self.triggers: - iter1186.write(oprot) + for iter1195 in self.triggers: + iter1195.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25515,11 +25536,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype1190, _size1187) = iprot.readListBegin() - for _i1191 in range(_size1187): - _elem1192 = FieldSchema() - _elem1192.read(iprot) - self.cols.append(_elem1192) + (_etype1199, _size1196) = iprot.readListBegin() + for _i1200 in range(_size1196): + _elem1201 = FieldSchema() + _elem1201.read(iprot) + self.cols.append(_elem1201) iprot.readListEnd() else: iprot.skip(ftype) @@ -25579,8 +25600,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter1193 in self.cols: - iter1193.write(oprot) + for iter1202 in self.cols: + iter1202.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -25796,11 +25817,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype1197, _size1194) = iprot.readListBegin() - for _i1198 in range(_size1194): - _elem1199 = SchemaVersionDescriptor() - _elem1199.read(iprot) - self.schemaVersions.append(_elem1199) + (_etype1206, _size1203) = iprot.readListBegin() + for _i1207 in range(_size1203): + _elem1208 = SchemaVersionDescriptor() + _elem1208.read(iprot) + self.schemaVersions.append(_elem1208) iprot.readListEnd() else: iprot.skip(ftype) @@ -25817,8 +25838,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter1200 in self.schemaVersions: - iter1200.write(oprot) + for iter1209 in self.schemaVersions: + iter1209.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26242,76 +26263,76 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.primaryKeys = [] - (_etype1204, _size1201) = iprot.readListBegin() - for _i1205 in range(_size1201): - _elem1206 = SQLPrimaryKey() - _elem1206.read(iprot) - self.primaryKeys.append(_elem1206) + (_etype1213, _size1210) = iprot.readListBegin() + for _i1214 in range(_size1210): + _elem1215 = SQLPrimaryKey() + _elem1215.read(iprot) + self.primaryKeys.append(_elem1215) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.foreignKeys = [] - (_etype1210, _size1207) = iprot.readListBegin() - for _i1211 in range(_size1207): - _elem1212 = SQLForeignKey() - _elem1212.read(iprot) - self.foreignKeys.append(_elem1212) + (_etype1219, _size1216) = iprot.readListBegin() + for _i1220 in range(_size1216): + _elem1221 = SQLForeignKey() + _elem1221.read(iprot) + self.foreignKeys.append(_elem1221) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype1216, _size1213) = iprot.readListBegin() - for _i1217 in range(_size1213): - _elem1218 = SQLUniqueConstraint() - _elem1218.read(iprot) - self.uniqueConstraints.append(_elem1218) + (_etype1225, _size1222) = iprot.readListBegin() + for _i1226 in range(_size1222): + _elem1227 = SQLUniqueConstraint() + _elem1227.read(iprot) + self.uniqueConstraints.append(_elem1227) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype1222, _size1219) = iprot.readListBegin() - for _i1223 in range(_size1219): - _elem1224 = SQLNotNullConstraint() - _elem1224.read(iprot) - self.notNullConstraints.append(_elem1224) + (_etype1231, _size1228) = iprot.readListBegin() + for _i1232 in range(_size1228): + _elem1233 = SQLNotNullConstraint() + _elem1233.read(iprot) + self.notNullConstraints.append(_elem1233) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype1228, _size1225) = iprot.readListBegin() - for _i1229 in range(_size1225): - _elem1230 = SQLDefaultConstraint() - _elem1230.read(iprot) - self.defaultConstraints.append(_elem1230) + (_etype1237, _size1234) = iprot.readListBegin() + for _i1238 in range(_size1234): + _elem1239 = SQLDefaultConstraint() + _elem1239.read(iprot) + self.defaultConstraints.append(_elem1239) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 8: if ftype == TType.LIST: self.checkConstraints = [] - (_etype1234, _size1231) = iprot.readListBegin() - for _i1235 in range(_size1231): - _elem1236 = SQLCheckConstraint() - _elem1236.read(iprot) - self.checkConstraints.append(_elem1236) + (_etype1243, _size1240) = iprot.readListBegin() + for _i1244 in range(_size1240): + _elem1245 = SQLCheckConstraint() + _elem1245.read(iprot) + self.checkConstraints.append(_elem1245) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 9: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1240, _size1237) = iprot.readListBegin() - for _i1241 in range(_size1237): - _elem1242 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1242) + (_etype1249, _size1246) = iprot.readListBegin() + for _i1250 in range(_size1246): + _elem1251 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1251) iprot.readListEnd() else: iprot.skip(ftype) @@ -26341,50 +26362,50 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter1243 in self.primaryKeys: - iter1243.write(oprot) + for iter1252 in self.primaryKeys: + iter1252.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter1244 in self.foreignKeys: - iter1244.write(oprot) + for iter1253 in self.foreignKeys: + iter1253.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter1245 in self.uniqueConstraints: - iter1245.write(oprot) + for iter1254 in self.uniqueConstraints: + iter1254.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter1246 in self.notNullConstraints: - iter1246.write(oprot) + for iter1255 in self.notNullConstraints: + iter1255.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter1247 in self.defaultConstraints: - iter1247.write(oprot) + for iter1256 in self.defaultConstraints: + iter1256.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter1248 in self.checkConstraints: - iter1248.write(oprot) + for iter1257 in self.checkConstraints: + iter1257.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 9) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1249 in self.processorCapabilities: - oprot.writeString(iter1249.encode('utf-8') if sys.version_info[0] == 2 else iter1249) + for iter1258 in self.processorCapabilities: + oprot.writeString(iter1258.encode('utf-8') if sys.version_info[0] == 2 else iter1258) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -26473,11 +26494,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.parameters = {} - (_ktype1251, _vtype1252, _size1250) = iprot.readMapBegin() - for _i1254 in range(_size1250): - _key1255 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1256 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.parameters[_key1255] = _val1256 + (_ktype1260, _vtype1261, _size1259) = iprot.readMapBegin() + for _i1263 in range(_size1259): + _key1264 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1265 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.parameters[_key1264] = _val1265 iprot.readMapEnd() else: iprot.skip(ftype) @@ -26552,9 +26573,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 4) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter1257, viter1258 in self.parameters.items(): - oprot.writeString(kiter1257.encode('utf-8') if sys.version_info[0] == 2 else kiter1257) - oprot.writeString(viter1258.encode('utf-8') if sys.version_info[0] == 2 else viter1258) + for kiter1266, viter1267 in self.parameters.items(): + oprot.writeString(kiter1266.encode('utf-8') if sys.version_info[0] == 2 else kiter1266) + oprot.writeString(viter1267.encode('utf-8') if sys.version_info[0] == 2 else viter1267) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -27446,11 +27467,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitions = [] - (_etype1262, _size1259) = iprot.readListBegin() - for _i1263 in range(_size1259): - _elem1264 = Partition() - _elem1264.read(iprot) - self.partitions.append(_elem1264) + (_etype1271, _size1268) = iprot.readListBegin() + for _i1272 in range(_size1268): + _elem1273 = Partition() + _elem1273.read(iprot) + self.partitions.append(_elem1273) iprot.readListEnd() else: iprot.skip(ftype) @@ -27478,11 +27499,11 @@ def read(self, iprot): elif fid == 9: if ftype == TType.LIST: self.partitionColSchema = [] - (_etype1268, _size1265) = iprot.readListBegin() - for _i1269 in range(_size1265): - _elem1270 = FieldSchema() - _elem1270.read(iprot) - self.partitionColSchema.append(_elem1270) + (_etype1277, _size1274) = iprot.readListBegin() + for _i1278 in range(_size1274): + _elem1279 = FieldSchema() + _elem1279.read(iprot) + self.partitionColSchema.append(_elem1279) iprot.readListEnd() else: iprot.skip(ftype) @@ -27511,8 +27532,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter1271 in self.partitions: - iter1271.write(oprot) + for iter1280 in self.partitions: + iter1280.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environmentContext is not None: @@ -27534,8 +27555,8 @@ def write(self, oprot): if self.partitionColSchema is not None: oprot.writeFieldBegin('partitionColSchema', TType.LIST, 9) oprot.writeListBegin(TType.STRUCT, len(self.partitionColSchema)) - for iter1272 in self.partitionColSchema: - iter1272.write(oprot) + for iter1281 in self.partitionColSchema: + iter1281.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27615,10 +27636,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partVals = [] - (_etype1276, _size1273) = iprot.readListBegin() - for _i1277 in range(_size1273): - _elem1278 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partVals.append(_elem1278) + (_etype1285, _size1282) = iprot.readListBegin() + for _i1286 in range(_size1282): + _elem1287 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partVals.append(_elem1287) iprot.readListEnd() else: iprot.skip(ftype) @@ -27657,8 +27678,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter1279 in self.partVals: - oprot.writeString(iter1279.encode('utf-8') if sys.version_info[0] == 2 else iter1279) + for iter1288 in self.partVals: + oprot.writeString(iter1288.encode('utf-8') if sys.version_info[0] == 2 else iter1288) oprot.writeListEnd() oprot.writeFieldEnd() if self.environmentContext is not None: @@ -27779,10 +27800,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partVals = [] - (_etype1283, _size1280) = iprot.readListBegin() - for _i1284 in range(_size1280): - _elem1285 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partVals.append(_elem1285) + (_etype1292, _size1289) = iprot.readListBegin() + for _i1293 in range(_size1289): + _elem1294 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partVals.append(_elem1294) iprot.readListEnd() else: iprot.skip(ftype) @@ -27832,8 +27853,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter1286 in self.partVals: - oprot.writeString(iter1286.encode('utf-8') if sys.version_info[0] == 2 else iter1286) + for iter1295 in self.partVals: + oprot.writeString(iter1295.encode('utf-8') if sys.version_info[0] == 2 else iter1295) oprot.writeListEnd() oprot.writeFieldEnd() if self.newPart is not None: @@ -27998,10 +28019,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1290, _size1287) = iprot.readListBegin() - for _i1291 in range(_size1287): - _elem1292 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1292) + (_etype1299, _size1296) = iprot.readListBegin() + for _i1300 in range(_size1296): + _elem1301 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1301) iprot.readListEnd() else: iprot.skip(ftype) @@ -28061,8 +28082,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1293 in self.processorCapabilities: - oprot.writeString(iter1293.encode('utf-8') if sys.version_info[0] == 2 else iter1293) + for iter1302 in self.processorCapabilities: + oprot.writeString(iter1302.encode('utf-8') if sys.version_info[0] == 2 else iter1302) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -28171,10 +28192,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.filters = [] - (_etype1297, _size1294) = iprot.readListBegin() - for _i1298 in range(_size1294): - _elem1299 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.filters.append(_elem1299) + (_etype1306, _size1303) = iprot.readListBegin() + for _i1307 in range(_size1303): + _elem1308 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.filters.append(_elem1308) iprot.readListEnd() else: iprot.skip(ftype) @@ -28195,8 +28216,8 @@ def write(self, oprot): if self.filters is not None: oprot.writeFieldBegin('filters', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.filters)) - for iter1300 in self.filters: - oprot.writeString(iter1300.encode('utf-8') if sys.version_info[0] == 2 else iter1300) + for iter1309 in self.filters: + oprot.writeString(iter1309.encode('utf-8') if sys.version_info[0] == 2 else iter1309) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28240,11 +28261,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionSpec = [] - (_etype1304, _size1301) = iprot.readListBegin() - for _i1305 in range(_size1301): - _elem1306 = PartitionSpec() - _elem1306.read(iprot) - self.partitionSpec.append(_elem1306) + (_etype1313, _size1310) = iprot.readListBegin() + for _i1314 in range(_size1310): + _elem1315 = PartitionSpec() + _elem1315.read(iprot) + self.partitionSpec.append(_elem1315) iprot.readListEnd() else: iprot.skip(ftype) @@ -28261,8 +28282,8 @@ def write(self, oprot): if self.partitionSpec is not None: oprot.writeFieldBegin('partitionSpec', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionSpec)) - for iter1307 in self.partitionSpec: - iter1307.write(oprot) + for iter1316 in self.partitionSpec: + iter1316.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28351,10 +28372,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.groupNames = [] - (_etype1311, _size1308) = iprot.readListBegin() - for _i1312 in range(_size1308): - _elem1313 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.groupNames.append(_elem1313) + (_etype1320, _size1317) = iprot.readListBegin() + for _i1321 in range(_size1317): + _elem1322 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.groupNames.append(_elem1322) iprot.readListEnd() else: iprot.skip(ftype) @@ -28373,10 +28394,10 @@ def read(self, iprot): elif fid == 9: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1317, _size1314) = iprot.readListBegin() - for _i1318 in range(_size1314): - _elem1319 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.processorCapabilities.append(_elem1319) + (_etype1326, _size1323) = iprot.readListBegin() + for _i1327 in range(_size1323): + _elem1328 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.processorCapabilities.append(_elem1328) iprot.readListEnd() else: iprot.skip(ftype) @@ -28423,8 +28444,8 @@ def write(self, oprot): if self.groupNames is not None: oprot.writeFieldBegin('groupNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.groupNames)) - for iter1320 in self.groupNames: - oprot.writeString(iter1320.encode('utf-8') if sys.version_info[0] == 2 else iter1320) + for iter1329 in self.groupNames: + oprot.writeString(iter1329.encode('utf-8') if sys.version_info[0] == 2 else iter1329) oprot.writeListEnd() oprot.writeFieldEnd() if self.projectionSpec is not None: @@ -28438,8 +28459,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 9) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1321 in self.processorCapabilities: - oprot.writeString(iter1321.encode('utf-8') if sys.version_info[0] == 2 else iter1321) + for iter1330 in self.processorCapabilities: + oprot.writeString(iter1330.encode('utf-8') if sys.version_info[0] == 2 else iter1330) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -28608,11 +28629,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fields = [] - (_etype1325, _size1322) = iprot.readListBegin() - for _i1326 in range(_size1322): - _elem1327 = FieldSchema() - _elem1327.read(iprot) - self.fields.append(_elem1327) + (_etype1334, _size1331) = iprot.readListBegin() + for _i1335 in range(_size1331): + _elem1336 = FieldSchema() + _elem1336.read(iprot) + self.fields.append(_elem1336) iprot.readListEnd() else: iprot.skip(ftype) @@ -28629,8 +28650,8 @@ def write(self, oprot): if self.fields is not None: oprot.writeFieldBegin('fields', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.fields)) - for iter1328 in self.fields: - iter1328.write(oprot) + for iter1337 in self.fields: + iter1337.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28793,11 +28814,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fields = [] - (_etype1332, _size1329) = iprot.readListBegin() - for _i1333 in range(_size1329): - _elem1334 = FieldSchema() - _elem1334.read(iprot) - self.fields.append(_elem1334) + (_etype1341, _size1338) = iprot.readListBegin() + for _i1342 in range(_size1338): + _elem1343 = FieldSchema() + _elem1343.read(iprot) + self.fields.append(_elem1343) iprot.readListEnd() else: iprot.skip(ftype) @@ -28814,8 +28835,8 @@ def write(self, oprot): if self.fields is not None: oprot.writeFieldBegin('fields', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.fields)) - for iter1335 in self.fields: - iter1335.write(oprot) + for iter1344 in self.fields: + iter1344.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28886,10 +28907,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partVals = [] - (_etype1339, _size1336) = iprot.readListBegin() - for _i1340 in range(_size1336): - _elem1341 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partVals.append(_elem1341) + (_etype1348, _size1345) = iprot.readListBegin() + for _i1349 in range(_size1345): + _elem1350 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partVals.append(_elem1350) iprot.readListEnd() else: iprot.skip(ftype) @@ -28928,8 +28949,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter1342 in self.partVals: - oprot.writeString(iter1342.encode('utf-8') if sys.version_info[0] == 2 else iter1342) + for iter1351 in self.partVals: + oprot.writeString(iter1351.encode('utf-8') if sys.version_info[0] == 2 else iter1351) oprot.writeListEnd() oprot.writeFieldEnd() if self.validWriteIdList is not None: @@ -29196,11 +29217,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype1346, _size1343) = iprot.readListBegin() - for _i1347 in range(_size1343): - _elem1348 = Partition() - _elem1348.read(iprot) - self.partitions.append(_elem1348) + (_etype1355, _size1352) = iprot.readListBegin() + for _i1356 in range(_size1352): + _elem1357 = Partition() + _elem1357.read(iprot) + self.partitions.append(_elem1357) iprot.readListEnd() else: iprot.skip(ftype) @@ -29217,8 +29238,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter1349 in self.partitions: - iter1349.write(oprot) + for iter1358 in self.partitions: + iter1358.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29425,10 +29446,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partValues = [] - (_etype1353, _size1350) = iprot.readListBegin() - for _i1354 in range(_size1350): - _elem1355 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partValues.append(_elem1355) + (_etype1362, _size1359) = iprot.readListBegin() + for _i1363 in range(_size1359): + _elem1364 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partValues.append(_elem1364) iprot.readListEnd() else: iprot.skip(ftype) @@ -29472,8 +29493,8 @@ def write(self, oprot): if self.partValues is not None: oprot.writeFieldBegin('partValues', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partValues)) - for iter1356 in self.partValues: - oprot.writeString(iter1356.encode('utf-8') if sys.version_info[0] == 2 else iter1356) + for iter1365 in self.partValues: + oprot.writeString(iter1365.encode('utf-8') if sys.version_info[0] == 2 else iter1365) oprot.writeListEnd() oprot.writeFieldEnd() if self.maxParts is not None: @@ -29533,10 +29554,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype1360, _size1357) = iprot.readListBegin() - for _i1361 in range(_size1357): - _elem1362 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.names.append(_elem1362) + (_etype1369, _size1366) = iprot.readListBegin() + for _i1370 in range(_size1366): + _elem1371 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.names.append(_elem1371) iprot.readListEnd() else: iprot.skip(ftype) @@ -29553,8 +29574,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter1363 in self.names: - oprot.writeString(iter1363.encode('utf-8') if sys.version_info[0] == 2 else iter1363) + for iter1372 in self.names: + oprot.writeString(iter1372.encode('utf-8') if sys.version_info[0] == 2 else iter1372) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29639,10 +29660,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partVals = [] - (_etype1367, _size1364) = iprot.readListBegin() - for _i1368 in range(_size1364): - _elem1369 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partVals.append(_elem1369) + (_etype1376, _size1373) = iprot.readListBegin() + for _i1377 in range(_size1373): + _elem1378 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partVals.append(_elem1378) iprot.readListEnd() else: iprot.skip(ftype) @@ -29659,10 +29680,10 @@ def read(self, iprot): elif fid == 7: if ftype == TType.LIST: self.groupNames = [] - (_etype1373, _size1370) = iprot.readListBegin() - for _i1374 in range(_size1370): - _elem1375 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.groupNames.append(_elem1375) + (_etype1382, _size1379) = iprot.readListBegin() + for _i1383 in range(_size1379): + _elem1384 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.groupNames.append(_elem1384) iprot.readListEnd() else: iprot.skip(ftype) @@ -29694,10 +29715,10 @@ def read(self, iprot): elif fid == 13: if ftype == TType.LIST: self.partNames = [] - (_etype1379, _size1376) = iprot.readListBegin() - for _i1380 in range(_size1376): - _elem1381 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.partNames.append(_elem1381) + (_etype1388, _size1385) = iprot.readListBegin() + for _i1389 in range(_size1385): + _elem1390 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.partNames.append(_elem1390) iprot.readListEnd() else: iprot.skip(ftype) @@ -29726,8 +29747,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter1382 in self.partVals: - oprot.writeString(iter1382.encode('utf-8') if sys.version_info[0] == 2 else iter1382) + for iter1391 in self.partVals: + oprot.writeString(iter1391.encode('utf-8') if sys.version_info[0] == 2 else iter1391) oprot.writeListEnd() oprot.writeFieldEnd() if self.maxParts is not None: @@ -29741,8 +29762,8 @@ def write(self, oprot): if self.groupNames is not None: oprot.writeFieldBegin('groupNames', TType.LIST, 7) oprot.writeListBegin(TType.STRING, len(self.groupNames)) - for iter1383 in self.groupNames: - oprot.writeString(iter1383.encode('utf-8') if sys.version_info[0] == 2 else iter1383) + for iter1392 in self.groupNames: + oprot.writeString(iter1392.encode('utf-8') if sys.version_info[0] == 2 else iter1392) oprot.writeListEnd() oprot.writeFieldEnd() if self.validWriteIdList is not None: @@ -29768,8 +29789,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 13) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter1384 in self.partNames: - oprot.writeString(iter1384.encode('utf-8') if sys.version_info[0] == 2 else iter1384) + for iter1393 in self.partNames: + oprot.writeString(iter1393.encode('utf-8') if sys.version_info[0] == 2 else iter1393) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29817,11 +29838,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype1388, _size1385) = iprot.readListBegin() - for _i1389 in range(_size1385): - _elem1390 = Partition() - _elem1390.read(iprot) - self.partitions.append(_elem1390) + (_etype1397, _size1394) = iprot.readListBegin() + for _i1398 in range(_size1394): + _elem1399 = Partition() + _elem1399.read(iprot) + self.partitions.append(_elem1399) iprot.readListEnd() else: iprot.skip(ftype) @@ -29838,8 +29859,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter1391 in self.partitions: - iter1391.write(oprot) + for iter1400 in self.partitions: + iter1400.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30003,11 +30024,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.replicationMetricList = [] - (_etype1395, _size1392) = iprot.readListBegin() - for _i1396 in range(_size1392): - _elem1397 = ReplicationMetrics() - _elem1397.read(iprot) - self.replicationMetricList.append(_elem1397) + (_etype1404, _size1401) = iprot.readListBegin() + for _i1405 in range(_size1401): + _elem1406 = ReplicationMetrics() + _elem1406.read(iprot) + self.replicationMetricList.append(_elem1406) iprot.readListEnd() else: iprot.skip(ftype) @@ -30024,8 +30045,8 @@ def write(self, oprot): if self.replicationMetricList is not None: oprot.writeFieldBegin('replicationMetricList', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.replicationMetricList)) - for iter1398 in self.replicationMetricList: - iter1398.write(oprot) + for iter1407 in self.replicationMetricList: + iter1407.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30150,10 +30171,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.excludeTxnTypes = [] - (_etype1402, _size1399) = iprot.readListBegin() - for _i1403 in range(_size1399): - _elem1404 = iprot.readI32() - self.excludeTxnTypes.append(_elem1404) + (_etype1411, _size1408) = iprot.readListBegin() + for _i1412 in range(_size1408): + _elem1413 = iprot.readI32() + self.excludeTxnTypes.append(_elem1413) iprot.readListEnd() else: iprot.skip(ftype) @@ -30170,8 +30191,8 @@ def write(self, oprot): if self.excludeTxnTypes is not None: oprot.writeFieldBegin('excludeTxnTypes', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.excludeTxnTypes)) - for iter1405 in self.excludeTxnTypes: - oprot.writeI32(iter1405) + for iter1414 in self.excludeTxnTypes: + oprot.writeI32(iter1414) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31043,20 +31064,20 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.part_names = [] - (_etype1409, _size1406) = iprot.readListBegin() - for _i1410 in range(_size1406): - _elem1411 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.part_names.append(_elem1411) + (_etype1418, _size1415) = iprot.readListBegin() + for _i1419 in range(_size1415): + _elem1420 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.part_names.append(_elem1420) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.col_names = [] - (_etype1415, _size1412) = iprot.readListBegin() - for _i1416 in range(_size1412): - _elem1417 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.col_names.append(_elem1417) + (_etype1424, _size1421) = iprot.readListBegin() + for _i1425 in range(_size1421): + _elem1426 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.col_names.append(_elem1426) iprot.readListEnd() else: iprot.skip(ftype) @@ -31095,15 +31116,15 @@ def write(self, oprot): if self.part_names is not None: oprot.writeFieldBegin('part_names', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.part_names)) - for iter1418 in self.part_names: - oprot.writeString(iter1418.encode('utf-8') if sys.version_info[0] == 2 else iter1418) + for iter1427 in self.part_names: + oprot.writeString(iter1427.encode('utf-8') if sys.version_info[0] == 2 else iter1427) oprot.writeListEnd() oprot.writeFieldEnd() if self.col_names is not None: oprot.writeFieldBegin('col_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.col_names)) - for iter1419 in self.col_names: - oprot.writeString(iter1419.encode('utf-8') if sys.version_info[0] == 2 else iter1419) + for iter1428 in self.col_names: + oprot.writeString(iter1428.encode('utf-8') if sys.version_info[0] == 2 else iter1428) oprot.writeListEnd() oprot.writeFieldEnd() if self.engine is not None: @@ -31159,11 +31180,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.replTxnMapEntry = {} - (_ktype1421, _vtype1422, _size1420) = iprot.readMapBegin() - for _i1424 in range(_size1420): - _key1425 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - _val1426 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() - self.replTxnMapEntry[_key1425] = _val1426 + (_ktype1430, _vtype1431, _size1429) = iprot.readMapBegin() + for _i1433 in range(_size1429): + _key1434 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + _val1435 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString() + self.replTxnMapEntry[_key1434] = _val1435 iprot.readMapEnd() else: iprot.skip(ftype) @@ -31180,9 +31201,9 @@ def write(self, oprot): if self.replTxnMapEntry is not None: oprot.writeFieldBegin('replTxnMapEntry', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.replTxnMapEntry)) - for kiter1427, viter1428 in self.replTxnMapEntry.items(): - oprot.writeString(kiter1427.encode('utf-8') if sys.version_info[0] == 2 else kiter1427) - oprot.writeString(viter1428.encode('utf-8') if sys.version_info[0] == 2 else viter1428) + for kiter1436, viter1437 in self.replTxnMapEntry.items(): + oprot.writeString(kiter1436.encode('utf-8') if sys.version_info[0] == 2 else kiter1436) + oprot.writeString(viter1437.encode('utf-8') if sys.version_info[0] == 2 else viter1437) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -33607,6 +33628,7 @@ def __ne__(self, other): (6, TType.I32, 'operationType', None, 5, ), # 6 (7, TType.BOOL, 'isTransactional', None, False, ), # 7 (8, TType.BOOL, 'isDynamicPartitionWrite', None, False, ), # 8 + (9, TType.MAP, 'tableParams', (TType.STRING, 'UTF8', TType.STRING, 'UTF8', False), None, ), # 9 ) all_structs.append(LockRequest) LockRequest.thrift_spec = ( diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb index 3a12634f79e4..34a696be399e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -4363,6 +4363,7 @@ class LockComponent OPERATIONTYPE = 6 ISTRANSACTIONAL = 7 ISDYNAMICPARTITIONWRITE = 8 + TABLEPARAMS = 9 FIELDS = { TYPE => {:type => ::Thrift::Types::I32, :name => 'type', :enum_class => ::LockType}, @@ -4372,7 +4373,8 @@ class LockComponent PARTITIONNAME => {:type => ::Thrift::Types::STRING, :name => 'partitionname', :optional => true}, OPERATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'operationType', :default => 5, :optional => true, :enum_class => ::DataOperationType}, ISTRANSACTIONAL => {:type => ::Thrift::Types::BOOL, :name => 'isTransactional', :default => false, :optional => true}, - ISDYNAMICPARTITIONWRITE => {:type => ::Thrift::Types::BOOL, :name => 'isDynamicPartitionWrite', :default => false, :optional => true} + ISDYNAMICPARTITIONWRITE => {:type => ::Thrift::Types::BOOL, :name => 'isDynamicPartitionWrite', :default => false, :optional => true}, + TABLEPARAMS => {:type => ::Thrift::Types::MAP, :name => 'tableParams', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}, :optional => true} } def struct_fields; FIELDS; end diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/LockComponentBuilder.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/LockComponentBuilder.java index da6d6342d95f..6ab2c14c2240 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/LockComponentBuilder.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/LockComponentBuilder.java @@ -22,6 +22,8 @@ import org.apache.hadoop.hive.metastore.api.LockLevel; import org.apache.hadoop.hive.metastore.api.LockType; +import java.util.Map; + /** * A builder for {@link LockComponent}s */ @@ -101,6 +103,16 @@ public LockComponentBuilder setTableName(String tableName) { return this; } + /** + * Set the table name. + * @param tableName table name + * @return reference to this builder + */ + public LockComponentBuilder setTableParams(Map tableParams) { + component.setTableParams(tableParams); + return this; + } + /** * Set the partition name. * @param partitionName partition name diff --git a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index df0721655295..744630f681e4 100644 --- a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -1259,7 +1259,8 @@ struct LockComponent { 5: optional string partitionname, 6: optional DataOperationType operationType = DataOperationType.UNSET, 7: optional bool isTransactional = false, - 8: optional bool isDynamicPartitionWrite = false + 8: optional bool isDynamicPartitionWrite = false, + 9: optional map tableParams } struct LockRequest { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java index 3810eb17e855..ed6d26ba4241 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java @@ -162,7 +162,8 @@ public int repair(MsckInfo msckInfo) throws TException, MetastoreException, IOEx if (acquireLock && lockRequired && table.getParameters() != null && transactionalTable) { // Running MSCK from beeline/cli will make DDL task acquire X lock when repair is enabled, since we are directly // invoking msck.repair() without SQL statement, we need to do the same and acquire X lock (repair is default) - LockRequest lockRequest = createLockRequest(msckInfo.getDbName(), msckInfo.getTableName()); + LockRequest lockRequest = createLockRequest(msckInfo.getDbName(), msckInfo.getTableName(), + table.getParameters()); txnId = lockRequest.getTxnid(); try { LockResponse res = getMsc().lock(lockRequest); @@ -412,7 +413,8 @@ private void validateAndAddMaxTxnIdAndWriteId(long maxWriteIdOnFilesystem, long } } - private LockRequest createLockRequest(final String dbName, final String tableName) throws TException { + private LockRequest createLockRequest(final String dbName, final String tableName, Map tableParams) + throws TException { String username = getUserName(); long txnId = getMsc().openTxn(username); String agentInfo = Thread.currentThread().getName(); @@ -423,6 +425,7 @@ private LockRequest createLockRequest(final String dbName, final String tableNam LockComponentBuilder lockCompBuilder = new LockComponentBuilder() .setDbName(dbName) .setTableName(tableName) + .setTableParams(tableParams) .setIsTransactional(true) .setExclusive() // WriteType is DDL_EXCLUSIVE for MSCK REPAIR so we need NO_TXN. Refer AcidUtils.makeLockComponents diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java index d6fe708e4481..3b458d0481a7 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertHiveLocksCommand.java @@ -20,9 +20,6 @@ import org.apache.commons.lang3.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; -import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; -import org.apache.hadoop.hive.metastore.ObjectStore; -import org.apache.hadoop.hive.metastore.RawStore; import org.apache.hadoop.hive.metastore.api.LockComponent; import org.apache.hadoop.hive.metastore.api.LockRequest; import org.apache.hadoop.hive.metastore.api.MetaException; @@ -31,12 +28,10 @@ import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedBatchCommand; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedCommand; import org.apache.hadoop.hive.metastore.utils.LockTypeUtil; -import org.apache.thrift.TException; import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter; import java.util.ArrayList; import java.util.List; -import java.util.Map; import java.util.function.Function; import static org.apache.hadoop.hive.metastore.txn.TxnUtils.getEpochFn; @@ -70,22 +65,11 @@ public String getParameterizedQueryString(DatabaseProduct databaseProduct) { public List getQueryParameters(Configuration conf) { List params = new ArrayList<>(lockRequest.getComponentSize()); long intLockId = 0; - HiveMetaStoreClient hmsc; - try { - hmsc = new HiveMetaStoreClient(conf); - } catch (MetaException e) { - throw new RuntimeException(e); - } for (LockComponent lc : lockRequest.getComponent()) { String lockType = LockTypeUtil.getEncodingAsStr(lc.getType()); - try { params.add(new Object[] {tempExtLockId, ++intLockId, lockRequest.getTxnid(), StringUtils.lowerCase(lc.getDbname()), - StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname(), - lc.getTablename() != null ? hmsc.tableExists(lc.getDbname(), lc.getTablename()) ? hmsc.getTable(lc.getDbname(), lc.getTablename()).getParameters() : null : null, conf), + StringUtils.lowerCase(lc.getTablename()), TxnUtils.normalizePartitionCase(lc.getPartitionname(), lc.isSetTableParams() ? lc.getTableParams() : null, conf), Character.toString(LOCK_WAITING), lockType, lockRequest.getUser(), lockRequest.getHostname(), lockRequest.getAgentInfo()}); - } catch (TException e) { - throw new RuntimeException(e); - } } return params; } diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java index 5a7c380f2b8e..c117022dec5c 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/commands/InsertTxnComponentsCommand.java @@ -21,14 +21,15 @@ import org.apache.commons.lang3.tuple.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DatabaseProduct; -import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; -import org.apache.hadoop.hive.metastore.api.*; +import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; +import org.apache.hadoop.hive.metastore.api.DataOperationType; +import org.apache.hadoop.hive.metastore.api.LockComponent; +import org.apache.hadoop.hive.metastore.api.LockRequest; import org.apache.hadoop.hive.metastore.txn.entities.OperationType; import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedBatchCommand; import org.apache.hadoop.hive.metastore.txn.jdbc.ParameterizedCommand; import org.apache.hadoop.hive.metastore.utils.JavaUtils; -import org.apache.thrift.TException; import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter; import java.sql.Types; @@ -93,13 +94,6 @@ private List getQueryParametersByLockRequest(Configuration conf) { List params = new ArrayList<>(lockRequest.getComponentSize()); Set> alreadyAddedTables = new HashSet<>(); - HiveMetaStoreClient hmsc; - try { - hmsc = new HiveMetaStoreClient(conf); - } catch (MetaException e) { - throw new RuntimeException(e); - } - for (LockComponent lc : lockRequest.getComponent()) { if (lc.isSetIsTransactional() && !lc.isIsTransactional()) { //we don't prevent using non-acid resources in a txn, but we do lock them @@ -114,14 +108,7 @@ private List getQueryParametersByLockRequest(Configuration conf) { String dbName = StringUtils.lowerCase(lc.getDbname()); String tblName = StringUtils.lowerCase(lc.getTablename()); - String partName = null; - try { - partName = TxnUtils.normalizePartitionCase(lc.getPartitionname(), lc.getTablename() != null ? - hmsc.tableExists(lc.getDbname(), lc.getTablename()) ? hmsc.getTable(lc.getDbname(), - lc.getTablename()).getParameters() : null : null, conf); - } catch (TException e) { - throw new RuntimeException(e); - } + String partName = TxnUtils.normalizePartitionCase(lc.getPartitionname(), lc.isSetTableParams() ? lc.getTableParams() : null, conf); OperationType opType = OperationType.fromDataOperationType(lc.getOperationType()); Pair writeIdKey = getWriteIdKey.apply(lc); diff --git a/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java b/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java index b62e345fa7ba..ef1755722604 100644 --- a/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java +++ b/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java @@ -446,6 +446,7 @@ private static LockRequest createLockRequest(final HiveStreamingConnection conn, LockComponentBuilder lockCompBuilder = new LockComponentBuilder() .setDbName(conn.getDatabase()) .setTableName(conn.getTable().getTableName()) + .setTableParams(conn.getTable().getParameters()) .setSharedRead() .setOperationType(DataOperationType.INSERT); From ed964074bdbc2a42eb95e7f1ebd82d56b4503ca8 Mon Sep 17 00:00:00 2001 From: Vikram Ahuja Date: Wed, 27 Aug 2025 13:07:54 +0530 Subject: [PATCH 12/12] Fix Hcatalog tests --- .../apache/hive/hcatalog/mapreduce/FosterStorageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java index 3c18a7fe668f..28879f3c39a4 100644 --- a/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java +++ b/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/FosterStorageHandler.java @@ -163,7 +163,7 @@ public void configureOutputJobProperties(TableDesc tableDesc, // using partition column values outputLocation = HCatFileUtil.resolveCustomPath(jobInfo, null, true, (jobInfo.getTableInfo() != null && jobInfo.getTableInfo().getTable() != null) ? - jobInfo.getTableInfo().getTable().getParameters() : null, conf); + jobInfo.getTableInfo().getTable().getParameters() : null, HCatUtil.getHiveConf(conf)); } else if ((dynHash == null) && Boolean.parseBoolean((String)tableDesc.getProperties().get("EXTERNAL")) && jobInfo.getLocation() != null && jobInfo.getLocation().length() > 0) {