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 5eb0435af4..7348109461 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1616,13 +1616,13 @@ private static void populateLlapDaemonVarsSet(Set llapDaemonVarsSetLocal "choosing the plan with lower cost among possible plans containing a materialized view\n" + " costbased: Fully cost-based strategy, always use plan with lower cost, independently on whether " + "it uses a materialized view or not"), - HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW("hive.materializedview.rewriting.time.window", "0s", new TimeValidator(TimeUnit.SECONDS), + HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW("hive.materializedview.rewriting.time.window", "0min", new TimeValidator(TimeUnit.MINUTES), "Time window, specified in seconds, after which outdated materialized views become invalid for automatic query rewriting.\n" + - "For instance, if a materialized view is created and afterwards one of its source tables is changed at " + - "moment in time t0, the materialized view will not be considered for rewriting anymore after t0 plus " + - "the value assigned to this property. Default value 0 means that the materialized view cannot be " + - "outdated to be used automatically in query rewriting."), - HIVE_MATERIALIZED_VIEW_REWRITING_INCREMENTAL("hive.materializedview.rewriting.incremental", true, + "For instance, if more time than the value assigned to the property has passed since the materialized view " + + "was created or rebuilt, and one of its source tables has changed since, the materialized view will not be " + + "considered for rewriting. Default value 0 means that the materialized view cannot be " + + "outdated to be used automatically in query rewriting. Value -1 means to skip this check."), + HIVE_MATERIALIZED_VIEW_REWRITING_INCREMENTAL("hive.materializedview.rewriting.incremental", false, "Whether to try to execute incremental rewritings based on outdated materializations and\n" + "current content of tables. Default value of true effectively amounts to enabling incremental\n" + "rebuild for the materializations too."), @@ -1630,24 +1630,12 @@ private static void populateLlapDaemonVarsSet(Set llapDaemonVarsSetLocal "Whether to try to execute incremental rebuild for the materialized views. Incremental rebuild\n" + "tries to modify the original materialization contents to reflect the latest changes to the\n" + "materialized view source tables, instead of rebuilding the contents fully. Incremental rebuild\n" + - "is based on the materialized view algebraic incremental rewriting. Hence, this requires\n" + - "hive.materializedview.rewriting.incremental to be true."), + "is based on the materialized view algebraic incremental rewriting."), HIVE_MATERIALIZED_VIEW_FILE_FORMAT("hive.materializedview.fileformat", "ORC", new StringSet("none", "TextFile", "SequenceFile", "RCfile", "ORC"), "Default file format for CREATE MATERIALIZED VIEW statement"), HIVE_MATERIALIZED_VIEW_SERDE("hive.materializedview.serde", "org.apache.hadoop.hive.ql.io.orc.OrcSerde", "Default SerDe used for materialized views"), - HIVE_MATERIALIZATIONS_INVALIDATION_CACHE_IMPL("hive.metastore.materializations.invalidation.impl", "DEFAULT", - new StringSet("DEFAULT", "DISABLE"), - "The implementation that we should use for the materializations invalidation cache. \n" + - " DEFAULT: Default implementation for invalidation cache\n" + - " DISABLE: Disable invalidation cache (debugging purposes)"), - HIVE_MATERIALIZATIONS_INVALIDATION_CACHE_CLEAN_FREQUENCY("hive.metastore.materializations.invalidation.clean.frequency", - "3600s", new TimeValidator(TimeUnit.SECONDS), "Frequency at which timer task runs to remove unnecessary transactions information from" + - "materializations invalidation cache."), - HIVE_MATERIALIZATIONS_INVALIDATION_CACHE_EXPIRY_DURATION("hive.metastore.materializations.invalidation.max.duration", - "86400s", new TimeValidator(TimeUnit.SECONDS), "Maximum duration for query producing a materialization. After this time, transactions" + - "information that is not relevant for materializations can be removed from invalidation cache."), // hive.mapjoin.bucket.cache.size has been replaced by hive.smbjoin.cache.row, // need to remove by hive .13. Also, do not change default (see SMB operator) diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java index 19aef6cafe..87828b14ee 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java @@ -19,9 +19,7 @@ package org.apache.hadoop.hive.ql.exec; import com.google.common.collect.ImmutableSet; -import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.ValidTxnWriteIdList; -import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.metastore.api.CreationMetadata; import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.ql.DriverContext; 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 c3809d8d87..f65041ab93 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 @@ -84,7 +84,9 @@ import org.apache.hadoop.hive.common.HiveStatsUtils; import org.apache.hadoop.hive.common.ObjectPair; import org.apache.hadoop.hive.common.StatsSetupConst; +import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.ValidTxnWriteIdList; +import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.common.classification.InterfaceAudience.LimitedPrivate; import org.apache.hadoop.hive.common.classification.InterfaceStability.Unstable; import org.apache.hadoop.hive.common.log.InPlaceUpdate; @@ -192,6 +194,7 @@ import org.apache.hadoop.mapred.InputFormat; import org.apache.hadoop.security.UserGroupInformation; import org.apache.hadoop.util.StringUtils; +import org.apache.hive.common.util.TxnIdUtils; import org.apache.thrift.TException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -1331,7 +1334,7 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { * @return the list of materialized views available for rewriting * @throws HiveException */ - public List getAllValidMaterializedViews(boolean forceMVContentsUpToDate, String validTxnsList) + public List getAllValidMaterializedViews(List tablesUsed, boolean forceMVContentsUpToDate) throws HiveException { // Final result List result = new ArrayList<>(); @@ -1343,7 +1346,7 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { // Bail out: empty list continue; } - result.addAll(getValidMaterializedViews(dbName, materializedViewNames, forceMVContentsUpToDate, validTxnsList)); + result.addAll(getValidMaterializedViews(dbName, materializedViewNames, tablesUsed, forceMVContentsUpToDate)); } return result; } catch (Exception e) { @@ -1352,14 +1355,19 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { } public List getValidMaterializedView(String dbName, String materializedViewName, - boolean forceMVContentsUpToDate, String validTxnsList) throws HiveException { - return getValidMaterializedViews(dbName, ImmutableList.of(materializedViewName), forceMVContentsUpToDate, validTxnsList); + List tablesUsed, boolean forceMVContentsUpToDate) throws HiveException { + return getValidMaterializedViews(dbName, ImmutableList.of(materializedViewName), tablesUsed, forceMVContentsUpToDate); } private List getValidMaterializedViews(String dbName, List materializedViewNames, - boolean forceMVContentsUpToDate, String validTxnsList) throws HiveException { + List tablesUsed, boolean forceMVContentsUpToDate) throws HiveException { + final String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY); + final ValidTxnWriteIdList currentTxnWriteIds = + SessionState.get().getTxnMgr().getValidWriteIds(tablesUsed, validTxnsList); final boolean tryIncrementalRewriting = HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_INCREMENTAL); + final boolean tryIncrementalRebuild = + HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REBUILD_INCREMENTAL); final long defaultDiff = HiveConf.getTimeVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW, TimeUnit.MILLISECONDS); @@ -1368,8 +1376,6 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { // Final result List result = new ArrayList<>(); List materializedViewTables = getTableObjects(dbName, materializedViewNames); - Map databaseInvalidationInfo = - getMSC().getMaterializationsInvalidationInfo(dbName, materializedViewNames); for (Table materializedViewTable : materializedViewTables) { // Check if materialization defined its own invalidation time window String timeWindowString = materializedViewTable.getProperty(MATERIALIZED_VIEW_REWRITING_TIME_WINDOW); @@ -1377,7 +1383,7 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { HiveConf.toTime(timeWindowString, HiveConf.getDefaultTimeUnit(HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW), TimeUnit.MILLISECONDS); - Materialization materializationInvInfo = null; + CreationMetadata creationMetadata = materializedViewTable.getCreationMetadata(); boolean outdated = false; if (diff < 0L) { // We only consider the materialized view to be outdated if forceOutdated = true, i.e., @@ -1385,40 +1391,80 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { outdated = forceMVContentsUpToDate; } else { // Check whether the materialized view is invalidated - materializationInvInfo = - databaseInvalidationInfo.get(materializedViewTable.getTableName()); - if (materializationInvInfo == null) { - LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + - " ignored for rewriting as there was no information loaded in the invalidation cache"); - continue; - } - long invalidationTime = materializationInvInfo.getInvalidationTime(); - if (invalidationTime == Long.MIN_VALUE) { - LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + - " ignored for rewriting as it contains non-transactional tables"); - continue; - } - // If the limit is not met, we do not add the materialized view. - // If we are doing a rebuild, we do not consider outdated materialized views either. - if (diff == 0L || forceMVContentsUpToDate) { - if (invalidationTime != 0L) { - outdated = true; + if (forceMVContentsUpToDate || diff == 0L || creationMetadata.getMaterializationTime() < currentTime - diff) { + if (currentTxnWriteIds == null) { + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as we could not obtain current txn ids"); + continue; } - } else { - if (invalidationTime != 0L && invalidationTime > currentTime - diff) { - outdated = true; + if (creationMetadata.getValidTxnList() == null || + creationMetadata.getValidTxnList().isEmpty()) { + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as we could not obtain materialization txn ids"); + continue; + } + boolean ignore = false; + ValidTxnWriteIdList mvTxnWriteIds = new ValidTxnWriteIdList( + creationMetadata.getValidTxnList()); + for (String qName : tablesUsed) { + // Note. If the materialized view does not contain a table that is contained in the query, + // we do not need to check whether that specific table is outdated or not. If a rewriting + // is produced in those cases, it is because that additional table is joined with the + // existing tables with an append-columns only join, i.e., PK-FK + not null. + if (!creationMetadata.getTablesUsed().contains(qName)) { + continue; + } + ValidWriteIdList tableCurrentWriteIds = currentTxnWriteIds.getTableValidWriteIdList(qName); + if (tableCurrentWriteIds == null) { + // Uses non-transactional table, cannot be considered + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as it is outdated and cannot be considered for " + + " rewriting because it uses non-transactional table " + qName); + ignore = true; + break; + } + ValidWriteIdList tableWriteIds = mvTxnWriteIds.getTableValidWriteIdList(qName); + if (tableWriteIds == null) { + // This should not happen, but we ignore for safety + LOG.warn("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as details about txn ids for table " + qName + + " could not be found in " + mvTxnWriteIds); + ignore = true; + break; + } + if (!outdated && !TxnIdUtils.checkEquivalentWriteIds(tableCurrentWriteIds, tableWriteIds)) { + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " contents are outdated"); + outdated = true; + } + } + if (ignore) { + continue; } } } - if (outdated && (!tryIncrementalRewriting || materializationInvInfo == null - || validTxnsList == null || materializationInvInfo.isSourceTablesUpdateDeleteModified())) { - // We will not try partial rewriting either because the config specification, this - // is a rebuild over some non-transactional table, or there were update/delete - // operations in the source tables (not supported yet) - LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + - " ignored for rewriting as its contents are outdated"); - continue; + if (outdated) { + // The MV is outdated, see whether we should consider it for rewriting or not + boolean ignore = false; + if (forceMVContentsUpToDate && !tryIncrementalRebuild) { + // We will not try partial rewriting for rebuild if incremental rebuild is disabled + ignore = true; + } else if (!forceMVContentsUpToDate && !tryIncrementalRewriting) { + // We will not try partial rewriting for non-rebuild if incremental rewriting is disabled + ignore = true; + } else { + // Obtain additional information if we should try incremental rewriting / rebuild + // We will not try partial rewriting if there were update/delete operations on source tables + Materialization invalidationInfo = getMSC().getMaterializationInvalidationInfo( + creationMetadata, conf.get(ValidTxnList.VALID_TXNS_KEY)); + ignore = invalidationInfo == null || invalidationInfo.isSourceTablesUpdateDeleteModified(); + } + if (ignore) { + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as its contents are outdated"); + continue; + } } // It passed the test, load @@ -1442,7 +1488,7 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { // so we can produce partial rewritings materialization = augmentMaterializationWithTimeInformation( materialization, validTxnsList, new ValidTxnWriteIdList( - materializationInvInfo.getValidTxnList())); + creationMetadata.getValidTxnList())); } result.add(materialization); continue; @@ -1465,7 +1511,7 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { // so we can produce partial rewritings materialization = augmentMaterializationWithTimeInformation( materialization, validTxnsList, new ValidTxnWriteIdList( - materializationInvInfo.getValidTxnList())); + creationMetadata.getValidTxnList())); } result.add(materialization); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java index e091f38bc6..fecfd0cf64 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java @@ -2081,18 +2081,17 @@ private RelNode applyMaterializedViewRewriting(RelOptPlanner planner, RelNode ba // Add views to planner List materializations = new ArrayList<>(); try { - final String validTxnsList = conf.get(ValidTxnList.VALID_TXNS_KEY); if (mvRebuildMode != MaterializationRebuildMode.NONE) { // We only retrieve the materialization corresponding to the rebuild. In turn, // we pass 'true' for the forceMVContentsUpToDate parameter, as we cannot allow the // materialization contents to be stale for a rebuild if we want to use it. materializations = Hive.get().getValidMaterializedView(mvRebuildDbName, mvRebuildName, - true, validTxnsList); + getTablesUsed(basePlan), true); } else { // This is not a rebuild, we retrieve all the materializations. In turn, we do not need // to force the materialization contents to be up-to-date, as this is not a rebuild, and // we apply the user parameters (HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW) instead. - materializations = Hive.get().getAllValidMaterializedViews(false, validTxnsList); + materializations = Hive.get().getAllValidMaterializedViews(getTablesUsed(basePlan), false); } // We need to use the current cluster for the scan operator on views, // otherwise the planner will throw an Exception (different planners) @@ -2169,7 +2168,6 @@ private RelNode copyNodeScan(RelNode scan) { // A rewriting was produced, we will check whether it was part of an incremental rebuild // to try to replace INSERT OVERWRITE by INSERT if (mvRebuildMode == MaterializationRebuildMode.INSERT_OVERWRITE_REBUILD && - HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_INCREMENTAL) && HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REBUILD_INCREMENTAL)) { // First we need to check if it is valid to convert to MERGE/INSERT INTO. // If we succeed, we modify the plan and afterwards the AST. @@ -2196,6 +2194,21 @@ private RelNode copyNodeScan(RelNode scan) { return basePlan; } + private List getTablesUsed(RelNode plan) { + List tablesUsed = new ArrayList<>(); + new RelVisitor() { + @Override + public void visit(RelNode node, int ordinal, RelNode parent) { + if (node instanceof TableScan) { + TableScan ts = (TableScan) node; + tablesUsed.add(((RelOptHiveTable) ts.getTable()).getHiveTableMD().getFullyQualifiedName()); + } + super.visit(node, ordinal, parent); + } + }.go(plan); + return tablesUsed; + } + /** * Run the HEP Planner with the given rule set. * diff --git a/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q b/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q index c61730eec1..55c6c04d1c 100644 --- a/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q +++ b/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q @@ -25,13 +25,13 @@ analyze table cmv_basetable_2_n1 compute statistics for columns; -- CREATE VIEW WITH REWRITE DISABLED EXPLAIN -CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable_n3.a, cmv_basetable_2_n1.c FROM cmv_basetable_n3 JOIN cmv_basetable_2_n1 ON (cmv_basetable_n3.a = cmv_basetable_2_n1.a) WHERE cmv_basetable_2_n1.c > 10.0 GROUP BY cmv_basetable_n3.a, cmv_basetable_2_n1.c; -CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable_n3.a, cmv_basetable_2_n1.c FROM cmv_basetable_n3 JOIN cmv_basetable_2_n1 ON (cmv_basetable_n3.a = cmv_basetable_2_n1.a) WHERE cmv_basetable_2_n1.c > 10.0 diff --git a/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out b/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out index e5e1ea9299..cf6fe451a2 100644 --- a/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out +++ b/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out @@ -160,31 +160,35 @@ STAGE PLANS: limit: -1 Processor Tree: TableScan - alias: cmv_basetable_n2 - filterExpr: (a = 3) (type: boolean) - Filter Operator - predicate: (a = 3) (type: boolean) - Select Operator - expressions: 3 (type: int), c (type: double) - outputColumnNames: _col0, _col1 - ListSink + alias: cmv_mat_view2_n0 + properties: + druid.fieldNames vc,c + druid.fieldTypes int,double + druid.query.json {"queryType":"scan","dataSource":"default.cmv_mat_view2_n0","intervals":["1900-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z"],"virtualColumns":[{"type":"expression","name":"vc","expression":"3","outputType":"LONG"}],"columns":["vc","c"],"resultFormat":"compactedList"} + druid.query.type scan + Select Operator + expressions: vc (type: int), c (type: double) + outputColumnNames: _col0, _col1 + ListSink PREHOOK: query: SELECT a, c FROM cmv_basetable_n2 WHERE a = 3 PREHOOK: type: QUERY PREHOOK: Input: default@cmv_basetable_n2 +PREHOOK: Input: default@cmv_mat_view2_n0 PREHOOK: Output: hdfs://### HDFS PATH ### POSTHOOK: query: SELECT a, c FROM cmv_basetable_n2 WHERE a = 3 POSTHOOK: type: QUERY POSTHOOK: Input: default@cmv_basetable_n2 +POSTHOOK: Input: default@cmv_mat_view2_n0 POSTHOOK: Output: hdfs://### HDFS PATH ### -3 15.8 -3 9.8 -3 978.76 -Warning: Shuffle Join MERGEJOIN[13][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 2' is a cross product +3 15.800000190734863 +3 9.800000190734863 +3 978.760009765625 +Warning: Shuffle Join MERGEJOIN[10][tables = [cmv_mat_view2_n0, $hdt$_0]] in Stage 'Reducer 2' is a cross product PREHOOK: query: EXPLAIN SELECT * FROM ( (SELECT a, c FROM cmv_basetable_n2 WHERE a = 3) table1 @@ -215,36 +219,33 @@ STAGE PLANS: Map Operator Tree: TableScan alias: cmv_basetable_n2 - filterExpr: (a = 3) (type: boolean) - Statistics: Num rows: 6 Data size: 72 Basic stats: COMPLETE Column stats: NONE - Filter Operator - predicate: (a = 3) (type: boolean) - Statistics: Num rows: 6 Data size: 72 Basic stats: COMPLETE Column stats: NONE - Select Operator - expressions: c (type: double) - outputColumnNames: _col0 - Statistics: Num rows: 6 Data size: 72 Basic stats: COMPLETE Column stats: NONE - Reduce Output Operator - sort order: - Statistics: Num rows: 6 Data size: 72 Basic stats: COMPLETE Column stats: NONE - value expressions: _col0 (type: double) - Map 3 - Map Operator Tree: - TableScan - alias: cmv_basetable_n2 - filterExpr: ((d = 3) and (a = 3)) (type: boolean) + filterExpr: ((a = 3) and (d = 3)) (type: boolean) Statistics: Num rows: 6 Data size: 96 Basic stats: COMPLETE Column stats: NONE Filter Operator predicate: ((a = 3) and (d = 3)) (type: boolean) Statistics: Num rows: 6 Data size: 96 Basic stats: COMPLETE Column stats: NONE Select Operator expressions: c (type: double) - outputColumnNames: _col0 + outputColumnNames: _col1 Statistics: Num rows: 6 Data size: 96 Basic stats: COMPLETE Column stats: NONE Reduce Output Operator sort order: Statistics: Num rows: 6 Data size: 96 Basic stats: COMPLETE Column stats: NONE - value expressions: _col0 (type: double) + value expressions: _col1 (type: double) + Map 3 + Map Operator Tree: + TableScan + alias: cmv_mat_view2_n0 + properties: + druid.fieldNames a,c + druid.fieldTypes int,double + druid.query.json {"queryType":"scan","dataSource":"default.cmv_mat_view2_n0","intervals":["1900-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z"],"columns":["a","c"],"resultFormat":"compactedList"} + druid.query.type scan + Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE Column stats: NONE + Reduce Output Operator + sort order: + Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE Column stats: NONE + value expressions: a (type: int), c (type: double) Reducer 2 Reduce Operator Tree: Merge Join Operator @@ -253,15 +254,15 @@ STAGE PLANS: keys: 0 1 - outputColumnNames: _col0, _col1 - Statistics: Num rows: 36 Data size: 1044 Basic stats: COMPLETE Column stats: NONE + outputColumnNames: _col0, _col1, _col6 + Statistics: Num rows: 18 Data size: 522 Basic stats: COMPLETE Column stats: NONE Select Operator - expressions: 3 (type: int), _col0 (type: double), 3 (type: int), _col1 (type: double) + expressions: _col0 (type: int), _col1 (type: double), _col0 (type: int), _col6 (type: double) outputColumnNames: _col0, _col1, _col2, _col3 - Statistics: Num rows: 36 Data size: 1044 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 18 Data size: 522 Basic stats: COMPLETE Column stats: NONE File Output Operator compressed: false - Statistics: Num rows: 36 Data size: 1044 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 18 Data size: 522 Basic stats: COMPLETE Column stats: NONE table: input format: org.apache.hadoop.mapred.SequenceFileInputFormat output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat @@ -273,7 +274,7 @@ STAGE PLANS: Processor Tree: ListSink -Warning: Shuffle Join MERGEJOIN[13][tables = [$hdt$_0, $hdt$_1]] in Stage 'Reducer 2' is a cross product +Warning: Shuffle Join MERGEJOIN[10][tables = [cmv_mat_view2_n0, $hdt$_0]] in Stage 'Reducer 2' is a cross product PREHOOK: query: SELECT * FROM ( (SELECT a, c FROM cmv_basetable_n2 WHERE a = 3) table1 JOIN @@ -281,6 +282,7 @@ PREHOOK: query: SELECT * FROM ( ON table1.a = table2.a) PREHOOK: type: QUERY PREHOOK: Input: default@cmv_basetable_n2 +PREHOOK: Input: default@cmv_mat_view2_n0 PREHOOK: Output: hdfs://### HDFS PATH ### POSTHOOK: query: SELECT * FROM ( (SELECT a, c FROM cmv_basetable_n2 WHERE a = 3) table1 @@ -289,10 +291,11 @@ POSTHOOK: query: SELECT * FROM ( ON table1.a = table2.a) POSTHOOK: type: QUERY POSTHOOK: Input: default@cmv_basetable_n2 +POSTHOOK: Input: default@cmv_mat_view2_n0 POSTHOOK: Output: hdfs://### HDFS PATH ### -3 15.8 3 978.76 -3 9.8 3 978.76 -3 978.76 3 978.76 +3 15.800000190734863 3 978.76 +3 9.800000190734863 3 978.76 +3 978.760009765625 3 978.76 PREHOOK: query: INSERT INTO cmv_basetable_n2 VALUES (cast(current_timestamp() AS timestamp), 3, 'charlie', 'charlie_c', 15.8, 1) PREHOOK: type: QUERY diff --git a/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_5.q.out b/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_5.q.out index 9abdcbb2dc..963e10fd52 100644 --- a/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_5.q.out +++ b/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_5.q.out @@ -180,12 +180,12 @@ STAGE PLANS: Select Operator expressions: a (type: int) outputColumnNames: _col0 - Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE + Statistics: Num rows: 1 Data size: 116 Basic stats: COMPLETE Column stats: COMPLETE Reduce Output Operator key expressions: _col0 (type: int) sort order: + Map-reduce partition columns: _col0 (type: int) - Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE + Statistics: Num rows: 1 Data size: 116 Basic stats: COMPLETE Column stats: COMPLETE Execution mode: llap LLAP IO: may be used (ACID table) Reducer 2 diff --git a/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_time_window.q.out b/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_time_window.q.out index 44a866db19..68e750011b 100644 --- a/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_time_window.q.out +++ b/ql/src/test/results/clientpositive/llap/materialized_view_create_rewrite_time_window.q.out @@ -73,14 +73,14 @@ POSTHOOK: Input: default@cmv_basetable_2_n1 POSTHOOK: Output: default@cmv_basetable_2_n1 #### A masked pattern was here #### PREHOOK: query: EXPLAIN -CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable_n3.a, cmv_basetable_2_n1.c FROM cmv_basetable_n3 JOIN cmv_basetable_2_n1 ON (cmv_basetable_n3.a = cmv_basetable_2_n1.a) WHERE cmv_basetable_2_n1.c > 10.0 GROUP BY cmv_basetable_n3.a, cmv_basetable_2_n1.c PREHOOK: type: CREATE_MATERIALIZED_VIEW POSTHOOK: query: EXPLAIN -CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable_n3.a, cmv_basetable_2_n1.c FROM cmv_basetable_n3 JOIN cmv_basetable_2_n1 ON (cmv_basetable_n3.a = cmv_basetable_2_n1.a) WHERE cmv_basetable_2_n1.c > 10.0 @@ -190,7 +190,7 @@ STAGE PLANS: Create View columns: a int, c decimal(10,2) table properties: - rewriting.time.window 300s + rewriting.time.window 5min expanded text: SELECT `cmv_basetable_n3`.`a`, `cmv_basetable_2_n1`.`c` FROM `default`.`cmv_basetable_n3` JOIN `default`.`cmv_basetable_2_n1` ON (`cmv_basetable_n3`.`a` = `cmv_basetable_2_n1`.`a`) WHERE `cmv_basetable_2_n1`.`c` > 10.0 @@ -214,7 +214,7 @@ STAGE PLANS: hdfs directory: true #### A masked pattern was here #### -PREHOOK: query: CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='300s') AS +PREHOOK: query: CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable_n3.a, cmv_basetable_2_n1.c FROM cmv_basetable_n3 JOIN cmv_basetable_2_n1 ON (cmv_basetable_n3.a = cmv_basetable_2_n1.a) WHERE cmv_basetable_2_n1.c > 10.0 @@ -224,7 +224,7 @@ PREHOOK: Input: default@cmv_basetable_2_n1 PREHOOK: Input: default@cmv_basetable_n3 PREHOOK: Output: database:default PREHOOK: Output: default@cmv_mat_view_n3 -POSTHOOK: query: CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='300s') AS +POSTHOOK: query: CREATE MATERIALIZED VIEW cmv_mat_view_n3 DISABLE REWRITE TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable_n3.a, cmv_basetable_2_n1.c FROM cmv_basetable_n3 JOIN cmv_basetable_2_n1 ON (cmv_basetable_n3.a = cmv_basetable_2_n1.a) WHERE cmv_basetable_2_n1.c > 10.0 @@ -256,7 +256,7 @@ Table Parameters: numFiles 2 numRows 2 rawDataSize 232 - rewriting.time.window 300s + rewriting.time.window 5min totalSize 608 #### A masked pattern was here #### @@ -480,7 +480,7 @@ Table Parameters: numFiles 2 numRows 2 rawDataSize 232 - rewriting.time.window 300s + rewriting.time.window 5min totalSize 608 #### A masked pattern was here #### @@ -786,7 +786,7 @@ Table Parameters: numFiles 2 numRows 3 rawDataSize 348 - rewriting.time.window 300s + rewriting.time.window 5min totalSize 628 #### A masked pattern was here #### diff --git a/ql/src/test/results/clientpositive/llap/materialized_view_rewrite_empty.q.out b/ql/src/test/results/clientpositive/llap/materialized_view_rewrite_empty.q.out index 2e6f00c598..ac8cc35a96 100644 --- a/ql/src/test/results/clientpositive/llap/materialized_view_rewrite_empty.q.out +++ b/ql/src/test/results/clientpositive/llap/materialized_view_rewrite_empty.q.out @@ -55,7 +55,7 @@ STAGE PLANS: limit: -1 Processor Tree: TableScan - alias: emps_mv_rewrite_empty + alias: default.emps_mv_rewrite_empty_mv1 filterExpr: (empid < 120) (type: boolean) Filter Operator predicate: (empid < 120) (type: boolean) @@ -67,10 +67,12 @@ STAGE PLANS: PREHOOK: query: select * from emps_mv_rewrite_empty where empid < 120 PREHOOK: type: QUERY PREHOOK: Input: default@emps_mv_rewrite_empty +PREHOOK: Input: default@emps_mv_rewrite_empty_mv1 #### A masked pattern was here #### POSTHOOK: query: select * from emps_mv_rewrite_empty where empid < 120 POSTHOOK: type: QUERY POSTHOOK: Input: default@emps_mv_rewrite_empty +POSTHOOK: Input: default@emps_mv_rewrite_empty_mv1 #### A masked pattern was here #### PREHOOK: query: drop materialized view emps_mv_rewrite_empty_mv1 PREHOOK: type: DROP_MATERIALIZED_VIEW diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index e459bc2a9c..cd356e1e0f 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -2334,14 +2334,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1202; - ::apache::thrift::protocol::TType _etype1205; - xfer += iprot->readListBegin(_etype1205, _size1202); - this->success.resize(_size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _size1195; + ::apache::thrift::protocol::TType _etype1198; + xfer += iprot->readListBegin(_etype1198, _size1195); + this->success.resize(_size1195); + uint32_t _i1199; + for (_i1199 = 0; _i1199 < _size1195; ++_i1199) { - xfer += iprot->readString(this->success[_i1206]); + xfer += iprot->readString(this->success[_i1199]); } xfer += iprot->readListEnd(); } @@ -2380,10 +2380,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 _iter1207; - for (_iter1207 = this->success.begin(); _iter1207 != this->success.end(); ++_iter1207) + std::vector ::const_iterator _iter1200; + for (_iter1200 = this->success.begin(); _iter1200 != this->success.end(); ++_iter1200) { - xfer += oprot->writeString((*_iter1207)); + xfer += oprot->writeString((*_iter1200)); } xfer += oprot->writeListEnd(); } @@ -2428,14 +2428,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1208; - ::apache::thrift::protocol::TType _etype1211; - xfer += iprot->readListBegin(_etype1211, _size1208); - (*(this->success)).resize(_size1208); - uint32_t _i1212; - for (_i1212 = 0; _i1212 < _size1208; ++_i1212) + uint32_t _size1201; + ::apache::thrift::protocol::TType _etype1204; + xfer += iprot->readListBegin(_etype1204, _size1201); + (*(this->success)).resize(_size1201); + uint32_t _i1205; + for (_i1205 = 0; _i1205 < _size1201; ++_i1205) { - xfer += iprot->readString((*(this->success))[_i1212]); + xfer += iprot->readString((*(this->success))[_i1205]); } xfer += iprot->readListEnd(); } @@ -2552,14 +2552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1213; - ::apache::thrift::protocol::TType _etype1216; - xfer += iprot->readListBegin(_etype1216, _size1213); - this->success.resize(_size1213); - uint32_t _i1217; - for (_i1217 = 0; _i1217 < _size1213; ++_i1217) + uint32_t _size1206; + ::apache::thrift::protocol::TType _etype1209; + xfer += iprot->readListBegin(_etype1209, _size1206); + this->success.resize(_size1206); + uint32_t _i1210; + for (_i1210 = 0; _i1210 < _size1206; ++_i1210) { - xfer += iprot->readString(this->success[_i1217]); + xfer += iprot->readString(this->success[_i1210]); } xfer += iprot->readListEnd(); } @@ -2598,10 +2598,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 _iter1218; - for (_iter1218 = this->success.begin(); _iter1218 != this->success.end(); ++_iter1218) + std::vector ::const_iterator _iter1211; + for (_iter1211 = this->success.begin(); _iter1211 != this->success.end(); ++_iter1211) { - xfer += oprot->writeString((*_iter1218)); + xfer += oprot->writeString((*_iter1211)); } xfer += oprot->writeListEnd(); } @@ -2646,14 +2646,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1219; - ::apache::thrift::protocol::TType _etype1222; - xfer += iprot->readListBegin(_etype1222, _size1219); - (*(this->success)).resize(_size1219); - uint32_t _i1223; - for (_i1223 = 0; _i1223 < _size1219; ++_i1223) + uint32_t _size1212; + ::apache::thrift::protocol::TType _etype1215; + xfer += iprot->readListBegin(_etype1215, _size1212); + (*(this->success)).resize(_size1212); + uint32_t _i1216; + for (_i1216 = 0; _i1216 < _size1212; ++_i1216) { - xfer += iprot->readString((*(this->success))[_i1223]); + xfer += iprot->readString((*(this->success))[_i1216]); } xfer += iprot->readListEnd(); } @@ -3715,17 +3715,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1224; - ::apache::thrift::protocol::TType _ktype1225; - ::apache::thrift::protocol::TType _vtype1226; - xfer += iprot->readMapBegin(_ktype1225, _vtype1226, _size1224); - uint32_t _i1228; - for (_i1228 = 0; _i1228 < _size1224; ++_i1228) + uint32_t _size1217; + ::apache::thrift::protocol::TType _ktype1218; + ::apache::thrift::protocol::TType _vtype1219; + xfer += iprot->readMapBegin(_ktype1218, _vtype1219, _size1217); + uint32_t _i1221; + for (_i1221 = 0; _i1221 < _size1217; ++_i1221) { - std::string _key1229; - xfer += iprot->readString(_key1229); - Type& _val1230 = this->success[_key1229]; - xfer += _val1230.read(iprot); + std::string _key1222; + xfer += iprot->readString(_key1222); + Type& _val1223 = this->success[_key1222]; + xfer += _val1223.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3764,11 +3764,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 _iter1231; - for (_iter1231 = this->success.begin(); _iter1231 != this->success.end(); ++_iter1231) + std::map ::const_iterator _iter1224; + for (_iter1224 = this->success.begin(); _iter1224 != this->success.end(); ++_iter1224) { - xfer += oprot->writeString(_iter1231->first); - xfer += _iter1231->second.write(oprot); + xfer += oprot->writeString(_iter1224->first); + xfer += _iter1224->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3813,17 +3813,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1232; - ::apache::thrift::protocol::TType _ktype1233; - ::apache::thrift::protocol::TType _vtype1234; - xfer += iprot->readMapBegin(_ktype1233, _vtype1234, _size1232); - uint32_t _i1236; - for (_i1236 = 0; _i1236 < _size1232; ++_i1236) + uint32_t _size1225; + ::apache::thrift::protocol::TType _ktype1226; + ::apache::thrift::protocol::TType _vtype1227; + xfer += iprot->readMapBegin(_ktype1226, _vtype1227, _size1225); + uint32_t _i1229; + for (_i1229 = 0; _i1229 < _size1225; ++_i1229) { - std::string _key1237; - xfer += iprot->readString(_key1237); - Type& _val1238 = (*(this->success))[_key1237]; - xfer += _val1238.read(iprot); + std::string _key1230; + xfer += iprot->readString(_key1230); + Type& _val1231 = (*(this->success))[_key1230]; + xfer += _val1231.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3977,14 +3977,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1239; - ::apache::thrift::protocol::TType _etype1242; - xfer += iprot->readListBegin(_etype1242, _size1239); - this->success.resize(_size1239); - uint32_t _i1243; - for (_i1243 = 0; _i1243 < _size1239; ++_i1243) + uint32_t _size1232; + ::apache::thrift::protocol::TType _etype1235; + xfer += iprot->readListBegin(_etype1235, _size1232); + this->success.resize(_size1232); + uint32_t _i1236; + for (_i1236 = 0; _i1236 < _size1232; ++_i1236) { - xfer += this->success[_i1243].read(iprot); + xfer += this->success[_i1236].read(iprot); } xfer += iprot->readListEnd(); } @@ -4039,10 +4039,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 _iter1244; - for (_iter1244 = this->success.begin(); _iter1244 != this->success.end(); ++_iter1244) + std::vector ::const_iterator _iter1237; + for (_iter1237 = this->success.begin(); _iter1237 != this->success.end(); ++_iter1237) { - xfer += (*_iter1244).write(oprot); + xfer += (*_iter1237).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4095,14 +4095,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1245; - ::apache::thrift::protocol::TType _etype1248; - xfer += iprot->readListBegin(_etype1248, _size1245); - (*(this->success)).resize(_size1245); - uint32_t _i1249; - for (_i1249 = 0; _i1249 < _size1245; ++_i1249) + uint32_t _size1238; + ::apache::thrift::protocol::TType _etype1241; + xfer += iprot->readListBegin(_etype1241, _size1238); + (*(this->success)).resize(_size1238); + uint32_t _i1242; + for (_i1242 = 0; _i1242 < _size1238; ++_i1242) { - xfer += (*(this->success))[_i1249].read(iprot); + xfer += (*(this->success))[_i1242].read(iprot); } xfer += iprot->readListEnd(); } @@ -4288,14 +4288,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1250; - ::apache::thrift::protocol::TType _etype1253; - xfer += iprot->readListBegin(_etype1253, _size1250); - this->success.resize(_size1250); - uint32_t _i1254; - for (_i1254 = 0; _i1254 < _size1250; ++_i1254) + uint32_t _size1243; + ::apache::thrift::protocol::TType _etype1246; + xfer += iprot->readListBegin(_etype1246, _size1243); + this->success.resize(_size1243); + uint32_t _i1247; + for (_i1247 = 0; _i1247 < _size1243; ++_i1247) { - xfer += this->success[_i1254].read(iprot); + xfer += this->success[_i1247].read(iprot); } xfer += iprot->readListEnd(); } @@ -4350,10 +4350,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 _iter1255; - for (_iter1255 = this->success.begin(); _iter1255 != this->success.end(); ++_iter1255) + std::vector ::const_iterator _iter1248; + for (_iter1248 = this->success.begin(); _iter1248 != this->success.end(); ++_iter1248) { - xfer += (*_iter1255).write(oprot); + xfer += (*_iter1248).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4406,14 +4406,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1256; - ::apache::thrift::protocol::TType _etype1259; - xfer += iprot->readListBegin(_etype1259, _size1256); - (*(this->success)).resize(_size1256); - uint32_t _i1260; - for (_i1260 = 0; _i1260 < _size1256; ++_i1260) + uint32_t _size1249; + ::apache::thrift::protocol::TType _etype1252; + xfer += iprot->readListBegin(_etype1252, _size1249); + (*(this->success)).resize(_size1249); + uint32_t _i1253; + for (_i1253 = 0; _i1253 < _size1249; ++_i1253) { - xfer += (*(this->success))[_i1260].read(iprot); + xfer += (*(this->success))[_i1253].read(iprot); } xfer += iprot->readListEnd(); } @@ -4583,14 +4583,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1261; - ::apache::thrift::protocol::TType _etype1264; - xfer += iprot->readListBegin(_etype1264, _size1261); - this->success.resize(_size1261); - uint32_t _i1265; - for (_i1265 = 0; _i1265 < _size1261; ++_i1265) + uint32_t _size1254; + ::apache::thrift::protocol::TType _etype1257; + xfer += iprot->readListBegin(_etype1257, _size1254); + this->success.resize(_size1254); + uint32_t _i1258; + for (_i1258 = 0; _i1258 < _size1254; ++_i1258) { - xfer += this->success[_i1265].read(iprot); + xfer += this->success[_i1258].read(iprot); } xfer += iprot->readListEnd(); } @@ -4645,10 +4645,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 _iter1266; - for (_iter1266 = this->success.begin(); _iter1266 != this->success.end(); ++_iter1266) + std::vector ::const_iterator _iter1259; + for (_iter1259 = this->success.begin(); _iter1259 != this->success.end(); ++_iter1259) { - xfer += (*_iter1266).write(oprot); + xfer += (*_iter1259).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4701,14 +4701,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1267; - ::apache::thrift::protocol::TType _etype1270; - xfer += iprot->readListBegin(_etype1270, _size1267); - (*(this->success)).resize(_size1267); - uint32_t _i1271; - for (_i1271 = 0; _i1271 < _size1267; ++_i1271) + uint32_t _size1260; + ::apache::thrift::protocol::TType _etype1263; + xfer += iprot->readListBegin(_etype1263, _size1260); + (*(this->success)).resize(_size1260); + uint32_t _i1264; + for (_i1264 = 0; _i1264 < _size1260; ++_i1264) { - xfer += (*(this->success))[_i1271].read(iprot); + xfer += (*(this->success))[_i1264].read(iprot); } xfer += iprot->readListEnd(); } @@ -4894,14 +4894,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1272; - ::apache::thrift::protocol::TType _etype1275; - xfer += iprot->readListBegin(_etype1275, _size1272); - this->success.resize(_size1272); - uint32_t _i1276; - for (_i1276 = 0; _i1276 < _size1272; ++_i1276) + uint32_t _size1265; + ::apache::thrift::protocol::TType _etype1268; + xfer += iprot->readListBegin(_etype1268, _size1265); + this->success.resize(_size1265); + uint32_t _i1269; + for (_i1269 = 0; _i1269 < _size1265; ++_i1269) { - xfer += this->success[_i1276].read(iprot); + xfer += this->success[_i1269].read(iprot); } xfer += iprot->readListEnd(); } @@ -4956,10 +4956,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 _iter1277; - for (_iter1277 = this->success.begin(); _iter1277 != this->success.end(); ++_iter1277) + std::vector ::const_iterator _iter1270; + for (_iter1270 = this->success.begin(); _iter1270 != this->success.end(); ++_iter1270) { - xfer += (*_iter1277).write(oprot); + xfer += (*_iter1270).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5012,14 +5012,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1278; - ::apache::thrift::protocol::TType _etype1281; - xfer += iprot->readListBegin(_etype1281, _size1278); - (*(this->success)).resize(_size1278); - uint32_t _i1282; - for (_i1282 = 0; _i1282 < _size1278; ++_i1282) + uint32_t _size1271; + ::apache::thrift::protocol::TType _etype1274; + xfer += iprot->readListBegin(_etype1274, _size1271); + (*(this->success)).resize(_size1271); + uint32_t _i1275; + for (_i1275 = 0; _i1275 < _size1271; ++_i1275) { - xfer += (*(this->success))[_i1282].read(iprot); + xfer += (*(this->success))[_i1275].read(iprot); } xfer += iprot->readListEnd(); } @@ -5612,14 +5612,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1283; - ::apache::thrift::protocol::TType _etype1286; - xfer += iprot->readListBegin(_etype1286, _size1283); - this->primaryKeys.resize(_size1283); - uint32_t _i1287; - for (_i1287 = 0; _i1287 < _size1283; ++_i1287) + uint32_t _size1276; + ::apache::thrift::protocol::TType _etype1279; + xfer += iprot->readListBegin(_etype1279, _size1276); + this->primaryKeys.resize(_size1276); + uint32_t _i1280; + for (_i1280 = 0; _i1280 < _size1276; ++_i1280) { - xfer += this->primaryKeys[_i1287].read(iprot); + xfer += this->primaryKeys[_i1280].read(iprot); } xfer += iprot->readListEnd(); } @@ -5632,14 +5632,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1288; - ::apache::thrift::protocol::TType _etype1291; - xfer += iprot->readListBegin(_etype1291, _size1288); - this->foreignKeys.resize(_size1288); - uint32_t _i1292; - for (_i1292 = 0; _i1292 < _size1288; ++_i1292) + uint32_t _size1281; + ::apache::thrift::protocol::TType _etype1284; + xfer += iprot->readListBegin(_etype1284, _size1281); + this->foreignKeys.resize(_size1281); + uint32_t _i1285; + for (_i1285 = 0; _i1285 < _size1281; ++_i1285) { - xfer += this->foreignKeys[_i1292].read(iprot); + xfer += this->foreignKeys[_i1285].read(iprot); } xfer += iprot->readListEnd(); } @@ -5652,14 +5652,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1293; - ::apache::thrift::protocol::TType _etype1296; - xfer += iprot->readListBegin(_etype1296, _size1293); - this->uniqueConstraints.resize(_size1293); - uint32_t _i1297; - for (_i1297 = 0; _i1297 < _size1293; ++_i1297) + uint32_t _size1286; + ::apache::thrift::protocol::TType _etype1289; + xfer += iprot->readListBegin(_etype1289, _size1286); + this->uniqueConstraints.resize(_size1286); + uint32_t _i1290; + for (_i1290 = 0; _i1290 < _size1286; ++_i1290) { - xfer += this->uniqueConstraints[_i1297].read(iprot); + xfer += this->uniqueConstraints[_i1290].read(iprot); } xfer += iprot->readListEnd(); } @@ -5672,14 +5672,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1298; - ::apache::thrift::protocol::TType _etype1301; - xfer += iprot->readListBegin(_etype1301, _size1298); - this->notNullConstraints.resize(_size1298); - uint32_t _i1302; - for (_i1302 = 0; _i1302 < _size1298; ++_i1302) + uint32_t _size1291; + ::apache::thrift::protocol::TType _etype1294; + xfer += iprot->readListBegin(_etype1294, _size1291); + this->notNullConstraints.resize(_size1291); + uint32_t _i1295; + for (_i1295 = 0; _i1295 < _size1291; ++_i1295) { - xfer += this->notNullConstraints[_i1302].read(iprot); + xfer += this->notNullConstraints[_i1295].read(iprot); } xfer += iprot->readListEnd(); } @@ -5692,14 +5692,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1303; - ::apache::thrift::protocol::TType _etype1306; - xfer += iprot->readListBegin(_etype1306, _size1303); - this->defaultConstraints.resize(_size1303); - uint32_t _i1307; - for (_i1307 = 0; _i1307 < _size1303; ++_i1307) + uint32_t _size1296; + ::apache::thrift::protocol::TType _etype1299; + xfer += iprot->readListBegin(_etype1299, _size1296); + this->defaultConstraints.resize(_size1296); + uint32_t _i1300; + for (_i1300 = 0; _i1300 < _size1296; ++_i1300) { - xfer += this->defaultConstraints[_i1307].read(iprot); + xfer += this->defaultConstraints[_i1300].read(iprot); } xfer += iprot->readListEnd(); } @@ -5712,14 +5712,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size1308; - ::apache::thrift::protocol::TType _etype1311; - xfer += iprot->readListBegin(_etype1311, _size1308); - this->checkConstraints.resize(_size1308); - uint32_t _i1312; - for (_i1312 = 0; _i1312 < _size1308; ++_i1312) + uint32_t _size1301; + ::apache::thrift::protocol::TType _etype1304; + xfer += iprot->readListBegin(_etype1304, _size1301); + this->checkConstraints.resize(_size1301); + uint32_t _i1305; + for (_i1305 = 0; _i1305 < _size1301; ++_i1305) { - xfer += this->checkConstraints[_i1312].read(iprot); + xfer += this->checkConstraints[_i1305].read(iprot); } xfer += iprot->readListEnd(); } @@ -5752,10 +5752,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 _iter1313; - for (_iter1313 = this->primaryKeys.begin(); _iter1313 != this->primaryKeys.end(); ++_iter1313) + std::vector ::const_iterator _iter1306; + for (_iter1306 = this->primaryKeys.begin(); _iter1306 != this->primaryKeys.end(); ++_iter1306) { - xfer += (*_iter1313).write(oprot); + xfer += (*_iter1306).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5764,10 +5764,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 _iter1314; - for (_iter1314 = this->foreignKeys.begin(); _iter1314 != this->foreignKeys.end(); ++_iter1314) + std::vector ::const_iterator _iter1307; + for (_iter1307 = this->foreignKeys.begin(); _iter1307 != this->foreignKeys.end(); ++_iter1307) { - xfer += (*_iter1314).write(oprot); + xfer += (*_iter1307).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5776,10 +5776,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 _iter1315; - for (_iter1315 = this->uniqueConstraints.begin(); _iter1315 != this->uniqueConstraints.end(); ++_iter1315) + std::vector ::const_iterator _iter1308; + for (_iter1308 = this->uniqueConstraints.begin(); _iter1308 != this->uniqueConstraints.end(); ++_iter1308) { - xfer += (*_iter1315).write(oprot); + xfer += (*_iter1308).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5788,10 +5788,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 _iter1316; - for (_iter1316 = this->notNullConstraints.begin(); _iter1316 != this->notNullConstraints.end(); ++_iter1316) + std::vector ::const_iterator _iter1309; + for (_iter1309 = this->notNullConstraints.begin(); _iter1309 != this->notNullConstraints.end(); ++_iter1309) { - xfer += (*_iter1316).write(oprot); + xfer += (*_iter1309).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5800,10 +5800,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 _iter1317; - for (_iter1317 = this->defaultConstraints.begin(); _iter1317 != this->defaultConstraints.end(); ++_iter1317) + std::vector ::const_iterator _iter1310; + for (_iter1310 = this->defaultConstraints.begin(); _iter1310 != this->defaultConstraints.end(); ++_iter1310) { - xfer += (*_iter1317).write(oprot); + xfer += (*_iter1310).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5812,10 +5812,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 _iter1318; - for (_iter1318 = this->checkConstraints.begin(); _iter1318 != this->checkConstraints.end(); ++_iter1318) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->checkConstraints.begin(); _iter1311 != this->checkConstraints.end(); ++_iter1311) { - xfer += (*_iter1318).write(oprot); + xfer += (*_iter1311).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5843,10 +5843,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 _iter1319; - for (_iter1319 = (*(this->primaryKeys)).begin(); _iter1319 != (*(this->primaryKeys)).end(); ++_iter1319) + std::vector ::const_iterator _iter1312; + for (_iter1312 = (*(this->primaryKeys)).begin(); _iter1312 != (*(this->primaryKeys)).end(); ++_iter1312) { - xfer += (*_iter1319).write(oprot); + xfer += (*_iter1312).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5855,10 +5855,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 _iter1320; - for (_iter1320 = (*(this->foreignKeys)).begin(); _iter1320 != (*(this->foreignKeys)).end(); ++_iter1320) + std::vector ::const_iterator _iter1313; + for (_iter1313 = (*(this->foreignKeys)).begin(); _iter1313 != (*(this->foreignKeys)).end(); ++_iter1313) { - xfer += (*_iter1320).write(oprot); + xfer += (*_iter1313).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5867,10 +5867,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 _iter1321; - for (_iter1321 = (*(this->uniqueConstraints)).begin(); _iter1321 != (*(this->uniqueConstraints)).end(); ++_iter1321) + std::vector ::const_iterator _iter1314; + for (_iter1314 = (*(this->uniqueConstraints)).begin(); _iter1314 != (*(this->uniqueConstraints)).end(); ++_iter1314) { - xfer += (*_iter1321).write(oprot); + xfer += (*_iter1314).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5879,10 +5879,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 _iter1322; - for (_iter1322 = (*(this->notNullConstraints)).begin(); _iter1322 != (*(this->notNullConstraints)).end(); ++_iter1322) + std::vector ::const_iterator _iter1315; + for (_iter1315 = (*(this->notNullConstraints)).begin(); _iter1315 != (*(this->notNullConstraints)).end(); ++_iter1315) { - xfer += (*_iter1322).write(oprot); + xfer += (*_iter1315).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5891,10 +5891,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 _iter1323; - for (_iter1323 = (*(this->defaultConstraints)).begin(); _iter1323 != (*(this->defaultConstraints)).end(); ++_iter1323) + std::vector ::const_iterator _iter1316; + for (_iter1316 = (*(this->defaultConstraints)).begin(); _iter1316 != (*(this->defaultConstraints)).end(); ++_iter1316) { - xfer += (*_iter1323).write(oprot); + xfer += (*_iter1316).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5903,10 +5903,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 _iter1324; - for (_iter1324 = (*(this->checkConstraints)).begin(); _iter1324 != (*(this->checkConstraints)).end(); ++_iter1324) + std::vector ::const_iterator _iter1317; + for (_iter1317 = (*(this->checkConstraints)).begin(); _iter1317 != (*(this->checkConstraints)).end(); ++_iter1317) { - xfer += (*_iter1324).write(oprot); + xfer += (*_iter1317).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8074,14 +8074,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1325; - ::apache::thrift::protocol::TType _etype1328; - xfer += iprot->readListBegin(_etype1328, _size1325); - this->partNames.resize(_size1325); - uint32_t _i1329; - for (_i1329 = 0; _i1329 < _size1325; ++_i1329) + uint32_t _size1318; + ::apache::thrift::protocol::TType _etype1321; + xfer += iprot->readListBegin(_etype1321, _size1318); + this->partNames.resize(_size1318); + uint32_t _i1322; + for (_i1322 = 0; _i1322 < _size1318; ++_i1322) { - xfer += iprot->readString(this->partNames[_i1329]); + xfer += iprot->readString(this->partNames[_i1322]); } xfer += iprot->readListEnd(); } @@ -8118,10 +8118,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 _iter1330; - for (_iter1330 = this->partNames.begin(); _iter1330 != this->partNames.end(); ++_iter1330) + std::vector ::const_iterator _iter1323; + for (_iter1323 = this->partNames.begin(); _iter1323 != this->partNames.end(); ++_iter1323) { - xfer += oprot->writeString((*_iter1330)); + xfer += oprot->writeString((*_iter1323)); } xfer += oprot->writeListEnd(); } @@ -8153,10 +8153,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 _iter1331; - for (_iter1331 = (*(this->partNames)).begin(); _iter1331 != (*(this->partNames)).end(); ++_iter1331) + std::vector ::const_iterator _iter1324; + for (_iter1324 = (*(this->partNames)).begin(); _iter1324 != (*(this->partNames)).end(); ++_iter1324) { - xfer += oprot->writeString((*_iter1331)); + xfer += oprot->writeString((*_iter1324)); } xfer += oprot->writeListEnd(); } @@ -8400,14 +8400,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1332; - ::apache::thrift::protocol::TType _etype1335; - xfer += iprot->readListBegin(_etype1335, _size1332); - this->success.resize(_size1332); - uint32_t _i1336; - for (_i1336 = 0; _i1336 < _size1332; ++_i1336) + uint32_t _size1325; + ::apache::thrift::protocol::TType _etype1328; + xfer += iprot->readListBegin(_etype1328, _size1325); + this->success.resize(_size1325); + uint32_t _i1329; + for (_i1329 = 0; _i1329 < _size1325; ++_i1329) { - xfer += iprot->readString(this->success[_i1336]); + xfer += iprot->readString(this->success[_i1329]); } xfer += iprot->readListEnd(); } @@ -8446,10 +8446,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 _iter1337; - for (_iter1337 = this->success.begin(); _iter1337 != this->success.end(); ++_iter1337) + std::vector ::const_iterator _iter1330; + for (_iter1330 = this->success.begin(); _iter1330 != this->success.end(); ++_iter1330) { - xfer += oprot->writeString((*_iter1337)); + xfer += oprot->writeString((*_iter1330)); } xfer += oprot->writeListEnd(); } @@ -8494,14 +8494,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1338; - ::apache::thrift::protocol::TType _etype1341; - xfer += iprot->readListBegin(_etype1341, _size1338); - (*(this->success)).resize(_size1338); - uint32_t _i1342; - for (_i1342 = 0; _i1342 < _size1338; ++_i1342) + uint32_t _size1331; + ::apache::thrift::protocol::TType _etype1334; + xfer += iprot->readListBegin(_etype1334, _size1331); + (*(this->success)).resize(_size1331); + uint32_t _i1335; + for (_i1335 = 0; _i1335 < _size1331; ++_i1335) { - xfer += iprot->readString((*(this->success))[_i1342]); + xfer += iprot->readString((*(this->success))[_i1335]); } xfer += iprot->readListEnd(); } @@ -8671,14 +8671,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 _size1343; - ::apache::thrift::protocol::TType _etype1346; - xfer += iprot->readListBegin(_etype1346, _size1343); - this->success.resize(_size1343); - uint32_t _i1347; - for (_i1347 = 0; _i1347 < _size1343; ++_i1347) + uint32_t _size1336; + ::apache::thrift::protocol::TType _etype1339; + xfer += iprot->readListBegin(_etype1339, _size1336); + this->success.resize(_size1336); + uint32_t _i1340; + for (_i1340 = 0; _i1340 < _size1336; ++_i1340) { - xfer += iprot->readString(this->success[_i1347]); + xfer += iprot->readString(this->success[_i1340]); } xfer += iprot->readListEnd(); } @@ -8717,10 +8717,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 _iter1348; - for (_iter1348 = this->success.begin(); _iter1348 != this->success.end(); ++_iter1348) + std::vector ::const_iterator _iter1341; + for (_iter1341 = this->success.begin(); _iter1341 != this->success.end(); ++_iter1341) { - xfer += oprot->writeString((*_iter1348)); + xfer += oprot->writeString((*_iter1341)); } xfer += oprot->writeListEnd(); } @@ -8765,14 +8765,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1349; - ::apache::thrift::protocol::TType _etype1352; - xfer += iprot->readListBegin(_etype1352, _size1349); - (*(this->success)).resize(_size1349); - uint32_t _i1353; - for (_i1353 = 0; _i1353 < _size1349; ++_i1353) + uint32_t _size1342; + ::apache::thrift::protocol::TType _etype1345; + xfer += iprot->readListBegin(_etype1345, _size1342); + (*(this->success)).resize(_size1342); + uint32_t _i1346; + for (_i1346 = 0; _i1346 < _size1342; ++_i1346) { - xfer += iprot->readString((*(this->success))[_i1353]); + xfer += iprot->readString((*(this->success))[_i1346]); } xfer += iprot->readListEnd(); } @@ -8910,14 +8910,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1354; - ::apache::thrift::protocol::TType _etype1357; - xfer += iprot->readListBegin(_etype1357, _size1354); - this->success.resize(_size1354); - uint32_t _i1358; - for (_i1358 = 0; _i1358 < _size1354; ++_i1358) + uint32_t _size1347; + ::apache::thrift::protocol::TType _etype1350; + xfer += iprot->readListBegin(_etype1350, _size1347); + this->success.resize(_size1347); + uint32_t _i1351; + for (_i1351 = 0; _i1351 < _size1347; ++_i1351) { - xfer += iprot->readString(this->success[_i1358]); + xfer += iprot->readString(this->success[_i1351]); } xfer += iprot->readListEnd(); } @@ -8956,10 +8956,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 _iter1359; - for (_iter1359 = this->success.begin(); _iter1359 != this->success.end(); ++_iter1359) + std::vector ::const_iterator _iter1352; + for (_iter1352 = this->success.begin(); _iter1352 != this->success.end(); ++_iter1352) { - xfer += oprot->writeString((*_iter1359)); + xfer += oprot->writeString((*_iter1352)); } xfer += oprot->writeListEnd(); } @@ -9004,14 +9004,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1360; - ::apache::thrift::protocol::TType _etype1363; - xfer += iprot->readListBegin(_etype1363, _size1360); - (*(this->success)).resize(_size1360); - uint32_t _i1364; - for (_i1364 = 0; _i1364 < _size1360; ++_i1364) + uint32_t _size1353; + ::apache::thrift::protocol::TType _etype1356; + xfer += iprot->readListBegin(_etype1356, _size1353); + (*(this->success)).resize(_size1353); + uint32_t _i1357; + for (_i1357 = 0; _i1357 < _size1353; ++_i1357) { - xfer += iprot->readString((*(this->success))[_i1364]); + xfer += iprot->readString((*(this->success))[_i1357]); } xfer += iprot->readListEnd(); } @@ -9086,14 +9086,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 _size1365; - ::apache::thrift::protocol::TType _etype1368; - xfer += iprot->readListBegin(_etype1368, _size1365); - this->tbl_types.resize(_size1365); - uint32_t _i1369; - for (_i1369 = 0; _i1369 < _size1365; ++_i1369) + uint32_t _size1358; + ::apache::thrift::protocol::TType _etype1361; + xfer += iprot->readListBegin(_etype1361, _size1358); + this->tbl_types.resize(_size1358); + uint32_t _i1362; + for (_i1362 = 0; _i1362 < _size1358; ++_i1362) { - xfer += iprot->readString(this->tbl_types[_i1369]); + xfer += iprot->readString(this->tbl_types[_i1362]); } xfer += iprot->readListEnd(); } @@ -9130,10 +9130,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 _iter1370; - for (_iter1370 = this->tbl_types.begin(); _iter1370 != this->tbl_types.end(); ++_iter1370) + std::vector ::const_iterator _iter1363; + for (_iter1363 = this->tbl_types.begin(); _iter1363 != this->tbl_types.end(); ++_iter1363) { - xfer += oprot->writeString((*_iter1370)); + xfer += oprot->writeString((*_iter1363)); } xfer += oprot->writeListEnd(); } @@ -9165,10 +9165,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 _iter1371; - for (_iter1371 = (*(this->tbl_types)).begin(); _iter1371 != (*(this->tbl_types)).end(); ++_iter1371) + std::vector ::const_iterator _iter1364; + for (_iter1364 = (*(this->tbl_types)).begin(); _iter1364 != (*(this->tbl_types)).end(); ++_iter1364) { - xfer += oprot->writeString((*_iter1371)); + xfer += oprot->writeString((*_iter1364)); } xfer += oprot->writeListEnd(); } @@ -9209,14 +9209,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1372; - ::apache::thrift::protocol::TType _etype1375; - xfer += iprot->readListBegin(_etype1375, _size1372); - this->success.resize(_size1372); - uint32_t _i1376; - for (_i1376 = 0; _i1376 < _size1372; ++_i1376) + uint32_t _size1365; + ::apache::thrift::protocol::TType _etype1368; + xfer += iprot->readListBegin(_etype1368, _size1365); + this->success.resize(_size1365); + uint32_t _i1369; + for (_i1369 = 0; _i1369 < _size1365; ++_i1369) { - xfer += this->success[_i1376].read(iprot); + xfer += this->success[_i1369].read(iprot); } xfer += iprot->readListEnd(); } @@ -9255,10 +9255,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 _iter1377; - for (_iter1377 = this->success.begin(); _iter1377 != this->success.end(); ++_iter1377) + std::vector ::const_iterator _iter1370; + for (_iter1370 = this->success.begin(); _iter1370 != this->success.end(); ++_iter1370) { - xfer += (*_iter1377).write(oprot); + xfer += (*_iter1370).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9303,14 +9303,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1378; - ::apache::thrift::protocol::TType _etype1381; - xfer += iprot->readListBegin(_etype1381, _size1378); - (*(this->success)).resize(_size1378); - uint32_t _i1382; - for (_i1382 = 0; _i1382 < _size1378; ++_i1382) + uint32_t _size1371; + ::apache::thrift::protocol::TType _etype1374; + xfer += iprot->readListBegin(_etype1374, _size1371); + (*(this->success)).resize(_size1371); + uint32_t _i1375; + for (_i1375 = 0; _i1375 < _size1371; ++_i1375) { - xfer += (*(this->success))[_i1382].read(iprot); + xfer += (*(this->success))[_i1375].read(iprot); } xfer += iprot->readListEnd(); } @@ -9448,14 +9448,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1383; - ::apache::thrift::protocol::TType _etype1386; - xfer += iprot->readListBegin(_etype1386, _size1383); - this->success.resize(_size1383); - uint32_t _i1387; - for (_i1387 = 0; _i1387 < _size1383; ++_i1387) + uint32_t _size1376; + ::apache::thrift::protocol::TType _etype1379; + xfer += iprot->readListBegin(_etype1379, _size1376); + this->success.resize(_size1376); + uint32_t _i1380; + for (_i1380 = 0; _i1380 < _size1376; ++_i1380) { - xfer += iprot->readString(this->success[_i1387]); + xfer += iprot->readString(this->success[_i1380]); } xfer += iprot->readListEnd(); } @@ -9494,10 +9494,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 _iter1388; - for (_iter1388 = this->success.begin(); _iter1388 != this->success.end(); ++_iter1388) + std::vector ::const_iterator _iter1381; + for (_iter1381 = this->success.begin(); _iter1381 != this->success.end(); ++_iter1381) { - xfer += oprot->writeString((*_iter1388)); + xfer += oprot->writeString((*_iter1381)); } xfer += oprot->writeListEnd(); } @@ -9542,14 +9542,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1389; - ::apache::thrift::protocol::TType _etype1392; - xfer += iprot->readListBegin(_etype1392, _size1389); - (*(this->success)).resize(_size1389); - uint32_t _i1393; - for (_i1393 = 0; _i1393 < _size1389; ++_i1393) + uint32_t _size1382; + ::apache::thrift::protocol::TType _etype1385; + xfer += iprot->readListBegin(_etype1385, _size1382); + (*(this->success)).resize(_size1382); + uint32_t _i1386; + for (_i1386 = 0; _i1386 < _size1382; ++_i1386) { - xfer += iprot->readString((*(this->success))[_i1393]); + xfer += iprot->readString((*(this->success))[_i1386]); } xfer += iprot->readListEnd(); } @@ -9859,14 +9859,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1394; - ::apache::thrift::protocol::TType _etype1397; - xfer += iprot->readListBegin(_etype1397, _size1394); - this->tbl_names.resize(_size1394); - uint32_t _i1398; - for (_i1398 = 0; _i1398 < _size1394; ++_i1398) + uint32_t _size1387; + ::apache::thrift::protocol::TType _etype1390; + xfer += iprot->readListBegin(_etype1390, _size1387); + this->tbl_names.resize(_size1387); + uint32_t _i1391; + for (_i1391 = 0; _i1391 < _size1387; ++_i1391) { - xfer += iprot->readString(this->tbl_names[_i1398]); + xfer += iprot->readString(this->tbl_names[_i1391]); } xfer += iprot->readListEnd(); } @@ -9899,10 +9899,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1399; - for (_iter1399 = this->tbl_names.begin(); _iter1399 != this->tbl_names.end(); ++_iter1399) + std::vector ::const_iterator _iter1392; + for (_iter1392 = this->tbl_names.begin(); _iter1392 != this->tbl_names.end(); ++_iter1392) { - xfer += oprot->writeString((*_iter1399)); + xfer += oprot->writeString((*_iter1392)); } xfer += oprot->writeListEnd(); } @@ -9930,10 +9930,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1400; - for (_iter1400 = (*(this->tbl_names)).begin(); _iter1400 != (*(this->tbl_names)).end(); ++_iter1400) + std::vector ::const_iterator _iter1393; + for (_iter1393 = (*(this->tbl_names)).begin(); _iter1393 != (*(this->tbl_names)).end(); ++_iter1393) { - xfer += oprot->writeString((*_iter1400)); + xfer += oprot->writeString((*_iter1393)); } xfer += oprot->writeListEnd(); } @@ -9974,14 +9974,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - this->success.resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1394; + ::apache::thrift::protocol::TType _etype1397; + xfer += iprot->readListBegin(_etype1397, _size1394); + this->success.resize(_size1394); + uint32_t _i1398; + for (_i1398 = 0; _i1398 < _size1394; ++_i1398) { - xfer += this->success[_i1405].read(iprot); + xfer += this->success[_i1398].read(iprot); } xfer += iprot->readListEnd(); } @@ -10012,10 +10012,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector
::const_iterator _iter1406; - for (_iter1406 = this->success.begin(); _iter1406 != this->success.end(); ++_iter1406) + std::vector
::const_iterator _iter1399; + for (_iter1399 = this->success.begin(); _iter1399 != this->success.end(); ++_iter1399) { - xfer += (*_iter1406).write(oprot); + xfer += (*_iter1399).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10056,14 +10056,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1407; - ::apache::thrift::protocol::TType _etype1410; - xfer += iprot->readListBegin(_etype1410, _size1407); - (*(this->success)).resize(_size1407); - uint32_t _i1411; - for (_i1411 = 0; _i1411 < _size1407; ++_i1411) + uint32_t _size1400; + ::apache::thrift::protocol::TType _etype1403; + xfer += iprot->readListBegin(_etype1403, _size1400); + (*(this->success)).resize(_size1400); + uint32_t _i1404; + for (_i1404 = 0; _i1404 < _size1400; ++_i1404) { - xfer += (*(this->success))[_i1411].read(iprot); + xfer += (*(this->success))[_i1404].read(iprot); } xfer += iprot->readListEnd(); } @@ -10585,29 +10585,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: switch (fid) { case 1: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->dbname); - this->__isset.dbname = true; + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->creation_metadata.read(iprot); + this->__isset.creation_metadata = true; } else { xfer += iprot->skip(ftype); } break; case 2: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->tbl_names.clear(); - uint32_t _size1412; - ::apache::thrift::protocol::TType _etype1415; - xfer += iprot->readListBegin(_etype1415, _size1412); - this->tbl_names.resize(_size1412); - uint32_t _i1416; - for (_i1416 = 0; _i1416 < _size1412; ++_i1416) - { - xfer += iprot->readString(this->tbl_names[_i1416]); - } - xfer += iprot->readListEnd(); - } - this->__isset.tbl_names = true; + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validTxnList); + this->__isset.validTxnList = true; } else { xfer += iprot->skip(ftype); } @@ -10629,20 +10617,12 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(: apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_materialization_invalidation_info_args"); - xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->dbname); + xfer += oprot->writeFieldBegin("creation_metadata", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->creation_metadata.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1417; - for (_iter1417 = this->tbl_names.begin(); _iter1417 != this->tbl_names.end(); ++_iter1417) - { - xfer += oprot->writeString((*_iter1417)); - } - xfer += oprot->writeListEnd(); - } + xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->validTxnList); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -10660,20 +10640,12 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write( apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_materialization_invalidation_info_pargs"); - xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString((*(this->dbname))); + xfer += oprot->writeFieldBegin("creation_metadata", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->creation_metadata)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1418; - for (_iter1418 = (*(this->tbl_names)).begin(); _iter1418 != (*(this->tbl_names)).end(); ++_iter1418) - { - xfer += oprot->writeString((*_iter1418)); - } - xfer += oprot->writeListEnd(); - } + xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->validTxnList))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -10708,23 +10680,8 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->success.clear(); - uint32_t _size1419; - ::apache::thrift::protocol::TType _ktype1420; - ::apache::thrift::protocol::TType _vtype1421; - xfer += iprot->readMapBegin(_ktype1420, _vtype1421, _size1419); - uint32_t _i1423; - for (_i1423 = 0; _i1423 < _size1419; ++_i1423) - { - std::string _key1424; - xfer += iprot->readString(_key1424); - Materialization& _val1425 = this->success[_key1424]; - xfer += _val1425.read(iprot); - } - xfer += iprot->readMapEnd(); - } + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -10773,17 +10730,8 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::write xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_materialization_invalidation_info_result"); if (this->__isset.success) { - 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 _iter1426; - for (_iter1426 = this->success.begin(); _iter1426 != this->success.end(); ++_iter1426) - { - xfer += oprot->writeString(_iter1426->first); - xfer += _iter1426->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); xfer += oprot->writeFieldEnd(); } else if (this->__isset.o1) { xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); @@ -10830,23 +10778,8 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - (*(this->success)).clear(); - uint32_t _size1427; - ::apache::thrift::protocol::TType _ktype1428; - ::apache::thrift::protocol::TType _vtype1429; - xfer += iprot->readMapBegin(_ktype1428, _vtype1429, _size1427); - uint32_t _i1431; - for (_i1431 = 0; _i1431 < _size1427; ++_i1431) - { - std::string _key1432; - xfer += iprot->readString(_key1432); - Materialization& _val1433 = (*(this->success))[_key1432]; - xfer += _val1433.read(iprot); - } - xfer += iprot->readMapEnd(); - } + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -11304,14 +11237,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 _size1434; - ::apache::thrift::protocol::TType _etype1437; - xfer += iprot->readListBegin(_etype1437, _size1434); - this->success.resize(_size1434); - uint32_t _i1438; - for (_i1438 = 0; _i1438 < _size1434; ++_i1438) + uint32_t _size1405; + ::apache::thrift::protocol::TType _etype1408; + xfer += iprot->readListBegin(_etype1408, _size1405); + this->success.resize(_size1405); + uint32_t _i1409; + for (_i1409 = 0; _i1409 < _size1405; ++_i1409) { - xfer += iprot->readString(this->success[_i1438]); + xfer += iprot->readString(this->success[_i1409]); } xfer += iprot->readListEnd(); } @@ -11366,10 +11299,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 _iter1439; - for (_iter1439 = this->success.begin(); _iter1439 != this->success.end(); ++_iter1439) + std::vector ::const_iterator _iter1410; + for (_iter1410 = this->success.begin(); _iter1410 != this->success.end(); ++_iter1410) { - xfer += oprot->writeString((*_iter1439)); + xfer += oprot->writeString((*_iter1410)); } xfer += oprot->writeListEnd(); } @@ -11422,14 +11355,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 _size1440; - ::apache::thrift::protocol::TType _etype1443; - xfer += iprot->readListBegin(_etype1443, _size1440); - (*(this->success)).resize(_size1440); - uint32_t _i1444; - for (_i1444 = 0; _i1444 < _size1440; ++_i1444) + uint32_t _size1411; + ::apache::thrift::protocol::TType _etype1414; + xfer += iprot->readListBegin(_etype1414, _size1411); + (*(this->success)).resize(_size1411); + uint32_t _i1415; + for (_i1415 = 0; _i1415 < _size1411; ++_i1415) { - xfer += iprot->readString((*(this->success))[_i1444]); + xfer += iprot->readString((*(this->success))[_i1415]); } xfer += iprot->readListEnd(); } @@ -12763,14 +12696,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1445; - ::apache::thrift::protocol::TType _etype1448; - xfer += iprot->readListBegin(_etype1448, _size1445); - this->new_parts.resize(_size1445); - uint32_t _i1449; - for (_i1449 = 0; _i1449 < _size1445; ++_i1449) + uint32_t _size1416; + ::apache::thrift::protocol::TType _etype1419; + xfer += iprot->readListBegin(_etype1419, _size1416); + this->new_parts.resize(_size1416); + uint32_t _i1420; + for (_i1420 = 0; _i1420 < _size1416; ++_i1420) { - xfer += this->new_parts[_i1449].read(iprot); + xfer += this->new_parts[_i1420].read(iprot); } xfer += iprot->readListEnd(); } @@ -12799,10 +12732,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 _iter1450; - for (_iter1450 = this->new_parts.begin(); _iter1450 != this->new_parts.end(); ++_iter1450) + std::vector ::const_iterator _iter1421; + for (_iter1421 = this->new_parts.begin(); _iter1421 != this->new_parts.end(); ++_iter1421) { - xfer += (*_iter1450).write(oprot); + xfer += (*_iter1421).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12826,10 +12759,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 _iter1451; - for (_iter1451 = (*(this->new_parts)).begin(); _iter1451 != (*(this->new_parts)).end(); ++_iter1451) + std::vector ::const_iterator _iter1422; + for (_iter1422 = (*(this->new_parts)).begin(); _iter1422 != (*(this->new_parts)).end(); ++_iter1422) { - xfer += (*_iter1451).write(oprot); + xfer += (*_iter1422).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13038,14 +12971,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 _size1452; - ::apache::thrift::protocol::TType _etype1455; - xfer += iprot->readListBegin(_etype1455, _size1452); - this->new_parts.resize(_size1452); - uint32_t _i1456; - for (_i1456 = 0; _i1456 < _size1452; ++_i1456) + uint32_t _size1423; + ::apache::thrift::protocol::TType _etype1426; + xfer += iprot->readListBegin(_etype1426, _size1423); + this->new_parts.resize(_size1423); + uint32_t _i1427; + for (_i1427 = 0; _i1427 < _size1423; ++_i1427) { - xfer += this->new_parts[_i1456].read(iprot); + xfer += this->new_parts[_i1427].read(iprot); } xfer += iprot->readListEnd(); } @@ -13074,10 +13007,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 _iter1457; - for (_iter1457 = this->new_parts.begin(); _iter1457 != this->new_parts.end(); ++_iter1457) + std::vector ::const_iterator _iter1428; + for (_iter1428 = this->new_parts.begin(); _iter1428 != this->new_parts.end(); ++_iter1428) { - xfer += (*_iter1457).write(oprot); + xfer += (*_iter1428).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13101,10 +13034,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 _iter1458; - for (_iter1458 = (*(this->new_parts)).begin(); _iter1458 != (*(this->new_parts)).end(); ++_iter1458) + std::vector ::const_iterator _iter1429; + for (_iter1429 = (*(this->new_parts)).begin(); _iter1429 != (*(this->new_parts)).end(); ++_iter1429) { - xfer += (*_iter1458).write(oprot); + xfer += (*_iter1429).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13329,14 +13262,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1459; - ::apache::thrift::protocol::TType _etype1462; - xfer += iprot->readListBegin(_etype1462, _size1459); - this->part_vals.resize(_size1459); - uint32_t _i1463; - for (_i1463 = 0; _i1463 < _size1459; ++_i1463) + uint32_t _size1430; + ::apache::thrift::protocol::TType _etype1433; + xfer += iprot->readListBegin(_etype1433, _size1430); + this->part_vals.resize(_size1430); + uint32_t _i1434; + for (_i1434 = 0; _i1434 < _size1430; ++_i1434) { - xfer += iprot->readString(this->part_vals[_i1463]); + xfer += iprot->readString(this->part_vals[_i1434]); } xfer += iprot->readListEnd(); } @@ -13373,10 +13306,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 _iter1464; - for (_iter1464 = this->part_vals.begin(); _iter1464 != this->part_vals.end(); ++_iter1464) + std::vector ::const_iterator _iter1435; + for (_iter1435 = this->part_vals.begin(); _iter1435 != this->part_vals.end(); ++_iter1435) { - xfer += oprot->writeString((*_iter1464)); + xfer += oprot->writeString((*_iter1435)); } xfer += oprot->writeListEnd(); } @@ -13408,10 +13341,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 _iter1465; - for (_iter1465 = (*(this->part_vals)).begin(); _iter1465 != (*(this->part_vals)).end(); ++_iter1465) + std::vector ::const_iterator _iter1436; + for (_iter1436 = (*(this->part_vals)).begin(); _iter1436 != (*(this->part_vals)).end(); ++_iter1436) { - xfer += oprot->writeString((*_iter1465)); + xfer += oprot->writeString((*_iter1436)); } xfer += oprot->writeListEnd(); } @@ -13883,14 +13816,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1466; - ::apache::thrift::protocol::TType _etype1469; - xfer += iprot->readListBegin(_etype1469, _size1466); - this->part_vals.resize(_size1466); - uint32_t _i1470; - for (_i1470 = 0; _i1470 < _size1466; ++_i1470) + uint32_t _size1437; + ::apache::thrift::protocol::TType _etype1440; + xfer += iprot->readListBegin(_etype1440, _size1437); + this->part_vals.resize(_size1437); + uint32_t _i1441; + for (_i1441 = 0; _i1441 < _size1437; ++_i1441) { - xfer += iprot->readString(this->part_vals[_i1470]); + xfer += iprot->readString(this->part_vals[_i1441]); } xfer += iprot->readListEnd(); } @@ -13935,10 +13868,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 _iter1471; - for (_iter1471 = this->part_vals.begin(); _iter1471 != this->part_vals.end(); ++_iter1471) + std::vector ::const_iterator _iter1442; + for (_iter1442 = this->part_vals.begin(); _iter1442 != this->part_vals.end(); ++_iter1442) { - xfer += oprot->writeString((*_iter1471)); + xfer += oprot->writeString((*_iter1442)); } xfer += oprot->writeListEnd(); } @@ -13974,10 +13907,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 _iter1472; - for (_iter1472 = (*(this->part_vals)).begin(); _iter1472 != (*(this->part_vals)).end(); ++_iter1472) + std::vector ::const_iterator _iter1443; + for (_iter1443 = (*(this->part_vals)).begin(); _iter1443 != (*(this->part_vals)).end(); ++_iter1443) { - xfer += oprot->writeString((*_iter1472)); + xfer += oprot->writeString((*_iter1443)); } xfer += oprot->writeListEnd(); } @@ -14780,14 +14713,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1473; - ::apache::thrift::protocol::TType _etype1476; - xfer += iprot->readListBegin(_etype1476, _size1473); - this->part_vals.resize(_size1473); - uint32_t _i1477; - for (_i1477 = 0; _i1477 < _size1473; ++_i1477) + uint32_t _size1444; + ::apache::thrift::protocol::TType _etype1447; + xfer += iprot->readListBegin(_etype1447, _size1444); + this->part_vals.resize(_size1444); + uint32_t _i1448; + for (_i1448 = 0; _i1448 < _size1444; ++_i1448) { - xfer += iprot->readString(this->part_vals[_i1477]); + xfer += iprot->readString(this->part_vals[_i1448]); } xfer += iprot->readListEnd(); } @@ -14832,10 +14765,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 _iter1478; - for (_iter1478 = this->part_vals.begin(); _iter1478 != this->part_vals.end(); ++_iter1478) + std::vector ::const_iterator _iter1449; + for (_iter1449 = this->part_vals.begin(); _iter1449 != this->part_vals.end(); ++_iter1449) { - xfer += oprot->writeString((*_iter1478)); + xfer += oprot->writeString((*_iter1449)); } xfer += oprot->writeListEnd(); } @@ -14871,10 +14804,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 _iter1479; - for (_iter1479 = (*(this->part_vals)).begin(); _iter1479 != (*(this->part_vals)).end(); ++_iter1479) + std::vector ::const_iterator _iter1450; + for (_iter1450 = (*(this->part_vals)).begin(); _iter1450 != (*(this->part_vals)).end(); ++_iter1450) { - xfer += oprot->writeString((*_iter1479)); + xfer += oprot->writeString((*_iter1450)); } xfer += oprot->writeListEnd(); } @@ -15083,14 +15016,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1480; - ::apache::thrift::protocol::TType _etype1483; - xfer += iprot->readListBegin(_etype1483, _size1480); - this->part_vals.resize(_size1480); - uint32_t _i1484; - for (_i1484 = 0; _i1484 < _size1480; ++_i1484) + uint32_t _size1451; + ::apache::thrift::protocol::TType _etype1454; + xfer += iprot->readListBegin(_etype1454, _size1451); + this->part_vals.resize(_size1451); + uint32_t _i1455; + for (_i1455 = 0; _i1455 < _size1451; ++_i1455) { - xfer += iprot->readString(this->part_vals[_i1484]); + xfer += iprot->readString(this->part_vals[_i1455]); } xfer += iprot->readListEnd(); } @@ -15143,10 +15076,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 _iter1485; - for (_iter1485 = this->part_vals.begin(); _iter1485 != this->part_vals.end(); ++_iter1485) + std::vector ::const_iterator _iter1456; + for (_iter1456 = this->part_vals.begin(); _iter1456 != this->part_vals.end(); ++_iter1456) { - xfer += oprot->writeString((*_iter1485)); + xfer += oprot->writeString((*_iter1456)); } xfer += oprot->writeListEnd(); } @@ -15186,10 +15119,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 _iter1486; - for (_iter1486 = (*(this->part_vals)).begin(); _iter1486 != (*(this->part_vals)).end(); ++_iter1486) + std::vector ::const_iterator _iter1457; + for (_iter1457 = (*(this->part_vals)).begin(); _iter1457 != (*(this->part_vals)).end(); ++_iter1457) { - xfer += oprot->writeString((*_iter1486)); + xfer += oprot->writeString((*_iter1457)); } xfer += oprot->writeListEnd(); } @@ -16195,14 +16128,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1487; - ::apache::thrift::protocol::TType _etype1490; - xfer += iprot->readListBegin(_etype1490, _size1487); - this->part_vals.resize(_size1487); - uint32_t _i1491; - for (_i1491 = 0; _i1491 < _size1487; ++_i1491) + uint32_t _size1458; + ::apache::thrift::protocol::TType _etype1461; + xfer += iprot->readListBegin(_etype1461, _size1458); + this->part_vals.resize(_size1458); + uint32_t _i1462; + for (_i1462 = 0; _i1462 < _size1458; ++_i1462) { - xfer += iprot->readString(this->part_vals[_i1491]); + xfer += iprot->readString(this->part_vals[_i1462]); } xfer += iprot->readListEnd(); } @@ -16239,10 +16172,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 _iter1492; - for (_iter1492 = this->part_vals.begin(); _iter1492 != this->part_vals.end(); ++_iter1492) + std::vector ::const_iterator _iter1463; + for (_iter1463 = this->part_vals.begin(); _iter1463 != this->part_vals.end(); ++_iter1463) { - xfer += oprot->writeString((*_iter1492)); + xfer += oprot->writeString((*_iter1463)); } xfer += oprot->writeListEnd(); } @@ -16274,10 +16207,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 _iter1493; - for (_iter1493 = (*(this->part_vals)).begin(); _iter1493 != (*(this->part_vals)).end(); ++_iter1493) + std::vector ::const_iterator _iter1464; + for (_iter1464 = (*(this->part_vals)).begin(); _iter1464 != (*(this->part_vals)).end(); ++_iter1464) { - xfer += oprot->writeString((*_iter1493)); + xfer += oprot->writeString((*_iter1464)); } xfer += oprot->writeListEnd(); } @@ -16466,17 +16399,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1494; - ::apache::thrift::protocol::TType _ktype1495; - ::apache::thrift::protocol::TType _vtype1496; - xfer += iprot->readMapBegin(_ktype1495, _vtype1496, _size1494); - uint32_t _i1498; - for (_i1498 = 0; _i1498 < _size1494; ++_i1498) + uint32_t _size1465; + ::apache::thrift::protocol::TType _ktype1466; + ::apache::thrift::protocol::TType _vtype1467; + xfer += iprot->readMapBegin(_ktype1466, _vtype1467, _size1465); + uint32_t _i1469; + for (_i1469 = 0; _i1469 < _size1465; ++_i1469) { - std::string _key1499; - xfer += iprot->readString(_key1499); - std::string& _val1500 = this->partitionSpecs[_key1499]; - xfer += iprot->readString(_val1500); + std::string _key1470; + xfer += iprot->readString(_key1470); + std::string& _val1471 = this->partitionSpecs[_key1470]; + xfer += iprot->readString(_val1471); } xfer += iprot->readMapEnd(); } @@ -16537,11 +16470,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 _iter1501; - for (_iter1501 = this->partitionSpecs.begin(); _iter1501 != this->partitionSpecs.end(); ++_iter1501) + std::map ::const_iterator _iter1472; + for (_iter1472 = this->partitionSpecs.begin(); _iter1472 != this->partitionSpecs.end(); ++_iter1472) { - xfer += oprot->writeString(_iter1501->first); - xfer += oprot->writeString(_iter1501->second); + xfer += oprot->writeString(_iter1472->first); + xfer += oprot->writeString(_iter1472->second); } xfer += oprot->writeMapEnd(); } @@ -16581,11 +16514,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 _iter1502; - for (_iter1502 = (*(this->partitionSpecs)).begin(); _iter1502 != (*(this->partitionSpecs)).end(); ++_iter1502) + std::map ::const_iterator _iter1473; + for (_iter1473 = (*(this->partitionSpecs)).begin(); _iter1473 != (*(this->partitionSpecs)).end(); ++_iter1473) { - xfer += oprot->writeString(_iter1502->first); - xfer += oprot->writeString(_iter1502->second); + xfer += oprot->writeString(_iter1473->first); + xfer += oprot->writeString(_iter1473->second); } xfer += oprot->writeMapEnd(); } @@ -16830,17 +16763,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1503; - ::apache::thrift::protocol::TType _ktype1504; - ::apache::thrift::protocol::TType _vtype1505; - xfer += iprot->readMapBegin(_ktype1504, _vtype1505, _size1503); - uint32_t _i1507; - for (_i1507 = 0; _i1507 < _size1503; ++_i1507) + uint32_t _size1474; + ::apache::thrift::protocol::TType _ktype1475; + ::apache::thrift::protocol::TType _vtype1476; + xfer += iprot->readMapBegin(_ktype1475, _vtype1476, _size1474); + uint32_t _i1478; + for (_i1478 = 0; _i1478 < _size1474; ++_i1478) { - std::string _key1508; - xfer += iprot->readString(_key1508); - std::string& _val1509 = this->partitionSpecs[_key1508]; - xfer += iprot->readString(_val1509); + std::string _key1479; + xfer += iprot->readString(_key1479); + std::string& _val1480 = this->partitionSpecs[_key1479]; + xfer += iprot->readString(_val1480); } xfer += iprot->readMapEnd(); } @@ -16901,11 +16834,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 _iter1510; - for (_iter1510 = this->partitionSpecs.begin(); _iter1510 != this->partitionSpecs.end(); ++_iter1510) + std::map ::const_iterator _iter1481; + for (_iter1481 = this->partitionSpecs.begin(); _iter1481 != this->partitionSpecs.end(); ++_iter1481) { - xfer += oprot->writeString(_iter1510->first); - xfer += oprot->writeString(_iter1510->second); + xfer += oprot->writeString(_iter1481->first); + xfer += oprot->writeString(_iter1481->second); } xfer += oprot->writeMapEnd(); } @@ -16945,11 +16878,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 _iter1511; - for (_iter1511 = (*(this->partitionSpecs)).begin(); _iter1511 != (*(this->partitionSpecs)).end(); ++_iter1511) + std::map ::const_iterator _iter1482; + for (_iter1482 = (*(this->partitionSpecs)).begin(); _iter1482 != (*(this->partitionSpecs)).end(); ++_iter1482) { - xfer += oprot->writeString(_iter1511->first); - xfer += oprot->writeString(_iter1511->second); + xfer += oprot->writeString(_iter1482->first); + xfer += oprot->writeString(_iter1482->second); } xfer += oprot->writeMapEnd(); } @@ -17006,14 +16939,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1512; - ::apache::thrift::protocol::TType _etype1515; - xfer += iprot->readListBegin(_etype1515, _size1512); - this->success.resize(_size1512); - uint32_t _i1516; - for (_i1516 = 0; _i1516 < _size1512; ++_i1516) + uint32_t _size1483; + ::apache::thrift::protocol::TType _etype1486; + xfer += iprot->readListBegin(_etype1486, _size1483); + this->success.resize(_size1483); + uint32_t _i1487; + for (_i1487 = 0; _i1487 < _size1483; ++_i1487) { - xfer += this->success[_i1516].read(iprot); + xfer += this->success[_i1487].read(iprot); } xfer += iprot->readListEnd(); } @@ -17076,10 +17009,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 _iter1517; - for (_iter1517 = this->success.begin(); _iter1517 != this->success.end(); ++_iter1517) + std::vector ::const_iterator _iter1488; + for (_iter1488 = this->success.begin(); _iter1488 != this->success.end(); ++_iter1488) { - xfer += (*_iter1517).write(oprot); + xfer += (*_iter1488).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17136,14 +17069,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1518; - ::apache::thrift::protocol::TType _etype1521; - xfer += iprot->readListBegin(_etype1521, _size1518); - (*(this->success)).resize(_size1518); - uint32_t _i1522; - for (_i1522 = 0; _i1522 < _size1518; ++_i1522) + uint32_t _size1489; + ::apache::thrift::protocol::TType _etype1492; + xfer += iprot->readListBegin(_etype1492, _size1489); + (*(this->success)).resize(_size1489); + uint32_t _i1493; + for (_i1493 = 0; _i1493 < _size1489; ++_i1493) { - xfer += (*(this->success))[_i1522].read(iprot); + xfer += (*(this->success))[_i1493].read(iprot); } xfer += iprot->readListEnd(); } @@ -17242,14 +17175,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 _size1523; - ::apache::thrift::protocol::TType _etype1526; - xfer += iprot->readListBegin(_etype1526, _size1523); - this->part_vals.resize(_size1523); - uint32_t _i1527; - for (_i1527 = 0; _i1527 < _size1523; ++_i1527) + uint32_t _size1494; + ::apache::thrift::protocol::TType _etype1497; + xfer += iprot->readListBegin(_etype1497, _size1494); + this->part_vals.resize(_size1494); + uint32_t _i1498; + for (_i1498 = 0; _i1498 < _size1494; ++_i1498) { - xfer += iprot->readString(this->part_vals[_i1527]); + xfer += iprot->readString(this->part_vals[_i1498]); } xfer += iprot->readListEnd(); } @@ -17270,14 +17203,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 _size1528; - ::apache::thrift::protocol::TType _etype1531; - xfer += iprot->readListBegin(_etype1531, _size1528); - this->group_names.resize(_size1528); - uint32_t _i1532; - for (_i1532 = 0; _i1532 < _size1528; ++_i1532) + uint32_t _size1499; + ::apache::thrift::protocol::TType _etype1502; + xfer += iprot->readListBegin(_etype1502, _size1499); + this->group_names.resize(_size1499); + uint32_t _i1503; + for (_i1503 = 0; _i1503 < _size1499; ++_i1503) { - xfer += iprot->readString(this->group_names[_i1532]); + xfer += iprot->readString(this->group_names[_i1503]); } xfer += iprot->readListEnd(); } @@ -17314,10 +17247,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 _iter1533; - for (_iter1533 = this->part_vals.begin(); _iter1533 != this->part_vals.end(); ++_iter1533) + std::vector ::const_iterator _iter1504; + for (_iter1504 = this->part_vals.begin(); _iter1504 != this->part_vals.end(); ++_iter1504) { - xfer += oprot->writeString((*_iter1533)); + xfer += oprot->writeString((*_iter1504)); } xfer += oprot->writeListEnd(); } @@ -17330,10 +17263,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 _iter1534; - for (_iter1534 = this->group_names.begin(); _iter1534 != this->group_names.end(); ++_iter1534) + std::vector ::const_iterator _iter1505; + for (_iter1505 = this->group_names.begin(); _iter1505 != this->group_names.end(); ++_iter1505) { - xfer += oprot->writeString((*_iter1534)); + xfer += oprot->writeString((*_iter1505)); } xfer += oprot->writeListEnd(); } @@ -17365,10 +17298,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 _iter1535; - for (_iter1535 = (*(this->part_vals)).begin(); _iter1535 != (*(this->part_vals)).end(); ++_iter1535) + std::vector ::const_iterator _iter1506; + for (_iter1506 = (*(this->part_vals)).begin(); _iter1506 != (*(this->part_vals)).end(); ++_iter1506) { - xfer += oprot->writeString((*_iter1535)); + xfer += oprot->writeString((*_iter1506)); } xfer += oprot->writeListEnd(); } @@ -17381,10 +17314,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 _iter1536; - for (_iter1536 = (*(this->group_names)).begin(); _iter1536 != (*(this->group_names)).end(); ++_iter1536) + std::vector ::const_iterator _iter1507; + for (_iter1507 = (*(this->group_names)).begin(); _iter1507 != (*(this->group_names)).end(); ++_iter1507) { - xfer += oprot->writeString((*_iter1536)); + xfer += oprot->writeString((*_iter1507)); } xfer += oprot->writeListEnd(); } @@ -17943,14 +17876,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1537; - ::apache::thrift::protocol::TType _etype1540; - xfer += iprot->readListBegin(_etype1540, _size1537); - this->success.resize(_size1537); - uint32_t _i1541; - for (_i1541 = 0; _i1541 < _size1537; ++_i1541) + uint32_t _size1508; + ::apache::thrift::protocol::TType _etype1511; + xfer += iprot->readListBegin(_etype1511, _size1508); + this->success.resize(_size1508); + uint32_t _i1512; + for (_i1512 = 0; _i1512 < _size1508; ++_i1512) { - xfer += this->success[_i1541].read(iprot); + xfer += this->success[_i1512].read(iprot); } xfer += iprot->readListEnd(); } @@ -17997,10 +17930,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 _iter1542; - for (_iter1542 = this->success.begin(); _iter1542 != this->success.end(); ++_iter1542) + std::vector ::const_iterator _iter1513; + for (_iter1513 = this->success.begin(); _iter1513 != this->success.end(); ++_iter1513) { - xfer += (*_iter1542).write(oprot); + xfer += (*_iter1513).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18049,14 +17982,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1543; - ::apache::thrift::protocol::TType _etype1546; - xfer += iprot->readListBegin(_etype1546, _size1543); - (*(this->success)).resize(_size1543); - uint32_t _i1547; - for (_i1547 = 0; _i1547 < _size1543; ++_i1547) + uint32_t _size1514; + ::apache::thrift::protocol::TType _etype1517; + xfer += iprot->readListBegin(_etype1517, _size1514); + (*(this->success)).resize(_size1514); + uint32_t _i1518; + for (_i1518 = 0; _i1518 < _size1514; ++_i1518) { - xfer += (*(this->success))[_i1547].read(iprot); + xfer += (*(this->success))[_i1518].read(iprot); } xfer += iprot->readListEnd(); } @@ -18155,14 +18088,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 _size1548; - ::apache::thrift::protocol::TType _etype1551; - xfer += iprot->readListBegin(_etype1551, _size1548); - this->group_names.resize(_size1548); - uint32_t _i1552; - for (_i1552 = 0; _i1552 < _size1548; ++_i1552) + uint32_t _size1519; + ::apache::thrift::protocol::TType _etype1522; + xfer += iprot->readListBegin(_etype1522, _size1519); + this->group_names.resize(_size1519); + uint32_t _i1523; + for (_i1523 = 0; _i1523 < _size1519; ++_i1523) { - xfer += iprot->readString(this->group_names[_i1552]); + xfer += iprot->readString(this->group_names[_i1523]); } xfer += iprot->readListEnd(); } @@ -18207,10 +18140,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 _iter1553; - for (_iter1553 = this->group_names.begin(); _iter1553 != this->group_names.end(); ++_iter1553) + std::vector ::const_iterator _iter1524; + for (_iter1524 = this->group_names.begin(); _iter1524 != this->group_names.end(); ++_iter1524) { - xfer += oprot->writeString((*_iter1553)); + xfer += oprot->writeString((*_iter1524)); } xfer += oprot->writeListEnd(); } @@ -18250,10 +18183,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 _iter1554; - for (_iter1554 = (*(this->group_names)).begin(); _iter1554 != (*(this->group_names)).end(); ++_iter1554) + std::vector ::const_iterator _iter1525; + for (_iter1525 = (*(this->group_names)).begin(); _iter1525 != (*(this->group_names)).end(); ++_iter1525) { - xfer += oprot->writeString((*_iter1554)); + xfer += oprot->writeString((*_iter1525)); } xfer += oprot->writeListEnd(); } @@ -18294,14 +18227,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1555; - ::apache::thrift::protocol::TType _etype1558; - xfer += iprot->readListBegin(_etype1558, _size1555); - this->success.resize(_size1555); - uint32_t _i1559; - for (_i1559 = 0; _i1559 < _size1555; ++_i1559) + uint32_t _size1526; + ::apache::thrift::protocol::TType _etype1529; + xfer += iprot->readListBegin(_etype1529, _size1526); + this->success.resize(_size1526); + uint32_t _i1530; + for (_i1530 = 0; _i1530 < _size1526; ++_i1530) { - xfer += this->success[_i1559].read(iprot); + xfer += this->success[_i1530].read(iprot); } xfer += iprot->readListEnd(); } @@ -18348,10 +18281,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 _iter1560; - for (_iter1560 = this->success.begin(); _iter1560 != this->success.end(); ++_iter1560) + std::vector ::const_iterator _iter1531; + for (_iter1531 = this->success.begin(); _iter1531 != this->success.end(); ++_iter1531) { - xfer += (*_iter1560).write(oprot); + xfer += (*_iter1531).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18400,14 +18333,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1561; - ::apache::thrift::protocol::TType _etype1564; - xfer += iprot->readListBegin(_etype1564, _size1561); - (*(this->success)).resize(_size1561); - uint32_t _i1565; - for (_i1565 = 0; _i1565 < _size1561; ++_i1565) + uint32_t _size1532; + ::apache::thrift::protocol::TType _etype1535; + xfer += iprot->readListBegin(_etype1535, _size1532); + (*(this->success)).resize(_size1532); + uint32_t _i1536; + for (_i1536 = 0; _i1536 < _size1532; ++_i1536) { - xfer += (*(this->success))[_i1565].read(iprot); + xfer += (*(this->success))[_i1536].read(iprot); } xfer += iprot->readListEnd(); } @@ -18585,14 +18518,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1566; - ::apache::thrift::protocol::TType _etype1569; - xfer += iprot->readListBegin(_etype1569, _size1566); - this->success.resize(_size1566); - uint32_t _i1570; - for (_i1570 = 0; _i1570 < _size1566; ++_i1570) + uint32_t _size1537; + ::apache::thrift::protocol::TType _etype1540; + xfer += iprot->readListBegin(_etype1540, _size1537); + this->success.resize(_size1537); + uint32_t _i1541; + for (_i1541 = 0; _i1541 < _size1537; ++_i1541) { - xfer += this->success[_i1570].read(iprot); + xfer += this->success[_i1541].read(iprot); } xfer += iprot->readListEnd(); } @@ -18639,10 +18572,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 _iter1571; - for (_iter1571 = this->success.begin(); _iter1571 != this->success.end(); ++_iter1571) + std::vector ::const_iterator _iter1542; + for (_iter1542 = this->success.begin(); _iter1542 != this->success.end(); ++_iter1542) { - xfer += (*_iter1571).write(oprot); + xfer += (*_iter1542).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18691,14 +18624,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1572; - ::apache::thrift::protocol::TType _etype1575; - xfer += iprot->readListBegin(_etype1575, _size1572); - (*(this->success)).resize(_size1572); - uint32_t _i1576; - for (_i1576 = 0; _i1576 < _size1572; ++_i1576) + uint32_t _size1543; + ::apache::thrift::protocol::TType _etype1546; + xfer += iprot->readListBegin(_etype1546, _size1543); + (*(this->success)).resize(_size1543); + uint32_t _i1547; + for (_i1547 = 0; _i1547 < _size1543; ++_i1547) { - xfer += (*(this->success))[_i1576].read(iprot); + xfer += (*(this->success))[_i1547].read(iprot); } xfer += iprot->readListEnd(); } @@ -18876,14 +18809,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1577; - ::apache::thrift::protocol::TType _etype1580; - xfer += iprot->readListBegin(_etype1580, _size1577); - this->success.resize(_size1577); - uint32_t _i1581; - for (_i1581 = 0; _i1581 < _size1577; ++_i1581) + uint32_t _size1548; + ::apache::thrift::protocol::TType _etype1551; + xfer += iprot->readListBegin(_etype1551, _size1548); + this->success.resize(_size1548); + uint32_t _i1552; + for (_i1552 = 0; _i1552 < _size1548; ++_i1552) { - xfer += iprot->readString(this->success[_i1581]); + xfer += iprot->readString(this->success[_i1552]); } xfer += iprot->readListEnd(); } @@ -18930,10 +18863,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 _iter1582; - for (_iter1582 = this->success.begin(); _iter1582 != this->success.end(); ++_iter1582) + std::vector ::const_iterator _iter1553; + for (_iter1553 = this->success.begin(); _iter1553 != this->success.end(); ++_iter1553) { - xfer += oprot->writeString((*_iter1582)); + xfer += oprot->writeString((*_iter1553)); } xfer += oprot->writeListEnd(); } @@ -18982,14 +18915,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1583; - ::apache::thrift::protocol::TType _etype1586; - xfer += iprot->readListBegin(_etype1586, _size1583); - (*(this->success)).resize(_size1583); - uint32_t _i1587; - for (_i1587 = 0; _i1587 < _size1583; ++_i1587) + uint32_t _size1554; + ::apache::thrift::protocol::TType _etype1557; + xfer += iprot->readListBegin(_etype1557, _size1554); + (*(this->success)).resize(_size1554); + uint32_t _i1558; + for (_i1558 = 0; _i1558 < _size1554; ++_i1558) { - xfer += iprot->readString((*(this->success))[_i1587]); + xfer += iprot->readString((*(this->success))[_i1558]); } xfer += iprot->readListEnd(); } @@ -19299,14 +19232,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 _size1588; - ::apache::thrift::protocol::TType _etype1591; - xfer += iprot->readListBegin(_etype1591, _size1588); - this->part_vals.resize(_size1588); - uint32_t _i1592; - for (_i1592 = 0; _i1592 < _size1588; ++_i1592) + uint32_t _size1559; + ::apache::thrift::protocol::TType _etype1562; + xfer += iprot->readListBegin(_etype1562, _size1559); + this->part_vals.resize(_size1559); + uint32_t _i1563; + for (_i1563 = 0; _i1563 < _size1559; ++_i1563) { - xfer += iprot->readString(this->part_vals[_i1592]); + xfer += iprot->readString(this->part_vals[_i1563]); } xfer += iprot->readListEnd(); } @@ -19351,10 +19284,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 _iter1593; - for (_iter1593 = this->part_vals.begin(); _iter1593 != this->part_vals.end(); ++_iter1593) + std::vector ::const_iterator _iter1564; + for (_iter1564 = this->part_vals.begin(); _iter1564 != this->part_vals.end(); ++_iter1564) { - xfer += oprot->writeString((*_iter1593)); + xfer += oprot->writeString((*_iter1564)); } xfer += oprot->writeListEnd(); } @@ -19390,10 +19323,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 _iter1594; - for (_iter1594 = (*(this->part_vals)).begin(); _iter1594 != (*(this->part_vals)).end(); ++_iter1594) + std::vector ::const_iterator _iter1565; + for (_iter1565 = (*(this->part_vals)).begin(); _iter1565 != (*(this->part_vals)).end(); ++_iter1565) { - xfer += oprot->writeString((*_iter1594)); + xfer += oprot->writeString((*_iter1565)); } xfer += oprot->writeListEnd(); } @@ -19438,14 +19371,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1595; - ::apache::thrift::protocol::TType _etype1598; - xfer += iprot->readListBegin(_etype1598, _size1595); - this->success.resize(_size1595); - uint32_t _i1599; - for (_i1599 = 0; _i1599 < _size1595; ++_i1599) + uint32_t _size1566; + ::apache::thrift::protocol::TType _etype1569; + xfer += iprot->readListBegin(_etype1569, _size1566); + this->success.resize(_size1566); + uint32_t _i1570; + for (_i1570 = 0; _i1570 < _size1566; ++_i1570) { - xfer += this->success[_i1599].read(iprot); + xfer += this->success[_i1570].read(iprot); } xfer += iprot->readListEnd(); } @@ -19492,10 +19425,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 _iter1600; - for (_iter1600 = this->success.begin(); _iter1600 != this->success.end(); ++_iter1600) + std::vector ::const_iterator _iter1571; + for (_iter1571 = this->success.begin(); _iter1571 != this->success.end(); ++_iter1571) { - xfer += (*_iter1600).write(oprot); + xfer += (*_iter1571).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19544,14 +19477,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1601; - ::apache::thrift::protocol::TType _etype1604; - xfer += iprot->readListBegin(_etype1604, _size1601); - (*(this->success)).resize(_size1601); - uint32_t _i1605; - for (_i1605 = 0; _i1605 < _size1601; ++_i1605) + uint32_t _size1572; + ::apache::thrift::protocol::TType _etype1575; + xfer += iprot->readListBegin(_etype1575, _size1572); + (*(this->success)).resize(_size1572); + uint32_t _i1576; + for (_i1576 = 0; _i1576 < _size1572; ++_i1576) { - xfer += (*(this->success))[_i1605].read(iprot); + xfer += (*(this->success))[_i1576].read(iprot); } xfer += iprot->readListEnd(); } @@ -19634,14 +19567,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 _size1606; - ::apache::thrift::protocol::TType _etype1609; - xfer += iprot->readListBegin(_etype1609, _size1606); - this->part_vals.resize(_size1606); - uint32_t _i1610; - for (_i1610 = 0; _i1610 < _size1606; ++_i1610) + uint32_t _size1577; + ::apache::thrift::protocol::TType _etype1580; + xfer += iprot->readListBegin(_etype1580, _size1577); + this->part_vals.resize(_size1577); + uint32_t _i1581; + for (_i1581 = 0; _i1581 < _size1577; ++_i1581) { - xfer += iprot->readString(this->part_vals[_i1610]); + xfer += iprot->readString(this->part_vals[_i1581]); } xfer += iprot->readListEnd(); } @@ -19670,14 +19603,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 _size1611; - ::apache::thrift::protocol::TType _etype1614; - xfer += iprot->readListBegin(_etype1614, _size1611); - this->group_names.resize(_size1611); - uint32_t _i1615; - for (_i1615 = 0; _i1615 < _size1611; ++_i1615) + uint32_t _size1582; + ::apache::thrift::protocol::TType _etype1585; + xfer += iprot->readListBegin(_etype1585, _size1582); + this->group_names.resize(_size1582); + uint32_t _i1586; + for (_i1586 = 0; _i1586 < _size1582; ++_i1586) { - xfer += iprot->readString(this->group_names[_i1615]); + xfer += iprot->readString(this->group_names[_i1586]); } xfer += iprot->readListEnd(); } @@ -19714,10 +19647,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 _iter1616; - for (_iter1616 = this->part_vals.begin(); _iter1616 != this->part_vals.end(); ++_iter1616) + std::vector ::const_iterator _iter1587; + for (_iter1587 = this->part_vals.begin(); _iter1587 != this->part_vals.end(); ++_iter1587) { - xfer += oprot->writeString((*_iter1616)); + xfer += oprot->writeString((*_iter1587)); } xfer += oprot->writeListEnd(); } @@ -19734,10 +19667,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 _iter1617; - for (_iter1617 = this->group_names.begin(); _iter1617 != this->group_names.end(); ++_iter1617) + std::vector ::const_iterator _iter1588; + for (_iter1588 = this->group_names.begin(); _iter1588 != this->group_names.end(); ++_iter1588) { - xfer += oprot->writeString((*_iter1617)); + xfer += oprot->writeString((*_iter1588)); } xfer += oprot->writeListEnd(); } @@ -19769,10 +19702,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 _iter1618; - for (_iter1618 = (*(this->part_vals)).begin(); _iter1618 != (*(this->part_vals)).end(); ++_iter1618) + std::vector ::const_iterator _iter1589; + for (_iter1589 = (*(this->part_vals)).begin(); _iter1589 != (*(this->part_vals)).end(); ++_iter1589) { - xfer += oprot->writeString((*_iter1618)); + xfer += oprot->writeString((*_iter1589)); } xfer += oprot->writeListEnd(); } @@ -19789,10 +19722,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 _iter1619; - for (_iter1619 = (*(this->group_names)).begin(); _iter1619 != (*(this->group_names)).end(); ++_iter1619) + std::vector ::const_iterator _iter1590; + for (_iter1590 = (*(this->group_names)).begin(); _iter1590 != (*(this->group_names)).end(); ++_iter1590) { - xfer += oprot->writeString((*_iter1619)); + xfer += oprot->writeString((*_iter1590)); } xfer += oprot->writeListEnd(); } @@ -19833,14 +19766,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1620; - ::apache::thrift::protocol::TType _etype1623; - xfer += iprot->readListBegin(_etype1623, _size1620); - this->success.resize(_size1620); - uint32_t _i1624; - for (_i1624 = 0; _i1624 < _size1620; ++_i1624) + uint32_t _size1591; + ::apache::thrift::protocol::TType _etype1594; + xfer += iprot->readListBegin(_etype1594, _size1591); + this->success.resize(_size1591); + uint32_t _i1595; + for (_i1595 = 0; _i1595 < _size1591; ++_i1595) { - xfer += this->success[_i1624].read(iprot); + xfer += this->success[_i1595].read(iprot); } xfer += iprot->readListEnd(); } @@ -19887,10 +19820,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 _iter1625; - for (_iter1625 = this->success.begin(); _iter1625 != this->success.end(); ++_iter1625) + std::vector ::const_iterator _iter1596; + for (_iter1596 = this->success.begin(); _iter1596 != this->success.end(); ++_iter1596) { - xfer += (*_iter1625).write(oprot); + xfer += (*_iter1596).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19939,14 +19872,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1626; - ::apache::thrift::protocol::TType _etype1629; - xfer += iprot->readListBegin(_etype1629, _size1626); - (*(this->success)).resize(_size1626); - uint32_t _i1630; - for (_i1630 = 0; _i1630 < _size1626; ++_i1630) + uint32_t _size1597; + ::apache::thrift::protocol::TType _etype1600; + xfer += iprot->readListBegin(_etype1600, _size1597); + (*(this->success)).resize(_size1597); + uint32_t _i1601; + for (_i1601 = 0; _i1601 < _size1597; ++_i1601) { - xfer += (*(this->success))[_i1630].read(iprot); + xfer += (*(this->success))[_i1601].read(iprot); } xfer += iprot->readListEnd(); } @@ -20029,14 +19962,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 _size1631; - ::apache::thrift::protocol::TType _etype1634; - xfer += iprot->readListBegin(_etype1634, _size1631); - this->part_vals.resize(_size1631); - uint32_t _i1635; - for (_i1635 = 0; _i1635 < _size1631; ++_i1635) + uint32_t _size1602; + ::apache::thrift::protocol::TType _etype1605; + xfer += iprot->readListBegin(_etype1605, _size1602); + this->part_vals.resize(_size1602); + uint32_t _i1606; + for (_i1606 = 0; _i1606 < _size1602; ++_i1606) { - xfer += iprot->readString(this->part_vals[_i1635]); + xfer += iprot->readString(this->part_vals[_i1606]); } xfer += iprot->readListEnd(); } @@ -20081,10 +20014,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 _iter1636; - for (_iter1636 = this->part_vals.begin(); _iter1636 != this->part_vals.end(); ++_iter1636) + std::vector ::const_iterator _iter1607; + for (_iter1607 = this->part_vals.begin(); _iter1607 != this->part_vals.end(); ++_iter1607) { - xfer += oprot->writeString((*_iter1636)); + xfer += oprot->writeString((*_iter1607)); } xfer += oprot->writeListEnd(); } @@ -20120,10 +20053,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 _iter1637; - for (_iter1637 = (*(this->part_vals)).begin(); _iter1637 != (*(this->part_vals)).end(); ++_iter1637) + std::vector ::const_iterator _iter1608; + for (_iter1608 = (*(this->part_vals)).begin(); _iter1608 != (*(this->part_vals)).end(); ++_iter1608) { - xfer += oprot->writeString((*_iter1637)); + xfer += oprot->writeString((*_iter1608)); } xfer += oprot->writeListEnd(); } @@ -20168,14 +20101,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1638; - ::apache::thrift::protocol::TType _etype1641; - xfer += iprot->readListBegin(_etype1641, _size1638); - this->success.resize(_size1638); - uint32_t _i1642; - for (_i1642 = 0; _i1642 < _size1638; ++_i1642) + uint32_t _size1609; + ::apache::thrift::protocol::TType _etype1612; + xfer += iprot->readListBegin(_etype1612, _size1609); + this->success.resize(_size1609); + uint32_t _i1613; + for (_i1613 = 0; _i1613 < _size1609; ++_i1613) { - xfer += iprot->readString(this->success[_i1642]); + xfer += iprot->readString(this->success[_i1613]); } xfer += iprot->readListEnd(); } @@ -20222,10 +20155,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 _iter1643; - for (_iter1643 = this->success.begin(); _iter1643 != this->success.end(); ++_iter1643) + std::vector ::const_iterator _iter1614; + for (_iter1614 = this->success.begin(); _iter1614 != this->success.end(); ++_iter1614) { - xfer += oprot->writeString((*_iter1643)); + xfer += oprot->writeString((*_iter1614)); } xfer += oprot->writeListEnd(); } @@ -20274,14 +20207,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1644; - ::apache::thrift::protocol::TType _etype1647; - xfer += iprot->readListBegin(_etype1647, _size1644); - (*(this->success)).resize(_size1644); - uint32_t _i1648; - for (_i1648 = 0; _i1648 < _size1644; ++_i1648) + uint32_t _size1615; + ::apache::thrift::protocol::TType _etype1618; + xfer += iprot->readListBegin(_etype1618, _size1615); + (*(this->success)).resize(_size1615); + uint32_t _i1619; + for (_i1619 = 0; _i1619 < _size1615; ++_i1619) { - xfer += iprot->readString((*(this->success))[_i1648]); + xfer += iprot->readString((*(this->success))[_i1619]); } xfer += iprot->readListEnd(); } @@ -20475,14 +20408,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1649; - ::apache::thrift::protocol::TType _etype1652; - xfer += iprot->readListBegin(_etype1652, _size1649); - this->success.resize(_size1649); - uint32_t _i1653; - for (_i1653 = 0; _i1653 < _size1649; ++_i1653) + uint32_t _size1620; + ::apache::thrift::protocol::TType _etype1623; + xfer += iprot->readListBegin(_etype1623, _size1620); + this->success.resize(_size1620); + uint32_t _i1624; + for (_i1624 = 0; _i1624 < _size1620; ++_i1624) { - xfer += this->success[_i1653].read(iprot); + xfer += this->success[_i1624].read(iprot); } xfer += iprot->readListEnd(); } @@ -20529,10 +20462,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 _iter1654; - for (_iter1654 = this->success.begin(); _iter1654 != this->success.end(); ++_iter1654) + std::vector ::const_iterator _iter1625; + for (_iter1625 = this->success.begin(); _iter1625 != this->success.end(); ++_iter1625) { - xfer += (*_iter1654).write(oprot); + xfer += (*_iter1625).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20581,14 +20514,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1655; - ::apache::thrift::protocol::TType _etype1658; - xfer += iprot->readListBegin(_etype1658, _size1655); - (*(this->success)).resize(_size1655); - uint32_t _i1659; - for (_i1659 = 0; _i1659 < _size1655; ++_i1659) + uint32_t _size1626; + ::apache::thrift::protocol::TType _etype1629; + xfer += iprot->readListBegin(_etype1629, _size1626); + (*(this->success)).resize(_size1626); + uint32_t _i1630; + for (_i1630 = 0; _i1630 < _size1626; ++_i1630) { - xfer += (*(this->success))[_i1659].read(iprot); + xfer += (*(this->success))[_i1630].read(iprot); } xfer += iprot->readListEnd(); } @@ -20782,14 +20715,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 _size1660; - ::apache::thrift::protocol::TType _etype1663; - xfer += iprot->readListBegin(_etype1663, _size1660); - this->success.resize(_size1660); - uint32_t _i1664; - for (_i1664 = 0; _i1664 < _size1660; ++_i1664) + uint32_t _size1631; + ::apache::thrift::protocol::TType _etype1634; + xfer += iprot->readListBegin(_etype1634, _size1631); + this->success.resize(_size1631); + uint32_t _i1635; + for (_i1635 = 0; _i1635 < _size1631; ++_i1635) { - xfer += this->success[_i1664].read(iprot); + xfer += this->success[_i1635].read(iprot); } xfer += iprot->readListEnd(); } @@ -20836,10 +20769,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 _iter1665; - for (_iter1665 = this->success.begin(); _iter1665 != this->success.end(); ++_iter1665) + std::vector ::const_iterator _iter1636; + for (_iter1636 = this->success.begin(); _iter1636 != this->success.end(); ++_iter1636) { - xfer += (*_iter1665).write(oprot); + xfer += (*_iter1636).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20888,14 +20821,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 _size1666; - ::apache::thrift::protocol::TType _etype1669; - xfer += iprot->readListBegin(_etype1669, _size1666); - (*(this->success)).resize(_size1666); - uint32_t _i1670; - for (_i1670 = 0; _i1670 < _size1666; ++_i1670) + uint32_t _size1637; + ::apache::thrift::protocol::TType _etype1640; + xfer += iprot->readListBegin(_etype1640, _size1637); + (*(this->success)).resize(_size1637); + uint32_t _i1641; + for (_i1641 = 0; _i1641 < _size1637; ++_i1641) { - xfer += (*(this->success))[_i1670].read(iprot); + xfer += (*(this->success))[_i1641].read(iprot); } xfer += iprot->readListEnd(); } @@ -21464,14 +21397,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1671; - ::apache::thrift::protocol::TType _etype1674; - xfer += iprot->readListBegin(_etype1674, _size1671); - this->names.resize(_size1671); - uint32_t _i1675; - for (_i1675 = 0; _i1675 < _size1671; ++_i1675) + uint32_t _size1642; + ::apache::thrift::protocol::TType _etype1645; + xfer += iprot->readListBegin(_etype1645, _size1642); + this->names.resize(_size1642); + uint32_t _i1646; + for (_i1646 = 0; _i1646 < _size1642; ++_i1646) { - xfer += iprot->readString(this->names[_i1675]); + xfer += iprot->readString(this->names[_i1646]); } xfer += iprot->readListEnd(); } @@ -21508,10 +21441,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 _iter1676; - for (_iter1676 = this->names.begin(); _iter1676 != this->names.end(); ++_iter1676) + std::vector ::const_iterator _iter1647; + for (_iter1647 = this->names.begin(); _iter1647 != this->names.end(); ++_iter1647) { - xfer += oprot->writeString((*_iter1676)); + xfer += oprot->writeString((*_iter1647)); } xfer += oprot->writeListEnd(); } @@ -21543,10 +21476,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 _iter1677; - for (_iter1677 = (*(this->names)).begin(); _iter1677 != (*(this->names)).end(); ++_iter1677) + std::vector ::const_iterator _iter1648; + for (_iter1648 = (*(this->names)).begin(); _iter1648 != (*(this->names)).end(); ++_iter1648) { - xfer += oprot->writeString((*_iter1677)); + xfer += oprot->writeString((*_iter1648)); } xfer += oprot->writeListEnd(); } @@ -21587,14 +21520,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1678; - ::apache::thrift::protocol::TType _etype1681; - xfer += iprot->readListBegin(_etype1681, _size1678); - this->success.resize(_size1678); - uint32_t _i1682; - for (_i1682 = 0; _i1682 < _size1678; ++_i1682) + uint32_t _size1649; + ::apache::thrift::protocol::TType _etype1652; + xfer += iprot->readListBegin(_etype1652, _size1649); + this->success.resize(_size1649); + uint32_t _i1653; + for (_i1653 = 0; _i1653 < _size1649; ++_i1653) { - xfer += this->success[_i1682].read(iprot); + xfer += this->success[_i1653].read(iprot); } xfer += iprot->readListEnd(); } @@ -21641,10 +21574,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 _iter1683; - for (_iter1683 = this->success.begin(); _iter1683 != this->success.end(); ++_iter1683) + std::vector ::const_iterator _iter1654; + for (_iter1654 = this->success.begin(); _iter1654 != this->success.end(); ++_iter1654) { - xfer += (*_iter1683).write(oprot); + xfer += (*_iter1654).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21693,14 +21626,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1684; - ::apache::thrift::protocol::TType _etype1687; - xfer += iprot->readListBegin(_etype1687, _size1684); - (*(this->success)).resize(_size1684); - uint32_t _i1688; - for (_i1688 = 0; _i1688 < _size1684; ++_i1688) + uint32_t _size1655; + ::apache::thrift::protocol::TType _etype1658; + xfer += iprot->readListBegin(_etype1658, _size1655); + (*(this->success)).resize(_size1655); + uint32_t _i1659; + for (_i1659 = 0; _i1659 < _size1655; ++_i1659) { - xfer += (*(this->success))[_i1688].read(iprot); + xfer += (*(this->success))[_i1659].read(iprot); } xfer += iprot->readListEnd(); } @@ -22022,14 +21955,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1689; - ::apache::thrift::protocol::TType _etype1692; - xfer += iprot->readListBegin(_etype1692, _size1689); - this->new_parts.resize(_size1689); - uint32_t _i1693; - for (_i1693 = 0; _i1693 < _size1689; ++_i1693) + uint32_t _size1660; + ::apache::thrift::protocol::TType _etype1663; + xfer += iprot->readListBegin(_etype1663, _size1660); + this->new_parts.resize(_size1660); + uint32_t _i1664; + for (_i1664 = 0; _i1664 < _size1660; ++_i1664) { - xfer += this->new_parts[_i1693].read(iprot); + xfer += this->new_parts[_i1664].read(iprot); } xfer += iprot->readListEnd(); } @@ -22066,10 +21999,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 _iter1694; - for (_iter1694 = this->new_parts.begin(); _iter1694 != this->new_parts.end(); ++_iter1694) + std::vector ::const_iterator _iter1665; + for (_iter1665 = this->new_parts.begin(); _iter1665 != this->new_parts.end(); ++_iter1665) { - xfer += (*_iter1694).write(oprot); + xfer += (*_iter1665).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22101,10 +22034,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 _iter1695; - for (_iter1695 = (*(this->new_parts)).begin(); _iter1695 != (*(this->new_parts)).end(); ++_iter1695) + std::vector ::const_iterator _iter1666; + for (_iter1666 = (*(this->new_parts)).begin(); _iter1666 != (*(this->new_parts)).end(); ++_iter1666) { - xfer += (*_iter1695).write(oprot); + xfer += (*_iter1666).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22289,14 +22222,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1696; - ::apache::thrift::protocol::TType _etype1699; - xfer += iprot->readListBegin(_etype1699, _size1696); - this->new_parts.resize(_size1696); - uint32_t _i1700; - for (_i1700 = 0; _i1700 < _size1696; ++_i1700) + uint32_t _size1667; + ::apache::thrift::protocol::TType _etype1670; + xfer += iprot->readListBegin(_etype1670, _size1667); + this->new_parts.resize(_size1667); + uint32_t _i1671; + for (_i1671 = 0; _i1671 < _size1667; ++_i1671) { - xfer += this->new_parts[_i1700].read(iprot); + xfer += this->new_parts[_i1671].read(iprot); } xfer += iprot->readListEnd(); } @@ -22341,10 +22274,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 _iter1701; - for (_iter1701 = this->new_parts.begin(); _iter1701 != this->new_parts.end(); ++_iter1701) + std::vector ::const_iterator _iter1672; + for (_iter1672 = this->new_parts.begin(); _iter1672 != this->new_parts.end(); ++_iter1672) { - xfer += (*_iter1701).write(oprot); + xfer += (*_iter1672).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22380,10 +22313,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 _iter1702; - for (_iter1702 = (*(this->new_parts)).begin(); _iter1702 != (*(this->new_parts)).end(); ++_iter1702) + std::vector ::const_iterator _iter1673; + for (_iter1673 = (*(this->new_parts)).begin(); _iter1673 != (*(this->new_parts)).end(); ++_iter1673) { - xfer += (*_iter1702).write(oprot); + xfer += (*_iter1673).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22827,14 +22760,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1703; - ::apache::thrift::protocol::TType _etype1706; - xfer += iprot->readListBegin(_etype1706, _size1703); - this->part_vals.resize(_size1703); - uint32_t _i1707; - for (_i1707 = 0; _i1707 < _size1703; ++_i1707) + uint32_t _size1674; + ::apache::thrift::protocol::TType _etype1677; + xfer += iprot->readListBegin(_etype1677, _size1674); + this->part_vals.resize(_size1674); + uint32_t _i1678; + for (_i1678 = 0; _i1678 < _size1674; ++_i1678) { - xfer += iprot->readString(this->part_vals[_i1707]); + xfer += iprot->readString(this->part_vals[_i1678]); } xfer += iprot->readListEnd(); } @@ -22879,10 +22812,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 _iter1708; - for (_iter1708 = this->part_vals.begin(); _iter1708 != this->part_vals.end(); ++_iter1708) + std::vector ::const_iterator _iter1679; + for (_iter1679 = this->part_vals.begin(); _iter1679 != this->part_vals.end(); ++_iter1679) { - xfer += oprot->writeString((*_iter1708)); + xfer += oprot->writeString((*_iter1679)); } xfer += oprot->writeListEnd(); } @@ -22918,10 +22851,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 _iter1709; - for (_iter1709 = (*(this->part_vals)).begin(); _iter1709 != (*(this->part_vals)).end(); ++_iter1709) + std::vector ::const_iterator _iter1680; + for (_iter1680 = (*(this->part_vals)).begin(); _iter1680 != (*(this->part_vals)).end(); ++_iter1680) { - xfer += oprot->writeString((*_iter1709)); + xfer += oprot->writeString((*_iter1680)); } xfer += oprot->writeListEnd(); } @@ -23094,14 +23027,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 _size1710; - ::apache::thrift::protocol::TType _etype1713; - xfer += iprot->readListBegin(_etype1713, _size1710); - this->part_vals.resize(_size1710); - uint32_t _i1714; - for (_i1714 = 0; _i1714 < _size1710; ++_i1714) + uint32_t _size1681; + ::apache::thrift::protocol::TType _etype1684; + xfer += iprot->readListBegin(_etype1684, _size1681); + this->part_vals.resize(_size1681); + uint32_t _i1685; + for (_i1685 = 0; _i1685 < _size1681; ++_i1685) { - xfer += iprot->readString(this->part_vals[_i1714]); + xfer += iprot->readString(this->part_vals[_i1685]); } xfer += iprot->readListEnd(); } @@ -23138,10 +23071,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 _iter1715; - for (_iter1715 = this->part_vals.begin(); _iter1715 != this->part_vals.end(); ++_iter1715) + std::vector ::const_iterator _iter1686; + for (_iter1686 = this->part_vals.begin(); _iter1686 != this->part_vals.end(); ++_iter1686) { - xfer += oprot->writeString((*_iter1715)); + xfer += oprot->writeString((*_iter1686)); } xfer += oprot->writeListEnd(); } @@ -23169,10 +23102,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 _iter1716; - for (_iter1716 = (*(this->part_vals)).begin(); _iter1716 != (*(this->part_vals)).end(); ++_iter1716) + std::vector ::const_iterator _iter1687; + for (_iter1687 = (*(this->part_vals)).begin(); _iter1687 != (*(this->part_vals)).end(); ++_iter1687) { - xfer += oprot->writeString((*_iter1716)); + xfer += oprot->writeString((*_iter1687)); } xfer += oprot->writeListEnd(); } @@ -23647,14 +23580,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1717; - ::apache::thrift::protocol::TType _etype1720; - xfer += iprot->readListBegin(_etype1720, _size1717); - this->success.resize(_size1717); - uint32_t _i1721; - for (_i1721 = 0; _i1721 < _size1717; ++_i1721) + uint32_t _size1688; + ::apache::thrift::protocol::TType _etype1691; + xfer += iprot->readListBegin(_etype1691, _size1688); + this->success.resize(_size1688); + uint32_t _i1692; + for (_i1692 = 0; _i1692 < _size1688; ++_i1692) { - xfer += iprot->readString(this->success[_i1721]); + xfer += iprot->readString(this->success[_i1692]); } xfer += iprot->readListEnd(); } @@ -23693,10 +23626,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 _iter1722; - for (_iter1722 = this->success.begin(); _iter1722 != this->success.end(); ++_iter1722) + std::vector ::const_iterator _iter1693; + for (_iter1693 = this->success.begin(); _iter1693 != this->success.end(); ++_iter1693) { - xfer += oprot->writeString((*_iter1722)); + xfer += oprot->writeString((*_iter1693)); } xfer += oprot->writeListEnd(); } @@ -23741,14 +23674,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1723; - ::apache::thrift::protocol::TType _etype1726; - xfer += iprot->readListBegin(_etype1726, _size1723); - (*(this->success)).resize(_size1723); - uint32_t _i1727; - for (_i1727 = 0; _i1727 < _size1723; ++_i1727) + uint32_t _size1694; + ::apache::thrift::protocol::TType _etype1697; + xfer += iprot->readListBegin(_etype1697, _size1694); + (*(this->success)).resize(_size1694); + uint32_t _i1698; + for (_i1698 = 0; _i1698 < _size1694; ++_i1698) { - xfer += iprot->readString((*(this->success))[_i1727]); + xfer += iprot->readString((*(this->success))[_i1698]); } xfer += iprot->readListEnd(); } @@ -23886,17 +23819,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1728; - ::apache::thrift::protocol::TType _ktype1729; - ::apache::thrift::protocol::TType _vtype1730; - xfer += iprot->readMapBegin(_ktype1729, _vtype1730, _size1728); - uint32_t _i1732; - for (_i1732 = 0; _i1732 < _size1728; ++_i1732) + uint32_t _size1699; + ::apache::thrift::protocol::TType _ktype1700; + ::apache::thrift::protocol::TType _vtype1701; + xfer += iprot->readMapBegin(_ktype1700, _vtype1701, _size1699); + uint32_t _i1703; + for (_i1703 = 0; _i1703 < _size1699; ++_i1703) { - std::string _key1733; - xfer += iprot->readString(_key1733); - std::string& _val1734 = this->success[_key1733]; - xfer += iprot->readString(_val1734); + std::string _key1704; + xfer += iprot->readString(_key1704); + std::string& _val1705 = this->success[_key1704]; + xfer += iprot->readString(_val1705); } xfer += iprot->readMapEnd(); } @@ -23935,11 +23868,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 _iter1735; - for (_iter1735 = this->success.begin(); _iter1735 != this->success.end(); ++_iter1735) + std::map ::const_iterator _iter1706; + for (_iter1706 = this->success.begin(); _iter1706 != this->success.end(); ++_iter1706) { - xfer += oprot->writeString(_iter1735->first); - xfer += oprot->writeString(_iter1735->second); + xfer += oprot->writeString(_iter1706->first); + xfer += oprot->writeString(_iter1706->second); } xfer += oprot->writeMapEnd(); } @@ -23984,17 +23917,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1736; - ::apache::thrift::protocol::TType _ktype1737; - ::apache::thrift::protocol::TType _vtype1738; - xfer += iprot->readMapBegin(_ktype1737, _vtype1738, _size1736); - uint32_t _i1740; - for (_i1740 = 0; _i1740 < _size1736; ++_i1740) + uint32_t _size1707; + ::apache::thrift::protocol::TType _ktype1708; + ::apache::thrift::protocol::TType _vtype1709; + xfer += iprot->readMapBegin(_ktype1708, _vtype1709, _size1707); + uint32_t _i1711; + for (_i1711 = 0; _i1711 < _size1707; ++_i1711) { - std::string _key1741; - xfer += iprot->readString(_key1741); - std::string& _val1742 = (*(this->success))[_key1741]; - xfer += iprot->readString(_val1742); + std::string _key1712; + xfer += iprot->readString(_key1712); + std::string& _val1713 = (*(this->success))[_key1712]; + xfer += iprot->readString(_val1713); } xfer += iprot->readMapEnd(); } @@ -24069,17 +24002,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1743; - ::apache::thrift::protocol::TType _ktype1744; - ::apache::thrift::protocol::TType _vtype1745; - xfer += iprot->readMapBegin(_ktype1744, _vtype1745, _size1743); - uint32_t _i1747; - for (_i1747 = 0; _i1747 < _size1743; ++_i1747) + uint32_t _size1714; + ::apache::thrift::protocol::TType _ktype1715; + ::apache::thrift::protocol::TType _vtype1716; + xfer += iprot->readMapBegin(_ktype1715, _vtype1716, _size1714); + uint32_t _i1718; + for (_i1718 = 0; _i1718 < _size1714; ++_i1718) { - std::string _key1748; - xfer += iprot->readString(_key1748); - std::string& _val1749 = this->part_vals[_key1748]; - xfer += iprot->readString(_val1749); + std::string _key1719; + xfer += iprot->readString(_key1719); + std::string& _val1720 = this->part_vals[_key1719]; + xfer += iprot->readString(_val1720); } xfer += iprot->readMapEnd(); } @@ -24090,9 +24023,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1750; - xfer += iprot->readI32(ecast1750); - this->eventType = (PartitionEventType::type)ecast1750; + int32_t ecast1721; + xfer += iprot->readI32(ecast1721); + this->eventType = (PartitionEventType::type)ecast1721; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -24126,11 +24059,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 _iter1751; - for (_iter1751 = this->part_vals.begin(); _iter1751 != this->part_vals.end(); ++_iter1751) + std::map ::const_iterator _iter1722; + for (_iter1722 = this->part_vals.begin(); _iter1722 != this->part_vals.end(); ++_iter1722) { - xfer += oprot->writeString(_iter1751->first); - xfer += oprot->writeString(_iter1751->second); + xfer += oprot->writeString(_iter1722->first); + xfer += oprot->writeString(_iter1722->second); } xfer += oprot->writeMapEnd(); } @@ -24166,11 +24099,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 _iter1752; - for (_iter1752 = (*(this->part_vals)).begin(); _iter1752 != (*(this->part_vals)).end(); ++_iter1752) + std::map ::const_iterator _iter1723; + for (_iter1723 = (*(this->part_vals)).begin(); _iter1723 != (*(this->part_vals)).end(); ++_iter1723) { - xfer += oprot->writeString(_iter1752->first); - xfer += oprot->writeString(_iter1752->second); + xfer += oprot->writeString(_iter1723->first); + xfer += oprot->writeString(_iter1723->second); } xfer += oprot->writeMapEnd(); } @@ -24439,17 +24372,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1753; - ::apache::thrift::protocol::TType _ktype1754; - ::apache::thrift::protocol::TType _vtype1755; - xfer += iprot->readMapBegin(_ktype1754, _vtype1755, _size1753); - uint32_t _i1757; - for (_i1757 = 0; _i1757 < _size1753; ++_i1757) + uint32_t _size1724; + ::apache::thrift::protocol::TType _ktype1725; + ::apache::thrift::protocol::TType _vtype1726; + xfer += iprot->readMapBegin(_ktype1725, _vtype1726, _size1724); + uint32_t _i1728; + for (_i1728 = 0; _i1728 < _size1724; ++_i1728) { - std::string _key1758; - xfer += iprot->readString(_key1758); - std::string& _val1759 = this->part_vals[_key1758]; - xfer += iprot->readString(_val1759); + std::string _key1729; + xfer += iprot->readString(_key1729); + std::string& _val1730 = this->part_vals[_key1729]; + xfer += iprot->readString(_val1730); } xfer += iprot->readMapEnd(); } @@ -24460,9 +24393,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1760; - xfer += iprot->readI32(ecast1760); - this->eventType = (PartitionEventType::type)ecast1760; + int32_t ecast1731; + xfer += iprot->readI32(ecast1731); + this->eventType = (PartitionEventType::type)ecast1731; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -24496,11 +24429,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 _iter1761; - for (_iter1761 = this->part_vals.begin(); _iter1761 != this->part_vals.end(); ++_iter1761) + std::map ::const_iterator _iter1732; + for (_iter1732 = this->part_vals.begin(); _iter1732 != this->part_vals.end(); ++_iter1732) { - xfer += oprot->writeString(_iter1761->first); - xfer += oprot->writeString(_iter1761->second); + xfer += oprot->writeString(_iter1732->first); + xfer += oprot->writeString(_iter1732->second); } xfer += oprot->writeMapEnd(); } @@ -24536,11 +24469,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 _iter1762; - for (_iter1762 = (*(this->part_vals)).begin(); _iter1762 != (*(this->part_vals)).end(); ++_iter1762) + std::map ::const_iterator _iter1733; + for (_iter1733 = (*(this->part_vals)).begin(); _iter1733 != (*(this->part_vals)).end(); ++_iter1733) { - xfer += oprot->writeString(_iter1762->first); - xfer += oprot->writeString(_iter1762->second); + xfer += oprot->writeString(_iter1733->first); + xfer += oprot->writeString(_iter1733->second); } xfer += oprot->writeMapEnd(); } @@ -29689,14 +29622,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1763; - ::apache::thrift::protocol::TType _etype1766; - xfer += iprot->readListBegin(_etype1766, _size1763); - this->success.resize(_size1763); - uint32_t _i1767; - for (_i1767 = 0; _i1767 < _size1763; ++_i1767) + uint32_t _size1734; + ::apache::thrift::protocol::TType _etype1737; + xfer += iprot->readListBegin(_etype1737, _size1734); + this->success.resize(_size1734); + uint32_t _i1738; + for (_i1738 = 0; _i1738 < _size1734; ++_i1738) { - xfer += iprot->readString(this->success[_i1767]); + xfer += iprot->readString(this->success[_i1738]); } xfer += iprot->readListEnd(); } @@ -29735,10 +29668,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 _iter1768; - for (_iter1768 = this->success.begin(); _iter1768 != this->success.end(); ++_iter1768) + std::vector ::const_iterator _iter1739; + for (_iter1739 = this->success.begin(); _iter1739 != this->success.end(); ++_iter1739) { - xfer += oprot->writeString((*_iter1768)); + xfer += oprot->writeString((*_iter1739)); } xfer += oprot->writeListEnd(); } @@ -29783,14 +29716,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1769; - ::apache::thrift::protocol::TType _etype1772; - xfer += iprot->readListBegin(_etype1772, _size1769); - (*(this->success)).resize(_size1769); - uint32_t _i1773; - for (_i1773 = 0; _i1773 < _size1769; ++_i1773) + uint32_t _size1740; + ::apache::thrift::protocol::TType _etype1743; + xfer += iprot->readListBegin(_etype1743, _size1740); + (*(this->success)).resize(_size1740); + uint32_t _i1744; + for (_i1744 = 0; _i1744 < _size1740; ++_i1744) { - xfer += iprot->readString((*(this->success))[_i1773]); + xfer += iprot->readString((*(this->success))[_i1744]); } xfer += iprot->readListEnd(); } @@ -30750,14 +30683,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1774; - ::apache::thrift::protocol::TType _etype1777; - xfer += iprot->readListBegin(_etype1777, _size1774); - this->success.resize(_size1774); - uint32_t _i1778; - for (_i1778 = 0; _i1778 < _size1774; ++_i1778) + uint32_t _size1745; + ::apache::thrift::protocol::TType _etype1748; + xfer += iprot->readListBegin(_etype1748, _size1745); + this->success.resize(_size1745); + uint32_t _i1749; + for (_i1749 = 0; _i1749 < _size1745; ++_i1749) { - xfer += iprot->readString(this->success[_i1778]); + xfer += iprot->readString(this->success[_i1749]); } xfer += iprot->readListEnd(); } @@ -30796,10 +30729,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 _iter1779; - for (_iter1779 = this->success.begin(); _iter1779 != this->success.end(); ++_iter1779) + std::vector ::const_iterator _iter1750; + for (_iter1750 = this->success.begin(); _iter1750 != this->success.end(); ++_iter1750) { - xfer += oprot->writeString((*_iter1779)); + xfer += oprot->writeString((*_iter1750)); } xfer += oprot->writeListEnd(); } @@ -30844,14 +30777,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1780; - ::apache::thrift::protocol::TType _etype1783; - xfer += iprot->readListBegin(_etype1783, _size1780); - (*(this->success)).resize(_size1780); - uint32_t _i1784; - for (_i1784 = 0; _i1784 < _size1780; ++_i1784) + uint32_t _size1751; + ::apache::thrift::protocol::TType _etype1754; + xfer += iprot->readListBegin(_etype1754, _size1751); + (*(this->success)).resize(_size1751); + uint32_t _i1755; + for (_i1755 = 0; _i1755 < _size1751; ++_i1755) { - xfer += iprot->readString((*(this->success))[_i1784]); + xfer += iprot->readString((*(this->success))[_i1755]); } xfer += iprot->readListEnd(); } @@ -30924,9 +30857,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1785; - xfer += iprot->readI32(ecast1785); - this->principal_type = (PrincipalType::type)ecast1785; + int32_t ecast1756; + xfer += iprot->readI32(ecast1756); + this->principal_type = (PrincipalType::type)ecast1756; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30942,9 +30875,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1786; - xfer += iprot->readI32(ecast1786); - this->grantorType = (PrincipalType::type)ecast1786; + int32_t ecast1757; + xfer += iprot->readI32(ecast1757); + this->grantorType = (PrincipalType::type)ecast1757; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -31215,9 +31148,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1787; - xfer += iprot->readI32(ecast1787); - this->principal_type = (PrincipalType::type)ecast1787; + int32_t ecast1758; + xfer += iprot->readI32(ecast1758); + this->principal_type = (PrincipalType::type)ecast1758; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31448,9 +31381,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1788; - xfer += iprot->readI32(ecast1788); - this->principal_type = (PrincipalType::type)ecast1788; + int32_t ecast1759; + xfer += iprot->readI32(ecast1759); + this->principal_type = (PrincipalType::type)ecast1759; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31539,14 +31472,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1789; - ::apache::thrift::protocol::TType _etype1792; - xfer += iprot->readListBegin(_etype1792, _size1789); - this->success.resize(_size1789); - uint32_t _i1793; - for (_i1793 = 0; _i1793 < _size1789; ++_i1793) + uint32_t _size1760; + ::apache::thrift::protocol::TType _etype1763; + xfer += iprot->readListBegin(_etype1763, _size1760); + this->success.resize(_size1760); + uint32_t _i1764; + for (_i1764 = 0; _i1764 < _size1760; ++_i1764) { - xfer += this->success[_i1793].read(iprot); + xfer += this->success[_i1764].read(iprot); } xfer += iprot->readListEnd(); } @@ -31585,10 +31518,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 _iter1794; - for (_iter1794 = this->success.begin(); _iter1794 != this->success.end(); ++_iter1794) + std::vector ::const_iterator _iter1765; + for (_iter1765 = this->success.begin(); _iter1765 != this->success.end(); ++_iter1765) { - xfer += (*_iter1794).write(oprot); + xfer += (*_iter1765).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31633,14 +31566,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1795; - ::apache::thrift::protocol::TType _etype1798; - xfer += iprot->readListBegin(_etype1798, _size1795); - (*(this->success)).resize(_size1795); - uint32_t _i1799; - for (_i1799 = 0; _i1799 < _size1795; ++_i1799) + uint32_t _size1766; + ::apache::thrift::protocol::TType _etype1769; + xfer += iprot->readListBegin(_etype1769, _size1766); + (*(this->success)).resize(_size1766); + uint32_t _i1770; + for (_i1770 = 0; _i1770 < _size1766; ++_i1770) { - xfer += (*(this->success))[_i1799].read(iprot); + xfer += (*(this->success))[_i1770].read(iprot); } xfer += iprot->readListEnd(); } @@ -32336,14 +32269,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 _size1800; - ::apache::thrift::protocol::TType _etype1803; - xfer += iprot->readListBegin(_etype1803, _size1800); - this->group_names.resize(_size1800); - uint32_t _i1804; - for (_i1804 = 0; _i1804 < _size1800; ++_i1804) + uint32_t _size1771; + ::apache::thrift::protocol::TType _etype1774; + xfer += iprot->readListBegin(_etype1774, _size1771); + this->group_names.resize(_size1771); + uint32_t _i1775; + for (_i1775 = 0; _i1775 < _size1771; ++_i1775) { - xfer += iprot->readString(this->group_names[_i1804]); + xfer += iprot->readString(this->group_names[_i1775]); } xfer += iprot->readListEnd(); } @@ -32380,10 +32313,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 _iter1805; - for (_iter1805 = this->group_names.begin(); _iter1805 != this->group_names.end(); ++_iter1805) + std::vector ::const_iterator _iter1776; + for (_iter1776 = this->group_names.begin(); _iter1776 != this->group_names.end(); ++_iter1776) { - xfer += oprot->writeString((*_iter1805)); + xfer += oprot->writeString((*_iter1776)); } xfer += oprot->writeListEnd(); } @@ -32415,10 +32348,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 _iter1806; - for (_iter1806 = (*(this->group_names)).begin(); _iter1806 != (*(this->group_names)).end(); ++_iter1806) + std::vector ::const_iterator _iter1777; + for (_iter1777 = (*(this->group_names)).begin(); _iter1777 != (*(this->group_names)).end(); ++_iter1777) { - xfer += oprot->writeString((*_iter1806)); + xfer += oprot->writeString((*_iter1777)); } xfer += oprot->writeListEnd(); } @@ -32593,9 +32526,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1807; - xfer += iprot->readI32(ecast1807); - this->principal_type = (PrincipalType::type)ecast1807; + int32_t ecast1778; + xfer += iprot->readI32(ecast1778); + this->principal_type = (PrincipalType::type)ecast1778; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -32700,14 +32633,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1808; - ::apache::thrift::protocol::TType _etype1811; - xfer += iprot->readListBegin(_etype1811, _size1808); - this->success.resize(_size1808); - uint32_t _i1812; - for (_i1812 = 0; _i1812 < _size1808; ++_i1812) + uint32_t _size1779; + ::apache::thrift::protocol::TType _etype1782; + xfer += iprot->readListBegin(_etype1782, _size1779); + this->success.resize(_size1779); + uint32_t _i1783; + for (_i1783 = 0; _i1783 < _size1779; ++_i1783) { - xfer += this->success[_i1812].read(iprot); + xfer += this->success[_i1783].read(iprot); } xfer += iprot->readListEnd(); } @@ -32746,10 +32679,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 _iter1813; - for (_iter1813 = this->success.begin(); _iter1813 != this->success.end(); ++_iter1813) + std::vector ::const_iterator _iter1784; + for (_iter1784 = this->success.begin(); _iter1784 != this->success.end(); ++_iter1784) { - xfer += (*_iter1813).write(oprot); + xfer += (*_iter1784).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32794,14 +32727,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1814; - ::apache::thrift::protocol::TType _etype1817; - xfer += iprot->readListBegin(_etype1817, _size1814); - (*(this->success)).resize(_size1814); - uint32_t _i1818; - for (_i1818 = 0; _i1818 < _size1814; ++_i1818) + uint32_t _size1785; + ::apache::thrift::protocol::TType _etype1788; + xfer += iprot->readListBegin(_etype1788, _size1785); + (*(this->success)).resize(_size1785); + uint32_t _i1789; + for (_i1789 = 0; _i1789 < _size1785; ++_i1789) { - xfer += (*(this->success))[_i1818].read(iprot); + xfer += (*(this->success))[_i1789].read(iprot); } xfer += iprot->readListEnd(); } @@ -33728,14 +33661,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 _size1819; - ::apache::thrift::protocol::TType _etype1822; - xfer += iprot->readListBegin(_etype1822, _size1819); - this->group_names.resize(_size1819); - uint32_t _i1823; - for (_i1823 = 0; _i1823 < _size1819; ++_i1823) + uint32_t _size1790; + ::apache::thrift::protocol::TType _etype1793; + xfer += iprot->readListBegin(_etype1793, _size1790); + this->group_names.resize(_size1790); + uint32_t _i1794; + for (_i1794 = 0; _i1794 < _size1790; ++_i1794) { - xfer += iprot->readString(this->group_names[_i1823]); + xfer += iprot->readString(this->group_names[_i1794]); } xfer += iprot->readListEnd(); } @@ -33768,10 +33701,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 _iter1824; - for (_iter1824 = this->group_names.begin(); _iter1824 != this->group_names.end(); ++_iter1824) + std::vector ::const_iterator _iter1795; + for (_iter1795 = this->group_names.begin(); _iter1795 != this->group_names.end(); ++_iter1795) { - xfer += oprot->writeString((*_iter1824)); + xfer += oprot->writeString((*_iter1795)); } xfer += oprot->writeListEnd(); } @@ -33799,10 +33732,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 _iter1825; - for (_iter1825 = (*(this->group_names)).begin(); _iter1825 != (*(this->group_names)).end(); ++_iter1825) + std::vector ::const_iterator _iter1796; + for (_iter1796 = (*(this->group_names)).begin(); _iter1796 != (*(this->group_names)).end(); ++_iter1796) { - xfer += oprot->writeString((*_iter1825)); + xfer += oprot->writeString((*_iter1796)); } xfer += oprot->writeListEnd(); } @@ -33843,14 +33776,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1826; - ::apache::thrift::protocol::TType _etype1829; - xfer += iprot->readListBegin(_etype1829, _size1826); - this->success.resize(_size1826); - uint32_t _i1830; - for (_i1830 = 0; _i1830 < _size1826; ++_i1830) + uint32_t _size1797; + ::apache::thrift::protocol::TType _etype1800; + xfer += iprot->readListBegin(_etype1800, _size1797); + this->success.resize(_size1797); + uint32_t _i1801; + for (_i1801 = 0; _i1801 < _size1797; ++_i1801) { - xfer += iprot->readString(this->success[_i1830]); + xfer += iprot->readString(this->success[_i1801]); } xfer += iprot->readListEnd(); } @@ -33889,10 +33822,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 _iter1831; - for (_iter1831 = this->success.begin(); _iter1831 != this->success.end(); ++_iter1831) + std::vector ::const_iterator _iter1802; + for (_iter1802 = this->success.begin(); _iter1802 != this->success.end(); ++_iter1802) { - xfer += oprot->writeString((*_iter1831)); + xfer += oprot->writeString((*_iter1802)); } xfer += oprot->writeListEnd(); } @@ -33937,14 +33870,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1832; - ::apache::thrift::protocol::TType _etype1835; - xfer += iprot->readListBegin(_etype1835, _size1832); - (*(this->success)).resize(_size1832); - uint32_t _i1836; - for (_i1836 = 0; _i1836 < _size1832; ++_i1836) + uint32_t _size1803; + ::apache::thrift::protocol::TType _etype1806; + xfer += iprot->readListBegin(_etype1806, _size1803); + (*(this->success)).resize(_size1803); + uint32_t _i1807; + for (_i1807 = 0; _i1807 < _size1803; ++_i1807) { - xfer += iprot->readString((*(this->success))[_i1836]); + xfer += iprot->readString((*(this->success))[_i1807]); } xfer += iprot->readListEnd(); } @@ -35255,14 +35188,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1837; - ::apache::thrift::protocol::TType _etype1840; - xfer += iprot->readListBegin(_etype1840, _size1837); - this->success.resize(_size1837); - uint32_t _i1841; - for (_i1841 = 0; _i1841 < _size1837; ++_i1841) + uint32_t _size1808; + ::apache::thrift::protocol::TType _etype1811; + xfer += iprot->readListBegin(_etype1811, _size1808); + this->success.resize(_size1808); + uint32_t _i1812; + for (_i1812 = 0; _i1812 < _size1808; ++_i1812) { - xfer += iprot->readString(this->success[_i1841]); + xfer += iprot->readString(this->success[_i1812]); } xfer += iprot->readListEnd(); } @@ -35293,10 +35226,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 _iter1842; - for (_iter1842 = this->success.begin(); _iter1842 != this->success.end(); ++_iter1842) + std::vector ::const_iterator _iter1813; + for (_iter1813 = this->success.begin(); _iter1813 != this->success.end(); ++_iter1813) { - xfer += oprot->writeString((*_iter1842)); + xfer += oprot->writeString((*_iter1813)); } xfer += oprot->writeListEnd(); } @@ -35337,14 +35270,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1843; - ::apache::thrift::protocol::TType _etype1846; - xfer += iprot->readListBegin(_etype1846, _size1843); - (*(this->success)).resize(_size1843); - uint32_t _i1847; - for (_i1847 = 0; _i1847 < _size1843; ++_i1847) + uint32_t _size1814; + ::apache::thrift::protocol::TType _etype1817; + xfer += iprot->readListBegin(_etype1817, _size1814); + (*(this->success)).resize(_size1814); + uint32_t _i1818; + for (_i1818 = 0; _i1818 < _size1814; ++_i1818) { - xfer += iprot->readString((*(this->success))[_i1847]); + xfer += iprot->readString((*(this->success))[_i1818]); } xfer += iprot->readListEnd(); } @@ -36070,14 +36003,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1848; - ::apache::thrift::protocol::TType _etype1851; - xfer += iprot->readListBegin(_etype1851, _size1848); - this->success.resize(_size1848); - uint32_t _i1852; - for (_i1852 = 0; _i1852 < _size1848; ++_i1852) + uint32_t _size1819; + ::apache::thrift::protocol::TType _etype1822; + xfer += iprot->readListBegin(_etype1822, _size1819); + this->success.resize(_size1819); + uint32_t _i1823; + for (_i1823 = 0; _i1823 < _size1819; ++_i1823) { - xfer += iprot->readString(this->success[_i1852]); + xfer += iprot->readString(this->success[_i1823]); } xfer += iprot->readListEnd(); } @@ -36108,10 +36041,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 _iter1853; - for (_iter1853 = this->success.begin(); _iter1853 != this->success.end(); ++_iter1853) + std::vector ::const_iterator _iter1824; + for (_iter1824 = this->success.begin(); _iter1824 != this->success.end(); ++_iter1824) { - xfer += oprot->writeString((*_iter1853)); + xfer += oprot->writeString((*_iter1824)); } xfer += oprot->writeListEnd(); } @@ -36152,14 +36085,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1854; - ::apache::thrift::protocol::TType _etype1857; - xfer += iprot->readListBegin(_etype1857, _size1854); - (*(this->success)).resize(_size1854); - uint32_t _i1858; - for (_i1858 = 0; _i1858 < _size1854; ++_i1858) + uint32_t _size1825; + ::apache::thrift::protocol::TType _etype1828; + xfer += iprot->readListBegin(_etype1828, _size1825); + (*(this->success)).resize(_size1825); + uint32_t _i1829; + for (_i1829 = 0; _i1829 < _size1825; ++_i1829) { - xfer += iprot->readString((*(this->success))[_i1858]); + xfer += iprot->readString((*(this->success))[_i1829]); } xfer += iprot->readListEnd(); } @@ -47956,14 +47889,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1859; - ::apache::thrift::protocol::TType _etype1862; - xfer += iprot->readListBegin(_etype1862, _size1859); - this->success.resize(_size1859); - uint32_t _i1863; - for (_i1863 = 0; _i1863 < _size1859; ++_i1863) + uint32_t _size1830; + ::apache::thrift::protocol::TType _etype1833; + xfer += iprot->readListBegin(_etype1833, _size1830); + this->success.resize(_size1830); + uint32_t _i1834; + for (_i1834 = 0; _i1834 < _size1830; ++_i1834) { - xfer += this->success[_i1863].read(iprot); + xfer += this->success[_i1834].read(iprot); } xfer += iprot->readListEnd(); } @@ -48010,10 +47943,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 _iter1864; - for (_iter1864 = this->success.begin(); _iter1864 != this->success.end(); ++_iter1864) + std::vector ::const_iterator _iter1835; + for (_iter1835 = this->success.begin(); _iter1835 != this->success.end(); ++_iter1835) { - xfer += (*_iter1864).write(oprot); + xfer += (*_iter1835).write(oprot); } xfer += oprot->writeListEnd(); } @@ -48062,14 +47995,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1865; - ::apache::thrift::protocol::TType _etype1868; - xfer += iprot->readListBegin(_etype1868, _size1865); - (*(this->success)).resize(_size1865); - uint32_t _i1869; - for (_i1869 = 0; _i1869 < _size1865; ++_i1869) + uint32_t _size1836; + ::apache::thrift::protocol::TType _etype1839; + xfer += iprot->readListBegin(_etype1839, _size1836); + (*(this->success)).resize(_size1836); + uint32_t _i1840; + for (_i1840 = 0; _i1840 < _size1836; ++_i1840) { - xfer += (*(this->success))[_i1869].read(iprot); + xfer += (*(this->success))[_i1840].read(iprot); } xfer += iprot->readListEnd(); } @@ -50122,14 +50055,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1870; - ::apache::thrift::protocol::TType _etype1873; - xfer += iprot->readListBegin(_etype1873, _size1870); - this->success.resize(_size1870); - uint32_t _i1874; - for (_i1874 = 0; _i1874 < _size1870; ++_i1874) + uint32_t _size1841; + ::apache::thrift::protocol::TType _etype1844; + xfer += iprot->readListBegin(_etype1844, _size1841); + this->success.resize(_size1841); + uint32_t _i1845; + for (_i1845 = 0; _i1845 < _size1841; ++_i1845) { - xfer += this->success[_i1874].read(iprot); + xfer += this->success[_i1845].read(iprot); } xfer += iprot->readListEnd(); } @@ -50168,10 +50101,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 _iter1875; - for (_iter1875 = this->success.begin(); _iter1875 != this->success.end(); ++_iter1875) + std::vector ::const_iterator _iter1846; + for (_iter1846 = this->success.begin(); _iter1846 != this->success.end(); ++_iter1846) { - xfer += (*_iter1875).write(oprot); + xfer += (*_iter1846).write(oprot); } xfer += oprot->writeListEnd(); } @@ -50216,14 +50149,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1876; - ::apache::thrift::protocol::TType _etype1879; - xfer += iprot->readListBegin(_etype1879, _size1876); - (*(this->success)).resize(_size1876); - uint32_t _i1880; - for (_i1880 = 0; _i1880 < _size1876; ++_i1880) + uint32_t _size1847; + ::apache::thrift::protocol::TType _etype1850; + xfer += iprot->readListBegin(_etype1850, _size1847); + (*(this->success)).resize(_size1847); + uint32_t _i1851; + for (_i1851 = 0; _i1851 < _size1847; ++_i1851) { - xfer += (*(this->success))[_i1880].read(iprot); + xfer += (*(this->success))[_i1851].read(iprot); } xfer += iprot->readListEnd(); } @@ -52942,20 +52875,20 @@ void ThriftHiveMetastoreClient::recv_get_table_objects_by_name_req(GetTablesResu throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result"); } -void ThriftHiveMetastoreClient::get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) +void ThriftHiveMetastoreClient::get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) { - send_get_materialization_invalidation_info(dbname, tbl_names); + send_get_materialization_invalidation_info(creation_metadata, validTxnList); recv_get_materialization_invalidation_info(_return); } -void ThriftHiveMetastoreClient::send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names) +void ThriftHiveMetastoreClient::send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList) { int32_t cseqid = 0; oprot_->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_CALL, cseqid); ThriftHiveMetastore_get_materialization_invalidation_info_pargs args; - args.dbname = &dbname; - args.tbl_names = &tbl_names; + args.creation_metadata = &creation_metadata; + args.validTxnList = &validTxnList; args.write(oprot_); oprot_->writeMessageEnd(); @@ -52963,7 +52896,7 @@ void ThriftHiveMetastoreClient::send_get_materialization_invalidation_info(const oprot_->getTransport()->flush(); } -void ThriftHiveMetastoreClient::recv_get_materialization_invalidation_info(std::map & _return) +void ThriftHiveMetastoreClient::recv_get_materialization_invalidation_info(Materialization& _return) { int32_t rseqid = 0; @@ -65935,7 +65868,7 @@ void ThriftHiveMetastoreProcessor::process_get_materialization_invalidation_info ThriftHiveMetastore_get_materialization_invalidation_info_result result; try { - iface_->get_materialization_invalidation_info(result.success, args.dbname, args.tbl_names); + iface_->get_materialization_invalidation_info(result.success, args.creation_metadata, args.validTxnList); result.__isset.success = true; } catch (MetaException &o1) { result.o1 = o1; @@ -79528,21 +79461,21 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_table_objects_by_name_req(Get } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) +void ThriftHiveMetastoreConcurrentClient::get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) { - int32_t seqid = send_get_materialization_invalidation_info(dbname, tbl_names); + int32_t seqid = send_get_materialization_invalidation_info(creation_metadata, validTxnList); recv_get_materialization_invalidation_info(_return, seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names) +int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); oprot_->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_CALL, cseqid); ThriftHiveMetastore_get_materialization_invalidation_info_pargs args; - args.dbname = &dbname; - args.tbl_names = &tbl_names; + args.creation_metadata = &creation_metadata; + args.validTxnList = &validTxnList; args.write(oprot_); oprot_->writeMessageEnd(); @@ -79553,7 +79486,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidati return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_get_materialization_invalidation_info(std::map & _return, const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_get_materialization_invalidation_info(Materialization& _return, const int32_t seqid) { int32_t rseqid = 0; diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 1d57aee9c0..59b2876908 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -65,7 +65,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void get_table_objects_by_name(std::vector
& _return, const std::string& dbname, const std::vector & tbl_names) = 0; virtual void get_table_req(GetTableResult& _return, const GetTableRequest& req) = 0; virtual void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req) = 0; - virtual void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) = 0; + virtual void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) = 0; virtual void update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) = 0; virtual void get_table_names_by_filter(std::vector & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) = 0; virtual void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) = 0; @@ -389,7 +389,7 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_table_objects_by_name_req(GetTablesResult& /* _return */, const GetTablesRequest& /* req */) { return; } - void get_materialization_invalidation_info(std::map & /* _return */, const std::string& /* dbname */, const std::vector & /* tbl_names */) { + void get_materialization_invalidation_info(Materialization& /* _return */, const CreationMetadata& /* creation_metadata */, const std::string& /* validTxnList */) { return; } void update_creation_metadata(const std::string& /* catName */, const std::string& /* dbname */, const std::string& /* tbl_name */, const CreationMetadata& /* creation_metadata */) { @@ -6127,9 +6127,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_req_presult { }; typedef struct _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset { - _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset() : dbname(false), tbl_names(false) {} - bool dbname :1; - bool tbl_names :1; + _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset() : creation_metadata(false), validTxnList(false) {} + bool creation_metadata :1; + bool validTxnList :1; } _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset; class ThriftHiveMetastore_get_materialization_invalidation_info_args { @@ -6137,24 +6137,24 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { ThriftHiveMetastore_get_materialization_invalidation_info_args(const ThriftHiveMetastore_get_materialization_invalidation_info_args&); ThriftHiveMetastore_get_materialization_invalidation_info_args& operator=(const ThriftHiveMetastore_get_materialization_invalidation_info_args&); - ThriftHiveMetastore_get_materialization_invalidation_info_args() : dbname() { + ThriftHiveMetastore_get_materialization_invalidation_info_args() : validTxnList() { } virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_args() throw(); - std::string dbname; - std::vector tbl_names; + CreationMetadata creation_metadata; + std::string validTxnList; _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset __isset; - void __set_dbname(const std::string& val); + void __set_creation_metadata(const CreationMetadata& val); - void __set_tbl_names(const std::vector & val); + void __set_validTxnList(const std::string& val); bool operator == (const ThriftHiveMetastore_get_materialization_invalidation_info_args & rhs) const { - if (!(dbname == rhs.dbname)) + if (!(creation_metadata == rhs.creation_metadata)) return false; - if (!(tbl_names == rhs.tbl_names)) + if (!(validTxnList == rhs.validTxnList)) return false; return true; } @@ -6175,8 +6175,8 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_pargs { virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_pargs() throw(); - const std::string* dbname; - const std::vector * tbl_names; + const CreationMetadata* creation_metadata; + const std::string* validTxnList; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; @@ -6199,14 +6199,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { } virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_result() throw(); - std::map success; + Materialization success; MetaException o1; InvalidOperationException o2; UnknownDBException o3; _ThriftHiveMetastore_get_materialization_invalidation_info_result__isset __isset; - void __set_success(const std::map & val); + void __set_success(const Materialization& val); void __set_o1(const MetaException& val); @@ -6250,7 +6250,7 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_presult { virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_presult() throw(); - std::map * success; + Materialization* success; MetaException o1; InvalidOperationException o2; UnknownDBException o3; @@ -26352,9 +26352,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req); void send_get_table_objects_by_name_req(const GetTablesRequest& req); void recv_get_table_objects_by_name_req(GetTablesResult& _return); - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names); - void send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names); - void recv_get_materialization_invalidation_info(std::map & _return); + void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList); + void send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList); + void recv_get_materialization_invalidation_info(Materialization& _return); void update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); void send_update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); void recv_update_creation_metadata(); @@ -27713,13 +27713,13 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) { + void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) { size_t sz = ifaces_.size(); size_t i = 0; for (; i < (sz - 1); ++i) { - ifaces_[i]->get_materialization_invalidation_info(_return, dbname, tbl_names); + ifaces_[i]->get_materialization_invalidation_info(_return, creation_metadata, validTxnList); } - ifaces_[i]->get_materialization_invalidation_info(_return, dbname, tbl_names); + ifaces_[i]->get_materialization_invalidation_info(_return, creation_metadata, validTxnList); return; } @@ -29439,9 +29439,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req); int32_t send_get_table_objects_by_name_req(const GetTablesRequest& req); void recv_get_table_objects_by_name_req(GetTablesResult& _return, const int32_t seqid); - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names); - int32_t send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names); - void recv_get_materialization_invalidation_info(std::map & _return, const int32_t seqid); + void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList); + int32_t send_get_materialization_invalidation_info(const CreationMetadata& creation_metadata, const std::string& validTxnList); + void recv_get_materialization_invalidation_info(Materialization& _return, const int32_t seqid); void update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); int32_t send_update_creation_metadata(const std::string& catName, const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); void recv_update_creation_metadata(const int32_t seqid); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index d45ec8103f..d01b63922c 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -237,7 +237,7 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_table_objects_by_name_req\n"); } - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) { + void get_materialization_invalidation_info(Materialization& _return, const CreationMetadata& creation_metadata, const std::string& validTxnList) { // Your implementation goes here printf("get_materialization_invalidation_info\n"); } diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index bc4d168a74..898b911750 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -20954,6 +20954,11 @@ void CreationMetadata::__set_validTxnList(const std::string& val) { __isset.validTxnList = true; } +void CreationMetadata::__set_materializationTime(const int64_t val) { + this->materializationTime = val; +__isset.materializationTime = true; +} + uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -21032,6 +21037,14 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->materializationTime); + this->__isset.materializationTime = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -21086,6 +21099,11 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeString(this->validTxnList); xfer += oprot->writeFieldEnd(); } + if (this->__isset.materializationTime) { + xfer += oprot->writeFieldBegin("materializationTime", ::apache::thrift::protocol::T_I64, 6); + xfer += oprot->writeI64(this->materializationTime); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -21098,6 +21116,7 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.tblName, b.tblName); swap(a.tablesUsed, b.tablesUsed); swap(a.validTxnList, b.validTxnList); + swap(a.materializationTime, b.materializationTime); swap(a.__isset, b.__isset); } @@ -21107,6 +21126,7 @@ CreationMetadata::CreationMetadata(const CreationMetadata& other829) { tblName = other829.tblName; tablesUsed = other829.tablesUsed; validTxnList = other829.validTxnList; + materializationTime = other829.materializationTime; __isset = other829.__isset; } CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other830) { @@ -21115,6 +21135,7 @@ CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other830) tblName = other830.tblName; tablesUsed = other830.tablesUsed; validTxnList = other830.validTxnList; + materializationTime = other830.materializationTime; __isset = other830.__isset; return *this; } @@ -21126,6 +21147,7 @@ void CreationMetadata::printTo(std::ostream& out) const { out << ", " << "tblName=" << to_string(tblName); out << ", " << "tablesUsed=" << to_string(tablesUsed); out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); + out << ", " << "materializationTime="; (__isset.materializationTime ? (out << to_string(materializationTime)) : (out << "")); out << ")"; } @@ -24841,23 +24863,8 @@ Materialization::~Materialization() throw() { } -void Materialization::__set_tablesUsed(const std::set & val) { - this->tablesUsed = val; -} - -void Materialization::__set_validTxnList(const std::string& val) { - this->validTxnList = val; -__isset.validTxnList = true; -} - -void Materialization::__set_invalidationTime(const int64_t val) { - this->invalidationTime = val; -__isset.invalidationTime = true; -} - void Materialization::__set_sourceTablesUpdateDeleteModified(const bool val) { this->sourceTablesUpdateDeleteModified = val; -__isset.sourceTablesUpdateDeleteModified = true; } uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { @@ -24872,7 +24879,7 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { using ::apache::thrift::protocol::TProtocolException; - bool isset_tablesUsed = false; + bool isset_sourceTablesUpdateDeleteModified = false; while (true) { @@ -24883,46 +24890,9 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { switch (fid) { case 1: - if (ftype == ::apache::thrift::protocol::T_SET) { - { - this->tablesUsed.clear(); - uint32_t _size988; - ::apache::thrift::protocol::TType _etype991; - xfer += iprot->readSetBegin(_etype991, _size988); - uint32_t _i992; - for (_i992 = 0; _i992 < _size988; ++_i992) - { - std::string _elem993; - xfer += iprot->readString(_elem993); - this->tablesUsed.insert(_elem993); - } - xfer += iprot->readSetEnd(); - } - isset_tablesUsed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->validTxnList); - this->__isset.validTxnList = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I64) { - xfer += iprot->readI64(this->invalidationTime); - this->__isset.invalidationTime = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: if (ftype == ::apache::thrift::protocol::T_BOOL) { xfer += iprot->readBool(this->sourceTablesUpdateDeleteModified); - this->__isset.sourceTablesUpdateDeleteModified = true; + isset_sourceTablesUpdateDeleteModified = true; } else { xfer += iprot->skip(ftype); } @@ -24936,7 +24906,7 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->readStructEnd(); - if (!isset_tablesUsed) + if (!isset_sourceTablesUpdateDeleteModified) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -24946,33 +24916,10 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Materialization"); - xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 1); - { - xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter994; - for (_iter994 = this->tablesUsed.begin(); _iter994 != this->tablesUsed.end(); ++_iter994) - { - xfer += oprot->writeString((*_iter994)); - } - xfer += oprot->writeSetEnd(); - } + xfer += oprot->writeFieldBegin("sourceTablesUpdateDeleteModified", ::apache::thrift::protocol::T_BOOL, 1); + xfer += oprot->writeBool(this->sourceTablesUpdateDeleteModified); xfer += oprot->writeFieldEnd(); - if (this->__isset.validTxnList) { - xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->validTxnList); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.invalidationTime) { - xfer += oprot->writeFieldBegin("invalidationTime", ::apache::thrift::protocol::T_I64, 3); - xfer += oprot->writeI64(this->invalidationTime); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.sourceTablesUpdateDeleteModified) { - xfer += oprot->writeFieldBegin("sourceTablesUpdateDeleteModified", ::apache::thrift::protocol::T_BOOL, 4); - xfer += oprot->writeBool(this->sourceTablesUpdateDeleteModified); - xfer += oprot->writeFieldEnd(); - } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -24980,35 +24927,20 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co void swap(Materialization &a, Materialization &b) { using ::std::swap; - swap(a.tablesUsed, b.tablesUsed); - swap(a.validTxnList, b.validTxnList); - swap(a.invalidationTime, b.invalidationTime); swap(a.sourceTablesUpdateDeleteModified, b.sourceTablesUpdateDeleteModified); - swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other995) { - tablesUsed = other995.tablesUsed; - validTxnList = other995.validTxnList; - invalidationTime = other995.invalidationTime; - sourceTablesUpdateDeleteModified = other995.sourceTablesUpdateDeleteModified; - __isset = other995.__isset; +Materialization::Materialization(const Materialization& other988) { + sourceTablesUpdateDeleteModified = other988.sourceTablesUpdateDeleteModified; } -Materialization& Materialization::operator=(const Materialization& other996) { - tablesUsed = other996.tablesUsed; - validTxnList = other996.validTxnList; - invalidationTime = other996.invalidationTime; - sourceTablesUpdateDeleteModified = other996.sourceTablesUpdateDeleteModified; - __isset = other996.__isset; +Materialization& Materialization::operator=(const Materialization& other989) { + sourceTablesUpdateDeleteModified = other989.sourceTablesUpdateDeleteModified; return *this; } void Materialization::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "Materialization("; - out << "tablesUsed=" << to_string(tablesUsed); - out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); - out << ", " << "invalidationTime="; (__isset.invalidationTime ? (out << to_string(invalidationTime)) : (out << "")); - out << ", " << "sourceTablesUpdateDeleteModified="; (__isset.sourceTablesUpdateDeleteModified ? (out << to_string(sourceTablesUpdateDeleteModified)) : (out << "")); + out << "sourceTablesUpdateDeleteModified=" << to_string(sourceTablesUpdateDeleteModified); out << ")"; } @@ -25068,9 +25000,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast997; - xfer += iprot->readI32(ecast997); - this->status = (WMResourcePlanStatus::type)ecast997; + int32_t ecast990; + xfer += iprot->readI32(ecast990); + this->status = (WMResourcePlanStatus::type)ecast990; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -25144,19 +25076,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other998) { - name = other998.name; - status = other998.status; - queryParallelism = other998.queryParallelism; - defaultPoolPath = other998.defaultPoolPath; - __isset = other998.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other991) { + name = other991.name; + status = other991.status; + queryParallelism = other991.queryParallelism; + defaultPoolPath = other991.defaultPoolPath; + __isset = other991.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other999) { - name = other999.name; - status = other999.status; - queryParallelism = other999.queryParallelism; - defaultPoolPath = other999.defaultPoolPath; - __isset = other999.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other992) { + name = other992.name; + status = other992.status; + queryParallelism = other992.queryParallelism; + defaultPoolPath = other992.defaultPoolPath; + __isset = other992.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -25235,9 +25167,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1000; - xfer += iprot->readI32(ecast1000); - this->status = (WMResourcePlanStatus::type)ecast1000; + int32_t ecast993; + xfer += iprot->readI32(ecast993); + this->status = (WMResourcePlanStatus::type)ecast993; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -25338,23 +25270,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1001) { - name = other1001.name; - status = other1001.status; - queryParallelism = other1001.queryParallelism; - isSetQueryParallelism = other1001.isSetQueryParallelism; - defaultPoolPath = other1001.defaultPoolPath; - isSetDefaultPoolPath = other1001.isSetDefaultPoolPath; - __isset = other1001.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1002) { - name = other1002.name; - status = other1002.status; - queryParallelism = other1002.queryParallelism; - isSetQueryParallelism = other1002.isSetQueryParallelism; - defaultPoolPath = other1002.defaultPoolPath; - isSetDefaultPoolPath = other1002.isSetDefaultPoolPath; - __isset = other1002.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other994) { + name = other994.name; + status = other994.status; + queryParallelism = other994.queryParallelism; + isSetQueryParallelism = other994.isSetQueryParallelism; + defaultPoolPath = other994.defaultPoolPath; + isSetDefaultPoolPath = other994.isSetDefaultPoolPath; + __isset = other994.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other995) { + name = other995.name; + status = other995.status; + queryParallelism = other995.queryParallelism; + isSetQueryParallelism = other995.isSetQueryParallelism; + defaultPoolPath = other995.defaultPoolPath; + isSetDefaultPoolPath = other995.isSetDefaultPoolPath; + __isset = other995.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -25519,21 +25451,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other1003) { - resourcePlanName = other1003.resourcePlanName; - poolPath = other1003.poolPath; - allocFraction = other1003.allocFraction; - queryParallelism = other1003.queryParallelism; - schedulingPolicy = other1003.schedulingPolicy; - __isset = other1003.__isset; +WMPool::WMPool(const WMPool& other996) { + resourcePlanName = other996.resourcePlanName; + poolPath = other996.poolPath; + allocFraction = other996.allocFraction; + queryParallelism = other996.queryParallelism; + schedulingPolicy = other996.schedulingPolicy; + __isset = other996.__isset; } -WMPool& WMPool::operator=(const WMPool& other1004) { - resourcePlanName = other1004.resourcePlanName; - poolPath = other1004.poolPath; - allocFraction = other1004.allocFraction; - queryParallelism = other1004.queryParallelism; - schedulingPolicy = other1004.schedulingPolicy; - __isset = other1004.__isset; +WMPool& WMPool::operator=(const WMPool& other997) { + resourcePlanName = other997.resourcePlanName; + poolPath = other997.poolPath; + allocFraction = other997.allocFraction; + queryParallelism = other997.queryParallelism; + schedulingPolicy = other997.schedulingPolicy; + __isset = other997.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -25716,23 +25648,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other1005) { - resourcePlanName = other1005.resourcePlanName; - poolPath = other1005.poolPath; - allocFraction = other1005.allocFraction; - queryParallelism = other1005.queryParallelism; - schedulingPolicy = other1005.schedulingPolicy; - isSetSchedulingPolicy = other1005.isSetSchedulingPolicy; - __isset = other1005.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1006) { - resourcePlanName = other1006.resourcePlanName; - poolPath = other1006.poolPath; - allocFraction = other1006.allocFraction; - queryParallelism = other1006.queryParallelism; - schedulingPolicy = other1006.schedulingPolicy; - isSetSchedulingPolicy = other1006.isSetSchedulingPolicy; - __isset = other1006.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other998) { + resourcePlanName = other998.resourcePlanName; + poolPath = other998.poolPath; + allocFraction = other998.allocFraction; + queryParallelism = other998.queryParallelism; + schedulingPolicy = other998.schedulingPolicy; + isSetSchedulingPolicy = other998.isSetSchedulingPolicy; + __isset = other998.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other999) { + resourcePlanName = other999.resourcePlanName; + poolPath = other999.poolPath; + allocFraction = other999.allocFraction; + queryParallelism = other999.queryParallelism; + schedulingPolicy = other999.schedulingPolicy; + isSetSchedulingPolicy = other999.isSetSchedulingPolicy; + __isset = other999.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -25897,21 +25829,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other1007) { - resourcePlanName = other1007.resourcePlanName; - triggerName = other1007.triggerName; - triggerExpression = other1007.triggerExpression; - actionExpression = other1007.actionExpression; - isInUnmanaged = other1007.isInUnmanaged; - __isset = other1007.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other1008) { - resourcePlanName = other1008.resourcePlanName; - triggerName = other1008.triggerName; - triggerExpression = other1008.triggerExpression; - actionExpression = other1008.actionExpression; - isInUnmanaged = other1008.isInUnmanaged; - __isset = other1008.__isset; +WMTrigger::WMTrigger(const WMTrigger& other1000) { + resourcePlanName = other1000.resourcePlanName; + triggerName = other1000.triggerName; + triggerExpression = other1000.triggerExpression; + actionExpression = other1000.actionExpression; + isInUnmanaged = other1000.isInUnmanaged; + __isset = other1000.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other1001) { + resourcePlanName = other1001.resourcePlanName; + triggerName = other1001.triggerName; + triggerExpression = other1001.triggerExpression; + actionExpression = other1001.actionExpression; + isInUnmanaged = other1001.isInUnmanaged; + __isset = other1001.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -26076,21 +26008,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other1009) { - resourcePlanName = other1009.resourcePlanName; - entityType = other1009.entityType; - entityName = other1009.entityName; - poolPath = other1009.poolPath; - ordering = other1009.ordering; - __isset = other1009.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other1010) { - resourcePlanName = other1010.resourcePlanName; - entityType = other1010.entityType; - entityName = other1010.entityName; - poolPath = other1010.poolPath; - ordering = other1010.ordering; - __isset = other1010.__isset; +WMMapping::WMMapping(const WMMapping& other1002) { + resourcePlanName = other1002.resourcePlanName; + entityType = other1002.entityType; + entityName = other1002.entityName; + poolPath = other1002.poolPath; + ordering = other1002.ordering; + __isset = other1002.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other1003) { + resourcePlanName = other1003.resourcePlanName; + entityType = other1003.entityType; + entityName = other1003.entityName; + poolPath = other1003.poolPath; + ordering = other1003.ordering; + __isset = other1003.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -26196,13 +26128,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1011) { - pool = other1011.pool; - trigger = other1011.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1004) { + pool = other1004.pool; + trigger = other1004.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1012) { - pool = other1012.pool; - trigger = other1012.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1005) { + pool = other1005.pool; + trigger = other1005.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -26276,14 +26208,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size1013; - ::apache::thrift::protocol::TType _etype1016; - xfer += iprot->readListBegin(_etype1016, _size1013); - this->pools.resize(_size1013); - uint32_t _i1017; - for (_i1017 = 0; _i1017 < _size1013; ++_i1017) + uint32_t _size1006; + ::apache::thrift::protocol::TType _etype1009; + xfer += iprot->readListBegin(_etype1009, _size1006); + this->pools.resize(_size1006); + uint32_t _i1010; + for (_i1010 = 0; _i1010 < _size1006; ++_i1010) { - xfer += this->pools[_i1017].read(iprot); + xfer += this->pools[_i1010].read(iprot); } xfer += iprot->readListEnd(); } @@ -26296,14 +26228,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1018; - ::apache::thrift::protocol::TType _etype1021; - xfer += iprot->readListBegin(_etype1021, _size1018); - this->mappings.resize(_size1018); - uint32_t _i1022; - for (_i1022 = 0; _i1022 < _size1018; ++_i1022) + uint32_t _size1011; + ::apache::thrift::protocol::TType _etype1014; + xfer += iprot->readListBegin(_etype1014, _size1011); + this->mappings.resize(_size1011); + uint32_t _i1015; + for (_i1015 = 0; _i1015 < _size1011; ++_i1015) { - xfer += this->mappings[_i1022].read(iprot); + xfer += this->mappings[_i1015].read(iprot); } xfer += iprot->readListEnd(); } @@ -26316,14 +26248,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1023; - ::apache::thrift::protocol::TType _etype1026; - xfer += iprot->readListBegin(_etype1026, _size1023); - this->triggers.resize(_size1023); - uint32_t _i1027; - for (_i1027 = 0; _i1027 < _size1023; ++_i1027) + uint32_t _size1016; + ::apache::thrift::protocol::TType _etype1019; + xfer += iprot->readListBegin(_etype1019, _size1016); + this->triggers.resize(_size1016); + uint32_t _i1020; + for (_i1020 = 0; _i1020 < _size1016; ++_i1020) { - xfer += this->triggers[_i1027].read(iprot); + xfer += this->triggers[_i1020].read(iprot); } xfer += iprot->readListEnd(); } @@ -26336,14 +26268,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1028; - ::apache::thrift::protocol::TType _etype1031; - xfer += iprot->readListBegin(_etype1031, _size1028); - this->poolTriggers.resize(_size1028); - uint32_t _i1032; - for (_i1032 = 0; _i1032 < _size1028; ++_i1032) + uint32_t _size1021; + ::apache::thrift::protocol::TType _etype1024; + xfer += iprot->readListBegin(_etype1024, _size1021); + this->poolTriggers.resize(_size1021); + uint32_t _i1025; + for (_i1025 = 0; _i1025 < _size1021; ++_i1025) { - xfer += this->poolTriggers[_i1032].read(iprot); + xfer += this->poolTriggers[_i1025].read(iprot); } xfer += iprot->readListEnd(); } @@ -26380,10 +26312,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 _iter1033; - for (_iter1033 = this->pools.begin(); _iter1033 != this->pools.end(); ++_iter1033) + std::vector ::const_iterator _iter1026; + for (_iter1026 = this->pools.begin(); _iter1026 != this->pools.end(); ++_iter1026) { - xfer += (*_iter1033).write(oprot); + xfer += (*_iter1026).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26393,10 +26325,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 _iter1034; - for (_iter1034 = this->mappings.begin(); _iter1034 != this->mappings.end(); ++_iter1034) + std::vector ::const_iterator _iter1027; + for (_iter1027 = this->mappings.begin(); _iter1027 != this->mappings.end(); ++_iter1027) { - xfer += (*_iter1034).write(oprot); + xfer += (*_iter1027).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26406,10 +26338,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 _iter1035; - for (_iter1035 = this->triggers.begin(); _iter1035 != this->triggers.end(); ++_iter1035) + std::vector ::const_iterator _iter1028; + for (_iter1028 = this->triggers.begin(); _iter1028 != this->triggers.end(); ++_iter1028) { - xfer += (*_iter1035).write(oprot); + xfer += (*_iter1028).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26419,10 +26351,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 _iter1036; - for (_iter1036 = this->poolTriggers.begin(); _iter1036 != this->poolTriggers.end(); ++_iter1036) + std::vector ::const_iterator _iter1029; + for (_iter1029 = this->poolTriggers.begin(); _iter1029 != this->poolTriggers.end(); ++_iter1029) { - xfer += (*_iter1036).write(oprot); + xfer += (*_iter1029).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26443,21 +26375,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1037) { - plan = other1037.plan; - pools = other1037.pools; - mappings = other1037.mappings; - triggers = other1037.triggers; - poolTriggers = other1037.poolTriggers; - __isset = other1037.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1038) { - plan = other1038.plan; - pools = other1038.pools; - mappings = other1038.mappings; - triggers = other1038.triggers; - poolTriggers = other1038.poolTriggers; - __isset = other1038.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1030) { + plan = other1030.plan; + pools = other1030.pools; + mappings = other1030.mappings; + triggers = other1030.triggers; + poolTriggers = other1030.poolTriggers; + __isset = other1030.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1031) { + plan = other1031.plan; + pools = other1031.pools; + mappings = other1031.mappings; + triggers = other1031.triggers; + poolTriggers = other1031.poolTriggers; + __isset = other1031.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -26562,15 +26494,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1039) { - resourcePlan = other1039.resourcePlan; - copyFrom = other1039.copyFrom; - __isset = other1039.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1032) { + resourcePlan = other1032.resourcePlan; + copyFrom = other1032.copyFrom; + __isset = other1032.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1040) { - resourcePlan = other1040.resourcePlan; - copyFrom = other1040.copyFrom; - __isset = other1040.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1033) { + resourcePlan = other1033.resourcePlan; + copyFrom = other1033.copyFrom; + __isset = other1033.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26630,11 +26562,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1041) { - (void) other1041; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1034) { + (void) other1034; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1042) { - (void) other1042; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1035) { + (void) other1035; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -26692,11 +26624,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1043) { - (void) other1043; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1036) { + (void) other1036; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1044) { - (void) other1044; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1037) { + (void) other1037; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -26777,13 +26709,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1045) { - resourcePlan = other1045.resourcePlan; - __isset = other1045.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1038) { + resourcePlan = other1038.resourcePlan; + __isset = other1038.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1046) { - resourcePlan = other1046.resourcePlan; - __isset = other1046.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1039) { + resourcePlan = other1039.resourcePlan; + __isset = other1039.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -26865,13 +26797,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1047) { - resourcePlanName = other1047.resourcePlanName; - __isset = other1047.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1040) { + resourcePlanName = other1040.resourcePlanName; + __isset = other1040.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1048) { - resourcePlanName = other1048.resourcePlanName; - __isset = other1048.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1041) { + resourcePlanName = other1041.resourcePlanName; + __isset = other1041.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -26953,13 +26885,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1049) { - resourcePlan = other1049.resourcePlan; - __isset = other1049.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1042) { + resourcePlan = other1042.resourcePlan; + __isset = other1042.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1050) { - resourcePlan = other1050.resourcePlan; - __isset = other1050.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1043) { + resourcePlan = other1043.resourcePlan; + __isset = other1043.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -27018,11 +26950,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1051) { - (void) other1051; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1044) { + (void) other1044; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1052) { - (void) other1052; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1045) { + (void) other1045; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -27066,14 +26998,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1053; - ::apache::thrift::protocol::TType _etype1056; - xfer += iprot->readListBegin(_etype1056, _size1053); - this->resourcePlans.resize(_size1053); - uint32_t _i1057; - for (_i1057 = 0; _i1057 < _size1053; ++_i1057) + uint32_t _size1046; + ::apache::thrift::protocol::TType _etype1049; + xfer += iprot->readListBegin(_etype1049, _size1046); + this->resourcePlans.resize(_size1046); + uint32_t _i1050; + for (_i1050 = 0; _i1050 < _size1046; ++_i1050) { - xfer += this->resourcePlans[_i1057].read(iprot); + xfer += this->resourcePlans[_i1050].read(iprot); } xfer += iprot->readListEnd(); } @@ -27103,10 +27035,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 _iter1058; - for (_iter1058 = this->resourcePlans.begin(); _iter1058 != this->resourcePlans.end(); ++_iter1058) + std::vector ::const_iterator _iter1051; + for (_iter1051 = this->resourcePlans.begin(); _iter1051 != this->resourcePlans.end(); ++_iter1051) { - xfer += (*_iter1058).write(oprot); + xfer += (*_iter1051).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27123,13 +27055,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1059) { - resourcePlans = other1059.resourcePlans; - __isset = other1059.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1052) { + resourcePlans = other1052.resourcePlans; + __isset = other1052.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1060) { - resourcePlans = other1060.resourcePlans; - __isset = other1060.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1053) { + resourcePlans = other1053.resourcePlans; + __isset = other1053.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -27287,21 +27219,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1061) { - resourcePlanName = other1061.resourcePlanName; - resourcePlan = other1061.resourcePlan; - isEnableAndActivate = other1061.isEnableAndActivate; - isForceDeactivate = other1061.isForceDeactivate; - isReplace = other1061.isReplace; - __isset = other1061.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1062) { - resourcePlanName = other1062.resourcePlanName; - resourcePlan = other1062.resourcePlan; - isEnableAndActivate = other1062.isEnableAndActivate; - isForceDeactivate = other1062.isForceDeactivate; - isReplace = other1062.isReplace; - __isset = other1062.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1054) { + resourcePlanName = other1054.resourcePlanName; + resourcePlan = other1054.resourcePlan; + isEnableAndActivate = other1054.isEnableAndActivate; + isForceDeactivate = other1054.isForceDeactivate; + isReplace = other1054.isReplace; + __isset = other1054.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1055) { + resourcePlanName = other1055.resourcePlanName; + resourcePlan = other1055.resourcePlan; + isEnableAndActivate = other1055.isEnableAndActivate; + isForceDeactivate = other1055.isForceDeactivate; + isReplace = other1055.isReplace; + __isset = other1055.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -27387,13 +27319,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1063) { - fullResourcePlan = other1063.fullResourcePlan; - __isset = other1063.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1056) { + fullResourcePlan = other1056.fullResourcePlan; + __isset = other1056.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1064) { - fullResourcePlan = other1064.fullResourcePlan; - __isset = other1064.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1057) { + fullResourcePlan = other1057.fullResourcePlan; + __isset = other1057.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -27475,13 +27407,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1065) { - resourcePlanName = other1065.resourcePlanName; - __isset = other1065.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1058) { + resourcePlanName = other1058.resourcePlanName; + __isset = other1058.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1066) { - resourcePlanName = other1066.resourcePlanName; - __isset = other1066.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1059) { + resourcePlanName = other1059.resourcePlanName; + __isset = other1059.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -27531,14 +27463,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1067; - ::apache::thrift::protocol::TType _etype1070; - xfer += iprot->readListBegin(_etype1070, _size1067); - this->errors.resize(_size1067); - uint32_t _i1071; - for (_i1071 = 0; _i1071 < _size1067; ++_i1071) + uint32_t _size1060; + ::apache::thrift::protocol::TType _etype1063; + xfer += iprot->readListBegin(_etype1063, _size1060); + this->errors.resize(_size1060); + uint32_t _i1064; + for (_i1064 = 0; _i1064 < _size1060; ++_i1064) { - xfer += iprot->readString(this->errors[_i1071]); + xfer += iprot->readString(this->errors[_i1064]); } xfer += iprot->readListEnd(); } @@ -27551,14 +27483,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1072; - ::apache::thrift::protocol::TType _etype1075; - xfer += iprot->readListBegin(_etype1075, _size1072); - this->warnings.resize(_size1072); - uint32_t _i1076; - for (_i1076 = 0; _i1076 < _size1072; ++_i1076) + uint32_t _size1065; + ::apache::thrift::protocol::TType _etype1068; + xfer += iprot->readListBegin(_etype1068, _size1065); + this->warnings.resize(_size1065); + uint32_t _i1069; + for (_i1069 = 0; _i1069 < _size1065; ++_i1069) { - xfer += iprot->readString(this->warnings[_i1076]); + xfer += iprot->readString(this->warnings[_i1069]); } xfer += iprot->readListEnd(); } @@ -27588,10 +27520,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 _iter1077; - for (_iter1077 = this->errors.begin(); _iter1077 != this->errors.end(); ++_iter1077) + std::vector ::const_iterator _iter1070; + for (_iter1070 = this->errors.begin(); _iter1070 != this->errors.end(); ++_iter1070) { - xfer += oprot->writeString((*_iter1077)); + xfer += oprot->writeString((*_iter1070)); } xfer += oprot->writeListEnd(); } @@ -27601,10 +27533,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 _iter1078; - for (_iter1078 = this->warnings.begin(); _iter1078 != this->warnings.end(); ++_iter1078) + std::vector ::const_iterator _iter1071; + for (_iter1071 = this->warnings.begin(); _iter1071 != this->warnings.end(); ++_iter1071) { - xfer += oprot->writeString((*_iter1078)); + xfer += oprot->writeString((*_iter1071)); } xfer += oprot->writeListEnd(); } @@ -27622,15 +27554,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1079) { - errors = other1079.errors; - warnings = other1079.warnings; - __isset = other1079.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1072) { + errors = other1072.errors; + warnings = other1072.warnings; + __isset = other1072.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1080) { - errors = other1080.errors; - warnings = other1080.warnings; - __isset = other1080.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1073) { + errors = other1073.errors; + warnings = other1073.warnings; + __isset = other1073.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27713,13 +27645,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1081) { - resourcePlanName = other1081.resourcePlanName; - __isset = other1081.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1074) { + resourcePlanName = other1074.resourcePlanName; + __isset = other1074.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1082) { - resourcePlanName = other1082.resourcePlanName; - __isset = other1082.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1075) { + resourcePlanName = other1075.resourcePlanName; + __isset = other1075.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -27778,11 +27710,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1083) { - (void) other1083; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1076) { + (void) other1076; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1084) { - (void) other1084; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1077) { + (void) other1077; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -27863,13 +27795,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1085) { - trigger = other1085.trigger; - __isset = other1085.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1078) { + trigger = other1078.trigger; + __isset = other1078.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1086) { - trigger = other1086.trigger; - __isset = other1086.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1079) { + trigger = other1079.trigger; + __isset = other1079.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -27928,11 +27860,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1087) { - (void) other1087; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1080) { + (void) other1080; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1088) { - (void) other1088; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1081) { + (void) other1081; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -28013,13 +27945,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1089) { - trigger = other1089.trigger; - __isset = other1089.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1082) { + trigger = other1082.trigger; + __isset = other1082.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1090) { - trigger = other1090.trigger; - __isset = other1090.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1083) { + trigger = other1083.trigger; + __isset = other1083.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -28078,11 +28010,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1091) { - (void) other1091; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1084) { + (void) other1084; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1092) { - (void) other1092; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1085) { + (void) other1085; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -28182,15 +28114,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1093) { - resourcePlanName = other1093.resourcePlanName; - triggerName = other1093.triggerName; - __isset = other1093.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1086) { + resourcePlanName = other1086.resourcePlanName; + triggerName = other1086.triggerName; + __isset = other1086.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1094) { - resourcePlanName = other1094.resourcePlanName; - triggerName = other1094.triggerName; - __isset = other1094.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1087) { + resourcePlanName = other1087.resourcePlanName; + triggerName = other1087.triggerName; + __isset = other1087.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -28250,11 +28182,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1095) { - (void) other1095; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1088) { + (void) other1088; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1096) { - (void) other1096; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1089) { + (void) other1089; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -28335,13 +28267,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1097) { - resourcePlanName = other1097.resourcePlanName; - __isset = other1097.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1090) { + resourcePlanName = other1090.resourcePlanName; + __isset = other1090.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1098) { - resourcePlanName = other1098.resourcePlanName; - __isset = other1098.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1091) { + resourcePlanName = other1091.resourcePlanName; + __isset = other1091.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -28386,14 +28318,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1099; - ::apache::thrift::protocol::TType _etype1102; - xfer += iprot->readListBegin(_etype1102, _size1099); - this->triggers.resize(_size1099); - uint32_t _i1103; - for (_i1103 = 0; _i1103 < _size1099; ++_i1103) + uint32_t _size1092; + ::apache::thrift::protocol::TType _etype1095; + xfer += iprot->readListBegin(_etype1095, _size1092); + this->triggers.resize(_size1092); + uint32_t _i1096; + for (_i1096 = 0; _i1096 < _size1092; ++_i1096) { - xfer += this->triggers[_i1103].read(iprot); + xfer += this->triggers[_i1096].read(iprot); } xfer += iprot->readListEnd(); } @@ -28423,10 +28355,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 _iter1104; - for (_iter1104 = this->triggers.begin(); _iter1104 != this->triggers.end(); ++_iter1104) + std::vector ::const_iterator _iter1097; + for (_iter1097 = this->triggers.begin(); _iter1097 != this->triggers.end(); ++_iter1097) { - xfer += (*_iter1104).write(oprot); + xfer += (*_iter1097).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28443,13 +28375,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1105) { - triggers = other1105.triggers; - __isset = other1105.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1098) { + triggers = other1098.triggers; + __isset = other1098.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1106) { - triggers = other1106.triggers; - __isset = other1106.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1099) { + triggers = other1099.triggers; + __isset = other1099.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -28531,13 +28463,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1107) { - pool = other1107.pool; - __isset = other1107.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1100) { + pool = other1100.pool; + __isset = other1100.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1108) { - pool = other1108.pool; - __isset = other1108.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1101) { + pool = other1101.pool; + __isset = other1101.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -28596,11 +28528,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1109) { - (void) other1109; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1102) { + (void) other1102; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1110) { - (void) other1110; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1103) { + (void) other1103; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -28700,15 +28632,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1111) { - pool = other1111.pool; - poolPath = other1111.poolPath; - __isset = other1111.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1104) { + pool = other1104.pool; + poolPath = other1104.poolPath; + __isset = other1104.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1112) { - pool = other1112.pool; - poolPath = other1112.poolPath; - __isset = other1112.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1105) { + pool = other1105.pool; + poolPath = other1105.poolPath; + __isset = other1105.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -28768,11 +28700,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1113) { - (void) other1113; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1106) { + (void) other1106; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1114) { - (void) other1114; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1107) { + (void) other1107; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -28872,15 +28804,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1115) { - resourcePlanName = other1115.resourcePlanName; - poolPath = other1115.poolPath; - __isset = other1115.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1108) { + resourcePlanName = other1108.resourcePlanName; + poolPath = other1108.poolPath; + __isset = other1108.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1116) { - resourcePlanName = other1116.resourcePlanName; - poolPath = other1116.poolPath; - __isset = other1116.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1109) { + resourcePlanName = other1109.resourcePlanName; + poolPath = other1109.poolPath; + __isset = other1109.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -28940,11 +28872,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1117) { - (void) other1117; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1110) { + (void) other1110; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1118) { - (void) other1118; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1111) { + (void) other1111; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -29044,15 +28976,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1119) { - mapping = other1119.mapping; - update = other1119.update; - __isset = other1119.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1112) { + mapping = other1112.mapping; + update = other1112.update; + __isset = other1112.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1120) { - mapping = other1120.mapping; - update = other1120.update; - __isset = other1120.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1113) { + mapping = other1113.mapping; + update = other1113.update; + __isset = other1113.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -29112,11 +29044,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1121) { - (void) other1121; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1114) { + (void) other1114; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1122) { - (void) other1122; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1115) { + (void) other1115; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -29197,13 +29129,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1123) { - mapping = other1123.mapping; - __isset = other1123.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1116) { + mapping = other1116.mapping; + __isset = other1116.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1124) { - mapping = other1124.mapping; - __isset = other1124.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1117) { + mapping = other1117.mapping; + __isset = other1117.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -29262,11 +29194,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1125) { - (void) other1125; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1118) { + (void) other1118; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1126) { - (void) other1126; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1119) { + (void) other1119; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -29404,19 +29336,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1127) { - resourcePlanName = other1127.resourcePlanName; - triggerName = other1127.triggerName; - poolPath = other1127.poolPath; - drop = other1127.drop; - __isset = other1127.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1120) { + resourcePlanName = other1120.resourcePlanName; + triggerName = other1120.triggerName; + poolPath = other1120.poolPath; + drop = other1120.drop; + __isset = other1120.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1128) { - resourcePlanName = other1128.resourcePlanName; - triggerName = other1128.triggerName; - poolPath = other1128.poolPath; - drop = other1128.drop; - __isset = other1128.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1121) { + resourcePlanName = other1121.resourcePlanName; + triggerName = other1121.triggerName; + poolPath = other1121.poolPath; + drop = other1121.drop; + __isset = other1121.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -29478,11 +29410,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1129) { - (void) other1129; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1122) { + (void) other1122; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1130) { - (void) other1130; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1123) { + (void) other1123; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -29557,9 +29489,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1131; - xfer += iprot->readI32(ecast1131); - this->schemaType = (SchemaType::type)ecast1131; + int32_t ecast1124; + xfer += iprot->readI32(ecast1124); + this->schemaType = (SchemaType::type)ecast1124; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -29591,9 +29523,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1132; - xfer += iprot->readI32(ecast1132); - this->compatibility = (SchemaCompatibility::type)ecast1132; + int32_t ecast1125; + xfer += iprot->readI32(ecast1125); + this->compatibility = (SchemaCompatibility::type)ecast1125; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -29601,9 +29533,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1133; - xfer += iprot->readI32(ecast1133); - this->validationLevel = (SchemaValidation::type)ecast1133; + int32_t ecast1126; + xfer += iprot->readI32(ecast1126); + this->validationLevel = (SchemaValidation::type)ecast1126; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -29707,29 +29639,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1134) { - schemaType = other1134.schemaType; - name = other1134.name; - catName = other1134.catName; - dbName = other1134.dbName; - compatibility = other1134.compatibility; - validationLevel = other1134.validationLevel; - canEvolve = other1134.canEvolve; - schemaGroup = other1134.schemaGroup; - description = other1134.description; - __isset = other1134.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1135) { - schemaType = other1135.schemaType; - name = other1135.name; - catName = other1135.catName; - dbName = other1135.dbName; - compatibility = other1135.compatibility; - validationLevel = other1135.validationLevel; - canEvolve = other1135.canEvolve; - schemaGroup = other1135.schemaGroup; - description = other1135.description; - __isset = other1135.__isset; +ISchema::ISchema(const ISchema& other1127) { + schemaType = other1127.schemaType; + name = other1127.name; + catName = other1127.catName; + dbName = other1127.dbName; + compatibility = other1127.compatibility; + validationLevel = other1127.validationLevel; + canEvolve = other1127.canEvolve; + schemaGroup = other1127.schemaGroup; + description = other1127.description; + __isset = other1127.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1128) { + schemaType = other1128.schemaType; + name = other1128.name; + catName = other1128.catName; + dbName = other1128.dbName; + compatibility = other1128.compatibility; + validationLevel = other1128.validationLevel; + canEvolve = other1128.canEvolve; + schemaGroup = other1128.schemaGroup; + description = other1128.description; + __isset = other1128.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -29851,17 +29783,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1136) { - catName = other1136.catName; - dbName = other1136.dbName; - schemaName = other1136.schemaName; - __isset = other1136.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1129) { + catName = other1129.catName; + dbName = other1129.dbName; + schemaName = other1129.schemaName; + __isset = other1129.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1137) { - catName = other1137.catName; - dbName = other1137.dbName; - schemaName = other1137.schemaName; - __isset = other1137.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1130) { + catName = other1130.catName; + dbName = other1130.dbName; + schemaName = other1130.schemaName; + __isset = other1130.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -29960,15 +29892,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1138) { - name = other1138.name; - newSchema = other1138.newSchema; - __isset = other1138.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1131) { + name = other1131.name; + newSchema = other1131.newSchema; + __isset = other1131.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1139) { - name = other1139.name; - newSchema = other1139.newSchema; - __isset = other1139.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1132) { + name = other1132.name; + newSchema = other1132.newSchema; + __isset = other1132.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -30079,14 +30011,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1140; - ::apache::thrift::protocol::TType _etype1143; - xfer += iprot->readListBegin(_etype1143, _size1140); - this->cols.resize(_size1140); - uint32_t _i1144; - for (_i1144 = 0; _i1144 < _size1140; ++_i1144) + uint32_t _size1133; + ::apache::thrift::protocol::TType _etype1136; + xfer += iprot->readListBegin(_etype1136, _size1133); + this->cols.resize(_size1133); + uint32_t _i1137; + for (_i1137 = 0; _i1137 < _size1133; ++_i1137) { - xfer += this->cols[_i1144].read(iprot); + xfer += this->cols[_i1137].read(iprot); } xfer += iprot->readListEnd(); } @@ -30097,9 +30029,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1145; - xfer += iprot->readI32(ecast1145); - this->state = (SchemaVersionState::type)ecast1145; + int32_t ecast1138; + xfer += iprot->readI32(ecast1138); + this->state = (SchemaVersionState::type)ecast1138; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30177,10 +30109,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 _iter1146; - for (_iter1146 = this->cols.begin(); _iter1146 != this->cols.end(); ++_iter1146) + std::vector ::const_iterator _iter1139; + for (_iter1139 = this->cols.begin(); _iter1139 != this->cols.end(); ++_iter1139) { - xfer += (*_iter1146).write(oprot); + xfer += (*_iter1139).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30236,31 +30168,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1147) { - schema = other1147.schema; - version = other1147.version; - createdAt = other1147.createdAt; - cols = other1147.cols; - state = other1147.state; - description = other1147.description; - schemaText = other1147.schemaText; - fingerprint = other1147.fingerprint; - name = other1147.name; - serDe = other1147.serDe; - __isset = other1147.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1148) { - schema = other1148.schema; - version = other1148.version; - createdAt = other1148.createdAt; - cols = other1148.cols; - state = other1148.state; - description = other1148.description; - schemaText = other1148.schemaText; - fingerprint = other1148.fingerprint; - name = other1148.name; - serDe = other1148.serDe; - __isset = other1148.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1140) { + schema = other1140.schema; + version = other1140.version; + createdAt = other1140.createdAt; + cols = other1140.cols; + state = other1140.state; + description = other1140.description; + schemaText = other1140.schemaText; + fingerprint = other1140.fingerprint; + name = other1140.name; + serDe = other1140.serDe; + __isset = other1140.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1141) { + schema = other1141.schema; + version = other1141.version; + createdAt = other1141.createdAt; + cols = other1141.cols; + state = other1141.state; + description = other1141.description; + schemaText = other1141.schemaText; + fingerprint = other1141.fingerprint; + name = other1141.name; + serDe = other1141.serDe; + __isset = other1141.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -30366,15 +30298,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1149) { - schema = other1149.schema; - version = other1149.version; - __isset = other1149.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1142) { + schema = other1142.schema; + version = other1142.version; + __isset = other1142.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1150) { - schema = other1150.schema; - version = other1150.version; - __isset = other1150.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1143) { + schema = other1143.schema; + version = other1143.version; + __isset = other1143.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -30495,17 +30427,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1151) { - colName = other1151.colName; - colNamespace = other1151.colNamespace; - type = other1151.type; - __isset = other1151.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1144) { + colName = other1144.colName; + colNamespace = other1144.colNamespace; + type = other1144.type; + __isset = other1144.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1152) { - colName = other1152.colName; - colNamespace = other1152.colNamespace; - type = other1152.type; - __isset = other1152.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1145) { + colName = other1145.colName; + colNamespace = other1145.colNamespace; + type = other1145.type; + __isset = other1145.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -30551,14 +30483,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1153; - ::apache::thrift::protocol::TType _etype1156; - xfer += iprot->readListBegin(_etype1156, _size1153); - this->schemaVersions.resize(_size1153); - uint32_t _i1157; - for (_i1157 = 0; _i1157 < _size1153; ++_i1157) + uint32_t _size1146; + ::apache::thrift::protocol::TType _etype1149; + xfer += iprot->readListBegin(_etype1149, _size1146); + this->schemaVersions.resize(_size1146); + uint32_t _i1150; + for (_i1150 = 0; _i1150 < _size1146; ++_i1150) { - xfer += this->schemaVersions[_i1157].read(iprot); + xfer += this->schemaVersions[_i1150].read(iprot); } xfer += iprot->readListEnd(); } @@ -30587,10 +30519,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 _iter1158; - for (_iter1158 = this->schemaVersions.begin(); _iter1158 != this->schemaVersions.end(); ++_iter1158) + std::vector ::const_iterator _iter1151; + for (_iter1151 = this->schemaVersions.begin(); _iter1151 != this->schemaVersions.end(); ++_iter1151) { - xfer += (*_iter1158).write(oprot); + xfer += (*_iter1151).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30607,13 +30539,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1159) { - schemaVersions = other1159.schemaVersions; - __isset = other1159.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1152) { + schemaVersions = other1152.schemaVersions; + __isset = other1152.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1160) { - schemaVersions = other1160.schemaVersions; - __isset = other1160.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1153) { + schemaVersions = other1153.schemaVersions; + __isset = other1153.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -30710,15 +30642,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1161) { - schemaVersion = other1161.schemaVersion; - serdeName = other1161.serdeName; - __isset = other1161.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1154) { + schemaVersion = other1154.schemaVersion; + serdeName = other1154.serdeName; + __isset = other1154.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1162) { - schemaVersion = other1162.schemaVersion; - serdeName = other1162.serdeName; - __isset = other1162.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1155) { + schemaVersion = other1155.schemaVersion; + serdeName = other1155.serdeName; + __isset = other1155.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -30773,9 +30705,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1163; - xfer += iprot->readI32(ecast1163); - this->state = (SchemaVersionState::type)ecast1163; + int32_t ecast1156; + xfer += iprot->readI32(ecast1156); + this->state = (SchemaVersionState::type)ecast1156; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30818,15 +30750,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1164) { - schemaVersion = other1164.schemaVersion; - state = other1164.state; - __isset = other1164.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1157) { + schemaVersion = other1157.schemaVersion; + state = other1157.state; + __isset = other1157.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1165) { - schemaVersion = other1165.schemaVersion; - state = other1165.state; - __isset = other1165.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1158) { + schemaVersion = other1158.schemaVersion; + state = other1158.state; + __isset = other1158.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -30907,13 +30839,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1166) { - serdeName = other1166.serdeName; - __isset = other1166.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1159) { + serdeName = other1159.serdeName; + __isset = other1159.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1167) { - serdeName = other1167.serdeName; - __isset = other1167.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1160) { + serdeName = other1160.serdeName; + __isset = other1160.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -31035,17 +30967,17 @@ void swap(RuntimeStat &a, RuntimeStat &b) { swap(a.__isset, b.__isset); } -RuntimeStat::RuntimeStat(const RuntimeStat& other1168) { - createTime = other1168.createTime; - weight = other1168.weight; - payload = other1168.payload; - __isset = other1168.__isset; +RuntimeStat::RuntimeStat(const RuntimeStat& other1161) { + createTime = other1161.createTime; + weight = other1161.weight; + payload = other1161.payload; + __isset = other1161.__isset; } -RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1169) { - createTime = other1169.createTime; - weight = other1169.weight; - payload = other1169.payload; - __isset = other1169.__isset; +RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1162) { + createTime = other1162.createTime; + weight = other1162.weight; + payload = other1162.payload; + __isset = other1162.__isset; return *this; } void RuntimeStat::printTo(std::ostream& out) const { @@ -31149,13 +31081,13 @@ void swap(GetRuntimeStatsRequest &a, GetRuntimeStatsRequest &b) { swap(a.maxCreateTime, b.maxCreateTime); } -GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1170) { - maxWeight = other1170.maxWeight; - maxCreateTime = other1170.maxCreateTime; +GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1163) { + maxWeight = other1163.maxWeight; + maxCreateTime = other1163.maxCreateTime; } -GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1171) { - maxWeight = other1171.maxWeight; - maxCreateTime = other1171.maxCreateTime; +GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1164) { + maxWeight = other1164.maxWeight; + maxCreateTime = other1164.maxCreateTime; return *this; } void GetRuntimeStatsRequest::printTo(std::ostream& out) const { @@ -31236,13 +31168,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1172) : TException() { - message = other1172.message; - __isset = other1172.__isset; +MetaException::MetaException(const MetaException& other1165) : TException() { + message = other1165.message; + __isset = other1165.__isset; } -MetaException& MetaException::operator=(const MetaException& other1173) { - message = other1173.message; - __isset = other1173.__isset; +MetaException& MetaException::operator=(const MetaException& other1166) { + message = other1166.message; + __isset = other1166.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -31333,13 +31265,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1174) : TException() { - message = other1174.message; - __isset = other1174.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1167) : TException() { + message = other1167.message; + __isset = other1167.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1175) { - message = other1175.message; - __isset = other1175.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1168) { + message = other1168.message; + __isset = other1168.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -31430,13 +31362,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1176) : TException() { - message = other1176.message; - __isset = other1176.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1169) : TException() { + message = other1169.message; + __isset = other1169.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1177) { - message = other1177.message; - __isset = other1177.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1170) { + message = other1170.message; + __isset = other1170.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -31527,13 +31459,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1178) : TException() { - message = other1178.message; - __isset = other1178.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1171) : TException() { + message = other1171.message; + __isset = other1171.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1179) { - message = other1179.message; - __isset = other1179.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1172) { + message = other1172.message; + __isset = other1172.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -31624,13 +31556,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1180) : TException() { - message = other1180.message; - __isset = other1180.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1173) : TException() { + message = other1173.message; + __isset = other1173.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1181) { - message = other1181.message; - __isset = other1181.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1174) { + message = other1174.message; + __isset = other1174.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -31721,13 +31653,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1182) : TException() { - message = other1182.message; - __isset = other1182.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1175) : TException() { + message = other1175.message; + __isset = other1175.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1183) { - message = other1183.message; - __isset = other1183.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1176) { + message = other1176.message; + __isset = other1176.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -31818,13 +31750,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1184) : TException() { - message = other1184.message; - __isset = other1184.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1177) : TException() { + message = other1177.message; + __isset = other1177.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1185) { - message = other1185.message; - __isset = other1185.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1178) { + message = other1178.message; + __isset = other1178.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -31915,13 +31847,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1186) : TException() { - message = other1186.message; - __isset = other1186.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1179) : TException() { + message = other1179.message; + __isset = other1179.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1187) { - message = other1187.message; - __isset = other1187.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1180) { + message = other1180.message; + __isset = other1180.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -32012,13 +31944,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1188) : TException() { - message = other1188.message; - __isset = other1188.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1181) : TException() { + message = other1181.message; + __isset = other1181.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1189) { - message = other1189.message; - __isset = other1189.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1182) { + message = other1182.message; + __isset = other1182.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -32109,13 +32041,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1190) : TException() { - message = other1190.message; - __isset = other1190.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1183) : TException() { + message = other1183.message; + __isset = other1183.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1191) { - message = other1191.message; - __isset = other1191.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1184) { + message = other1184.message; + __isset = other1184.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -32206,13 +32138,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1192) : TException() { - message = other1192.message; - __isset = other1192.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1185) : TException() { + message = other1185.message; + __isset = other1185.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1193) { - message = other1193.message; - __isset = other1193.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1186) { + message = other1186.message; + __isset = other1186.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -32303,13 +32235,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1194) : TException() { - message = other1194.message; - __isset = other1194.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1187) : TException() { + message = other1187.message; + __isset = other1187.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1195) { - message = other1195.message; - __isset = other1195.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1188) { + message = other1188.message; + __isset = other1188.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -32400,13 +32332,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1196) : TException() { - message = other1196.message; - __isset = other1196.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1189) : TException() { + message = other1189.message; + __isset = other1189.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1197) { - message = other1197.message; - __isset = other1197.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1190) { + message = other1190.message; + __isset = other1190.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -32497,13 +32429,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1198) : TException() { - message = other1198.message; - __isset = other1198.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1191) : TException() { + message = other1191.message; + __isset = other1191.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1199) { - message = other1199.message; - __isset = other1199.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1192) { + message = other1192.message; + __isset = other1192.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -32594,13 +32526,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1200) : TException() { - message = other1200.message; - __isset = other1200.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1193) : TException() { + message = other1193.message; + __isset = other1193.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1201) { - message = other1201.message; - __isset = other1201.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1194) { + message = other1194.message; + __isset = other1194.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 5c6495e43f..756f954e68 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -8644,8 +8644,9 @@ inline std::ostream& operator<<(std::ostream& out, const BasicTxnInfo& obj) } typedef struct _CreationMetadata__isset { - _CreationMetadata__isset() : validTxnList(false) {} + _CreationMetadata__isset() : validTxnList(false), materializationTime(false) {} bool validTxnList :1; + bool materializationTime :1; } _CreationMetadata__isset; class CreationMetadata { @@ -8653,7 +8654,7 @@ class CreationMetadata { CreationMetadata(const CreationMetadata&); CreationMetadata& operator=(const CreationMetadata&); - CreationMetadata() : catName(), dbName(), tblName(), validTxnList() { + CreationMetadata() : catName(), dbName(), tblName(), validTxnList(), materializationTime(0) { } virtual ~CreationMetadata() throw(); @@ -8662,6 +8663,7 @@ class CreationMetadata { std::string tblName; std::set tablesUsed; std::string validTxnList; + int64_t materializationTime; _CreationMetadata__isset __isset; @@ -8675,6 +8677,8 @@ class CreationMetadata { void __set_validTxnList(const std::string& val); + void __set_materializationTime(const int64_t val); + bool operator == (const CreationMetadata & rhs) const { if (!(catName == rhs.catName)) @@ -8689,6 +8693,10 @@ class CreationMetadata { return false; else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) return false; + if (__isset.materializationTime != rhs.__isset.materializationTime) + return false; + else if (__isset.materializationTime && !(materializationTime == rhs.materializationTime)) + return false; return true; } bool operator != (const CreationMetadata &rhs) const { @@ -10238,52 +10246,23 @@ inline std::ostream& operator<<(std::ostream& out, const TableMeta& obj) return out; } -typedef struct _Materialization__isset { - _Materialization__isset() : validTxnList(false), invalidationTime(false), sourceTablesUpdateDeleteModified(false) {} - bool validTxnList :1; - bool invalidationTime :1; - bool sourceTablesUpdateDeleteModified :1; -} _Materialization__isset; class Materialization { public: Materialization(const Materialization&); Materialization& operator=(const Materialization&); - Materialization() : validTxnList(), invalidationTime(0), sourceTablesUpdateDeleteModified(0) { + Materialization() : sourceTablesUpdateDeleteModified(0) { } virtual ~Materialization() throw(); - std::set tablesUsed; - std::string validTxnList; - int64_t invalidationTime; bool sourceTablesUpdateDeleteModified; - _Materialization__isset __isset; - - void __set_tablesUsed(const std::set & val); - - void __set_validTxnList(const std::string& val); - - void __set_invalidationTime(const int64_t val); - void __set_sourceTablesUpdateDeleteModified(const bool val); bool operator == (const Materialization & rhs) const { - if (!(tablesUsed == rhs.tablesUsed)) - return false; - if (__isset.validTxnList != rhs.__isset.validTxnList) - return false; - else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) - return false; - if (__isset.invalidationTime != rhs.__isset.invalidationTime) - return false; - else if (__isset.invalidationTime && !(invalidationTime == rhs.invalidationTime)) - return false; - if (__isset.sourceTablesUpdateDeleteModified != rhs.__isset.sourceTablesUpdateDeleteModified) - return false; - else if (__isset.sourceTablesUpdateDeleteModified && !(sourceTablesUpdateDeleteModified == rhs.sourceTablesUpdateDeleteModified)) + if (!(sourceTablesUpdateDeleteModified == rhs.sourceTablesUpdateDeleteModified)) return false; return true; } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java index ab7b0594f0..684a0bcba6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java @@ -43,6 +43,7 @@ private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField TABLES_USED_FIELD_DESC = new org.apache.thrift.protocol.TField("tablesUsed", org.apache.thrift.protocol.TType.SET, (short)4); private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField MATERIALIZATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("materializationTime", org.apache.thrift.protocol.TType.I64, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -55,6 +56,7 @@ private String tblName; // required private Set tablesUsed; // required private String validTxnList; // optional + private long materializationTime; // 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 { @@ -62,7 +64,8 @@ DB_NAME((short)2, "dbName"), TBL_NAME((short)3, "tblName"), TABLES_USED((short)4, "tablesUsed"), - VALID_TXN_LIST((short)5, "validTxnList"); + VALID_TXN_LIST((short)5, "validTxnList"), + MATERIALIZATION_TIME((short)6, "materializationTime"); private static final Map byName = new HashMap(); @@ -87,6 +90,8 @@ public static _Fields findByThriftId(int fieldId) { return TABLES_USED; case 5: // VALID_TXN_LIST return VALID_TXN_LIST; + case 6: // MATERIALIZATION_TIME + return MATERIALIZATION_TIME; default: return null; } @@ -127,7 +132,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST}; + private static final int __MATERIALIZATIONTIME_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST,_Fields.MATERIALIZATION_TIME}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -142,6 +149,8 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.MATERIALIZATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("materializationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CreationMetadata.class, metaDataMap); } @@ -166,6 +175,7 @@ public CreationMetadata( * Performs a deep copy on other. */ public CreationMetadata(CreationMetadata other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetCatName()) { this.catName = other.catName; } @@ -182,6 +192,7 @@ public CreationMetadata(CreationMetadata other) { if (other.isSetValidTxnList()) { this.validTxnList = other.validTxnList; } + this.materializationTime = other.materializationTime; } public CreationMetadata deepCopy() { @@ -195,6 +206,8 @@ public void clear() { this.tblName = null; this.tablesUsed = null; this.validTxnList = null; + setMaterializationTimeIsSet(false); + this.materializationTime = 0; } public String getCatName() { @@ -327,6 +340,28 @@ public void setValidTxnListIsSet(boolean value) { } } + public long getMaterializationTime() { + return this.materializationTime; + } + + public void setMaterializationTime(long materializationTime) { + this.materializationTime = materializationTime; + setMaterializationTimeIsSet(true); + } + + public void unsetMaterializationTime() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MATERIALIZATIONTIME_ISSET_ID); + } + + /** Returns true if field materializationTime is set (has been assigned a value) and false otherwise */ + public boolean isSetMaterializationTime() { + return EncodingUtils.testBit(__isset_bitfield, __MATERIALIZATIONTIME_ISSET_ID); + } + + public void setMaterializationTimeIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MATERIALIZATIONTIME_ISSET_ID, value); + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case CAT_NAME: @@ -369,6 +404,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case MATERIALIZATION_TIME: + if (value == null) { + unsetMaterializationTime(); + } else { + setMaterializationTime((Long)value); + } + break; + } } @@ -389,6 +432,9 @@ public Object getFieldValue(_Fields field) { case VALID_TXN_LIST: return getValidTxnList(); + case MATERIALIZATION_TIME: + return getMaterializationTime(); + } throw new IllegalStateException(); } @@ -410,6 +456,8 @@ public boolean isSet(_Fields field) { return isSetTablesUsed(); case VALID_TXN_LIST: return isSetValidTxnList(); + case MATERIALIZATION_TIME: + return isSetMaterializationTime(); } throw new IllegalStateException(); } @@ -472,6 +520,15 @@ public boolean equals(CreationMetadata that) { return false; } + boolean this_present_materializationTime = true && this.isSetMaterializationTime(); + boolean that_present_materializationTime = true && that.isSetMaterializationTime(); + if (this_present_materializationTime || that_present_materializationTime) { + if (!(this_present_materializationTime && that_present_materializationTime)) + return false; + if (this.materializationTime != that.materializationTime) + return false; + } + return true; } @@ -504,6 +561,11 @@ public int hashCode() { if (present_validTxnList) list.add(validTxnList); + boolean present_materializationTime = true && (isSetMaterializationTime()); + list.add(present_materializationTime); + if (present_materializationTime) + list.add(materializationTime); + return list.hashCode(); } @@ -565,6 +627,16 @@ public int compareTo(CreationMetadata other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetMaterializationTime()).compareTo(other.isSetMaterializationTime()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMaterializationTime()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.materializationTime, other.materializationTime); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -626,6 +698,12 @@ public String toString() { } first = false; } + if (isSetMaterializationTime()) { + if (!first) sb.append(", "); + sb.append("materializationTime:"); + sb.append(this.materializationTime); + first = false; + } sb.append(")"); return sb.toString(); } @@ -661,6 +739,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -735,6 +815,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 6: // MATERIALIZATION_TIME + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.materializationTime = iprot.readI64(); + struct.setMaterializationTimeIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -782,6 +870,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s oprot.writeFieldEnd(); } } + if (struct.isSetMaterializationTime()) { + oprot.writeFieldBegin(MATERIALIZATION_TIME_FIELD_DESC); + oprot.writeI64(struct.materializationTime); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -813,10 +906,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st if (struct.isSetValidTxnList()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetMaterializationTime()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); if (struct.isSetValidTxnList()) { oprot.writeString(struct.validTxnList); } + if (struct.isSetMaterializationTime()) { + oprot.writeI64(struct.materializationTime); + } } @Override @@ -839,11 +938,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str } } struct.setTablesUsedIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.validTxnList = iprot.readString(); struct.setValidTxnListIsSet(true); } + if (incoming.get(1)) { + struct.materializationTime = iprot.readI64(); + struct.setMaterializationTimeIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index e43493e925..bb640865b3 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,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 _list920 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list920.size); - SchemaVersionDescriptor _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list912.size); + SchemaVersionDescriptor _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem921 = new SchemaVersionDescriptor(); - _elem921.read(iprot); - struct.schemaVersions.add(_elem921); + _elem913 = new SchemaVersionDescriptor(); + _elem913.read(iprot); + struct.schemaVersions.add(_elem913); } iprot.readListEnd(); } @@ -383,9 +383,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 _iter923 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter915 : struct.schemaVersions) { - _iter923.write(oprot); + _iter915.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter924 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter916 : struct.schemaVersions) { - _iter924.write(oprot); + _iter916.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list925.size); - SchemaVersionDescriptor _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list917.size); + SchemaVersionDescriptor _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem926 = new SchemaVersionDescriptor(); - _elem926.read(iprot); - struct.schemaVersions.add(_elem926); + _elem918 = new SchemaVersionDescriptor(); + _elem918.read(iprot); + struct.schemaVersions.add(_elem918); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java index 4e792bc9a4..0972c5e297 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java @@ -38,10 +38,7 @@ @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class Materialization implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Materialization"); - private static final org.apache.thrift.protocol.TField TABLES_USED_FIELD_DESC = new org.apache.thrift.protocol.TField("tablesUsed", org.apache.thrift.protocol.TType.SET, (short)1); - private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField INVALIDATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("invalidationTime", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField SOURCE_TABLES_UPDATE_DELETE_MODIFIED_FIELD_DESC = new org.apache.thrift.protocol.TField("sourceTablesUpdateDeleteModified", org.apache.thrift.protocol.TType.BOOL, (short)4); + private static final org.apache.thrift.protocol.TField SOURCE_TABLES_UPDATE_DELETE_MODIFIED_FIELD_DESC = new org.apache.thrift.protocol.TField("sourceTablesUpdateDeleteModified", org.apache.thrift.protocol.TType.BOOL, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -49,17 +46,11 @@ schemes.put(TupleScheme.class, new MaterializationTupleSchemeFactory()); } - private Set tablesUsed; // required - private String validTxnList; // optional - private long invalidationTime; // optional - private boolean sourceTablesUpdateDeleteModified; // optional + private boolean sourceTablesUpdateDeleteModified; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TABLES_USED((short)1, "tablesUsed"), - VALID_TXN_LIST((short)2, "validTxnList"), - INVALIDATION_TIME((short)3, "invalidationTime"), - SOURCE_TABLES_UPDATE_DELETE_MODIFIED((short)4, "sourceTablesUpdateDeleteModified"); + SOURCE_TABLES_UPDATE_DELETE_MODIFIED((short)1, "sourceTablesUpdateDeleteModified"); private static final Map byName = new HashMap(); @@ -74,13 +65,7 @@ */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // TABLES_USED - return TABLES_USED; - case 2: // VALID_TXN_LIST - return VALID_TXN_LIST; - case 3: // INVALIDATION_TIME - return INVALIDATION_TIME; - case 4: // SOURCE_TABLES_UPDATE_DELETE_MODIFIED + case 1: // SOURCE_TABLES_UPDATE_DELETE_MODIFIED return SOURCE_TABLES_UPDATE_DELETE_MODIFIED; default: return null; @@ -122,21 +107,12 @@ public String getFieldName() { } // isset id assignments - private static final int __INVALIDATIONTIME_ISSET_ID = 0; - private static final int __SOURCETABLESUPDATEDELETEMODIFIED_ISSET_ID = 1; + private static final int __SOURCETABLESUPDATEDELETEMODIFIED_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST,_Fields.INVALIDATION_TIME,_Fields.SOURCE_TABLES_UPDATE_DELETE_MODIFIED}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TABLES_USED, new org.apache.thrift.meta_data.FieldMetaData("tablesUsed", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.INVALIDATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("invalidationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.SOURCE_TABLES_UPDATE_DELETE_MODIFIED, new org.apache.thrift.meta_data.FieldMetaData("sourceTablesUpdateDeleteModified", org.apache.thrift.TFieldRequirementType.OPTIONAL, + tmpMap.put(_Fields.SOURCE_TABLES_UPDATE_DELETE_MODIFIED, new org.apache.thrift.meta_data.FieldMetaData("sourceTablesUpdateDeleteModified", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Materialization.class, metaDataMap); @@ -146,10 +122,11 @@ public Materialization() { } public Materialization( - Set tablesUsed) + boolean sourceTablesUpdateDeleteModified) { this(); - this.tablesUsed = tablesUsed; + this.sourceTablesUpdateDeleteModified = sourceTablesUpdateDeleteModified; + setSourceTablesUpdateDeleteModifiedIsSet(true); } /** @@ -157,14 +134,6 @@ public Materialization( */ public Materialization(Materialization other) { __isset_bitfield = other.__isset_bitfield; - if (other.isSetTablesUsed()) { - Set __this__tablesUsed = new HashSet(other.tablesUsed); - this.tablesUsed = __this__tablesUsed; - } - if (other.isSetValidTxnList()) { - this.validTxnList = other.validTxnList; - } - this.invalidationTime = other.invalidationTime; this.sourceTablesUpdateDeleteModified = other.sourceTablesUpdateDeleteModified; } @@ -174,97 +143,10 @@ public Materialization deepCopy() { @Override public void clear() { - this.tablesUsed = null; - this.validTxnList = null; - setInvalidationTimeIsSet(false); - this.invalidationTime = 0; setSourceTablesUpdateDeleteModifiedIsSet(false); this.sourceTablesUpdateDeleteModified = false; } - public int getTablesUsedSize() { - return (this.tablesUsed == null) ? 0 : this.tablesUsed.size(); - } - - public java.util.Iterator getTablesUsedIterator() { - return (this.tablesUsed == null) ? null : this.tablesUsed.iterator(); - } - - public void addToTablesUsed(String elem) { - if (this.tablesUsed == null) { - this.tablesUsed = new HashSet(); - } - this.tablesUsed.add(elem); - } - - public Set getTablesUsed() { - return this.tablesUsed; - } - - public void setTablesUsed(Set tablesUsed) { - this.tablesUsed = tablesUsed; - } - - public void unsetTablesUsed() { - this.tablesUsed = null; - } - - /** Returns true if field tablesUsed is set (has been assigned a value) and false otherwise */ - public boolean isSetTablesUsed() { - return this.tablesUsed != null; - } - - public void setTablesUsedIsSet(boolean value) { - if (!value) { - this.tablesUsed = null; - } - } - - public String getValidTxnList() { - return this.validTxnList; - } - - public void setValidTxnList(String validTxnList) { - this.validTxnList = validTxnList; - } - - public void unsetValidTxnList() { - this.validTxnList = null; - } - - /** Returns true if field validTxnList is set (has been assigned a value) and false otherwise */ - public boolean isSetValidTxnList() { - return this.validTxnList != null; - } - - public void setValidTxnListIsSet(boolean value) { - if (!value) { - this.validTxnList = null; - } - } - - public long getInvalidationTime() { - return this.invalidationTime; - } - - public void setInvalidationTime(long invalidationTime) { - this.invalidationTime = invalidationTime; - setInvalidationTimeIsSet(true); - } - - public void unsetInvalidationTime() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __INVALIDATIONTIME_ISSET_ID); - } - - /** Returns true if field invalidationTime is set (has been assigned a value) and false otherwise */ - public boolean isSetInvalidationTime() { - return EncodingUtils.testBit(__isset_bitfield, __INVALIDATIONTIME_ISSET_ID); - } - - public void setInvalidationTimeIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __INVALIDATIONTIME_ISSET_ID, value); - } - public boolean isSourceTablesUpdateDeleteModified() { return this.sourceTablesUpdateDeleteModified; } @@ -289,30 +171,6 @@ public void setSourceTablesUpdateDeleteModifiedIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case TABLES_USED: - if (value == null) { - unsetTablesUsed(); - } else { - setTablesUsed((Set)value); - } - break; - - case VALID_TXN_LIST: - if (value == null) { - unsetValidTxnList(); - } else { - setValidTxnList((String)value); - } - break; - - case INVALIDATION_TIME: - if (value == null) { - unsetInvalidationTime(); - } else { - setInvalidationTime((Long)value); - } - break; - case SOURCE_TABLES_UPDATE_DELETE_MODIFIED: if (value == null) { unsetSourceTablesUpdateDeleteModified(); @@ -326,15 +184,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case TABLES_USED: - return getTablesUsed(); - - case VALID_TXN_LIST: - return getValidTxnList(); - - case INVALIDATION_TIME: - return getInvalidationTime(); - case SOURCE_TABLES_UPDATE_DELETE_MODIFIED: return isSourceTablesUpdateDeleteModified(); @@ -349,12 +198,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case TABLES_USED: - return isSetTablesUsed(); - case VALID_TXN_LIST: - return isSetValidTxnList(); - case INVALIDATION_TIME: - return isSetInvalidationTime(); case SOURCE_TABLES_UPDATE_DELETE_MODIFIED: return isSetSourceTablesUpdateDeleteModified(); } @@ -374,35 +217,8 @@ public boolean equals(Materialization that) { if (that == null) return false; - boolean this_present_tablesUsed = true && this.isSetTablesUsed(); - boolean that_present_tablesUsed = true && that.isSetTablesUsed(); - if (this_present_tablesUsed || that_present_tablesUsed) { - if (!(this_present_tablesUsed && that_present_tablesUsed)) - return false; - if (!this.tablesUsed.equals(that.tablesUsed)) - return false; - } - - boolean this_present_validTxnList = true && this.isSetValidTxnList(); - boolean that_present_validTxnList = true && that.isSetValidTxnList(); - if (this_present_validTxnList || that_present_validTxnList) { - if (!(this_present_validTxnList && that_present_validTxnList)) - return false; - if (!this.validTxnList.equals(that.validTxnList)) - return false; - } - - boolean this_present_invalidationTime = true && this.isSetInvalidationTime(); - boolean that_present_invalidationTime = true && that.isSetInvalidationTime(); - if (this_present_invalidationTime || that_present_invalidationTime) { - if (!(this_present_invalidationTime && that_present_invalidationTime)) - return false; - if (this.invalidationTime != that.invalidationTime) - return false; - } - - boolean this_present_sourceTablesUpdateDeleteModified = true && this.isSetSourceTablesUpdateDeleteModified(); - boolean that_present_sourceTablesUpdateDeleteModified = true && that.isSetSourceTablesUpdateDeleteModified(); + boolean this_present_sourceTablesUpdateDeleteModified = true; + boolean that_present_sourceTablesUpdateDeleteModified = true; if (this_present_sourceTablesUpdateDeleteModified || that_present_sourceTablesUpdateDeleteModified) { if (!(this_present_sourceTablesUpdateDeleteModified && that_present_sourceTablesUpdateDeleteModified)) return false; @@ -417,22 +233,7 @@ public boolean equals(Materialization that) { public int hashCode() { List list = new ArrayList(); - boolean present_tablesUsed = true && (isSetTablesUsed()); - list.add(present_tablesUsed); - if (present_tablesUsed) - list.add(tablesUsed); - - boolean present_validTxnList = true && (isSetValidTxnList()); - list.add(present_validTxnList); - if (present_validTxnList) - list.add(validTxnList); - - boolean present_invalidationTime = true && (isSetInvalidationTime()); - list.add(present_invalidationTime); - if (present_invalidationTime) - list.add(invalidationTime); - - boolean present_sourceTablesUpdateDeleteModified = true && (isSetSourceTablesUpdateDeleteModified()); + boolean present_sourceTablesUpdateDeleteModified = true; list.add(present_sourceTablesUpdateDeleteModified); if (present_sourceTablesUpdateDeleteModified) list.add(sourceTablesUpdateDeleteModified); @@ -448,36 +249,6 @@ public int compareTo(Materialization other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetTablesUsed()).compareTo(other.isSetTablesUsed()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTablesUsed()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablesUsed, other.tablesUsed); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetValidTxnList()).compareTo(other.isSetValidTxnList()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetValidTxnList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validTxnList, other.validTxnList); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetInvalidationTime()).compareTo(other.isSetInvalidationTime()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetInvalidationTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invalidationTime, other.invalidationTime); - if (lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetSourceTablesUpdateDeleteModified()).compareTo(other.isSetSourceTablesUpdateDeleteModified()); if (lastComparison != 0) { return lastComparison; @@ -508,43 +279,17 @@ public String toString() { StringBuilder sb = new StringBuilder("Materialization("); boolean first = true; - sb.append("tablesUsed:"); - if (this.tablesUsed == null) { - sb.append("null"); - } else { - sb.append(this.tablesUsed); - } + sb.append("sourceTablesUpdateDeleteModified:"); + sb.append(this.sourceTablesUpdateDeleteModified); first = false; - if (isSetValidTxnList()) { - if (!first) sb.append(", "); - sb.append("validTxnList:"); - if (this.validTxnList == null) { - sb.append("null"); - } else { - sb.append(this.validTxnList); - } - first = false; - } - if (isSetInvalidationTime()) { - if (!first) sb.append(", "); - sb.append("invalidationTime:"); - sb.append(this.invalidationTime); - first = false; - } - if (isSetSourceTablesUpdateDeleteModified()) { - if (!first) sb.append(", "); - sb.append("sourceTablesUpdateDeleteModified:"); - sb.append(this.sourceTablesUpdateDeleteModified); - first = false; - } sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields - if (!isSetTablesUsed()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tablesUsed' is unset! Struct:" + toString()); + if (!isSetSourceTablesUpdateDeleteModified()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'sourceTablesUpdateDeleteModified' is unset! Struct:" + toString()); } // check for sub-struct validity @@ -586,41 +331,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Materialization str break; } switch (schemeField.id) { - case 1: // TABLES_USED - if (schemeField.type == org.apache.thrift.protocol.TType.SET) { - { - org.apache.thrift.protocol.TSet _set840 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set840.size); - String _elem841; - for (int _i842 = 0; _i842 < _set840.size; ++_i842) - { - _elem841 = iprot.readString(); - struct.tablesUsed.add(_elem841); - } - iprot.readSetEnd(); - } - struct.setTablesUsedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // VALID_TXN_LIST - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.validTxnList = iprot.readString(); - struct.setValidTxnListIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // INVALIDATION_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.invalidationTime = iprot.readI64(); - struct.setInvalidationTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // SOURCE_TABLES_UPDATE_DELETE_MODIFIED + case 1: // SOURCE_TABLES_UPDATE_DELETE_MODIFIED if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.sourceTablesUpdateDeleteModified = iprot.readBool(); struct.setSourceTablesUpdateDeleteModifiedIsSet(true); @@ -641,35 +352,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Materialization st struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.tablesUsed != null) { - oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); - { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter843 : struct.tablesUsed) - { - oprot.writeString(_iter843); - } - oprot.writeSetEnd(); - } - oprot.writeFieldEnd(); - } - if (struct.validTxnList != null) { - if (struct.isSetValidTxnList()) { - oprot.writeFieldBegin(VALID_TXN_LIST_FIELD_DESC); - oprot.writeString(struct.validTxnList); - oprot.writeFieldEnd(); - } - } - if (struct.isSetInvalidationTime()) { - oprot.writeFieldBegin(INVALIDATION_TIME_FIELD_DESC); - oprot.writeI64(struct.invalidationTime); - oprot.writeFieldEnd(); - } - if (struct.isSetSourceTablesUpdateDeleteModified()) { - oprot.writeFieldBegin(SOURCE_TABLES_UPDATE_DELETE_MODIFIED_FIELD_DESC); - oprot.writeBool(struct.sourceTablesUpdateDeleteModified); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(SOURCE_TABLES_UPDATE_DELETE_MODIFIED_FIELD_DESC); + oprot.writeBool(struct.sourceTablesUpdateDeleteModified); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -687,62 +372,14 @@ public MaterializationTupleScheme getScheme() { @Override public void write(org.apache.thrift.protocol.TProtocol prot, Materialization struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - { - oprot.writeI32(struct.tablesUsed.size()); - for (String _iter844 : struct.tablesUsed) - { - oprot.writeString(_iter844); - } - } - BitSet optionals = new BitSet(); - if (struct.isSetValidTxnList()) { - optionals.set(0); - } - if (struct.isSetInvalidationTime()) { - optionals.set(1); - } - if (struct.isSetSourceTablesUpdateDeleteModified()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetValidTxnList()) { - oprot.writeString(struct.validTxnList); - } - if (struct.isSetInvalidationTime()) { - oprot.writeI64(struct.invalidationTime); - } - if (struct.isSetSourceTablesUpdateDeleteModified()) { - oprot.writeBool(struct.sourceTablesUpdateDeleteModified); - } + oprot.writeBool(struct.sourceTablesUpdateDeleteModified); } @Override public void read(org.apache.thrift.protocol.TProtocol prot, Materialization struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - { - org.apache.thrift.protocol.TSet _set845 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set845.size); - String _elem846; - for (int _i847 = 0; _i847 < _set845.size; ++_i847) - { - _elem846 = iprot.readString(); - struct.tablesUsed.add(_elem846); - } - } - struct.setTablesUsedIsSet(true); - BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.validTxnList = iprot.readString(); - struct.setValidTxnListIsSet(true); - } - if (incoming.get(1)) { - struct.invalidationTime = iprot.readI64(); - struct.setInvalidationTimeIsSet(true); - } - if (incoming.get(2)) { - struct.sourceTablesUpdateDeleteModified = iprot.readBool(); - struct.setSourceTablesUpdateDeleteModifiedIsSet(true); - } + struct.sourceTablesUpdateDeleteModified = iprot.readBool(); + struct.setSourceTablesUpdateDeleteModifiedIsSet(true); } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index 76dfe174fb..62bc3b4bb4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,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 _list912 = iprot.readListBegin(); - struct.cols = new ArrayList(_list912.size); - FieldSchema _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.cols = new ArrayList(_list904.size); + FieldSchema _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem913 = new FieldSchema(); - _elem913.read(iprot); - struct.cols.add(_elem913); + _elem905 = new FieldSchema(); + _elem905.read(iprot); + struct.cols.add(_elem905); } iprot.readListEnd(); } @@ -1212,9 +1212,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 _iter915 : struct.cols) + for (FieldSchema _iter907 : struct.cols) { - _iter915.write(oprot); + _iter907.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter916 : struct.cols) + for (FieldSchema _iter908 : struct.cols) { - _iter916.write(oprot); + _iter908.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list917.size); - FieldSchema _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list909.size); + FieldSchema _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem918 = new FieldSchema(); - _elem918.read(iprot); - struct.cols.add(_elem918); + _elem910 = new FieldSchema(); + _elem910.read(iprot); + struct.cols.add(_elem910); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 672ebf96d4..b7a9d587af 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -128,7 +128,7 @@ public GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; - public Map get_materialization_invalidation_info(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; + public Materialization get_materialization_invalidation_info(CreationMetadata creation_metadata, String validTxnList) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; public void update_creation_metadata(String catName, String dbname, String tbl_name, CreationMetadata creation_metadata) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; @@ -546,7 +546,7 @@ public void get_table_objects_by_name_req(GetTablesRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_materialization_invalidation_info(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_materialization_invalidation_info(CreationMetadata creation_metadata, String validTxnList, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void update_creation_metadata(String catName, String dbname, String tbl_name, CreationMetadata creation_metadata, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -2121,21 +2121,21 @@ public GetTablesResult recv_get_table_objects_by_name_req() throws MetaException throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result"); } - public Map get_materialization_invalidation_info(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException + public Materialization get_materialization_invalidation_info(CreationMetadata creation_metadata, String validTxnList) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { - send_get_materialization_invalidation_info(dbname, tbl_names); + send_get_materialization_invalidation_info(creation_metadata, validTxnList); return recv_get_materialization_invalidation_info(); } - public void send_get_materialization_invalidation_info(String dbname, List tbl_names) throws org.apache.thrift.TException + public void send_get_materialization_invalidation_info(CreationMetadata creation_metadata, String validTxnList) throws org.apache.thrift.TException { get_materialization_invalidation_info_args args = new get_materialization_invalidation_info_args(); - args.setDbname(dbname); - args.setTbl_names(tbl_names); + args.setCreation_metadata(creation_metadata); + args.setValidTxnList(validTxnList); sendBase("get_materialization_invalidation_info", args); } - public Map recv_get_materialization_invalidation_info() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException + public Materialization recv_get_materialization_invalidation_info() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); receiveBase(result, "get_materialization_invalidation_info"); @@ -8319,32 +8319,32 @@ public GetTablesResult getResult() throws MetaException, InvalidOperationExcepti } } - public void get_materialization_invalidation_info(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_materialization_invalidation_info(CreationMetadata creation_metadata, String validTxnList, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - get_materialization_invalidation_info_call method_call = new get_materialization_invalidation_info_call(dbname, tbl_names, resultHandler, this, ___protocolFactory, ___transport); + get_materialization_invalidation_info_call method_call = new get_materialization_invalidation_info_call(creation_metadata, validTxnList, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info_call extends org.apache.thrift.async.TAsyncMethodCall { - private String dbname; - private List tbl_names; - public get_materialization_invalidation_info_call(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + private CreationMetadata creation_metadata; + private String validTxnList; + public get_materialization_invalidation_info_call(CreationMetadata creation_metadata, String validTxnList, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.dbname = dbname; - this.tbl_names = tbl_names; + this.creation_metadata = creation_metadata; + this.validTxnList = validTxnList; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_materialization_invalidation_info", org.apache.thrift.protocol.TMessageType.CALL, 0)); get_materialization_invalidation_info_args args = new get_materialization_invalidation_info_args(); - args.setDbname(dbname); - args.setTbl_names(tbl_names); + args.setCreation_metadata(creation_metadata); + args.setValidTxnList(validTxnList); args.write(prot); prot.writeMessageEnd(); } - public Map getResult() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { + public Materialization getResult() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -15335,7 +15335,7 @@ protected boolean isOneway() { public get_materialization_invalidation_info_result getResult(I iface, get_materialization_invalidation_info_args args) throws org.apache.thrift.TException { get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); try { - result.success = iface.get_materialization_invalidation_info(args.dbname, args.tbl_names); + result.success = iface.get_materialization_invalidation_info(args.creation_metadata, args.validTxnList); } catch (MetaException o1) { result.o1 = o1; } catch (InvalidOperationException o2) { @@ -22390,7 +22390,7 @@ public void start(I iface, get_table_objects_by_name_req_args args, org.apache.t } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info extends org.apache.thrift.AsyncProcessFunction> { + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info extends org.apache.thrift.AsyncProcessFunction { public get_materialization_invalidation_info() { super("get_materialization_invalidation_info"); } @@ -22399,10 +22399,10 @@ public get_materialization_invalidation_info_args getEmptyArgsInstance() { return new get_materialization_invalidation_info_args(); } - public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { + return new AsyncMethodCallback() { + public void onComplete(Materialization o) { get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); result.success = o; try { @@ -22452,8 +22452,8 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_materialization_invalidation_info_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.get_materialization_invalidation_info(args.dbname, args.tbl_names,resultHandler); + public void start(I iface, get_materialization_invalidation_info_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_materialization_invalidation_info(args.creation_metadata, args.validTxnList,resultHandler); } } @@ -42252,13 +42252,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 _list928 = iprot.readListBegin(); - struct.success = new ArrayList(_list928.size); - String _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.success = new ArrayList(_list920.size); + String _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem929 = iprot.readString(); - struct.success.add(_elem929); + _elem921 = iprot.readString(); + struct.success.add(_elem921); } iprot.readListEnd(); } @@ -42293,9 +42293,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter931 : struct.success) + for (String _iter923 : struct.success) { - oprot.writeString(_iter931); + oprot.writeString(_iter923); } oprot.writeListEnd(); } @@ -42334,9 +42334,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter932 : struct.success) + for (String _iter924 : struct.success) { - oprot.writeString(_iter932); + oprot.writeString(_iter924); } } } @@ -42351,13 +42351,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list933.size); - String _elem934; - for (int _i935 = 0; _i935 < _list933.size; ++_i935) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list925.size); + String _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem934 = iprot.readString(); - struct.success.add(_elem934); + _elem926 = iprot.readString(); + struct.success.add(_elem926); } } struct.setSuccessIsSet(true); @@ -43011,13 +43011,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 _list936 = iprot.readListBegin(); - struct.success = new ArrayList(_list936.size); - String _elem937; - for (int _i938 = 0; _i938 < _list936.size; ++_i938) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.success = new ArrayList(_list928.size); + String _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem937 = iprot.readString(); - struct.success.add(_elem937); + _elem929 = iprot.readString(); + struct.success.add(_elem929); } iprot.readListEnd(); } @@ -43052,9 +43052,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter939 : struct.success) + for (String _iter931 : struct.success) { - oprot.writeString(_iter939); + oprot.writeString(_iter931); } oprot.writeListEnd(); } @@ -43093,9 +43093,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter940 : struct.success) + for (String _iter932 : struct.success) { - oprot.writeString(_iter940); + oprot.writeString(_iter932); } } } @@ -43110,13 +43110,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list941.size); - String _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list933.size); + String _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem942 = iprot.readString(); - struct.success.add(_elem942); + _elem934 = iprot.readString(); + struct.success.add(_elem934); } } struct.setSuccessIsSet(true); @@ -47723,16 +47723,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 _map944 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map944.size); - String _key945; - Type _val946; - for (int _i947 = 0; _i947 < _map944.size; ++_i947) + org.apache.thrift.protocol.TMap _map936 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map936.size); + String _key937; + Type _val938; + for (int _i939 = 0; _i939 < _map936.size; ++_i939) { - _key945 = iprot.readString(); - _val946 = new Type(); - _val946.read(iprot); - struct.success.put(_key945, _val946); + _key937 = iprot.readString(); + _val938 = new Type(); + _val938.read(iprot); + struct.success.put(_key937, _val938); } iprot.readMapEnd(); } @@ -47767,10 +47767,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter948 : struct.success.entrySet()) + for (Map.Entry _iter940 : struct.success.entrySet()) { - oprot.writeString(_iter948.getKey()); - _iter948.getValue().write(oprot); + oprot.writeString(_iter940.getKey()); + _iter940.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -47809,10 +47809,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter949 : struct.success.entrySet()) + for (Map.Entry _iter941 : struct.success.entrySet()) { - oprot.writeString(_iter949.getKey()); - _iter949.getValue().write(oprot); + oprot.writeString(_iter941.getKey()); + _iter941.getValue().write(oprot); } } } @@ -47827,16 +47827,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map950 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map950.size); - String _key951; - Type _val952; - for (int _i953 = 0; _i953 < _map950.size; ++_i953) + org.apache.thrift.protocol.TMap _map942 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map942.size); + String _key943; + Type _val944; + for (int _i945 = 0; _i945 < _map942.size; ++_i945) { - _key951 = iprot.readString(); - _val952 = new Type(); - _val952.read(iprot); - struct.success.put(_key951, _val952); + _key943 = iprot.readString(); + _val944 = new Type(); + _val944.read(iprot); + struct.success.put(_key943, _val944); } } struct.setSuccessIsSet(true); @@ -48871,14 +48871,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 _list954 = iprot.readListBegin(); - struct.success = new ArrayList(_list954.size); - FieldSchema _elem955; - for (int _i956 = 0; _i956 < _list954.size; ++_i956) + org.apache.thrift.protocol.TList _list946 = iprot.readListBegin(); + struct.success = new ArrayList(_list946.size); + FieldSchema _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem955 = new FieldSchema(); - _elem955.read(iprot); - struct.success.add(_elem955); + _elem947 = new FieldSchema(); + _elem947.read(iprot); + struct.success.add(_elem947); } iprot.readListEnd(); } @@ -48931,9 +48931,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 _iter957 : struct.success) + for (FieldSchema _iter949 : struct.success) { - _iter957.write(oprot); + _iter949.write(oprot); } oprot.writeListEnd(); } @@ -48988,9 +48988,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter958 : struct.success) + for (FieldSchema _iter950 : struct.success) { - _iter958.write(oprot); + _iter950.write(oprot); } } } @@ -49011,14 +49011,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list959 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list959.size); - FieldSchema _elem960; - for (int _i961 = 0; _i961 < _list959.size; ++_i961) + org.apache.thrift.protocol.TList _list951 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list951.size); + FieldSchema _elem952; + for (int _i953 = 0; _i953 < _list951.size; ++_i953) { - _elem960 = new FieldSchema(); - _elem960.read(iprot); - struct.success.add(_elem960); + _elem952 = new FieldSchema(); + _elem952.read(iprot); + struct.success.add(_elem952); } } struct.setSuccessIsSet(true); @@ -50172,14 +50172,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 _list962 = iprot.readListBegin(); - struct.success = new ArrayList(_list962.size); - FieldSchema _elem963; - for (int _i964 = 0; _i964 < _list962.size; ++_i964) + org.apache.thrift.protocol.TList _list954 = iprot.readListBegin(); + struct.success = new ArrayList(_list954.size); + FieldSchema _elem955; + for (int _i956 = 0; _i956 < _list954.size; ++_i956) { - _elem963 = new FieldSchema(); - _elem963.read(iprot); - struct.success.add(_elem963); + _elem955 = new FieldSchema(); + _elem955.read(iprot); + struct.success.add(_elem955); } iprot.readListEnd(); } @@ -50232,9 +50232,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 _iter965 : struct.success) + for (FieldSchema _iter957 : struct.success) { - _iter965.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -50289,9 +50289,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter966 : struct.success) + for (FieldSchema _iter958 : struct.success) { - _iter966.write(oprot); + _iter958.write(oprot); } } } @@ -50312,14 +50312,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list967.size); - FieldSchema _elem968; - for (int _i969 = 0; _i969 < _list967.size; ++_i969) + org.apache.thrift.protocol.TList _list959 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list959.size); + FieldSchema _elem960; + for (int _i961 = 0; _i961 < _list959.size; ++_i961) { - _elem968 = new FieldSchema(); - _elem968.read(iprot); - struct.success.add(_elem968); + _elem960 = new FieldSchema(); + _elem960.read(iprot); + struct.success.add(_elem960); } } struct.setSuccessIsSet(true); @@ -51364,14 +51364,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 _list970 = iprot.readListBegin(); - struct.success = new ArrayList(_list970.size); - FieldSchema _elem971; - for (int _i972 = 0; _i972 < _list970.size; ++_i972) + org.apache.thrift.protocol.TList _list962 = iprot.readListBegin(); + struct.success = new ArrayList(_list962.size); + FieldSchema _elem963; + for (int _i964 = 0; _i964 < _list962.size; ++_i964) { - _elem971 = new FieldSchema(); - _elem971.read(iprot); - struct.success.add(_elem971); + _elem963 = new FieldSchema(); + _elem963.read(iprot); + struct.success.add(_elem963); } iprot.readListEnd(); } @@ -51424,9 +51424,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 _iter973 : struct.success) + for (FieldSchema _iter965 : struct.success) { - _iter973.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -51481,9 +51481,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter974 : struct.success) + for (FieldSchema _iter966 : struct.success) { - _iter974.write(oprot); + _iter966.write(oprot); } } } @@ -51504,14 +51504,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list975.size); - FieldSchema _elem976; - for (int _i977 = 0; _i977 < _list975.size; ++_i977) + org.apache.thrift.protocol.TList _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list967.size); + FieldSchema _elem968; + for (int _i969 = 0; _i969 < _list967.size; ++_i969) { - _elem976 = new FieldSchema(); - _elem976.read(iprot); - struct.success.add(_elem976); + _elem968 = new FieldSchema(); + _elem968.read(iprot); + struct.success.add(_elem968); } } struct.setSuccessIsSet(true); @@ -52665,14 +52665,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 _list978 = iprot.readListBegin(); - struct.success = new ArrayList(_list978.size); - FieldSchema _elem979; - for (int _i980 = 0; _i980 < _list978.size; ++_i980) + org.apache.thrift.protocol.TList _list970 = iprot.readListBegin(); + struct.success = new ArrayList(_list970.size); + FieldSchema _elem971; + for (int _i972 = 0; _i972 < _list970.size; ++_i972) { - _elem979 = new FieldSchema(); - _elem979.read(iprot); - struct.success.add(_elem979); + _elem971 = new FieldSchema(); + _elem971.read(iprot); + struct.success.add(_elem971); } iprot.readListEnd(); } @@ -52725,9 +52725,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 _iter981 : struct.success) + for (FieldSchema _iter973 : struct.success) { - _iter981.write(oprot); + _iter973.write(oprot); } oprot.writeListEnd(); } @@ -52782,9 +52782,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter982 : struct.success) + for (FieldSchema _iter974 : struct.success) { - _iter982.write(oprot); + _iter974.write(oprot); } } } @@ -52805,14 +52805,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list983.size); - FieldSchema _elem984; - for (int _i985 = 0; _i985 < _list983.size; ++_i985) + org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list975.size); + FieldSchema _elem976; + for (int _i977 = 0; _i977 < _list975.size; ++_i977) { - _elem984 = new FieldSchema(); - _elem984.read(iprot); - struct.success.add(_elem984); + _elem976 = new FieldSchema(); + _elem976.read(iprot); + struct.success.add(_elem976); } } struct.setSuccessIsSet(true); @@ -55941,14 +55941,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 _list986 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list986.size); - SQLPrimaryKey _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list978.size); + SQLPrimaryKey _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem987 = new SQLPrimaryKey(); - _elem987.read(iprot); - struct.primaryKeys.add(_elem987); + _elem979 = new SQLPrimaryKey(); + _elem979.read(iprot); + struct.primaryKeys.add(_elem979); } iprot.readListEnd(); } @@ -55960,14 +55960,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 _list989 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list989.size); - SQLForeignKey _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list981 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list981.size); + SQLForeignKey _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem990 = new SQLForeignKey(); - _elem990.read(iprot); - struct.foreignKeys.add(_elem990); + _elem982 = new SQLForeignKey(); + _elem982.read(iprot); + struct.foreignKeys.add(_elem982); } iprot.readListEnd(); } @@ -55979,14 +55979,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 _list992 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list992.size); - SQLUniqueConstraint _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list984.size); + SQLUniqueConstraint _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem993 = new SQLUniqueConstraint(); - _elem993.read(iprot); - struct.uniqueConstraints.add(_elem993); + _elem985 = new SQLUniqueConstraint(); + _elem985.read(iprot); + struct.uniqueConstraints.add(_elem985); } iprot.readListEnd(); } @@ -55998,14 +55998,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 _list995 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list995.size); - SQLNotNullConstraint _elem996; - for (int _i997 = 0; _i997 < _list995.size; ++_i997) + org.apache.thrift.protocol.TList _list987 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list987.size); + SQLNotNullConstraint _elem988; + for (int _i989 = 0; _i989 < _list987.size; ++_i989) { - _elem996 = new SQLNotNullConstraint(); - _elem996.read(iprot); - struct.notNullConstraints.add(_elem996); + _elem988 = new SQLNotNullConstraint(); + _elem988.read(iprot); + struct.notNullConstraints.add(_elem988); } iprot.readListEnd(); } @@ -56017,14 +56017,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 _list998 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list998.size); - SQLDefaultConstraint _elem999; - for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) + org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list990.size); + SQLDefaultConstraint _elem991; + for (int _i992 = 0; _i992 < _list990.size; ++_i992) { - _elem999 = new SQLDefaultConstraint(); - _elem999.read(iprot); - struct.defaultConstraints.add(_elem999); + _elem991 = new SQLDefaultConstraint(); + _elem991.read(iprot); + struct.defaultConstraints.add(_elem991); } iprot.readListEnd(); } @@ -56036,14 +56036,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 _list1001 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1001.size); - SQLCheckConstraint _elem1002; - for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003) + org.apache.thrift.protocol.TList _list993 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list993.size); + SQLCheckConstraint _elem994; + for (int _i995 = 0; _i995 < _list993.size; ++_i995) { - _elem1002 = new SQLCheckConstraint(); - _elem1002.read(iprot); - struct.checkConstraints.add(_elem1002); + _elem994 = new SQLCheckConstraint(); + _elem994.read(iprot); + struct.checkConstraints.add(_elem994); } iprot.readListEnd(); } @@ -56074,9 +56074,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 _iter1004 : struct.primaryKeys) + for (SQLPrimaryKey _iter996 : struct.primaryKeys) { - _iter1004.write(oprot); + _iter996.write(oprot); } oprot.writeListEnd(); } @@ -56086,9 +56086,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 _iter1005 : struct.foreignKeys) + for (SQLForeignKey _iter997 : struct.foreignKeys) { - _iter1005.write(oprot); + _iter997.write(oprot); } oprot.writeListEnd(); } @@ -56098,9 +56098,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 _iter1006 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter998 : struct.uniqueConstraints) { - _iter1006.write(oprot); + _iter998.write(oprot); } oprot.writeListEnd(); } @@ -56110,9 +56110,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 _iter1007 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter999 : struct.notNullConstraints) { - _iter1007.write(oprot); + _iter999.write(oprot); } oprot.writeListEnd(); } @@ -56122,9 +56122,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 _iter1008 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1000 : struct.defaultConstraints) { - _iter1008.write(oprot); + _iter1000.write(oprot); } oprot.writeListEnd(); } @@ -56134,9 +56134,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 _iter1009 : struct.checkConstraints) + for (SQLCheckConstraint _iter1001 : struct.checkConstraints) { - _iter1009.write(oprot); + _iter1001.write(oprot); } oprot.writeListEnd(); } @@ -56188,54 +56188,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1010 : struct.primaryKeys) + for (SQLPrimaryKey _iter1002 : struct.primaryKeys) { - _iter1010.write(oprot); + _iter1002.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1011 : struct.foreignKeys) + for (SQLForeignKey _iter1003 : struct.foreignKeys) { - _iter1011.write(oprot); + _iter1003.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1012 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1004 : struct.uniqueConstraints) { - _iter1012.write(oprot); + _iter1004.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1013 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1005 : struct.notNullConstraints) { - _iter1013.write(oprot); + _iter1005.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1014 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1006 : struct.defaultConstraints) { - _iter1014.write(oprot); + _iter1006.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1015 : struct.checkConstraints) + for (SQLCheckConstraint _iter1007 : struct.checkConstraints) { - _iter1015.write(oprot); + _iter1007.write(oprot); } } } @@ -56252,84 +56252,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1016 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1016.size); - SQLPrimaryKey _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1008 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1008.size); + SQLPrimaryKey _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem1017 = new SQLPrimaryKey(); - _elem1017.read(iprot); - struct.primaryKeys.add(_elem1017); + _elem1009 = new SQLPrimaryKey(); + _elem1009.read(iprot); + struct.primaryKeys.add(_elem1009); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1019 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1019.size); - SQLForeignKey _elem1020; - for (int _i1021 = 0; _i1021 < _list1019.size; ++_i1021) + org.apache.thrift.protocol.TList _list1011 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1011.size); + SQLForeignKey _elem1012; + for (int _i1013 = 0; _i1013 < _list1011.size; ++_i1013) { - _elem1020 = new SQLForeignKey(); - _elem1020.read(iprot); - struct.foreignKeys.add(_elem1020); + _elem1012 = new SQLForeignKey(); + _elem1012.read(iprot); + struct.foreignKeys.add(_elem1012); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1022 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1022.size); - SQLUniqueConstraint _elem1023; - for (int _i1024 = 0; _i1024 < _list1022.size; ++_i1024) + org.apache.thrift.protocol.TList _list1014 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1014.size); + SQLUniqueConstraint _elem1015; + for (int _i1016 = 0; _i1016 < _list1014.size; ++_i1016) { - _elem1023 = new SQLUniqueConstraint(); - _elem1023.read(iprot); - struct.uniqueConstraints.add(_elem1023); + _elem1015 = new SQLUniqueConstraint(); + _elem1015.read(iprot); + struct.uniqueConstraints.add(_elem1015); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1025.size); - SQLNotNullConstraint _elem1026; - for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) + org.apache.thrift.protocol.TList _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1017.size); + SQLNotNullConstraint _elem1018; + for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) { - _elem1026 = new SQLNotNullConstraint(); - _elem1026.read(iprot); - struct.notNullConstraints.add(_elem1026); + _elem1018 = new SQLNotNullConstraint(); + _elem1018.read(iprot); + struct.notNullConstraints.add(_elem1018); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1028 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1028.size); - SQLDefaultConstraint _elem1029; - for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) + org.apache.thrift.protocol.TList _list1020 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1020.size); + SQLDefaultConstraint _elem1021; + for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) { - _elem1029 = new SQLDefaultConstraint(); - _elem1029.read(iprot); - struct.defaultConstraints.add(_elem1029); + _elem1021 = new SQLDefaultConstraint(); + _elem1021.read(iprot); + struct.defaultConstraints.add(_elem1021); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1031.size); - SQLCheckConstraint _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1023.size); + SQLCheckConstraint _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1032 = new SQLCheckConstraint(); - _elem1032.read(iprot); - struct.checkConstraints.add(_elem1032); + _elem1024 = new SQLCheckConstraint(); + _elem1024.read(iprot); + struct.checkConstraints.add(_elem1024); } } struct.setCheckConstraintsIsSet(true); @@ -65479,13 +65479,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 _list1034 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1026.size); + String _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1035 = iprot.readString(); - struct.partNames.add(_elem1035); + _elem1027 = iprot.readString(); + struct.partNames.add(_elem1027); } iprot.readListEnd(); } @@ -65521,9 +65521,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 (String _iter1037 : struct.partNames) + for (String _iter1029 : struct.partNames) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1029); } oprot.writeListEnd(); } @@ -65566,9 +65566,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1038 : struct.partNames) + for (String _iter1030 : struct.partNames) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1030); } } } @@ -65588,13 +65588,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1039.size); - String _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1031.size); + String _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1040 = iprot.readString(); - struct.partNames.add(_elem1040); + _elem1032 = iprot.readString(); + struct.partNames.add(_elem1032); } } struct.setPartNamesIsSet(true); @@ -66819,13 +66819,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 _list1042 = iprot.readListBegin(); - struct.success = new ArrayList(_list1042.size); - String _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.success = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1043 = iprot.readString(); - struct.success.add(_elem1043); + _elem1035 = iprot.readString(); + struct.success.add(_elem1035); } iprot.readListEnd(); } @@ -66860,9 +66860,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1045 : struct.success) + for (String _iter1037 : struct.success) { - oprot.writeString(_iter1045); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -66901,9 +66901,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1046 : struct.success) + for (String _iter1038 : struct.success) { - oprot.writeString(_iter1046); + oprot.writeString(_iter1038); } } } @@ -66918,13 +66918,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1047.size); - String _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1039.size); + String _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1048 = iprot.readString(); - struct.success.add(_elem1048); + _elem1040 = iprot.readString(); + struct.success.add(_elem1040); } } struct.setSuccessIsSet(true); @@ -67898,13 +67898,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 _list1050 = iprot.readListBegin(); - struct.success = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.success = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1051 = iprot.readString(); - struct.success.add(_elem1051); + _elem1043 = iprot.readString(); + struct.success.add(_elem1043); } iprot.readListEnd(); } @@ -67939,9 +67939,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 (String _iter1053 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -67980,9 +67980,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1054 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1046); } } } @@ -67997,13 +67997,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1056 = iprot.readString(); - struct.success.add(_elem1056); + _elem1048 = iprot.readString(); + struct.success.add(_elem1048); } } struct.setSuccessIsSet(true); @@ -68769,13 +68769,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 _list1058 = iprot.readListBegin(); - struct.success = new ArrayList(_list1058.size); - String _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList(_list1050.size); + String _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1059 = iprot.readString(); - struct.success.add(_elem1059); + _elem1051 = iprot.readString(); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -68810,9 +68810,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 (String _iter1061 : struct.success) + for (String _iter1053 : struct.success) { - oprot.writeString(_iter1061); + oprot.writeString(_iter1053); } oprot.writeListEnd(); } @@ -68851,9 +68851,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1062 : struct.success) + for (String _iter1054 : struct.success) { - oprot.writeString(_iter1062); + oprot.writeString(_iter1054); } } } @@ -68868,13 +68868,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1063.size); - String _elem1064; - for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1055.size); + String _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1064 = iprot.readString(); - struct.success.add(_elem1064); + _elem1056 = iprot.readString(); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -69379,13 +69379,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 _list1066 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1066.size); - String _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1067 = iprot.readString(); - struct.tbl_types.add(_elem1067); + _elem1059 = iprot.readString(); + struct.tbl_types.add(_elem1059); } iprot.readListEnd(); } @@ -69421,9 +69421,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 (String _iter1069 : struct.tbl_types) + for (String _iter1061 : struct.tbl_types) { - oprot.writeString(_iter1069); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -69466,9 +69466,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 (String _iter1070 : struct.tbl_types) + for (String _iter1062 : struct.tbl_types) { - oprot.writeString(_iter1070); + oprot.writeString(_iter1062); } } } @@ -69488,13 +69488,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1071.size); - String _elem1072; - for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1072 = iprot.readString(); - struct.tbl_types.add(_elem1072); + _elem1064 = iprot.readString(); + struct.tbl_types.add(_elem1064); } } struct.setTbl_typesIsSet(true); @@ -69900,14 +69900,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 _list1074 = iprot.readListBegin(); - struct.success = new ArrayList(_list1074.size); - TableMeta _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.success = new ArrayList(_list1066.size); + TableMeta _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1075 = new TableMeta(); - _elem1075.read(iprot); - struct.success.add(_elem1075); + _elem1067 = new TableMeta(); + _elem1067.read(iprot); + struct.success.add(_elem1067); } iprot.readListEnd(); } @@ -69942,9 +69942,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 _iter1077 : struct.success) + for (TableMeta _iter1069 : struct.success) { - _iter1077.write(oprot); + _iter1069.write(oprot); } oprot.writeListEnd(); } @@ -69983,9 +69983,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1078 : struct.success) + for (TableMeta _iter1070 : struct.success) { - _iter1078.write(oprot); + _iter1070.write(oprot); } } } @@ -70000,14 +70000,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1079.size); - TableMeta _elem1080; - for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1071.size); + TableMeta _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1080 = new TableMeta(); - _elem1080.read(iprot); - struct.success.add(_elem1080); + _elem1072 = new TableMeta(); + _elem1072.read(iprot); + struct.success.add(_elem1072); } } struct.setSuccessIsSet(true); @@ -70773,13 +70773,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 _list1082 = iprot.readListBegin(); - struct.success = new ArrayList(_list1082.size); - String _elem1083; - for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.success = new ArrayList(_list1074.size); + String _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1083 = iprot.readString(); - struct.success.add(_elem1083); + _elem1075 = iprot.readString(); + struct.success.add(_elem1075); } iprot.readListEnd(); } @@ -70814,9 +70814,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1085 : struct.success) + for (String _iter1077 : struct.success) { - oprot.writeString(_iter1085); + oprot.writeString(_iter1077); } oprot.writeListEnd(); } @@ -70855,9 +70855,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1086 : struct.success) + for (String _iter1078 : struct.success) { - oprot.writeString(_iter1086); + oprot.writeString(_iter1078); } } } @@ -70872,13 +70872,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1087.size); - String _elem1088; - for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) + org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1079.size); + String _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1088 = iprot.readString(); - struct.success.add(_elem1088); + _elem1080 = iprot.readString(); + struct.success.add(_elem1080); } } struct.setSuccessIsSet(true); @@ -72331,13 +72331,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1090.size); - String _elem1091; - for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1082.size); + String _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1091 = iprot.readString(); - struct.tbl_names.add(_elem1091); + _elem1083 = iprot.readString(); + struct.tbl_names.add(_elem1083); } iprot.readListEnd(); } @@ -72368,9 +72368,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1093 : struct.tbl_names) + for (String _iter1085 : struct.tbl_names) { - oprot.writeString(_iter1093); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -72407,9 +72407,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1094 : struct.tbl_names) + for (String _iter1086 : struct.tbl_names) { - oprot.writeString(_iter1094); + oprot.writeString(_iter1086); } } } @@ -72425,13 +72425,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1095.size); - String _elem1096; - for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) + org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1096 = iprot.readString(); - struct.tbl_names.add(_elem1096); + _elem1088 = iprot.readString(); + struct.tbl_names.add(_elem1088); } } struct.setTbl_namesIsSet(true); @@ -72756,14 +72756,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1098.size); - Table _elem1099; - for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1090.size); + Table _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1099 = new Table(); - _elem1099.read(iprot); - struct.success.add(_elem1099); + _elem1091 = new Table(); + _elem1091.read(iprot); + struct.success.add(_elem1091); } iprot.readListEnd(); } @@ -72789,9 +72789,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1101 : struct.success) + for (Table _iter1093 : struct.success) { - _iter1101.write(oprot); + _iter1093.write(oprot); } oprot.writeListEnd(); } @@ -72822,9 +72822,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1102 : struct.success) + for (Table _iter1094 : struct.success) { - _iter1102.write(oprot); + _iter1094.write(oprot); } } } @@ -72836,14 +72836,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1103.size); - Table _elem1104; - for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) + org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1095.size); + Table _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1104 = new Table(); - _elem1104.read(iprot); - struct.success.add(_elem1104); + _elem1096 = new Table(); + _elem1096.read(iprot); + struct.success.add(_elem1096); } } struct.setSuccessIsSet(true); @@ -74838,8 +74838,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialization_invalidation_info_args"); - private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_names", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.thrift.protocol.TField CREATION_METADATA_FIELD_DESC = new org.apache.thrift.protocol.TField("creation_metadata", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -74847,13 +74847,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by schemes.put(TupleScheme.class, new get_materialization_invalidation_info_argsTupleSchemeFactory()); } - private String dbname; // required - private List tbl_names; // required + private CreationMetadata creation_metadata; // required + private String validTxnList; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - DBNAME((short)1, "dbname"), - TBL_NAMES((short)2, "tbl_names"); + CREATION_METADATA((short)1, "creation_metadata"), + VALID_TXN_LIST((short)2, "validTxnList"); private static final Map byName = new HashMap(); @@ -74868,10 +74868,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DBNAME - return DBNAME; - case 2: // TBL_NAMES - return TBL_NAMES; + case 1: // CREATION_METADATA + return CREATION_METADATA; + case 2: // VALID_TXN_LIST + return VALID_TXN_LIST; default: return null; } @@ -74915,11 +74915,10 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DBNAME, new org.apache.thrift.meta_data.FieldMetaData("dbname", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.CREATION_METADATA, new org.apache.thrift.meta_data.FieldMetaData("creation_metadata", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreationMetadata.class))); + tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAMES, new org.apache.thrift.meta_data.FieldMetaData("tbl_names", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialization_invalidation_info_args.class, metaDataMap); } @@ -74928,24 +74927,23 @@ public get_materialization_invalidation_info_args() { } public get_materialization_invalidation_info_args( - String dbname, - List tbl_names) + CreationMetadata creation_metadata, + String validTxnList) { this(); - this.dbname = dbname; - this.tbl_names = tbl_names; + this.creation_metadata = creation_metadata; + this.validTxnList = validTxnList; } /** * Performs a deep copy on other. */ public get_materialization_invalidation_info_args(get_materialization_invalidation_info_args other) { - if (other.isSetDbname()) { - this.dbname = other.dbname; + if (other.isSetCreation_metadata()) { + this.creation_metadata = new CreationMetadata(other.creation_metadata); } - if (other.isSetTbl_names()) { - List __this__tbl_names = new ArrayList(other.tbl_names); - this.tbl_names = __this__tbl_names; + if (other.isSetValidTxnList()) { + this.validTxnList = other.validTxnList; } } @@ -74955,86 +74953,71 @@ public get_materialization_invalidation_info_args deepCopy() { @Override public void clear() { - this.dbname = null; - this.tbl_names = null; + this.creation_metadata = null; + this.validTxnList = null; } - public String getDbname() { - return this.dbname; + public CreationMetadata getCreation_metadata() { + return this.creation_metadata; } - public void setDbname(String dbname) { - this.dbname = dbname; + public void setCreation_metadata(CreationMetadata creation_metadata) { + this.creation_metadata = creation_metadata; } - public void unsetDbname() { - this.dbname = null; + public void unsetCreation_metadata() { + this.creation_metadata = null; } - /** Returns true if field dbname is set (has been assigned a value) and false otherwise */ - public boolean isSetDbname() { - return this.dbname != null; + /** Returns true if field creation_metadata is set (has been assigned a value) and false otherwise */ + public boolean isSetCreation_metadata() { + return this.creation_metadata != null; } - public void setDbnameIsSet(boolean value) { + public void setCreation_metadataIsSet(boolean value) { if (!value) { - this.dbname = null; + this.creation_metadata = null; } } - public int getTbl_namesSize() { - return (this.tbl_names == null) ? 0 : this.tbl_names.size(); - } - - public java.util.Iterator getTbl_namesIterator() { - return (this.tbl_names == null) ? null : this.tbl_names.iterator(); - } - - public void addToTbl_names(String elem) { - if (this.tbl_names == null) { - this.tbl_names = new ArrayList(); - } - this.tbl_names.add(elem); + public String getValidTxnList() { + return this.validTxnList; } - public List getTbl_names() { - return this.tbl_names; + public void setValidTxnList(String validTxnList) { + this.validTxnList = validTxnList; } - public void setTbl_names(List tbl_names) { - this.tbl_names = tbl_names; + public void unsetValidTxnList() { + this.validTxnList = null; } - public void unsetTbl_names() { - this.tbl_names = null; + /** Returns true if field validTxnList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidTxnList() { + return this.validTxnList != null; } - /** Returns true if field tbl_names is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_names() { - return this.tbl_names != null; - } - - public void setTbl_namesIsSet(boolean value) { + public void setValidTxnListIsSet(boolean value) { if (!value) { - this.tbl_names = null; + this.validTxnList = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DBNAME: + case CREATION_METADATA: if (value == null) { - unsetDbname(); + unsetCreation_metadata(); } else { - setDbname((String)value); + setCreation_metadata((CreationMetadata)value); } break; - case TBL_NAMES: + case VALID_TXN_LIST: if (value == null) { - unsetTbl_names(); + unsetValidTxnList(); } else { - setTbl_names((List)value); + setValidTxnList((String)value); } break; @@ -75043,11 +75026,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DBNAME: - return getDbname(); + case CREATION_METADATA: + return getCreation_metadata(); - case TBL_NAMES: - return getTbl_names(); + case VALID_TXN_LIST: + return getValidTxnList(); } throw new IllegalStateException(); @@ -75060,10 +75043,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case DBNAME: - return isSetDbname(); - case TBL_NAMES: - return isSetTbl_names(); + case CREATION_METADATA: + return isSetCreation_metadata(); + case VALID_TXN_LIST: + return isSetValidTxnList(); } throw new IllegalStateException(); } @@ -75081,21 +75064,21 @@ public boolean equals(get_materialization_invalidation_info_args that) { if (that == null) return false; - boolean this_present_dbname = true && this.isSetDbname(); - boolean that_present_dbname = true && that.isSetDbname(); - if (this_present_dbname || that_present_dbname) { - if (!(this_present_dbname && that_present_dbname)) + boolean this_present_creation_metadata = true && this.isSetCreation_metadata(); + boolean that_present_creation_metadata = true && that.isSetCreation_metadata(); + if (this_present_creation_metadata || that_present_creation_metadata) { + if (!(this_present_creation_metadata && that_present_creation_metadata)) return false; - if (!this.dbname.equals(that.dbname)) + if (!this.creation_metadata.equals(that.creation_metadata)) return false; } - boolean this_present_tbl_names = true && this.isSetTbl_names(); - boolean that_present_tbl_names = true && that.isSetTbl_names(); - if (this_present_tbl_names || that_present_tbl_names) { - if (!(this_present_tbl_names && that_present_tbl_names)) + boolean this_present_validTxnList = true && this.isSetValidTxnList(); + boolean that_present_validTxnList = true && that.isSetValidTxnList(); + if (this_present_validTxnList || that_present_validTxnList) { + if (!(this_present_validTxnList && that_present_validTxnList)) return false; - if (!this.tbl_names.equals(that.tbl_names)) + if (!this.validTxnList.equals(that.validTxnList)) return false; } @@ -75106,15 +75089,15 @@ public boolean equals(get_materialization_invalidation_info_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_dbname = true && (isSetDbname()); - list.add(present_dbname); - if (present_dbname) - list.add(dbname); + boolean present_creation_metadata = true && (isSetCreation_metadata()); + list.add(present_creation_metadata); + if (present_creation_metadata) + list.add(creation_metadata); - boolean present_tbl_names = true && (isSetTbl_names()); - list.add(present_tbl_names); - if (present_tbl_names) - list.add(tbl_names); + boolean present_validTxnList = true && (isSetValidTxnList()); + list.add(present_validTxnList); + if (present_validTxnList) + list.add(validTxnList); return list.hashCode(); } @@ -75127,22 +75110,22 @@ public int compareTo(get_materialization_invalidation_info_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); + lastComparison = Boolean.valueOf(isSetCreation_metadata()).compareTo(other.isSetCreation_metadata()); if (lastComparison != 0) { return lastComparison; } - if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); + if (isSetCreation_metadata()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creation_metadata, other.creation_metadata); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_names()).compareTo(other.isSetTbl_names()); + lastComparison = Boolean.valueOf(isSetValidTxnList()).compareTo(other.isSetValidTxnList()); if (lastComparison != 0) { return lastComparison; } - if (isSetTbl_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_names, other.tbl_names); + if (isSetValidTxnList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validTxnList, other.validTxnList); if (lastComparison != 0) { return lastComparison; } @@ -75167,19 +75150,19 @@ public String toString() { StringBuilder sb = new StringBuilder("get_materialization_invalidation_info_args("); boolean first = true; - sb.append("dbname:"); - if (this.dbname == null) { + sb.append("creation_metadata:"); + if (this.creation_metadata == null) { sb.append("null"); } else { - sb.append(this.dbname); + sb.append(this.creation_metadata); } first = false; if (!first) sb.append(", "); - sb.append("tbl_names:"); - if (this.tbl_names == null) { + sb.append("validTxnList:"); + if (this.validTxnList == null) { sb.append("null"); } else { - sb.append(this.tbl_names); + sb.append(this.validTxnList); } first = false; sb.append(")"); @@ -75189,6 +75172,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (creation_metadata != null) { + creation_metadata.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -75225,28 +75211,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization break; } switch (schemeField.id) { - case 1: // DBNAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.dbname = iprot.readString(); - struct.setDbnameIsSet(true); + case 1: // CREATION_METADATA + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creation_metadata = new CreationMetadata(); + struct.creation_metadata.read(iprot); + struct.setCreation_metadataIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TBL_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1106.size); - String _elem1107; - for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) - { - _elem1107 = iprot.readString(); - struct.tbl_names.add(_elem1107); - } - iprot.readListEnd(); - } - struct.setTbl_namesIsSet(true); + case 2: // VALID_TXN_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validTxnList = iprot.readString(); + struct.setValidTxnListIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -75264,21 +75241,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.dbname != null) { - oprot.writeFieldBegin(DBNAME_FIELD_DESC); - oprot.writeString(struct.dbname); + if (struct.creation_metadata != null) { + oprot.writeFieldBegin(CREATION_METADATA_FIELD_DESC); + struct.creation_metadata.write(oprot); oprot.writeFieldEnd(); } - if (struct.tbl_names != null) { - oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1109 : struct.tbl_names) - { - oprot.writeString(_iter1109); - } - oprot.writeListEnd(); - } + if (struct.validTxnList != null) { + oprot.writeFieldBegin(VALID_TXN_LIST_FIELD_DESC); + oprot.writeString(struct.validTxnList); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -75299,24 +75269,18 @@ public get_materialization_invalidation_info_argsTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization_invalidation_info_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDbname()) { + if (struct.isSetCreation_metadata()) { optionals.set(0); } - if (struct.isSetTbl_names()) { + if (struct.isSetValidTxnList()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); - if (struct.isSetDbname()) { - oprot.writeString(struct.dbname); + if (struct.isSetCreation_metadata()) { + struct.creation_metadata.write(oprot); } - if (struct.isSetTbl_names()) { - { - oprot.writeI32(struct.tbl_names.size()); - for (String _iter1110 : struct.tbl_names) - { - oprot.writeString(_iter1110); - } - } + if (struct.isSetValidTxnList()) { + oprot.writeString(struct.validTxnList); } } @@ -75325,21 +75289,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.dbname = iprot.readString(); - struct.setDbnameIsSet(true); + struct.creation_metadata = new CreationMetadata(); + struct.creation_metadata.read(iprot); + struct.setCreation_metadataIsSet(true); } if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1111.size); - String _elem1112; - for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) - { - _elem1112 = iprot.readString(); - struct.tbl_names.add(_elem1112); - } - } - struct.setTbl_namesIsSet(true); + struct.validTxnList = iprot.readString(); + struct.setValidTxnListIsSet(true); } } } @@ -75349,7 +75305,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialization_invalidation_info_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); @@ -75360,7 +75316,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ schemes.put(TupleScheme.class, new get_materialization_invalidation_info_resultTupleSchemeFactory()); } - private Map success; // required + private Materialization success; // required private MetaException o1; // required private InvalidOperationException o2; // required private UnknownDBException o3; // required @@ -75437,9 +75393,7 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.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.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Materialization.class)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Materialization.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -75454,7 +75408,7 @@ public get_materialization_invalidation_info_result() { } public get_materialization_invalidation_info_result( - Map success, + Materialization success, MetaException o1, InvalidOperationException o2, UnknownDBException o3) @@ -75471,19 +75425,7 @@ public get_materialization_invalidation_info_result( */ public get_materialization_invalidation_info_result(get_materialization_invalidation_info_result other) { if (other.isSetSuccess()) { - Map __this__success = new HashMap(other.success.size()); - for (Map.Entry other_element : other.success.entrySet()) { - - String other_element_key = other_element.getKey(); - Materialization other_element_value = other_element.getValue(); - - String __this__success_copy_key = other_element_key; - - Materialization __this__success_copy_value = new Materialization(other_element_value); - - __this__success.put(__this__success_copy_key, __this__success_copy_value); - } - this.success = __this__success; + this.success = new Materialization(other.success); } if (other.isSetO1()) { this.o1 = new MetaException(other.o1); @@ -75508,22 +75450,11 @@ public void clear() { this.o3 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(String key, Materialization val) { - if (this.success == null) { - this.success = new HashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { + public Materialization getSuccess() { return this.success; } - public void setSuccess(Map success) { + public void setSuccess(Materialization success) { this.success = success; } @@ -75617,7 +75548,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Map)value); + setSuccess((Materialization)value); } break; @@ -75870,6 +75801,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -75907,21 +75841,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map1114 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1114.size); - String _key1115; - Materialization _val1116; - for (int _i1117 = 0; _i1117 < _map1114.size; ++_i1117) - { - _key1115 = iprot.readString(); - _val1116 = new Materialization(); - _val1116.read(iprot); - struct.success.put(_key1115, _val1116); - } - iprot.readMapEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new Materialization(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -75969,15 +75891,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1118 : struct.success.entrySet()) - { - oprot.writeString(_iter1118.getKey()); - _iter1118.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -76027,14 +75941,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization } oprot.writeBitSet(optionals, 4); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1119 : struct.success.entrySet()) - { - oprot.writeString(_iter1119.getKey()); - _iter1119.getValue().write(oprot); - } - } + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -76052,19 +75959,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map1120 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map1120.size); - String _key1121; - Materialization _val1122; - for (int _i1123 = 0; _i1123 < _map1120.size; ++_i1123) - { - _key1121 = iprot.readString(); - _val1122 = new Materialization(); - _val1122.read(iprot); - struct.success.put(_key1121, _val1122); - } - } + struct.success = new Materialization(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -78455,13 +78351,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 _list1124 = iprot.readListBegin(); - struct.success = new ArrayList(_list1124.size); - String _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); + struct.success = new ArrayList(_list1098.size); + String _elem1099; + for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) { - _elem1125 = iprot.readString(); - struct.success.add(_elem1125); + _elem1099 = iprot.readString(); + struct.success.add(_elem1099); } iprot.readListEnd(); } @@ -78514,9 +78410,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1127 : struct.success) + for (String _iter1101 : struct.success) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1101); } oprot.writeListEnd(); } @@ -78571,9 +78467,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1128 : struct.success) + for (String _iter1102 : struct.success) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1102); } } } @@ -78594,13 +78490,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1129.size); - String _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1103.size); + String _elem1104; + for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) { - _elem1130 = iprot.readString(); - struct.success.add(_elem1130); + _elem1104 = iprot.readString(); + struct.success.add(_elem1104); } } struct.setSuccessIsSet(true); @@ -84459,14 +84355,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 _list1132 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1132.size); - Partition _elem1133; - for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) + org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1106.size); + Partition _elem1107; + for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) { - _elem1133 = new Partition(); - _elem1133.read(iprot); - struct.new_parts.add(_elem1133); + _elem1107 = new Partition(); + _elem1107.read(iprot); + struct.new_parts.add(_elem1107); } iprot.readListEnd(); } @@ -84492,9 +84388,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 _iter1135 : struct.new_parts) + for (Partition _iter1109 : struct.new_parts) { - _iter1135.write(oprot); + _iter1109.write(oprot); } oprot.writeListEnd(); } @@ -84525,9 +84421,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 _iter1136 : struct.new_parts) + for (Partition _iter1110 : struct.new_parts) { - _iter1136.write(oprot); + _iter1110.write(oprot); } } } @@ -84539,14 +84435,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1137.size); - Partition _elem1138; - for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) + org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1111.size); + Partition _elem1112; + for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) { - _elem1138 = new Partition(); - _elem1138.read(iprot); - struct.new_parts.add(_elem1138); + _elem1112 = new Partition(); + _elem1112.read(iprot); + struct.new_parts.add(_elem1112); } } struct.setNew_partsIsSet(true); @@ -85547,14 +85443,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 _list1140 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1140.size); - PartitionSpec _elem1141; - for (int _i1142 = 0; _i1142 < _list1140.size; ++_i1142) + org.apache.thrift.protocol.TList _list1114 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1114.size); + PartitionSpec _elem1115; + for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) { - _elem1141 = new PartitionSpec(); - _elem1141.read(iprot); - struct.new_parts.add(_elem1141); + _elem1115 = new PartitionSpec(); + _elem1115.read(iprot); + struct.new_parts.add(_elem1115); } iprot.readListEnd(); } @@ -85580,9 +85476,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 _iter1143 : struct.new_parts) + for (PartitionSpec _iter1117 : struct.new_parts) { - _iter1143.write(oprot); + _iter1117.write(oprot); } oprot.writeListEnd(); } @@ -85613,9 +85509,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 _iter1144 : struct.new_parts) + for (PartitionSpec _iter1118 : struct.new_parts) { - _iter1144.write(oprot); + _iter1118.write(oprot); } } } @@ -85627,14 +85523,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1145 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1145.size); - PartitionSpec _elem1146; - for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) + org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1119.size); + PartitionSpec _elem1120; + for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) { - _elem1146 = new PartitionSpec(); - _elem1146.read(iprot); - struct.new_parts.add(_elem1146); + _elem1120 = new PartitionSpec(); + _elem1120.read(iprot); + struct.new_parts.add(_elem1120); } } struct.setNew_partsIsSet(true); @@ -86810,13 +86706,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 _list1148 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1148.size); - String _elem1149; - for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) + org.apache.thrift.protocol.TList _list1122 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1122.size); + String _elem1123; + for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) { - _elem1149 = iprot.readString(); - struct.part_vals.add(_elem1149); + _elem1123 = iprot.readString(); + struct.part_vals.add(_elem1123); } iprot.readListEnd(); } @@ -86852,9 +86748,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1151 : struct.part_vals) + for (String _iter1125 : struct.part_vals) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1125); } oprot.writeListEnd(); } @@ -86897,9 +86793,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1152 : struct.part_vals) + for (String _iter1126 : struct.part_vals) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1126); } } } @@ -86919,13 +86815,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1153.size); - String _elem1154; - for (int _i1155 = 0; _i1155 < _list1153.size; ++_i1155) + org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1127.size); + String _elem1128; + for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) { - _elem1154 = iprot.readString(); - struct.part_vals.add(_elem1154); + _elem1128 = iprot.readString(); + struct.part_vals.add(_elem1128); } } struct.setPart_valsIsSet(true); @@ -89234,13 +89130,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 _list1156 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1156.size); - String _elem1157; - for (int _i1158 = 0; _i1158 < _list1156.size; ++_i1158) + org.apache.thrift.protocol.TList _list1130 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1130.size); + String _elem1131; + for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) { - _elem1157 = iprot.readString(); - struct.part_vals.add(_elem1157); + _elem1131 = iprot.readString(); + struct.part_vals.add(_elem1131); } iprot.readListEnd(); } @@ -89285,9 +89181,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1159 : struct.part_vals) + for (String _iter1133 : struct.part_vals) { - oprot.writeString(_iter1159); + oprot.writeString(_iter1133); } oprot.writeListEnd(); } @@ -89338,9 +89234,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1160 : struct.part_vals) + for (String _iter1134 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1134); } } } @@ -89363,13 +89259,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1161 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1161.size); - String _elem1162; - for (int _i1163 = 0; _i1163 < _list1161.size; ++_i1163) + org.apache.thrift.protocol.TList _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1135.size); + String _elem1136; + for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) { - _elem1162 = iprot.readString(); - struct.part_vals.add(_elem1162); + _elem1136 = iprot.readString(); + struct.part_vals.add(_elem1136); } } struct.setPart_valsIsSet(true); @@ -93239,13 +93135,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 _list1164 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1164.size); - String _elem1165; - for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) + org.apache.thrift.protocol.TList _list1138 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1138.size); + String _elem1139; + for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) { - _elem1165 = iprot.readString(); - struct.part_vals.add(_elem1165); + _elem1139 = iprot.readString(); + struct.part_vals.add(_elem1139); } iprot.readListEnd(); } @@ -93289,9 +93185,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1167 : struct.part_vals) + for (String _iter1141 : struct.part_vals) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1141); } oprot.writeListEnd(); } @@ -93340,9 +93236,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1168 : struct.part_vals) + for (String _iter1142 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1142); } } } @@ -93365,13 +93261,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1169.size); - String _elem1170; - for (int _i1171 = 0; _i1171 < _list1169.size; ++_i1171) + org.apache.thrift.protocol.TList _list1143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1143.size); + String _elem1144; + for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) { - _elem1170 = iprot.readString(); - struct.part_vals.add(_elem1170); + _elem1144 = iprot.readString(); + struct.part_vals.add(_elem1144); } } struct.setPart_valsIsSet(true); @@ -94610,13 +94506,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 _list1172 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1172.size); - String _elem1173; - for (int _i1174 = 0; _i1174 < _list1172.size; ++_i1174) + org.apache.thrift.protocol.TList _list1146 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1146.size); + String _elem1147; + for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) { - _elem1173 = iprot.readString(); - struct.part_vals.add(_elem1173); + _elem1147 = iprot.readString(); + struct.part_vals.add(_elem1147); } iprot.readListEnd(); } @@ -94669,9 +94565,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1175 : struct.part_vals) + for (String _iter1149 : struct.part_vals) { - oprot.writeString(_iter1175); + oprot.writeString(_iter1149); } oprot.writeListEnd(); } @@ -94728,9 +94624,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1176 : struct.part_vals) + for (String _iter1150 : struct.part_vals) { - oprot.writeString(_iter1176); + oprot.writeString(_iter1150); } } } @@ -94756,13 +94652,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1177.size); - String _elem1178; - for (int _i1179 = 0; _i1179 < _list1177.size; ++_i1179) + org.apache.thrift.protocol.TList _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1151.size); + String _elem1152; + for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) { - _elem1178 = iprot.readString(); - struct.part_vals.add(_elem1178); + _elem1152 = iprot.readString(); + struct.part_vals.add(_elem1152); } } struct.setPart_valsIsSet(true); @@ -99364,13 +99260,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 _list1180 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1180.size); - String _elem1181; - for (int _i1182 = 0; _i1182 < _list1180.size; ++_i1182) + org.apache.thrift.protocol.TList _list1154 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1154.size); + String _elem1155; + for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) { - _elem1181 = iprot.readString(); - struct.part_vals.add(_elem1181); + _elem1155 = iprot.readString(); + struct.part_vals.add(_elem1155); } iprot.readListEnd(); } @@ -99406,9 +99302,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1183 : struct.part_vals) + for (String _iter1157 : struct.part_vals) { - oprot.writeString(_iter1183); + oprot.writeString(_iter1157); } oprot.writeListEnd(); } @@ -99451,9 +99347,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1184 : struct.part_vals) + for (String _iter1158 : struct.part_vals) { - oprot.writeString(_iter1184); + oprot.writeString(_iter1158); } } } @@ -99473,13 +99369,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1185 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1185.size); - String _elem1186; - for (int _i1187 = 0; _i1187 < _list1185.size; ++_i1187) + org.apache.thrift.protocol.TList _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1159.size); + String _elem1160; + for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) { - _elem1186 = iprot.readString(); - struct.part_vals.add(_elem1186); + _elem1160 = iprot.readString(); + struct.part_vals.add(_elem1160); } } struct.setPart_valsIsSet(true); @@ -100697,15 +100593,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 _map1188 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1188.size); - String _key1189; - String _val1190; - for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) + org.apache.thrift.protocol.TMap _map1162 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1162.size); + String _key1163; + String _val1164; + for (int _i1165 = 0; _i1165 < _map1162.size; ++_i1165) { - _key1189 = iprot.readString(); - _val1190 = iprot.readString(); - struct.partitionSpecs.put(_key1189, _val1190); + _key1163 = iprot.readString(); + _val1164 = iprot.readString(); + struct.partitionSpecs.put(_key1163, _val1164); } iprot.readMapEnd(); } @@ -100763,10 +100659,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1192 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1166 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1192.getKey()); - oprot.writeString(_iter1192.getValue()); + oprot.writeString(_iter1166.getKey()); + oprot.writeString(_iter1166.getValue()); } oprot.writeMapEnd(); } @@ -100829,10 +100725,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1193 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1167 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1193.getKey()); - oprot.writeString(_iter1193.getValue()); + oprot.writeString(_iter1167.getKey()); + oprot.writeString(_iter1167.getValue()); } } } @@ -100856,15 +100752,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1194 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1194.size); - String _key1195; - String _val1196; - for (int _i1197 = 0; _i1197 < _map1194.size; ++_i1197) + org.apache.thrift.protocol.TMap _map1168 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1168.size); + String _key1169; + String _val1170; + for (int _i1171 = 0; _i1171 < _map1168.size; ++_i1171) { - _key1195 = iprot.readString(); - _val1196 = iprot.readString(); - struct.partitionSpecs.put(_key1195, _val1196); + _key1169 = iprot.readString(); + _val1170 = iprot.readString(); + struct.partitionSpecs.put(_key1169, _val1170); } } struct.setPartitionSpecsIsSet(true); @@ -102310,15 +102206,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 _map1198 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1198.size); - String _key1199; - String _val1200; - for (int _i1201 = 0; _i1201 < _map1198.size; ++_i1201) + org.apache.thrift.protocol.TMap _map1172 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1172.size); + String _key1173; + String _val1174; + for (int _i1175 = 0; _i1175 < _map1172.size; ++_i1175) { - _key1199 = iprot.readString(); - _val1200 = iprot.readString(); - struct.partitionSpecs.put(_key1199, _val1200); + _key1173 = iprot.readString(); + _val1174 = iprot.readString(); + struct.partitionSpecs.put(_key1173, _val1174); } iprot.readMapEnd(); } @@ -102376,10 +102272,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1202 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1176 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1202.getKey()); - oprot.writeString(_iter1202.getValue()); + oprot.writeString(_iter1176.getKey()); + oprot.writeString(_iter1176.getValue()); } oprot.writeMapEnd(); } @@ -102442,10 +102338,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1203 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1177 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1203.getKey()); - oprot.writeString(_iter1203.getValue()); + oprot.writeString(_iter1177.getKey()); + oprot.writeString(_iter1177.getValue()); } } } @@ -102469,15 +102365,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1204 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1204.size); - String _key1205; - String _val1206; - for (int _i1207 = 0; _i1207 < _map1204.size; ++_i1207) + org.apache.thrift.protocol.TMap _map1178 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1178.size); + String _key1179; + String _val1180; + for (int _i1181 = 0; _i1181 < _map1178.size; ++_i1181) { - _key1205 = iprot.readString(); - _val1206 = iprot.readString(); - struct.partitionSpecs.put(_key1205, _val1206); + _key1179 = iprot.readString(); + _val1180 = iprot.readString(); + struct.partitionSpecs.put(_key1179, _val1180); } } struct.setPartitionSpecsIsSet(true); @@ -103142,14 +103038,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 _list1208 = iprot.readListBegin(); - struct.success = new ArrayList(_list1208.size); - Partition _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1182 = iprot.readListBegin(); + struct.success = new ArrayList(_list1182.size); + Partition _elem1183; + for (int _i1184 = 0; _i1184 < _list1182.size; ++_i1184) { - _elem1209 = new Partition(); - _elem1209.read(iprot); - struct.success.add(_elem1209); + _elem1183 = new Partition(); + _elem1183.read(iprot); + struct.success.add(_elem1183); } iprot.readListEnd(); } @@ -103211,9 +103107,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 _iter1211 : struct.success) + for (Partition _iter1185 : struct.success) { - _iter1211.write(oprot); + _iter1185.write(oprot); } oprot.writeListEnd(); } @@ -103276,9 +103172,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1212 : struct.success) + for (Partition _iter1186 : struct.success) { - _iter1212.write(oprot); + _iter1186.write(oprot); } } } @@ -103302,14 +103198,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1213.size); - Partition _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1187 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1187.size); + Partition _elem1188; + for (int _i1189 = 0; _i1189 < _list1187.size; ++_i1189) { - _elem1214 = new Partition(); - _elem1214.read(iprot); - struct.success.add(_elem1214); + _elem1188 = new Partition(); + _elem1188.read(iprot); + struct.success.add(_elem1188); } } struct.setSuccessIsSet(true); @@ -104008,13 +103904,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 _list1216 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1216.size); - String _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1190 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1190.size); + String _elem1191; + for (int _i1192 = 0; _i1192 < _list1190.size; ++_i1192) { - _elem1217 = iprot.readString(); - struct.part_vals.add(_elem1217); + _elem1191 = iprot.readString(); + struct.part_vals.add(_elem1191); } iprot.readListEnd(); } @@ -104034,13 +103930,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 _list1219 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1219.size); - String _elem1220; - for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) + org.apache.thrift.protocol.TList _list1193 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1193.size); + String _elem1194; + for (int _i1195 = 0; _i1195 < _list1193.size; ++_i1195) { - _elem1220 = iprot.readString(); - struct.group_names.add(_elem1220); + _elem1194 = iprot.readString(); + struct.group_names.add(_elem1194); } iprot.readListEnd(); } @@ -104076,9 +103972,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1222 : struct.part_vals) + for (String _iter1196 : struct.part_vals) { - oprot.writeString(_iter1222); + oprot.writeString(_iter1196); } oprot.writeListEnd(); } @@ -104093,9 +103989,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1223 : struct.group_names) + for (String _iter1197 : struct.group_names) { - oprot.writeString(_iter1223); + oprot.writeString(_iter1197); } oprot.writeListEnd(); } @@ -104144,9 +104040,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1224 : struct.part_vals) + for (String _iter1198 : struct.part_vals) { - oprot.writeString(_iter1224); + oprot.writeString(_iter1198); } } } @@ -104156,9 +104052,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1225 : struct.group_names) + for (String _iter1199 : struct.group_names) { - oprot.writeString(_iter1225); + oprot.writeString(_iter1199); } } } @@ -104178,13 +104074,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1226 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1226.size); - String _elem1227; - for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) + org.apache.thrift.protocol.TList _list1200 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1200.size); + String _elem1201; + for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) { - _elem1227 = iprot.readString(); - struct.part_vals.add(_elem1227); + _elem1201 = iprot.readString(); + struct.part_vals.add(_elem1201); } } struct.setPart_valsIsSet(true); @@ -104195,13 +104091,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1229.size); - String _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1203 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1203.size); + String _elem1204; + for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) { - _elem1230 = iprot.readString(); - struct.group_names.add(_elem1230); + _elem1204 = iprot.readString(); + struct.group_names.add(_elem1204); } } struct.setGroup_namesIsSet(true); @@ -106970,14 +106866,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 _list1232 = iprot.readListBegin(); - struct.success = new ArrayList(_list1232.size); - Partition _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1206 = iprot.readListBegin(); + struct.success = new ArrayList(_list1206.size); + Partition _elem1207; + for (int _i1208 = 0; _i1208 < _list1206.size; ++_i1208) { - _elem1233 = new Partition(); - _elem1233.read(iprot); - struct.success.add(_elem1233); + _elem1207 = new Partition(); + _elem1207.read(iprot); + struct.success.add(_elem1207); } iprot.readListEnd(); } @@ -107021,9 +106917,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 _iter1235 : struct.success) + for (Partition _iter1209 : struct.success) { - _iter1235.write(oprot); + _iter1209.write(oprot); } oprot.writeListEnd(); } @@ -107070,9 +106966,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1236 : struct.success) + for (Partition _iter1210 : struct.success) { - _iter1236.write(oprot); + _iter1210.write(oprot); } } } @@ -107090,14 +106986,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1237.size); - Partition _elem1238; - for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) + org.apache.thrift.protocol.TList _list1211 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1211.size); + Partition _elem1212; + for (int _i1213 = 0; _i1213 < _list1211.size; ++_i1213) { - _elem1238 = new Partition(); - _elem1238.read(iprot); - struct.success.add(_elem1238); + _elem1212 = new Partition(); + _elem1212.read(iprot); + struct.success.add(_elem1212); } } struct.setSuccessIsSet(true); @@ -107787,13 +107683,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 _list1240 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1240.size); - String _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + org.apache.thrift.protocol.TList _list1214 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1214.size); + String _elem1215; + for (int _i1216 = 0; _i1216 < _list1214.size; ++_i1216) { - _elem1241 = iprot.readString(); - struct.group_names.add(_elem1241); + _elem1215 = iprot.readString(); + struct.group_names.add(_elem1215); } iprot.readListEnd(); } @@ -107837,9 +107733,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1243 : struct.group_names) + for (String _iter1217 : struct.group_names) { - oprot.writeString(_iter1243); + oprot.writeString(_iter1217); } oprot.writeListEnd(); } @@ -107894,9 +107790,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1244 : struct.group_names) + for (String _iter1218 : struct.group_names) { - oprot.writeString(_iter1244); + oprot.writeString(_iter1218); } } } @@ -107924,13 +107820,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1245.size); - String _elem1246; - for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) + org.apache.thrift.protocol.TList _list1219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1219.size); + String _elem1220; + for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) { - _elem1246 = iprot.readString(); - struct.group_names.add(_elem1246); + _elem1220 = iprot.readString(); + struct.group_names.add(_elem1220); } } struct.setGroup_namesIsSet(true); @@ -108417,14 +108313,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 _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - Partition _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1222 = iprot.readListBegin(); + struct.success = new ArrayList(_list1222.size); + Partition _elem1223; + for (int _i1224 = 0; _i1224 < _list1222.size; ++_i1224) { - _elem1249 = new Partition(); - _elem1249.read(iprot); - struct.success.add(_elem1249); + _elem1223 = new Partition(); + _elem1223.read(iprot); + struct.success.add(_elem1223); } iprot.readListEnd(); } @@ -108468,9 +108364,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 _iter1251 : struct.success) + for (Partition _iter1225 : struct.success) { - _iter1251.write(oprot); + _iter1225.write(oprot); } oprot.writeListEnd(); } @@ -108517,9 +108413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1252 : struct.success) + for (Partition _iter1226 : struct.success) { - _iter1252.write(oprot); + _iter1226.write(oprot); } } } @@ -108537,14 +108433,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - Partition _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + org.apache.thrift.protocol.TList _list1227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1227.size); + Partition _elem1228; + for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) { - _elem1254 = new Partition(); - _elem1254.read(iprot); - struct.success.add(_elem1254); + _elem1228 = new Partition(); + _elem1228.read(iprot); + struct.success.add(_elem1228); } } struct.setSuccessIsSet(true); @@ -109607,14 +109503,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 _list1256 = iprot.readListBegin(); - struct.success = new ArrayList(_list1256.size); - PartitionSpec _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1230 = iprot.readListBegin(); + struct.success = new ArrayList(_list1230.size); + PartitionSpec _elem1231; + for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) { - _elem1257 = new PartitionSpec(); - _elem1257.read(iprot); - struct.success.add(_elem1257); + _elem1231 = new PartitionSpec(); + _elem1231.read(iprot); + struct.success.add(_elem1231); } iprot.readListEnd(); } @@ -109658,9 +109554,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 _iter1259 : struct.success) + for (PartitionSpec _iter1233 : struct.success) { - _iter1259.write(oprot); + _iter1233.write(oprot); } oprot.writeListEnd(); } @@ -109707,9 +109603,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1260 : struct.success) + for (PartitionSpec _iter1234 : struct.success) { - _iter1260.write(oprot); + _iter1234.write(oprot); } } } @@ -109727,14 +109623,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1261.size); - PartitionSpec _elem1262; - for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) + org.apache.thrift.protocol.TList _list1235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1235.size); + PartitionSpec _elem1236; + for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) { - _elem1262 = new PartitionSpec(); - _elem1262.read(iprot); - struct.success.add(_elem1262); + _elem1236 = new PartitionSpec(); + _elem1236.read(iprot); + struct.success.add(_elem1236); } } struct.setSuccessIsSet(true); @@ -110794,13 +110690,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 _list1264 = iprot.readListBegin(); - struct.success = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1238 = iprot.readListBegin(); + struct.success = new ArrayList(_list1238.size); + String _elem1239; + for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) { - _elem1265 = iprot.readString(); - struct.success.add(_elem1265); + _elem1239 = iprot.readString(); + struct.success.add(_elem1239); } iprot.readListEnd(); } @@ -110844,9 +110740,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1267 : struct.success) + for (String _iter1241 : struct.success) { - oprot.writeString(_iter1267); + oprot.writeString(_iter1241); } oprot.writeListEnd(); } @@ -110893,9 +110789,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1268 : struct.success) + for (String _iter1242 : struct.success) { - oprot.writeString(_iter1268); + oprot.writeString(_iter1242); } } } @@ -110913,13 +110809,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1269.size); - String _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + org.apache.thrift.protocol.TList _list1243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1243.size); + String _elem1244; + for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) { - _elem1270 = iprot.readString(); - struct.success.add(_elem1270); + _elem1244 = iprot.readString(); + struct.success.add(_elem1244); } } struct.setSuccessIsSet(true); @@ -112450,13 +112346,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 _list1272 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1272.size); - String _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1246 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1246.size); + String _elem1247; + for (int _i1248 = 0; _i1248 < _list1246.size; ++_i1248) { - _elem1273 = iprot.readString(); - struct.part_vals.add(_elem1273); + _elem1247 = iprot.readString(); + struct.part_vals.add(_elem1247); } iprot.readListEnd(); } @@ -112500,9 +112396,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1275 : struct.part_vals) + for (String _iter1249 : struct.part_vals) { - oprot.writeString(_iter1275); + oprot.writeString(_iter1249); } oprot.writeListEnd(); } @@ -112551,9 +112447,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1276 : struct.part_vals) + for (String _iter1250 : struct.part_vals) { - oprot.writeString(_iter1276); + oprot.writeString(_iter1250); } } } @@ -112576,13 +112472,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1277.size); - String _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1251.size); + String _elem1252; + for (int _i1253 = 0; _i1253 < _list1251.size; ++_i1253) { - _elem1278 = iprot.readString(); - struct.part_vals.add(_elem1278); + _elem1252 = iprot.readString(); + struct.part_vals.add(_elem1252); } } struct.setPart_valsIsSet(true); @@ -113073,14 +112969,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 _list1280 = iprot.readListBegin(); - struct.success = new ArrayList(_list1280.size); - Partition _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1254 = iprot.readListBegin(); + struct.success = new ArrayList(_list1254.size); + Partition _elem1255; + for (int _i1256 = 0; _i1256 < _list1254.size; ++_i1256) { - _elem1281 = new Partition(); - _elem1281.read(iprot); - struct.success.add(_elem1281); + _elem1255 = new Partition(); + _elem1255.read(iprot); + struct.success.add(_elem1255); } iprot.readListEnd(); } @@ -113124,9 +113020,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 _iter1283 : struct.success) + for (Partition _iter1257 : struct.success) { - _iter1283.write(oprot); + _iter1257.write(oprot); } oprot.writeListEnd(); } @@ -113173,9 +113069,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1284 : struct.success) + for (Partition _iter1258 : struct.success) { - _iter1284.write(oprot); + _iter1258.write(oprot); } } } @@ -113193,14 +113089,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1285.size); - Partition _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + org.apache.thrift.protocol.TList _list1259 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1259.size); + Partition _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { - _elem1286 = new Partition(); - _elem1286.read(iprot); - struct.success.add(_elem1286); + _elem1260 = new Partition(); + _elem1260.read(iprot); + struct.success.add(_elem1260); } } struct.setSuccessIsSet(true); @@ -113972,13 +113868,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 _list1288 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1262 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1262.size); + String _elem1263; + for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) { - _elem1289 = iprot.readString(); - struct.part_vals.add(_elem1289); + _elem1263 = iprot.readString(); + struct.part_vals.add(_elem1263); } iprot.readListEnd(); } @@ -114006,13 +113902,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 _list1291 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1291.size); - String _elem1292; - for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) + org.apache.thrift.protocol.TList _list1265 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1265.size); + String _elem1266; + for (int _i1267 = 0; _i1267 < _list1265.size; ++_i1267) { - _elem1292 = iprot.readString(); - struct.group_names.add(_elem1292); + _elem1266 = iprot.readString(); + struct.group_names.add(_elem1266); } iprot.readListEnd(); } @@ -114048,9 +113944,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1294 : struct.part_vals) + for (String _iter1268 : struct.part_vals) { - oprot.writeString(_iter1294); + oprot.writeString(_iter1268); } oprot.writeListEnd(); } @@ -114068,9 +113964,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1295 : struct.group_names) + for (String _iter1269 : struct.group_names) { - oprot.writeString(_iter1295); + oprot.writeString(_iter1269); } oprot.writeListEnd(); } @@ -114122,9 +114018,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1296 : struct.part_vals) + for (String _iter1270 : struct.part_vals) { - oprot.writeString(_iter1296); + oprot.writeString(_iter1270); } } } @@ -114137,9 +114033,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1297 : struct.group_names) + for (String _iter1271 : struct.group_names) { - oprot.writeString(_iter1297); + oprot.writeString(_iter1271); } } } @@ -114159,13 +114055,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1298 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1298.size); - String _elem1299; - for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) + org.apache.thrift.protocol.TList _list1272 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1272.size); + String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1299 = iprot.readString(); - struct.part_vals.add(_elem1299); + _elem1273 = iprot.readString(); + struct.part_vals.add(_elem1273); } } struct.setPart_valsIsSet(true); @@ -114180,13 +114076,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1301.size); - String _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + org.apache.thrift.protocol.TList _list1275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1275.size); + String _elem1276; + for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) { - _elem1302 = iprot.readString(); - struct.group_names.add(_elem1302); + _elem1276 = iprot.readString(); + struct.group_names.add(_elem1276); } } struct.setGroup_namesIsSet(true); @@ -114673,14 +114569,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 _list1304 = iprot.readListBegin(); - struct.success = new ArrayList(_list1304.size); - Partition _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1278 = iprot.readListBegin(); + struct.success = new ArrayList(_list1278.size); + Partition _elem1279; + for (int _i1280 = 0; _i1280 < _list1278.size; ++_i1280) { - _elem1305 = new Partition(); - _elem1305.read(iprot); - struct.success.add(_elem1305); + _elem1279 = new Partition(); + _elem1279.read(iprot); + struct.success.add(_elem1279); } iprot.readListEnd(); } @@ -114724,9 +114620,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 _iter1307 : struct.success) + for (Partition _iter1281 : struct.success) { - _iter1307.write(oprot); + _iter1281.write(oprot); } oprot.writeListEnd(); } @@ -114773,9 +114669,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1308 : struct.success) + for (Partition _iter1282 : struct.success) { - _iter1308.write(oprot); + _iter1282.write(oprot); } } } @@ -114793,14 +114689,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1309.size); - Partition _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1283.size); + Partition _elem1284; + for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) { - _elem1310 = new Partition(); - _elem1310.read(iprot); - struct.success.add(_elem1310); + _elem1284 = new Partition(); + _elem1284.read(iprot); + struct.success.add(_elem1284); } } struct.setSuccessIsSet(true); @@ -115393,13 +115289,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 _list1312 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1312.size); - String _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1286 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1286.size); + String _elem1287; + for (int _i1288 = 0; _i1288 < _list1286.size; ++_i1288) { - _elem1313 = iprot.readString(); - struct.part_vals.add(_elem1313); + _elem1287 = iprot.readString(); + struct.part_vals.add(_elem1287); } iprot.readListEnd(); } @@ -115443,9 +115339,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1315 : struct.part_vals) + for (String _iter1289 : struct.part_vals) { - oprot.writeString(_iter1315); + oprot.writeString(_iter1289); } oprot.writeListEnd(); } @@ -115494,9 +115390,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1316 : struct.part_vals) + for (String _iter1290 : struct.part_vals) { - oprot.writeString(_iter1316); + oprot.writeString(_iter1290); } } } @@ -115519,13 +115415,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1317.size); - String _elem1318; - for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) + org.apache.thrift.protocol.TList _list1291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1291.size); + String _elem1292; + for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) { - _elem1318 = iprot.readString(); - struct.part_vals.add(_elem1318); + _elem1292 = iprot.readString(); + struct.part_vals.add(_elem1292); } } struct.setPart_valsIsSet(true); @@ -116013,13 +115909,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 _list1320 = iprot.readListBegin(); - struct.success = new ArrayList(_list1320.size); - String _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1294 = iprot.readListBegin(); + struct.success = new ArrayList(_list1294.size); + String _elem1295; + for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) { - _elem1321 = iprot.readString(); - struct.success.add(_elem1321); + _elem1295 = iprot.readString(); + struct.success.add(_elem1295); } iprot.readListEnd(); } @@ -116063,9 +115959,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1323 : struct.success) + for (String _iter1297 : struct.success) { - oprot.writeString(_iter1323); + oprot.writeString(_iter1297); } oprot.writeListEnd(); } @@ -116112,9 +116008,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1324 : struct.success) + for (String _iter1298 : struct.success) { - oprot.writeString(_iter1324); + oprot.writeString(_iter1298); } } } @@ -116132,13 +116028,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1325.size); - String _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1299.size); + String _elem1300; + for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) { - _elem1326 = iprot.readString(); - struct.success.add(_elem1326); + _elem1300 = iprot.readString(); + struct.success.add(_elem1300); } } struct.setSuccessIsSet(true); @@ -117305,14 +117201,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 _list1328 = iprot.readListBegin(); - struct.success = new ArrayList(_list1328.size); - Partition _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1302 = iprot.readListBegin(); + struct.success = new ArrayList(_list1302.size); + Partition _elem1303; + for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) { - _elem1329 = new Partition(); - _elem1329.read(iprot); - struct.success.add(_elem1329); + _elem1303 = new Partition(); + _elem1303.read(iprot); + struct.success.add(_elem1303); } iprot.readListEnd(); } @@ -117356,9 +117252,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 _iter1331 : struct.success) + for (Partition _iter1305 : struct.success) { - _iter1331.write(oprot); + _iter1305.write(oprot); } oprot.writeListEnd(); } @@ -117405,9 +117301,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1332 : struct.success) + for (Partition _iter1306 : struct.success) { - _iter1332.write(oprot); + _iter1306.write(oprot); } } } @@ -117425,14 +117321,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1333.size); - Partition _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + org.apache.thrift.protocol.TList _list1307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1307.size); + Partition _elem1308; + for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) { - _elem1334 = new Partition(); - _elem1334.read(iprot); - struct.success.add(_elem1334); + _elem1308 = new Partition(); + _elem1308.read(iprot); + struct.success.add(_elem1308); } } struct.setSuccessIsSet(true); @@ -118599,14 +118495,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 _list1336 = iprot.readListBegin(); - struct.success = new ArrayList(_list1336.size); - PartitionSpec _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin(); + struct.success = new ArrayList(_list1310.size); + PartitionSpec _elem1311; + for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) { - _elem1337 = new PartitionSpec(); - _elem1337.read(iprot); - struct.success.add(_elem1337); + _elem1311 = new PartitionSpec(); + _elem1311.read(iprot); + struct.success.add(_elem1311); } iprot.readListEnd(); } @@ -118650,9 +118546,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 _iter1339 : struct.success) + for (PartitionSpec _iter1313 : struct.success) { - _iter1339.write(oprot); + _iter1313.write(oprot); } oprot.writeListEnd(); } @@ -118699,9 +118595,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 _iter1340 : struct.success) + for (PartitionSpec _iter1314 : struct.success) { - _iter1340.write(oprot); + _iter1314.write(oprot); } } } @@ -118719,14 +118615,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1341.size); - PartitionSpec _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) + org.apache.thrift.protocol.TList _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1315.size); + PartitionSpec _elem1316; + for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) { - _elem1342 = new PartitionSpec(); - _elem1342.read(iprot); - struct.success.add(_elem1342); + _elem1316 = new PartitionSpec(); + _elem1316.read(iprot); + struct.success.add(_elem1316); } } struct.setSuccessIsSet(true); @@ -121310,13 +121206,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 _list1344 = iprot.readListBegin(); - struct.names = new ArrayList(_list1344.size); - String _elem1345; - for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) + org.apache.thrift.protocol.TList _list1318 = iprot.readListBegin(); + struct.names = new ArrayList(_list1318.size); + String _elem1319; + for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) { - _elem1345 = iprot.readString(); - struct.names.add(_elem1345); + _elem1319 = iprot.readString(); + struct.names.add(_elem1319); } iprot.readListEnd(); } @@ -121352,9 +121248,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter1347 : struct.names) + for (String _iter1321 : struct.names) { - oprot.writeString(_iter1347); + oprot.writeString(_iter1321); } oprot.writeListEnd(); } @@ -121397,9 +121293,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1348 : struct.names) + for (String _iter1322 : struct.names) { - oprot.writeString(_iter1348); + oprot.writeString(_iter1322); } } } @@ -121419,13 +121315,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1349.size); - String _elem1350; - for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) + org.apache.thrift.protocol.TList _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1323.size); + String _elem1324; + for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) { - _elem1350 = iprot.readString(); - struct.names.add(_elem1350); + _elem1324 = iprot.readString(); + struct.names.add(_elem1324); } } struct.setNamesIsSet(true); @@ -121912,14 +121808,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 _list1352 = iprot.readListBegin(); - struct.success = new ArrayList(_list1352.size); - Partition _elem1353; - for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) + org.apache.thrift.protocol.TList _list1326 = iprot.readListBegin(); + struct.success = new ArrayList(_list1326.size); + Partition _elem1327; + for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) { - _elem1353 = new Partition(); - _elem1353.read(iprot); - struct.success.add(_elem1353); + _elem1327 = new Partition(); + _elem1327.read(iprot); + struct.success.add(_elem1327); } iprot.readListEnd(); } @@ -121963,9 +121859,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 _iter1355 : struct.success) + for (Partition _iter1329 : struct.success) { - _iter1355.write(oprot); + _iter1329.write(oprot); } oprot.writeListEnd(); } @@ -122012,9 +121908,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1356 : struct.success) + for (Partition _iter1330 : struct.success) { - _iter1356.write(oprot); + _iter1330.write(oprot); } } } @@ -122032,14 +121928,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1357.size); - Partition _elem1358; - for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) + org.apache.thrift.protocol.TList _list1331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1331.size); + Partition _elem1332; + for (int _i1333 = 0; _i1333 < _list1331.size; ++_i1333) { - _elem1358 = new Partition(); - _elem1358.read(iprot); - struct.success.add(_elem1358); + _elem1332 = new Partition(); + _elem1332.read(iprot); + struct.success.add(_elem1332); } } struct.setSuccessIsSet(true); @@ -123589,14 +123485,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 _list1360 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1360.size); - Partition _elem1361; - for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) + org.apache.thrift.protocol.TList _list1334 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1334.size); + Partition _elem1335; + for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) { - _elem1361 = new Partition(); - _elem1361.read(iprot); - struct.new_parts.add(_elem1361); + _elem1335 = new Partition(); + _elem1335.read(iprot); + struct.new_parts.add(_elem1335); } iprot.readListEnd(); } @@ -123632,9 +123528,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 _iter1363 : struct.new_parts) + for (Partition _iter1337 : struct.new_parts) { - _iter1363.write(oprot); + _iter1337.write(oprot); } oprot.writeListEnd(); } @@ -123677,9 +123573,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 _iter1364 : struct.new_parts) + for (Partition _iter1338 : struct.new_parts) { - _iter1364.write(oprot); + _iter1338.write(oprot); } } } @@ -123699,14 +123595,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1365.size); - Partition _elem1366; - for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) + org.apache.thrift.protocol.TList _list1339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1339.size); + Partition _elem1340; + for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) { - _elem1366 = new Partition(); - _elem1366.read(iprot); - struct.new_parts.add(_elem1366); + _elem1340 = new Partition(); + _elem1340.read(iprot); + struct.new_parts.add(_elem1340); } } struct.setNew_partsIsSet(true); @@ -124759,14 +124655,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 _list1368 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1368.size); - Partition _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1342.size); + Partition _elem1343; + for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) { - _elem1369 = new Partition(); - _elem1369.read(iprot); - struct.new_parts.add(_elem1369); + _elem1343 = new Partition(); + _elem1343.read(iprot); + struct.new_parts.add(_elem1343); } iprot.readListEnd(); } @@ -124811,9 +124707,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 _iter1371 : struct.new_parts) + for (Partition _iter1345 : struct.new_parts) { - _iter1371.write(oprot); + _iter1345.write(oprot); } oprot.writeListEnd(); } @@ -124864,9 +124760,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 _iter1372 : struct.new_parts) + for (Partition _iter1346 : struct.new_parts) { - _iter1372.write(oprot); + _iter1346.write(oprot); } } } @@ -124889,14 +124785,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1373.size); - Partition _elem1374; - for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) + org.apache.thrift.protocol.TList _list1347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1347.size); + Partition _elem1348; + for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) { - _elem1374 = new Partition(); - _elem1374.read(iprot); - struct.new_parts.add(_elem1374); + _elem1348 = new Partition(); + _elem1348.read(iprot); + struct.new_parts.add(_elem1348); } } struct.setNew_partsIsSet(true); @@ -127097,13 +126993,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 _list1376 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1376.size); - String _elem1377; - for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) + org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1350.size); + String _elem1351; + for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) { - _elem1377 = iprot.readString(); - struct.part_vals.add(_elem1377); + _elem1351 = iprot.readString(); + struct.part_vals.add(_elem1351); } iprot.readListEnd(); } @@ -127148,9 +127044,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1379 : struct.part_vals) + for (String _iter1353 : struct.part_vals) { - oprot.writeString(_iter1379); + oprot.writeString(_iter1353); } oprot.writeListEnd(); } @@ -127201,9 +127097,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1380 : struct.part_vals) + for (String _iter1354 : struct.part_vals) { - oprot.writeString(_iter1380); + oprot.writeString(_iter1354); } } } @@ -127226,13 +127122,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1381.size); - String _elem1382; - for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) + org.apache.thrift.protocol.TList _list1355 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1355.size); + String _elem1356; + for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) { - _elem1382 = iprot.readString(); - struct.part_vals.add(_elem1382); + _elem1356 = iprot.readString(); + struct.part_vals.add(_elem1356); } } struct.setPart_valsIsSet(true); @@ -128106,13 +128002,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 _list1384 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1384.size); - String _elem1385; - for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) + org.apache.thrift.protocol.TList _list1358 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1358.size); + String _elem1359; + for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) { - _elem1385 = iprot.readString(); - struct.part_vals.add(_elem1385); + _elem1359 = iprot.readString(); + struct.part_vals.add(_elem1359); } iprot.readListEnd(); } @@ -128146,9 +128042,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1387 : struct.part_vals) + for (String _iter1361 : struct.part_vals) { - oprot.writeString(_iter1387); + oprot.writeString(_iter1361); } oprot.writeListEnd(); } @@ -128185,9 +128081,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1388 : struct.part_vals) + for (String _iter1362 : struct.part_vals) { - oprot.writeString(_iter1388); + oprot.writeString(_iter1362); } } } @@ -128202,13 +128098,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1389.size); - String _elem1390; - for (int _i1391 = 0; _i1391 < _list1389.size; ++_i1391) + org.apache.thrift.protocol.TList _list1363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1363.size); + String _elem1364; + for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) { - _elem1390 = iprot.readString(); - struct.part_vals.add(_elem1390); + _elem1364 = iprot.readString(); + struct.part_vals.add(_elem1364); } } struct.setPart_valsIsSet(true); @@ -130363,13 +130259,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 _list1392 = iprot.readListBegin(); - struct.success = new ArrayList(_list1392.size); - String _elem1393; - for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) + org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); + struct.success = new ArrayList(_list1366.size); + String _elem1367; + for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) { - _elem1393 = iprot.readString(); - struct.success.add(_elem1393); + _elem1367 = iprot.readString(); + struct.success.add(_elem1367); } iprot.readListEnd(); } @@ -130404,9 +130300,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1395 : struct.success) + for (String _iter1369 : struct.success) { - oprot.writeString(_iter1395); + oprot.writeString(_iter1369); } oprot.writeListEnd(); } @@ -130445,9 +130341,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1396 : struct.success) + for (String _iter1370 : struct.success) { - oprot.writeString(_iter1396); + oprot.writeString(_iter1370); } } } @@ -130462,13 +130358,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1397.size); - String _elem1398; - for (int _i1399 = 0; _i1399 < _list1397.size; ++_i1399) + org.apache.thrift.protocol.TList _list1371 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1371.size); + String _elem1372; + for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) { - _elem1398 = iprot.readString(); - struct.success.add(_elem1398); + _elem1372 = iprot.readString(); + struct.success.add(_elem1372); } } struct.setSuccessIsSet(true); @@ -131231,15 +131127,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 _map1400 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1400.size); - String _key1401; - String _val1402; - for (int _i1403 = 0; _i1403 < _map1400.size; ++_i1403) + org.apache.thrift.protocol.TMap _map1374 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1374.size); + String _key1375; + String _val1376; + for (int _i1377 = 0; _i1377 < _map1374.size; ++_i1377) { - _key1401 = iprot.readString(); - _val1402 = iprot.readString(); - struct.success.put(_key1401, _val1402); + _key1375 = iprot.readString(); + _val1376 = iprot.readString(); + struct.success.put(_key1375, _val1376); } iprot.readMapEnd(); } @@ -131274,10 +131170,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter1404 : struct.success.entrySet()) + for (Map.Entry _iter1378 : struct.success.entrySet()) { - oprot.writeString(_iter1404.getKey()); - oprot.writeString(_iter1404.getValue()); + oprot.writeString(_iter1378.getKey()); + oprot.writeString(_iter1378.getValue()); } oprot.writeMapEnd(); } @@ -131316,10 +131212,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1405 : struct.success.entrySet()) + for (Map.Entry _iter1379 : struct.success.entrySet()) { - oprot.writeString(_iter1405.getKey()); - oprot.writeString(_iter1405.getValue()); + oprot.writeString(_iter1379.getKey()); + oprot.writeString(_iter1379.getValue()); } } } @@ -131334,15 +131230,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1406 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map1406.size); - String _key1407; - String _val1408; - for (int _i1409 = 0; _i1409 < _map1406.size; ++_i1409) + org.apache.thrift.protocol.TMap _map1380 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map1380.size); + String _key1381; + String _val1382; + for (int _i1383 = 0; _i1383 < _map1380.size; ++_i1383) { - _key1407 = iprot.readString(); - _val1408 = iprot.readString(); - struct.success.put(_key1407, _val1408); + _key1381 = iprot.readString(); + _val1382 = iprot.readString(); + struct.success.put(_key1381, _val1382); } } struct.setSuccessIsSet(true); @@ -131937,15 +131833,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 _map1410 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1410.size); - String _key1411; - String _val1412; - for (int _i1413 = 0; _i1413 < _map1410.size; ++_i1413) + org.apache.thrift.protocol.TMap _map1384 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1384.size); + String _key1385; + String _val1386; + for (int _i1387 = 0; _i1387 < _map1384.size; ++_i1387) { - _key1411 = iprot.readString(); - _val1412 = iprot.readString(); - struct.part_vals.put(_key1411, _val1412); + _key1385 = iprot.readString(); + _val1386 = iprot.readString(); + struct.part_vals.put(_key1385, _val1386); } iprot.readMapEnd(); } @@ -131989,10 +131885,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1414 : struct.part_vals.entrySet()) + for (Map.Entry _iter1388 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1414.getKey()); - oprot.writeString(_iter1414.getValue()); + oprot.writeString(_iter1388.getKey()); + oprot.writeString(_iter1388.getValue()); } oprot.writeMapEnd(); } @@ -132043,10 +131939,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1415 : struct.part_vals.entrySet()) + for (Map.Entry _iter1389 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1415.getKey()); - oprot.writeString(_iter1415.getValue()); + oprot.writeString(_iter1389.getKey()); + oprot.writeString(_iter1389.getValue()); } } } @@ -132069,15 +131965,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1416 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1416.size); - String _key1417; - String _val1418; - for (int _i1419 = 0; _i1419 < _map1416.size; ++_i1419) + org.apache.thrift.protocol.TMap _map1390 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1390.size); + String _key1391; + String _val1392; + for (int _i1393 = 0; _i1393 < _map1390.size; ++_i1393) { - _key1417 = iprot.readString(); - _val1418 = iprot.readString(); - struct.part_vals.put(_key1417, _val1418); + _key1391 = iprot.readString(); + _val1392 = iprot.readString(); + struct.part_vals.put(_key1391, _val1392); } } struct.setPart_valsIsSet(true); @@ -133561,15 +133457,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 _map1420 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1420.size); - String _key1421; - String _val1422; - for (int _i1423 = 0; _i1423 < _map1420.size; ++_i1423) + org.apache.thrift.protocol.TMap _map1394 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1394.size); + String _key1395; + String _val1396; + for (int _i1397 = 0; _i1397 < _map1394.size; ++_i1397) { - _key1421 = iprot.readString(); - _val1422 = iprot.readString(); - struct.part_vals.put(_key1421, _val1422); + _key1395 = iprot.readString(); + _val1396 = iprot.readString(); + struct.part_vals.put(_key1395, _val1396); } iprot.readMapEnd(); } @@ -133613,10 +133509,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1424 : struct.part_vals.entrySet()) + for (Map.Entry _iter1398 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1424.getKey()); - oprot.writeString(_iter1424.getValue()); + oprot.writeString(_iter1398.getKey()); + oprot.writeString(_iter1398.getValue()); } oprot.writeMapEnd(); } @@ -133667,10 +133563,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1425 : struct.part_vals.entrySet()) + for (Map.Entry _iter1399 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1425.getKey()); - oprot.writeString(_iter1425.getValue()); + oprot.writeString(_iter1399.getKey()); + oprot.writeString(_iter1399.getValue()); } } } @@ -133693,15 +133589,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1426 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1426.size); - String _key1427; - String _val1428; - for (int _i1429 = 0; _i1429 < _map1426.size; ++_i1429) + org.apache.thrift.protocol.TMap _map1400 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1400.size); + String _key1401; + String _val1402; + for (int _i1403 = 0; _i1403 < _map1400.size; ++_i1403) { - _key1427 = iprot.readString(); - _val1428 = iprot.readString(); - struct.part_vals.put(_key1427, _val1428); + _key1401 = iprot.readString(); + _val1402 = iprot.readString(); + struct.part_vals.put(_key1401, _val1402); } } struct.setPart_valsIsSet(true); @@ -156057,13 +155953,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 _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1404 = iprot.readListBegin(); + struct.success = new ArrayList(_list1404.size); + String _elem1405; + for (int _i1406 = 0; _i1406 < _list1404.size; ++_i1406) { - _elem1431 = iprot.readString(); - struct.success.add(_elem1431); + _elem1405 = iprot.readString(); + struct.success.add(_elem1405); } iprot.readListEnd(); } @@ -156098,9 +155994,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1433 : struct.success) + for (String _iter1407 : struct.success) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1407); } oprot.writeListEnd(); } @@ -156139,9 +156035,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1434 : struct.success) + for (String _iter1408 : struct.success) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1408); } } } @@ -156156,13 +156052,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1409 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1409.size); + String _elem1410; + for (int _i1411 = 0; _i1411 < _list1409.size; ++_i1411) { - _elem1436 = iprot.readString(); - struct.success.add(_elem1436); + _elem1410 = iprot.readString(); + struct.success.add(_elem1410); } } struct.setSuccessIsSet(true); @@ -160217,13 +160113,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 _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1412 = iprot.readListBegin(); + struct.success = new ArrayList(_list1412.size); + String _elem1413; + for (int _i1414 = 0; _i1414 < _list1412.size; ++_i1414) { - _elem1439 = iprot.readString(); - struct.success.add(_elem1439); + _elem1413 = iprot.readString(); + struct.success.add(_elem1413); } iprot.readListEnd(); } @@ -160258,9 +160154,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1441 : struct.success) + for (String _iter1415 : struct.success) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1415); } oprot.writeListEnd(); } @@ -160299,9 +160195,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1442 : struct.success) + for (String _iter1416 : struct.success) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1416); } } } @@ -160316,13 +160212,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1417.size); + String _elem1418; + for (int _i1419 = 0; _i1419 < _list1417.size; ++_i1419) { - _elem1444 = iprot.readString(); - struct.success.add(_elem1444); + _elem1418 = iprot.readString(); + struct.success.add(_elem1418); } } struct.setSuccessIsSet(true); @@ -163613,14 +163509,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 _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - Role _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1420 = iprot.readListBegin(); + struct.success = new ArrayList(_list1420.size); + Role _elem1421; + for (int _i1422 = 0; _i1422 < _list1420.size; ++_i1422) { - _elem1447 = new Role(); - _elem1447.read(iprot); - struct.success.add(_elem1447); + _elem1421 = new Role(); + _elem1421.read(iprot); + struct.success.add(_elem1421); } iprot.readListEnd(); } @@ -163655,9 +163551,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 _iter1449 : struct.success) + for (Role _iter1423 : struct.success) { - _iter1449.write(oprot); + _iter1423.write(oprot); } oprot.writeListEnd(); } @@ -163696,9 +163592,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1450 : struct.success) + for (Role _iter1424 : struct.success) { - _iter1450.write(oprot); + _iter1424.write(oprot); } } } @@ -163713,14 +163609,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - Role _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1425.size); + Role _elem1426; + for (int _i1427 = 0; _i1427 < _list1425.size; ++_i1427) { - _elem1452 = new Role(); - _elem1452.read(iprot); - struct.success.add(_elem1452); + _elem1426 = new Role(); + _elem1426.read(iprot); + struct.success.add(_elem1426); } } struct.setSuccessIsSet(true); @@ -166725,13 +166621,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 _list1454 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1454.size); - String _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1428 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1428.size); + String _elem1429; + for (int _i1430 = 0; _i1430 < _list1428.size; ++_i1430) { - _elem1455 = iprot.readString(); - struct.group_names.add(_elem1455); + _elem1429 = iprot.readString(); + struct.group_names.add(_elem1429); } iprot.readListEnd(); } @@ -166767,9 +166663,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1457 : struct.group_names) + for (String _iter1431 : struct.group_names) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1431); } oprot.writeListEnd(); } @@ -166812,9 +166708,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1458 : struct.group_names) + for (String _iter1432 : struct.group_names) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1432); } } } @@ -166835,13 +166731,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1459.size); - String _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + org.apache.thrift.protocol.TList _list1433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1433.size); + String _elem1434; + for (int _i1435 = 0; _i1435 < _list1433.size; ++_i1435) { - _elem1460 = iprot.readString(); - struct.group_names.add(_elem1460); + _elem1434 = iprot.readString(); + struct.group_names.add(_elem1434); } } struct.setGroup_namesIsSet(true); @@ -168299,14 +168195,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 _list1462 = iprot.readListBegin(); - struct.success = new ArrayList(_list1462.size); - HiveObjectPrivilege _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1436 = iprot.readListBegin(); + struct.success = new ArrayList(_list1436.size); + HiveObjectPrivilege _elem1437; + for (int _i1438 = 0; _i1438 < _list1436.size; ++_i1438) { - _elem1463 = new HiveObjectPrivilege(); - _elem1463.read(iprot); - struct.success.add(_elem1463); + _elem1437 = new HiveObjectPrivilege(); + _elem1437.read(iprot); + struct.success.add(_elem1437); } iprot.readListEnd(); } @@ -168341,9 +168237,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 _iter1465 : struct.success) + for (HiveObjectPrivilege _iter1439 : struct.success) { - _iter1465.write(oprot); + _iter1439.write(oprot); } oprot.writeListEnd(); } @@ -168382,9 +168278,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1466 : struct.success) + for (HiveObjectPrivilege _iter1440 : struct.success) { - _iter1466.write(oprot); + _iter1440.write(oprot); } } } @@ -168399,14 +168295,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1467.size); - HiveObjectPrivilege _elem1468; - for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) + org.apache.thrift.protocol.TList _list1441 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1441.size); + HiveObjectPrivilege _elem1442; + for (int _i1443 = 0; _i1443 < _list1441.size; ++_i1443) { - _elem1468 = new HiveObjectPrivilege(); - _elem1468.read(iprot); - struct.success.add(_elem1468); + _elem1442 = new HiveObjectPrivilege(); + _elem1442.read(iprot); + struct.success.add(_elem1442); } } struct.setSuccessIsSet(true); @@ -172353,13 +172249,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 _list1470 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1470.size); - String _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1444 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1444.size); + String _elem1445; + for (int _i1446 = 0; _i1446 < _list1444.size; ++_i1446) { - _elem1471 = iprot.readString(); - struct.group_names.add(_elem1471); + _elem1445 = iprot.readString(); + struct.group_names.add(_elem1445); } iprot.readListEnd(); } @@ -172390,9 +172286,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1473 : struct.group_names) + for (String _iter1447 : struct.group_names) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1447); } oprot.writeListEnd(); } @@ -172429,9 +172325,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1474 : struct.group_names) + for (String _iter1448 : struct.group_names) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1448); } } } @@ -172447,13 +172343,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1475.size); - String _elem1476; - for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) + org.apache.thrift.protocol.TList _list1449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1449.size); + String _elem1450; + for (int _i1451 = 0; _i1451 < _list1449.size; ++_i1451) { - _elem1476 = iprot.readString(); - struct.group_names.add(_elem1476); + _elem1450 = iprot.readString(); + struct.group_names.add(_elem1450); } } struct.setGroup_namesIsSet(true); @@ -172856,13 +172752,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - String _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1452 = iprot.readListBegin(); + struct.success = new ArrayList(_list1452.size); + String _elem1453; + for (int _i1454 = 0; _i1454 < _list1452.size; ++_i1454) { - _elem1479 = iprot.readString(); - struct.success.add(_elem1479); + _elem1453 = iprot.readString(); + struct.success.add(_elem1453); } iprot.readListEnd(); } @@ -172897,9 +172793,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1481 : struct.success) + for (String _iter1455 : struct.success) { - oprot.writeString(_iter1481); + oprot.writeString(_iter1455); } oprot.writeListEnd(); } @@ -172938,9 +172834,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1482 : struct.success) + for (String _iter1456 : struct.success) { - oprot.writeString(_iter1482); + oprot.writeString(_iter1456); } } } @@ -172955,13 +172851,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - String _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) + org.apache.thrift.protocol.TList _list1457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1457.size); + String _elem1458; + for (int _i1459 = 0; _i1459 < _list1457.size; ++_i1459) { - _elem1484 = iprot.readString(); - struct.success.add(_elem1484); + _elem1458 = iprot.readString(); + struct.success.add(_elem1458); } } struct.setSuccessIsSet(true); @@ -178252,13 +178148,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 _list1486 = iprot.readListBegin(); - struct.success = new ArrayList(_list1486.size); - String _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) + org.apache.thrift.protocol.TList _list1460 = iprot.readListBegin(); + struct.success = new ArrayList(_list1460.size); + String _elem1461; + for (int _i1462 = 0; _i1462 < _list1460.size; ++_i1462) { - _elem1487 = iprot.readString(); - struct.success.add(_elem1487); + _elem1461 = iprot.readString(); + struct.success.add(_elem1461); } iprot.readListEnd(); } @@ -178284,9 +178180,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 (String _iter1489 : struct.success) + for (String _iter1463 : struct.success) { - oprot.writeString(_iter1489); + oprot.writeString(_iter1463); } oprot.writeListEnd(); } @@ -178317,9 +178213,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1490 : struct.success) + for (String _iter1464 : struct.success) { - oprot.writeString(_iter1490); + oprot.writeString(_iter1464); } } } @@ -178331,13 +178227,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1491.size); - String _elem1492; - for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) + org.apache.thrift.protocol.TList _list1465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1465.size); + String _elem1466; + for (int _i1467 = 0; _i1467 < _list1465.size; ++_i1467) { - _elem1492 = iprot.readString(); - struct.success.add(_elem1492); + _elem1466 = iprot.readString(); + struct.success.add(_elem1466); } } struct.setSuccessIsSet(true); @@ -181367,13 +181263,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 _list1494 = iprot.readListBegin(); - struct.success = new ArrayList(_list1494.size); - String _elem1495; - for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) + org.apache.thrift.protocol.TList _list1468 = iprot.readListBegin(); + struct.success = new ArrayList(_list1468.size); + String _elem1469; + for (int _i1470 = 0; _i1470 < _list1468.size; ++_i1470) { - _elem1495 = iprot.readString(); - struct.success.add(_elem1495); + _elem1469 = iprot.readString(); + struct.success.add(_elem1469); } iprot.readListEnd(); } @@ -181399,9 +181295,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 (String _iter1497 : struct.success) + for (String _iter1471 : struct.success) { - oprot.writeString(_iter1497); + oprot.writeString(_iter1471); } oprot.writeListEnd(); } @@ -181432,9 +181328,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1498 : struct.success) + for (String _iter1472 : struct.success) { - oprot.writeString(_iter1498); + oprot.writeString(_iter1472); } } } @@ -181446,13 +181342,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1499.size); - String _elem1500; - for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) + org.apache.thrift.protocol.TList _list1473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1473.size); + String _elem1474; + for (int _i1475 = 0; _i1475 < _list1473.size; ++_i1475) { - _elem1500 = iprot.readString(); - struct.success.add(_elem1500); + _elem1474 = iprot.readString(); + struct.success.add(_elem1474); } } struct.setSuccessIsSet(true); @@ -229635,14 +229531,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 _list1502 = iprot.readListBegin(); - struct.success = new ArrayList(_list1502.size); - SchemaVersion _elem1503; - for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) + org.apache.thrift.protocol.TList _list1476 = iprot.readListBegin(); + struct.success = new ArrayList(_list1476.size); + SchemaVersion _elem1477; + for (int _i1478 = 0; _i1478 < _list1476.size; ++_i1478) { - _elem1503 = new SchemaVersion(); - _elem1503.read(iprot); - struct.success.add(_elem1503); + _elem1477 = new SchemaVersion(); + _elem1477.read(iprot); + struct.success.add(_elem1477); } iprot.readListEnd(); } @@ -229686,9 +229582,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 _iter1505 : struct.success) + for (SchemaVersion _iter1479 : struct.success) { - _iter1505.write(oprot); + _iter1479.write(oprot); } oprot.writeListEnd(); } @@ -229735,9 +229631,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1506 : struct.success) + for (SchemaVersion _iter1480 : struct.success) { - _iter1506.write(oprot); + _iter1480.write(oprot); } } } @@ -229755,14 +229651,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1507.size); - SchemaVersion _elem1508; - for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) + org.apache.thrift.protocol.TList _list1481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1481.size); + SchemaVersion _elem1482; + for (int _i1483 = 0; _i1483 < _list1481.size; ++_i1483) { - _elem1508 = new SchemaVersion(); - _elem1508.read(iprot); - struct.success.add(_elem1508); + _elem1482 = new SchemaVersion(); + _elem1482.read(iprot); + struct.success.add(_elem1482); } } struct.setSuccessIsSet(true); @@ -238305,14 +238201,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 _list1510 = iprot.readListBegin(); - struct.success = new ArrayList(_list1510.size); - RuntimeStat _elem1511; - for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) + org.apache.thrift.protocol.TList _list1484 = iprot.readListBegin(); + struct.success = new ArrayList(_list1484.size); + RuntimeStat _elem1485; + for (int _i1486 = 0; _i1486 < _list1484.size; ++_i1486) { - _elem1511 = new RuntimeStat(); - _elem1511.read(iprot); - struct.success.add(_elem1511); + _elem1485 = new RuntimeStat(); + _elem1485.read(iprot); + struct.success.add(_elem1485); } iprot.readListEnd(); } @@ -238347,9 +238243,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 _iter1513 : struct.success) + for (RuntimeStat _iter1487 : struct.success) { - _iter1513.write(oprot); + _iter1487.write(oprot); } oprot.writeListEnd(); } @@ -238388,9 +238284,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1514 : struct.success) + for (RuntimeStat _iter1488 : struct.success) { - _iter1514.write(oprot); + _iter1488.write(oprot); } } } @@ -238405,14 +238301,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1515.size); - RuntimeStat _elem1516; - for (int _i1517 = 0; _i1517 < _list1515.size; ++_i1517) + org.apache.thrift.protocol.TList _list1489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1489.size); + RuntimeStat _elem1490; + for (int _i1491 = 0; _i1491 < _list1489.size; ++_i1491) { - _elem1516 = new RuntimeStat(); - _elem1516.read(iprot); - struct.success.add(_elem1516); + _elem1490 = new RuntimeStat(); + _elem1490.read(iprot); + struct.success.add(_elem1490); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index eda462ecfb..f4e30f037e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -755,14 +755,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 _list848 = iprot.readListBegin(); - struct.pools = new ArrayList(_list848.size); - WMPool _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.pools = new ArrayList(_list840.size); + WMPool _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem849 = new WMPool(); - _elem849.read(iprot); - struct.pools.add(_elem849); + _elem841 = new WMPool(); + _elem841.read(iprot); + struct.pools.add(_elem841); } iprot.readListEnd(); } @@ -774,14 +774,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 _list851 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list851.size); - WMMapping _elem852; - for (int _i853 = 0; _i853 < _list851.size; ++_i853) + org.apache.thrift.protocol.TList _list843 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list843.size); + WMMapping _elem844; + for (int _i845 = 0; _i845 < _list843.size; ++_i845) { - _elem852 = new WMMapping(); - _elem852.read(iprot); - struct.mappings.add(_elem852); + _elem844 = new WMMapping(); + _elem844.read(iprot); + struct.mappings.add(_elem844); } iprot.readListEnd(); } @@ -793,14 +793,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 _list854 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list854.size); - WMTrigger _elem855; - for (int _i856 = 0; _i856 < _list854.size; ++_i856) + org.apache.thrift.protocol.TList _list846 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list846.size); + WMTrigger _elem847; + for (int _i848 = 0; _i848 < _list846.size; ++_i848) { - _elem855 = new WMTrigger(); - _elem855.read(iprot); - struct.triggers.add(_elem855); + _elem847 = new WMTrigger(); + _elem847.read(iprot); + struct.triggers.add(_elem847); } iprot.readListEnd(); } @@ -812,14 +812,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 _list857 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list857.size); - WMPoolTrigger _elem858; - for (int _i859 = 0; _i859 < _list857.size; ++_i859) + org.apache.thrift.protocol.TList _list849 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list849.size); + WMPoolTrigger _elem850; + for (int _i851 = 0; _i851 < _list849.size; ++_i851) { - _elem858 = new WMPoolTrigger(); - _elem858.read(iprot); - struct.poolTriggers.add(_elem858); + _elem850 = new WMPoolTrigger(); + _elem850.read(iprot); + struct.poolTriggers.add(_elem850); } iprot.readListEnd(); } @@ -850,9 +850,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 _iter860 : struct.pools) + for (WMPool _iter852 : struct.pools) { - _iter860.write(oprot); + _iter852.write(oprot); } oprot.writeListEnd(); } @@ -863,9 +863,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 _iter861 : struct.mappings) + for (WMMapping _iter853 : struct.mappings) { - _iter861.write(oprot); + _iter853.write(oprot); } oprot.writeListEnd(); } @@ -877,9 +877,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 _iter862 : struct.triggers) + for (WMTrigger _iter854 : struct.triggers) { - _iter862.write(oprot); + _iter854.write(oprot); } oprot.writeListEnd(); } @@ -891,9 +891,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 _iter863 : struct.poolTriggers) + for (WMPoolTrigger _iter855 : struct.poolTriggers) { - _iter863.write(oprot); + _iter855.write(oprot); } oprot.writeListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter864 : struct.pools) + for (WMPool _iter856 : struct.pools) { - _iter864.write(oprot); + _iter856.write(oprot); } } BitSet optionals = new BitSet(); @@ -939,27 +939,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter865 : struct.mappings) + for (WMMapping _iter857 : struct.mappings) { - _iter865.write(oprot); + _iter857.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter866 : struct.triggers) + for (WMTrigger _iter858 : struct.triggers) { - _iter866.write(oprot); + _iter858.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter867 : struct.poolTriggers) + for (WMPoolTrigger _iter859 : struct.poolTriggers) { - _iter867.write(oprot); + _iter859.write(oprot); } } } @@ -972,56 +972,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list868 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list868.size); - WMPool _elem869; - for (int _i870 = 0; _i870 < _list868.size; ++_i870) + org.apache.thrift.protocol.TList _list860 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list860.size); + WMPool _elem861; + for (int _i862 = 0; _i862 < _list860.size; ++_i862) { - _elem869 = new WMPool(); - _elem869.read(iprot); - struct.pools.add(_elem869); + _elem861 = new WMPool(); + _elem861.read(iprot); + struct.pools.add(_elem861); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list871 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list871.size); - WMMapping _elem872; - for (int _i873 = 0; _i873 < _list871.size; ++_i873) + org.apache.thrift.protocol.TList _list863 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list863.size); + WMMapping _elem864; + for (int _i865 = 0; _i865 < _list863.size; ++_i865) { - _elem872 = new WMMapping(); - _elem872.read(iprot); - struct.mappings.add(_elem872); + _elem864 = new WMMapping(); + _elem864.read(iprot); + struct.mappings.add(_elem864); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list874 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list874.size); - WMTrigger _elem875; - for (int _i876 = 0; _i876 < _list874.size; ++_i876) + org.apache.thrift.protocol.TList _list866 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list866.size); + WMTrigger _elem867; + for (int _i868 = 0; _i868 < _list866.size; ++_i868) { - _elem875 = new WMTrigger(); - _elem875.read(iprot); - struct.triggers.add(_elem875); + _elem867 = new WMTrigger(); + _elem867.read(iprot); + struct.triggers.add(_elem867); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list877.size); - WMPoolTrigger _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list869.size); + WMPoolTrigger _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem878 = new WMPoolTrigger(); - _elem878.read(iprot); - struct.poolTriggers.add(_elem878); + _elem870 = new WMPoolTrigger(); + _elem870.read(iprot); + struct.poolTriggers.add(_elem870); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index 9bbc97b42e..ba81ce9684 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -346,14 +346,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 _list880 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list880.size); - WMResourcePlan _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list872.size); + WMResourcePlan _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem881 = new WMResourcePlan(); - _elem881.read(iprot); - struct.resourcePlans.add(_elem881); + _elem873 = new WMResourcePlan(); + _elem873.read(iprot); + struct.resourcePlans.add(_elem873); } iprot.readListEnd(); } @@ -380,9 +380,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 _iter883 : struct.resourcePlans) + for (WMResourcePlan _iter875 : struct.resourcePlans) { - _iter883.write(oprot); + _iter875.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter884 : struct.resourcePlans) + for (WMResourcePlan _iter876 : struct.resourcePlans) { - _iter884.write(oprot); + _iter876.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list885.size); - WMResourcePlan _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list877.size); + WMResourcePlan _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem886 = new WMResourcePlan(); - _elem886.read(iprot); - struct.resourcePlans.add(_elem886); + _elem878 = new WMResourcePlan(); + _elem878.read(iprot); + struct.resourcePlans.add(_elem878); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 6918953813..10ed67ce2b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -346,14 +346,14 @@ 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 _list904 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list904.size); - WMTrigger _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list896.size); + WMTrigger _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem905 = new WMTrigger(); - _elem905.read(iprot); - struct.triggers.add(_elem905); + _elem897 = new WMTrigger(); + _elem897.read(iprot); + struct.triggers.add(_elem897); } iprot.readListEnd(); } @@ -380,9 +380,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 _iter907 : struct.triggers) + for (WMTrigger _iter899 : struct.triggers) { - _iter907.write(oprot); + _iter899.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter908 : struct.triggers) + for (WMTrigger _iter900 : struct.triggers) { - _iter908.write(oprot); + _iter900.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list909.size); - WMTrigger _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list901.size); + WMTrigger _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem910 = new WMTrigger(); - _elem910.read(iprot); - struct.triggers.add(_elem910); + _elem902 = new WMTrigger(); + _elem902.read(iprot); + struct.triggers.add(_elem902); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index 66a478d964..86d7d5c694 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -441,13 +441,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 _list888 = iprot.readListBegin(); - struct.errors = new ArrayList(_list888.size); - String _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.errors = new ArrayList(_list880.size); + String _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem889 = iprot.readString(); - struct.errors.add(_elem889); + _elem881 = iprot.readString(); + struct.errors.add(_elem881); } iprot.readListEnd(); } @@ -459,13 +459,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 _list891 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list891.size); - String _elem892; - for (int _i893 = 0; _i893 < _list891.size; ++_i893) + org.apache.thrift.protocol.TList _list883 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list883.size); + String _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem892 = iprot.readString(); - struct.warnings.add(_elem892); + _elem884 = iprot.readString(); + struct.warnings.add(_elem884); } iprot.readListEnd(); } @@ -492,9 +492,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 (String _iter894 : struct.errors) + for (String _iter886 : struct.errors) { - oprot.writeString(_iter894); + oprot.writeString(_iter886); } oprot.writeListEnd(); } @@ -506,9 +506,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 (String _iter895 : struct.warnings) + for (String _iter887 : struct.warnings) { - oprot.writeString(_iter895); + oprot.writeString(_iter887); } oprot.writeListEnd(); } @@ -543,18 +543,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (String _iter896 : struct.errors) + for (String _iter888 : struct.errors) { - oprot.writeString(_iter896); + oprot.writeString(_iter888); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter897 : struct.warnings) + for (String _iter889 : struct.warnings) { - oprot.writeString(_iter897); + oprot.writeString(_iter889); } } } @@ -566,26 +566,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list898 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list898.size); - String _elem899; - for (int _i900 = 0; _i900 < _list898.size; ++_i900) + org.apache.thrift.protocol.TList _list890 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list890.size); + String _elem891; + for (int _i892 = 0; _i892 < _list890.size; ++_i892) { - _elem899 = iprot.readString(); - struct.errors.add(_elem899); + _elem891 = iprot.readString(); + struct.errors.add(_elem891); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list901.size); - String _elem902; - for (int _i903 = 0; _i903 < _list901.size; ++_i903) + org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list893.size); + String _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem902 = iprot.readString(); - struct.warnings.add(_elem902); + _elem894 = iprot.readString(); + struct.warnings.add(_elem894); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index ec26ccad14..632b82c396 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -334,14 +334,14 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function get_table_objects_by_name_req(\metastore\GetTablesRequest $req); /** - * @param string $dbname - * @param string[] $tbl_names - * @return array + * @param \metastore\CreationMetadata $creation_metadata + * @param string $validTxnList + * @return \metastore\Materialization * @throws \metastore\MetaException * @throws \metastore\InvalidOperationException * @throws \metastore\UnknownDBException */ - public function get_materialization_invalidation_info($dbname, array $tbl_names); + public function get_materialization_invalidation_info(\metastore\CreationMetadata $creation_metadata, $validTxnList); /** * @param string $catName * @param string $dbname @@ -3994,17 +3994,17 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_table_objects_by_name_req failed: unknown result"); } - public function get_materialization_invalidation_info($dbname, array $tbl_names) + public function get_materialization_invalidation_info(\metastore\CreationMetadata $creation_metadata, $validTxnList) { - $this->send_get_materialization_invalidation_info($dbname, $tbl_names); + $this->send_get_materialization_invalidation_info($creation_metadata, $validTxnList); return $this->recv_get_materialization_invalidation_info(); } - public function send_get_materialization_invalidation_info($dbname, array $tbl_names) + public function send_get_materialization_invalidation_info(\metastore\CreationMetadata $creation_metadata, $validTxnList) { $args = new \metastore\ThriftHiveMetastore_get_materialization_invalidation_info_args(); - $args->dbname = $dbname; - $args->tbl_names = $tbl_names; + $args->creation_metadata = $creation_metadata; + $args->validTxnList = $validTxnList; $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { @@ -15440,14 +15440,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size820 = 0; - $_etype823 = 0; - $xfer += $input->readListBegin($_etype823, $_size820); - for ($_i824 = 0; $_i824 < $_size820; ++$_i824) + $_size812 = 0; + $_etype815 = 0; + $xfer += $input->readListBegin($_etype815, $_size812); + for ($_i816 = 0; $_i816 < $_size812; ++$_i816) { - $elem825 = null; - $xfer += $input->readString($elem825); - $this->success []= $elem825; + $elem817 = null; + $xfer += $input->readString($elem817); + $this->success []= $elem817; } $xfer += $input->readListEnd(); } else { @@ -15483,9 +15483,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter826) + foreach ($this->success as $iter818) { - $xfer += $output->writeString($iter826); + $xfer += $output->writeString($iter818); } } $output->writeListEnd(); @@ -15616,14 +15616,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size827 = 0; - $_etype830 = 0; - $xfer += $input->readListBegin($_etype830, $_size827); - for ($_i831 = 0; $_i831 < $_size827; ++$_i831) + $_size819 = 0; + $_etype822 = 0; + $xfer += $input->readListBegin($_etype822, $_size819); + for ($_i823 = 0; $_i823 < $_size819; ++$_i823) { - $elem832 = null; - $xfer += $input->readString($elem832); - $this->success []= $elem832; + $elem824 = null; + $xfer += $input->readString($elem824); + $this->success []= $elem824; } $xfer += $input->readListEnd(); } else { @@ -15659,9 +15659,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter833) + foreach ($this->success as $iter825) { - $xfer += $output->writeString($iter833); + $xfer += $output->writeString($iter825); } } $output->writeListEnd(); @@ -16662,18 +16662,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size834 = 0; - $_ktype835 = 0; - $_vtype836 = 0; - $xfer += $input->readMapBegin($_ktype835, $_vtype836, $_size834); - for ($_i838 = 0; $_i838 < $_size834; ++$_i838) + $_size826 = 0; + $_ktype827 = 0; + $_vtype828 = 0; + $xfer += $input->readMapBegin($_ktype827, $_vtype828, $_size826); + for ($_i830 = 0; $_i830 < $_size826; ++$_i830) { - $key839 = ''; - $val840 = new \metastore\Type(); - $xfer += $input->readString($key839); - $val840 = new \metastore\Type(); - $xfer += $val840->read($input); - $this->success[$key839] = $val840; + $key831 = ''; + $val832 = new \metastore\Type(); + $xfer += $input->readString($key831); + $val832 = new \metastore\Type(); + $xfer += $val832->read($input); + $this->success[$key831] = $val832; } $xfer += $input->readMapEnd(); } else { @@ -16709,10 +16709,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter841 => $viter842) + foreach ($this->success as $kiter833 => $viter834) { - $xfer += $output->writeString($kiter841); - $xfer += $viter842->write($output); + $xfer += $output->writeString($kiter833); + $xfer += $viter834->write($output); } } $output->writeMapEnd(); @@ -16916,15 +16916,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size843 = 0; - $_etype846 = 0; - $xfer += $input->readListBegin($_etype846, $_size843); - for ($_i847 = 0; $_i847 < $_size843; ++$_i847) + $_size835 = 0; + $_etype838 = 0; + $xfer += $input->readListBegin($_etype838, $_size835); + for ($_i839 = 0; $_i839 < $_size835; ++$_i839) { - $elem848 = null; - $elem848 = new \metastore\FieldSchema(); - $xfer += $elem848->read($input); - $this->success []= $elem848; + $elem840 = null; + $elem840 = new \metastore\FieldSchema(); + $xfer += $elem840->read($input); + $this->success []= $elem840; } $xfer += $input->readListEnd(); } else { @@ -16976,9 +16976,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter849) + foreach ($this->success as $iter841) { - $xfer += $iter849->write($output); + $xfer += $iter841->write($output); } } $output->writeListEnd(); @@ -17220,15 +17220,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size850 = 0; - $_etype853 = 0; - $xfer += $input->readListBegin($_etype853, $_size850); - for ($_i854 = 0; $_i854 < $_size850; ++$_i854) + $_size842 = 0; + $_etype845 = 0; + $xfer += $input->readListBegin($_etype845, $_size842); + for ($_i846 = 0; $_i846 < $_size842; ++$_i846) { - $elem855 = null; - $elem855 = new \metastore\FieldSchema(); - $xfer += $elem855->read($input); - $this->success []= $elem855; + $elem847 = null; + $elem847 = new \metastore\FieldSchema(); + $xfer += $elem847->read($input); + $this->success []= $elem847; } $xfer += $input->readListEnd(); } else { @@ -17280,9 +17280,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter856) + foreach ($this->success as $iter848) { - $xfer += $iter856->write($output); + $xfer += $iter848->write($output); } } $output->writeListEnd(); @@ -17496,15 +17496,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size857 = 0; - $_etype860 = 0; - $xfer += $input->readListBegin($_etype860, $_size857); - for ($_i861 = 0; $_i861 < $_size857; ++$_i861) + $_size849 = 0; + $_etype852 = 0; + $xfer += $input->readListBegin($_etype852, $_size849); + for ($_i853 = 0; $_i853 < $_size849; ++$_i853) { - $elem862 = null; - $elem862 = new \metastore\FieldSchema(); - $xfer += $elem862->read($input); - $this->success []= $elem862; + $elem854 = null; + $elem854 = new \metastore\FieldSchema(); + $xfer += $elem854->read($input); + $this->success []= $elem854; } $xfer += $input->readListEnd(); } else { @@ -17556,9 +17556,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter863) + foreach ($this->success as $iter855) { - $xfer += $iter863->write($output); + $xfer += $iter855->write($output); } } $output->writeListEnd(); @@ -17800,15 +17800,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size864 = 0; - $_etype867 = 0; - $xfer += $input->readListBegin($_etype867, $_size864); - for ($_i868 = 0; $_i868 < $_size864; ++$_i868) + $_size856 = 0; + $_etype859 = 0; + $xfer += $input->readListBegin($_etype859, $_size856); + for ($_i860 = 0; $_i860 < $_size856; ++$_i860) { - $elem869 = null; - $elem869 = new \metastore\FieldSchema(); - $xfer += $elem869->read($input); - $this->success []= $elem869; + $elem861 = null; + $elem861 = new \metastore\FieldSchema(); + $xfer += $elem861->read($input); + $this->success []= $elem861; } $xfer += $input->readListEnd(); } else { @@ -17860,9 +17860,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter870) + foreach ($this->success as $iter862) { - $xfer += $iter870->write($output); + $xfer += $iter862->write($output); } } $output->writeListEnd(); @@ -18534,15 +18534,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size871 = 0; - $_etype874 = 0; - $xfer += $input->readListBegin($_etype874, $_size871); - for ($_i875 = 0; $_i875 < $_size871; ++$_i875) + $_size863 = 0; + $_etype866 = 0; + $xfer += $input->readListBegin($_etype866, $_size863); + for ($_i867 = 0; $_i867 < $_size863; ++$_i867) { - $elem876 = null; - $elem876 = new \metastore\SQLPrimaryKey(); - $xfer += $elem876->read($input); - $this->primaryKeys []= $elem876; + $elem868 = null; + $elem868 = new \metastore\SQLPrimaryKey(); + $xfer += $elem868->read($input); + $this->primaryKeys []= $elem868; } $xfer += $input->readListEnd(); } else { @@ -18552,15 +18552,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size877 = 0; - $_etype880 = 0; - $xfer += $input->readListBegin($_etype880, $_size877); - for ($_i881 = 0; $_i881 < $_size877; ++$_i881) + $_size869 = 0; + $_etype872 = 0; + $xfer += $input->readListBegin($_etype872, $_size869); + for ($_i873 = 0; $_i873 < $_size869; ++$_i873) { - $elem882 = null; - $elem882 = new \metastore\SQLForeignKey(); - $xfer += $elem882->read($input); - $this->foreignKeys []= $elem882; + $elem874 = null; + $elem874 = new \metastore\SQLForeignKey(); + $xfer += $elem874->read($input); + $this->foreignKeys []= $elem874; } $xfer += $input->readListEnd(); } else { @@ -18570,15 +18570,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size883 = 0; - $_etype886 = 0; - $xfer += $input->readListBegin($_etype886, $_size883); - for ($_i887 = 0; $_i887 < $_size883; ++$_i887) + $_size875 = 0; + $_etype878 = 0; + $xfer += $input->readListBegin($_etype878, $_size875); + for ($_i879 = 0; $_i879 < $_size875; ++$_i879) { - $elem888 = null; - $elem888 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem888->read($input); - $this->uniqueConstraints []= $elem888; + $elem880 = null; + $elem880 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem880->read($input); + $this->uniqueConstraints []= $elem880; } $xfer += $input->readListEnd(); } else { @@ -18588,15 +18588,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size889 = 0; - $_etype892 = 0; - $xfer += $input->readListBegin($_etype892, $_size889); - for ($_i893 = 0; $_i893 < $_size889; ++$_i893) + $_size881 = 0; + $_etype884 = 0; + $xfer += $input->readListBegin($_etype884, $_size881); + for ($_i885 = 0; $_i885 < $_size881; ++$_i885) { - $elem894 = null; - $elem894 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem894->read($input); - $this->notNullConstraints []= $elem894; + $elem886 = null; + $elem886 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem886->read($input); + $this->notNullConstraints []= $elem886; } $xfer += $input->readListEnd(); } else { @@ -18606,15 +18606,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size895 = 0; - $_etype898 = 0; - $xfer += $input->readListBegin($_etype898, $_size895); - for ($_i899 = 0; $_i899 < $_size895; ++$_i899) + $_size887 = 0; + $_etype890 = 0; + $xfer += $input->readListBegin($_etype890, $_size887); + for ($_i891 = 0; $_i891 < $_size887; ++$_i891) { - $elem900 = null; - $elem900 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem900->read($input); - $this->defaultConstraints []= $elem900; + $elem892 = null; + $elem892 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem892->read($input); + $this->defaultConstraints []= $elem892; } $xfer += $input->readListEnd(); } else { @@ -18624,15 +18624,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size901 = 0; - $_etype904 = 0; - $xfer += $input->readListBegin($_etype904, $_size901); - for ($_i905 = 0; $_i905 < $_size901; ++$_i905) + $_size893 = 0; + $_etype896 = 0; + $xfer += $input->readListBegin($_etype896, $_size893); + for ($_i897 = 0; $_i897 < $_size893; ++$_i897) { - $elem906 = null; - $elem906 = new \metastore\SQLCheckConstraint(); - $xfer += $elem906->read($input); - $this->checkConstraints []= $elem906; + $elem898 = null; + $elem898 = new \metastore\SQLCheckConstraint(); + $xfer += $elem898->read($input); + $this->checkConstraints []= $elem898; } $xfer += $input->readListEnd(); } else { @@ -18668,9 +18668,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter907) + foreach ($this->primaryKeys as $iter899) { - $xfer += $iter907->write($output); + $xfer += $iter899->write($output); } } $output->writeListEnd(); @@ -18685,9 +18685,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter908) + foreach ($this->foreignKeys as $iter900) { - $xfer += $iter908->write($output); + $xfer += $iter900->write($output); } } $output->writeListEnd(); @@ -18702,9 +18702,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter909) + foreach ($this->uniqueConstraints as $iter901) { - $xfer += $iter909->write($output); + $xfer += $iter901->write($output); } } $output->writeListEnd(); @@ -18719,9 +18719,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter910) + foreach ($this->notNullConstraints as $iter902) { - $xfer += $iter910->write($output); + $xfer += $iter902->write($output); } } $output->writeListEnd(); @@ -18736,9 +18736,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter911) + foreach ($this->defaultConstraints as $iter903) { - $xfer += $iter911->write($output); + $xfer += $iter903->write($output); } } $output->writeListEnd(); @@ -18753,9 +18753,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter912) + foreach ($this->checkConstraints as $iter904) { - $xfer += $iter912->write($output); + $xfer += $iter904->write($output); } } $output->writeListEnd(); @@ -20755,14 +20755,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size913 = 0; - $_etype916 = 0; - $xfer += $input->readListBegin($_etype916, $_size913); - for ($_i917 = 0; $_i917 < $_size913; ++$_i917) + $_size905 = 0; + $_etype908 = 0; + $xfer += $input->readListBegin($_etype908, $_size905); + for ($_i909 = 0; $_i909 < $_size905; ++$_i909) { - $elem918 = null; - $xfer += $input->readString($elem918); - $this->partNames []= $elem918; + $elem910 = null; + $xfer += $input->readString($elem910); + $this->partNames []= $elem910; } $xfer += $input->readListEnd(); } else { @@ -20800,9 +20800,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter919) + foreach ($this->partNames as $iter911) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter911); } } $output->writeListEnd(); @@ -21053,14 +21053,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size920 = 0; - $_etype923 = 0; - $xfer += $input->readListBegin($_etype923, $_size920); - for ($_i924 = 0; $_i924 < $_size920; ++$_i924) + $_size912 = 0; + $_etype915 = 0; + $xfer += $input->readListBegin($_etype915, $_size912); + for ($_i916 = 0; $_i916 < $_size912; ++$_i916) { - $elem925 = null; - $xfer += $input->readString($elem925); - $this->success []= $elem925; + $elem917 = null; + $xfer += $input->readString($elem917); + $this->success []= $elem917; } $xfer += $input->readListEnd(); } else { @@ -21096,9 +21096,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter918) { - $xfer += $output->writeString($iter926); + $xfer += $output->writeString($iter918); } } $output->writeListEnd(); @@ -21300,14 +21300,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size919 = 0; + $_etype922 = 0; + $xfer += $input->readListBegin($_etype922, $_size919); + for ($_i923 = 0; $_i923 < $_size919; ++$_i923) { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->success []= $elem932; + $elem924 = null; + $xfer += $input->readString($elem924); + $this->success []= $elem924; } $xfer += $input->readListEnd(); } else { @@ -21343,9 +21343,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter933) + foreach ($this->success as $iter925) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter925); } } $output->writeListEnd(); @@ -21501,14 +21501,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size934 = 0; - $_etype937 = 0; - $xfer += $input->readListBegin($_etype937, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) + $_size926 = 0; + $_etype929 = 0; + $xfer += $input->readListBegin($_etype929, $_size926); + for ($_i930 = 0; $_i930 < $_size926; ++$_i930) { - $elem939 = null; - $xfer += $input->readString($elem939); - $this->success []= $elem939; + $elem931 = null; + $xfer += $input->readString($elem931); + $this->success []= $elem931; } $xfer += $input->readListEnd(); } else { @@ -21544,9 +21544,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter940) + foreach ($this->success as $iter932) { - $xfer += $output->writeString($iter940); + $xfer += $output->writeString($iter932); } } $output->writeListEnd(); @@ -21651,14 +21651,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size941 = 0; - $_etype944 = 0; - $xfer += $input->readListBegin($_etype944, $_size941); - for ($_i945 = 0; $_i945 < $_size941; ++$_i945) + $_size933 = 0; + $_etype936 = 0; + $xfer += $input->readListBegin($_etype936, $_size933); + for ($_i937 = 0; $_i937 < $_size933; ++$_i937) { - $elem946 = null; - $xfer += $input->readString($elem946); - $this->tbl_types []= $elem946; + $elem938 = null; + $xfer += $input->readString($elem938); + $this->tbl_types []= $elem938; } $xfer += $input->readListEnd(); } else { @@ -21696,9 +21696,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter947) + foreach ($this->tbl_types as $iter939) { - $xfer += $output->writeString($iter947); + $xfer += $output->writeString($iter939); } } $output->writeListEnd(); @@ -21775,15 +21775,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size948 = 0; - $_etype951 = 0; - $xfer += $input->readListBegin($_etype951, $_size948); - for ($_i952 = 0; $_i952 < $_size948; ++$_i952) + $_size940 = 0; + $_etype943 = 0; + $xfer += $input->readListBegin($_etype943, $_size940); + for ($_i944 = 0; $_i944 < $_size940; ++$_i944) { - $elem953 = null; - $elem953 = new \metastore\TableMeta(); - $xfer += $elem953->read($input); - $this->success []= $elem953; + $elem945 = null; + $elem945 = new \metastore\TableMeta(); + $xfer += $elem945->read($input); + $this->success []= $elem945; } $xfer += $input->readListEnd(); } else { @@ -21819,9 +21819,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter954) + foreach ($this->success as $iter946) { - $xfer += $iter954->write($output); + $xfer += $iter946->write($output); } } $output->writeListEnd(); @@ -21977,14 +21977,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size955 = 0; - $_etype958 = 0; - $xfer += $input->readListBegin($_etype958, $_size955); - for ($_i959 = 0; $_i959 < $_size955; ++$_i959) + $_size947 = 0; + $_etype950 = 0; + $xfer += $input->readListBegin($_etype950, $_size947); + for ($_i951 = 0; $_i951 < $_size947; ++$_i951) { - $elem960 = null; - $xfer += $input->readString($elem960); - $this->success []= $elem960; + $elem952 = null; + $xfer += $input->readString($elem952); + $this->success []= $elem952; } $xfer += $input->readListEnd(); } else { @@ -22020,9 +22020,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter961) + foreach ($this->success as $iter953) { - $xfer += $output->writeString($iter961); + $xfer += $output->writeString($iter953); } } $output->writeListEnd(); @@ -22337,14 +22337,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size962 = 0; - $_etype965 = 0; - $xfer += $input->readListBegin($_etype965, $_size962); - for ($_i966 = 0; $_i966 < $_size962; ++$_i966) + $_size954 = 0; + $_etype957 = 0; + $xfer += $input->readListBegin($_etype957, $_size954); + for ($_i958 = 0; $_i958 < $_size954; ++$_i958) { - $elem967 = null; - $xfer += $input->readString($elem967); - $this->tbl_names []= $elem967; + $elem959 = null; + $xfer += $input->readString($elem959); + $this->tbl_names []= $elem959; } $xfer += $input->readListEnd(); } else { @@ -22377,9 +22377,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter968) + foreach ($this->tbl_names as $iter960) { - $xfer += $output->writeString($iter968); + $xfer += $output->writeString($iter960); } } $output->writeListEnd(); @@ -22444,15 +22444,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size969 = 0; - $_etype972 = 0; - $xfer += $input->readListBegin($_etype972, $_size969); - for ($_i973 = 0; $_i973 < $_size969; ++$_i973) + $_size961 = 0; + $_etype964 = 0; + $xfer += $input->readListBegin($_etype964, $_size961); + for ($_i965 = 0; $_i965 < $_size961; ++$_i965) { - $elem974 = null; - $elem974 = new \metastore\Table(); - $xfer += $elem974->read($input); - $this->success []= $elem974; + $elem966 = null; + $elem966 = new \metastore\Table(); + $xfer += $elem966->read($input); + $this->success []= $elem966; } $xfer += $input->readListEnd(); } else { @@ -22480,9 +22480,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter975) + foreach ($this->success as $iter967) { - $xfer += $iter975->write($output); + $xfer += $iter967->write($output); } } $output->writeListEnd(); @@ -22945,37 +22945,34 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { static $_TSPEC; /** - * @var string + * @var \metastore\CreationMetadata */ - public $dbname = null; + public $creation_metadata = null; /** - * @var string[] + * @var string */ - public $tbl_names = null; + public $validTxnList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'dbname', - 'type' => TType::STRING, + 'var' => 'creation_metadata', + 'type' => TType::STRUCT, + 'class' => '\metastore\CreationMetadata', ), 2 => array( - 'var' => 'tbl_names', - 'type' => TType::LST, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), + 'var' => 'validTxnList', + 'type' => TType::STRING, ), ); } if (is_array($vals)) { - if (isset($vals['dbname'])) { - $this->dbname = $vals['dbname']; + if (isset($vals['creation_metadata'])) { + $this->creation_metadata = $vals['creation_metadata']; } - if (isset($vals['tbl_names'])) { - $this->tbl_names = $vals['tbl_names']; + if (isset($vals['validTxnList'])) { + $this->validTxnList = $vals['validTxnList']; } } } @@ -23000,25 +22997,16 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { switch ($fid) { case 1: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->dbname); + if ($ftype == TType::STRUCT) { + $this->creation_metadata = new \metastore\CreationMetadata(); + $xfer += $this->creation_metadata->read($input); } else { $xfer += $input->skip($ftype); } break; case 2: - if ($ftype == TType::LST) { - $this->tbl_names = array(); - $_size976 = 0; - $_etype979 = 0; - $xfer += $input->readListBegin($_etype979, $_size976); - for ($_i980 = 0; $_i980 < $_size976; ++$_i980) - { - $elem981 = null; - $xfer += $input->readString($elem981); - $this->tbl_names []= $elem981; - } - $xfer += $input->readListEnd(); + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validTxnList); } else { $xfer += $input->skip($ftype); } @@ -23036,26 +23024,17 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { public function write($output) { $xfer = 0; $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_materialization_invalidation_info_args'); - if ($this->dbname !== null) { - $xfer += $output->writeFieldBegin('dbname', TType::STRING, 1); - $xfer += $output->writeString($this->dbname); - $xfer += $output->writeFieldEnd(); - } - if ($this->tbl_names !== null) { - if (!is_array($this->tbl_names)) { + if ($this->creation_metadata !== null) { + if (!is_object($this->creation_metadata)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); } - $xfer += $output->writeFieldBegin('tbl_names', TType::LST, 2); - { - $output->writeListBegin(TType::STRING, count($this->tbl_names)); - { - foreach ($this->tbl_names as $iter982) - { - $xfer += $output->writeString($iter982); - } - } - $output->writeListEnd(); - } + $xfer += $output->writeFieldBegin('creation_metadata', TType::STRUCT, 1); + $xfer += $this->creation_metadata->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->validTxnList !== null) { + $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 2); + $xfer += $output->writeString($this->validTxnList); $xfer += $output->writeFieldEnd(); } $xfer += $output->writeFieldStop(); @@ -23069,7 +23048,7 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { static $_TSPEC; /** - * @var array + * @var \metastore\Materialization */ public $success = null; /** @@ -23090,16 +23069,8 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { self::$_TSPEC = array( 0 => array( 'var' => 'success', - 'type' => TType::MAP, - 'ktype' => TType::STRING, - 'vtype' => TType::STRUCT, - 'key' => array( - 'type' => TType::STRING, - ), - 'val' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\Materialization', - ), + 'type' => TType::STRUCT, + 'class' => '\metastore\Materialization', ), 1 => array( 'var' => 'o1', @@ -23154,22 +23125,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { switch ($fid) { case 0: - if ($ftype == TType::MAP) { - $this->success = array(); - $_size983 = 0; - $_ktype984 = 0; - $_vtype985 = 0; - $xfer += $input->readMapBegin($_ktype984, $_vtype985, $_size983); - for ($_i987 = 0; $_i987 < $_size983; ++$_i987) - { - $key988 = ''; - $val989 = new \metastore\Materialization(); - $xfer += $input->readString($key988); - $val989 = new \metastore\Materialization(); - $xfer += $val989->read($input); - $this->success[$key988] = $val989; - } - $xfer += $input->readMapEnd(); + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\Materialization(); + $xfer += $this->success->read($input); } else { $xfer += $input->skip($ftype); } @@ -23212,21 +23170,11 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { $xfer = 0; $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_materialization_invalidation_info_result'); if ($this->success !== null) { - if (!is_array($this->success)) { + if (!is_object($this->success)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); } - $xfer += $output->writeFieldBegin('success', TType::MAP, 0); - { - $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); - { - foreach ($this->success as $kiter990 => $viter991) - { - $xfer += $output->writeString($kiter990); - $xfer += $viter991->write($output); - } - } - $output->writeMapEnd(); - } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); $xfer += $output->writeFieldEnd(); } if ($this->o1 !== null) { @@ -23734,14 +23682,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size968 = 0; + $_etype971 = 0; + $xfer += $input->readListBegin($_etype971, $_size968); + for ($_i972 = 0; $_i972 < $_size968; ++$_i972) { - $elem997 = null; - $xfer += $input->readString($elem997); - $this->success []= $elem997; + $elem973 = null; + $xfer += $input->readString($elem973); + $this->success []= $elem973; } $xfer += $input->readListEnd(); } else { @@ -23793,9 +23741,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter998) + foreach ($this->success as $iter974) { - $xfer += $output->writeString($iter998); + $xfer += $output->writeString($iter974); } } $output->writeListEnd(); @@ -25108,15 +25056,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size999 = 0; - $_etype1002 = 0; - $xfer += $input->readListBegin($_etype1002, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size975 = 0; + $_etype978 = 0; + $xfer += $input->readListBegin($_etype978, $_size975); + for ($_i979 = 0; $_i979 < $_size975; ++$_i979) { - $elem1004 = null; - $elem1004 = new \metastore\Partition(); - $xfer += $elem1004->read($input); - $this->new_parts []= $elem1004; + $elem980 = null; + $elem980 = new \metastore\Partition(); + $xfer += $elem980->read($input); + $this->new_parts []= $elem980; } $xfer += $input->readListEnd(); } else { @@ -25144,9 +25092,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1005) + foreach ($this->new_parts as $iter981) { - $xfer += $iter1005->write($output); + $xfer += $iter981->write($output); } } $output->writeListEnd(); @@ -25361,15 +25309,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1006 = 0; - $_etype1009 = 0; - $xfer += $input->readListBegin($_etype1009, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + $_size982 = 0; + $_etype985 = 0; + $xfer += $input->readListBegin($_etype985, $_size982); + for ($_i986 = 0; $_i986 < $_size982; ++$_i986) { - $elem1011 = null; - $elem1011 = new \metastore\PartitionSpec(); - $xfer += $elem1011->read($input); - $this->new_parts []= $elem1011; + $elem987 = null; + $elem987 = new \metastore\PartitionSpec(); + $xfer += $elem987->read($input); + $this->new_parts []= $elem987; } $xfer += $input->readListEnd(); } else { @@ -25397,9 +25345,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1012) + foreach ($this->new_parts as $iter988) { - $xfer += $iter1012->write($output); + $xfer += $iter988->write($output); } } $output->writeListEnd(); @@ -25649,14 +25597,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1013 = 0; - $_etype1016 = 0; - $xfer += $input->readListBegin($_etype1016, $_size1013); - for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) + $_size989 = 0; + $_etype992 = 0; + $xfer += $input->readListBegin($_etype992, $_size989); + for ($_i993 = 0; $_i993 < $_size989; ++$_i993) { - $elem1018 = null; - $xfer += $input->readString($elem1018); - $this->part_vals []= $elem1018; + $elem994 = null; + $xfer += $input->readString($elem994); + $this->part_vals []= $elem994; } $xfer += $input->readListEnd(); } else { @@ -25694,9 +25642,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1019) + foreach ($this->part_vals as $iter995) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter995); } } $output->writeListEnd(); @@ -26198,14 +26146,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1020 = 0; - $_etype1023 = 0; - $xfer += $input->readListBegin($_etype1023, $_size1020); - for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) + $_size996 = 0; + $_etype999 = 0; + $xfer += $input->readListBegin($_etype999, $_size996); + for ($_i1000 = 0; $_i1000 < $_size996; ++$_i1000) { - $elem1025 = null; - $xfer += $input->readString($elem1025); - $this->part_vals []= $elem1025; + $elem1001 = null; + $xfer += $input->readString($elem1001); + $this->part_vals []= $elem1001; } $xfer += $input->readListEnd(); } else { @@ -26251,9 +26199,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1026) + foreach ($this->part_vals as $iter1002) { - $xfer += $output->writeString($iter1026); + $xfer += $output->writeString($iter1002); } } $output->writeListEnd(); @@ -27107,14 +27055,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1027 = 0; - $_etype1030 = 0; - $xfer += $input->readListBegin($_etype1030, $_size1027); - for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) + $_size1003 = 0; + $_etype1006 = 0; + $xfer += $input->readListBegin($_etype1006, $_size1003); + for ($_i1007 = 0; $_i1007 < $_size1003; ++$_i1007) { - $elem1032 = null; - $xfer += $input->readString($elem1032); - $this->part_vals []= $elem1032; + $elem1008 = null; + $xfer += $input->readString($elem1008); + $this->part_vals []= $elem1008; } $xfer += $input->readListEnd(); } else { @@ -27159,9 +27107,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1033) + foreach ($this->part_vals as $iter1009) { - $xfer += $output->writeString($iter1033); + $xfer += $output->writeString($iter1009); } } $output->writeListEnd(); @@ -27414,14 +27362,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1034 = 0; - $_etype1037 = 0; - $xfer += $input->readListBegin($_etype1037, $_size1034); - for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) + $_size1010 = 0; + $_etype1013 = 0; + $xfer += $input->readListBegin($_etype1013, $_size1010); + for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) { - $elem1039 = null; - $xfer += $input->readString($elem1039); - $this->part_vals []= $elem1039; + $elem1015 = null; + $xfer += $input->readString($elem1015); + $this->part_vals []= $elem1015; } $xfer += $input->readListEnd(); } else { @@ -27474,9 +27422,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1040) + foreach ($this->part_vals as $iter1016) { - $xfer += $output->writeString($iter1040); + $xfer += $output->writeString($iter1016); } } $output->writeListEnd(); @@ -28490,14 +28438,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1041 = 0; - $_etype1044 = 0; - $xfer += $input->readListBegin($_etype1044, $_size1041); - for ($_i1045 = 0; $_i1045 < $_size1041; ++$_i1045) + $_size1017 = 0; + $_etype1020 = 0; + $xfer += $input->readListBegin($_etype1020, $_size1017); + for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) { - $elem1046 = null; - $xfer += $input->readString($elem1046); - $this->part_vals []= $elem1046; + $elem1022 = null; + $xfer += $input->readString($elem1022); + $this->part_vals []= $elem1022; } $xfer += $input->readListEnd(); } else { @@ -28535,9 +28483,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1047) + foreach ($this->part_vals as $iter1023) { - $xfer += $output->writeString($iter1047); + $xfer += $output->writeString($iter1023); } } $output->writeListEnd(); @@ -28779,17 +28727,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1048 = 0; - $_ktype1049 = 0; - $_vtype1050 = 0; - $xfer += $input->readMapBegin($_ktype1049, $_vtype1050, $_size1048); - for ($_i1052 = 0; $_i1052 < $_size1048; ++$_i1052) + $_size1024 = 0; + $_ktype1025 = 0; + $_vtype1026 = 0; + $xfer += $input->readMapBegin($_ktype1025, $_vtype1026, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { - $key1053 = ''; - $val1054 = ''; - $xfer += $input->readString($key1053); - $xfer += $input->readString($val1054); - $this->partitionSpecs[$key1053] = $val1054; + $key1029 = ''; + $val1030 = ''; + $xfer += $input->readString($key1029); + $xfer += $input->readString($val1030); + $this->partitionSpecs[$key1029] = $val1030; } $xfer += $input->readMapEnd(); } else { @@ -28845,10 +28793,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1055 => $viter1056) + foreach ($this->partitionSpecs as $kiter1031 => $viter1032) { - $xfer += $output->writeString($kiter1055); - $xfer += $output->writeString($viter1056); + $xfer += $output->writeString($kiter1031); + $xfer += $output->writeString($viter1032); } } $output->writeMapEnd(); @@ -29160,17 +29108,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1057 = 0; - $_ktype1058 = 0; - $_vtype1059 = 0; - $xfer += $input->readMapBegin($_ktype1058, $_vtype1059, $_size1057); - for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061) + $_size1033 = 0; + $_ktype1034 = 0; + $_vtype1035 = 0; + $xfer += $input->readMapBegin($_ktype1034, $_vtype1035, $_size1033); + for ($_i1037 = 0; $_i1037 < $_size1033; ++$_i1037) { - $key1062 = ''; - $val1063 = ''; - $xfer += $input->readString($key1062); - $xfer += $input->readString($val1063); - $this->partitionSpecs[$key1062] = $val1063; + $key1038 = ''; + $val1039 = ''; + $xfer += $input->readString($key1038); + $xfer += $input->readString($val1039); + $this->partitionSpecs[$key1038] = $val1039; } $xfer += $input->readMapEnd(); } else { @@ -29226,10 +29174,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1064 => $viter1065) + foreach ($this->partitionSpecs as $kiter1040 => $viter1041) { - $xfer += $output->writeString($kiter1064); - $xfer += $output->writeString($viter1065); + $xfer += $output->writeString($kiter1040); + $xfer += $output->writeString($viter1041); } } $output->writeMapEnd(); @@ -29362,15 +29310,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1042 = 0; + $_etype1045 = 0; + $xfer += $input->readListBegin($_etype1045, $_size1042); + for ($_i1046 = 0; $_i1046 < $_size1042; ++$_i1046) { - $elem1071 = null; - $elem1071 = new \metastore\Partition(); - $xfer += $elem1071->read($input); - $this->success []= $elem1071; + $elem1047 = null; + $elem1047 = new \metastore\Partition(); + $xfer += $elem1047->read($input); + $this->success []= $elem1047; } $xfer += $input->readListEnd(); } else { @@ -29430,9 +29378,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1048) { - $xfer += $iter1072->write($output); + $xfer += $iter1048->write($output); } } $output->writeListEnd(); @@ -29578,14 +29526,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1049 = 0; + $_etype1052 = 0; + $xfer += $input->readListBegin($_etype1052, $_size1049); + for ($_i1053 = 0; $_i1053 < $_size1049; ++$_i1053) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->part_vals []= $elem1078; + $elem1054 = null; + $xfer += $input->readString($elem1054); + $this->part_vals []= $elem1054; } $xfer += $input->readListEnd(); } else { @@ -29602,14 +29550,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1079 = 0; - $_etype1082 = 0; - $xfer += $input->readListBegin($_etype1082, $_size1079); - for ($_i1083 = 0; $_i1083 < $_size1079; ++$_i1083) + $_size1055 = 0; + $_etype1058 = 0; + $xfer += $input->readListBegin($_etype1058, $_size1055); + for ($_i1059 = 0; $_i1059 < $_size1055; ++$_i1059) { - $elem1084 = null; - $xfer += $input->readString($elem1084); - $this->group_names []= $elem1084; + $elem1060 = null; + $xfer += $input->readString($elem1060); + $this->group_names []= $elem1060; } $xfer += $input->readListEnd(); } else { @@ -29647,9 +29595,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1085) + foreach ($this->part_vals as $iter1061) { - $xfer += $output->writeString($iter1085); + $xfer += $output->writeString($iter1061); } } $output->writeListEnd(); @@ -29669,9 +29617,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1086) + foreach ($this->group_names as $iter1062) { - $xfer += $output->writeString($iter1086); + $xfer += $output->writeString($iter1062); } } $output->writeListEnd(); @@ -30262,15 +30210,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1063 = 0; + $_etype1066 = 0; + $xfer += $input->readListBegin($_etype1066, $_size1063); + for ($_i1067 = 0; $_i1067 < $_size1063; ++$_i1067) { - $elem1092 = null; - $elem1092 = new \metastore\Partition(); - $xfer += $elem1092->read($input); - $this->success []= $elem1092; + $elem1068 = null; + $elem1068 = new \metastore\Partition(); + $xfer += $elem1068->read($input); + $this->success []= $elem1068; } $xfer += $input->readListEnd(); } else { @@ -30314,9 +30262,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1093) + foreach ($this->success as $iter1069) { - $xfer += $iter1093->write($output); + $xfer += $iter1069->write($output); } } $output->writeListEnd(); @@ -30462,14 +30410,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1094 = 0; - $_etype1097 = 0; - $xfer += $input->readListBegin($_etype1097, $_size1094); - for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) + $_size1070 = 0; + $_etype1073 = 0; + $xfer += $input->readListBegin($_etype1073, $_size1070); + for ($_i1074 = 0; $_i1074 < $_size1070; ++$_i1074) { - $elem1099 = null; - $xfer += $input->readString($elem1099); - $this->group_names []= $elem1099; + $elem1075 = null; + $xfer += $input->readString($elem1075); + $this->group_names []= $elem1075; } $xfer += $input->readListEnd(); } else { @@ -30517,9 +30465,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1100) + foreach ($this->group_names as $iter1076) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1076); } } $output->writeListEnd(); @@ -30608,15 +30556,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1077 = 0; + $_etype1080 = 0; + $xfer += $input->readListBegin($_etype1080, $_size1077); + for ($_i1081 = 0; $_i1081 < $_size1077; ++$_i1081) { - $elem1106 = null; - $elem1106 = new \metastore\Partition(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1082 = null; + $elem1082 = new \metastore\Partition(); + $xfer += $elem1082->read($input); + $this->success []= $elem1082; } $xfer += $input->readListEnd(); } else { @@ -30660,9 +30608,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1083) { - $xfer += $iter1107->write($output); + $xfer += $iter1083->write($output); } } $output->writeListEnd(); @@ -30882,15 +30830,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1084 = 0; + $_etype1087 = 0; + $xfer += $input->readListBegin($_etype1087, $_size1084); + for ($_i1088 = 0; $_i1088 < $_size1084; ++$_i1088) { - $elem1113 = null; - $elem1113 = new \metastore\PartitionSpec(); - $xfer += $elem1113->read($input); - $this->success []= $elem1113; + $elem1089 = null; + $elem1089 = new \metastore\PartitionSpec(); + $xfer += $elem1089->read($input); + $this->success []= $elem1089; } $xfer += $input->readListEnd(); } else { @@ -30934,9 +30882,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1114) + foreach ($this->success as $iter1090) { - $xfer += $iter1114->write($output); + $xfer += $iter1090->write($output); } } $output->writeListEnd(); @@ -31155,14 +31103,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1091 = 0; + $_etype1094 = 0; + $xfer += $input->readListBegin($_etype1094, $_size1091); + for ($_i1095 = 0; $_i1095 < $_size1091; ++$_i1095) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->success []= $elem1120; + $elem1096 = null; + $xfer += $input->readString($elem1096); + $this->success []= $elem1096; } $xfer += $input->readListEnd(); } else { @@ -31206,9 +31154,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1121) + foreach ($this->success as $iter1097) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1097); } } $output->writeListEnd(); @@ -31539,14 +31487,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1098 = 0; + $_etype1101 = 0; + $xfer += $input->readListBegin($_etype1101, $_size1098); + for ($_i1102 = 0; $_i1102 < $_size1098; ++$_i1102) { - $elem1127 = null; - $xfer += $input->readString($elem1127); - $this->part_vals []= $elem1127; + $elem1103 = null; + $xfer += $input->readString($elem1103); + $this->part_vals []= $elem1103; } $xfer += $input->readListEnd(); } else { @@ -31591,9 +31539,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1128) + foreach ($this->part_vals as $iter1104) { - $xfer += $output->writeString($iter1128); + $xfer += $output->writeString($iter1104); } } $output->writeListEnd(); @@ -31687,15 +31635,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1105 = 0; + $_etype1108 = 0; + $xfer += $input->readListBegin($_etype1108, $_size1105); + for ($_i1109 = 0; $_i1109 < $_size1105; ++$_i1109) { - $elem1134 = null; - $elem1134 = new \metastore\Partition(); - $xfer += $elem1134->read($input); - $this->success []= $elem1134; + $elem1110 = null; + $elem1110 = new \metastore\Partition(); + $xfer += $elem1110->read($input); + $this->success []= $elem1110; } $xfer += $input->readListEnd(); } else { @@ -31739,9 +31687,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1135) + foreach ($this->success as $iter1111) { - $xfer += $iter1135->write($output); + $xfer += $iter1111->write($output); } } $output->writeListEnd(); @@ -31888,14 +31836,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1112 = 0; + $_etype1115 = 0; + $xfer += $input->readListBegin($_etype1115, $_size1112); + for ($_i1116 = 0; $_i1116 < $_size1112; ++$_i1116) { - $elem1141 = null; - $xfer += $input->readString($elem1141); - $this->part_vals []= $elem1141; + $elem1117 = null; + $xfer += $input->readString($elem1117); + $this->part_vals []= $elem1117; } $xfer += $input->readListEnd(); } else { @@ -31919,14 +31867,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1142 = 0; - $_etype1145 = 0; - $xfer += $input->readListBegin($_etype1145, $_size1142); - for ($_i1146 = 0; $_i1146 < $_size1142; ++$_i1146) + $_size1118 = 0; + $_etype1121 = 0; + $xfer += $input->readListBegin($_etype1121, $_size1118); + for ($_i1122 = 0; $_i1122 < $_size1118; ++$_i1122) { - $elem1147 = null; - $xfer += $input->readString($elem1147); - $this->group_names []= $elem1147; + $elem1123 = null; + $xfer += $input->readString($elem1123); + $this->group_names []= $elem1123; } $xfer += $input->readListEnd(); } else { @@ -31964,9 +31912,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1148) + foreach ($this->part_vals as $iter1124) { - $xfer += $output->writeString($iter1148); + $xfer += $output->writeString($iter1124); } } $output->writeListEnd(); @@ -31991,9 +31939,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1149) + foreach ($this->group_names as $iter1125) { - $xfer += $output->writeString($iter1149); + $xfer += $output->writeString($iter1125); } } $output->writeListEnd(); @@ -32082,15 +32030,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1126 = 0; + $_etype1129 = 0; + $xfer += $input->readListBegin($_etype1129, $_size1126); + for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) { - $elem1155 = null; - $elem1155 = new \metastore\Partition(); - $xfer += $elem1155->read($input); - $this->success []= $elem1155; + $elem1131 = null; + $elem1131 = new \metastore\Partition(); + $xfer += $elem1131->read($input); + $this->success []= $elem1131; } $xfer += $input->readListEnd(); } else { @@ -32134,9 +32082,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1156) + foreach ($this->success as $iter1132) { - $xfer += $iter1156->write($output); + $xfer += $iter1132->write($output); } } $output->writeListEnd(); @@ -32257,14 +32205,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1133 = 0; + $_etype1136 = 0; + $xfer += $input->readListBegin($_etype1136, $_size1133); + for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) { - $elem1162 = null; - $xfer += $input->readString($elem1162); - $this->part_vals []= $elem1162; + $elem1138 = null; + $xfer += $input->readString($elem1138); + $this->part_vals []= $elem1138; } $xfer += $input->readListEnd(); } else { @@ -32309,9 +32257,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1163) + foreach ($this->part_vals as $iter1139) { - $xfer += $output->writeString($iter1163); + $xfer += $output->writeString($iter1139); } } $output->writeListEnd(); @@ -32404,14 +32352,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1140 = 0; + $_etype1143 = 0; + $xfer += $input->readListBegin($_etype1143, $_size1140); + for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) { - $elem1169 = null; - $xfer += $input->readString($elem1169); - $this->success []= $elem1169; + $elem1145 = null; + $xfer += $input->readString($elem1145); + $this->success []= $elem1145; } $xfer += $input->readListEnd(); } else { @@ -32455,9 +32403,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1170) + foreach ($this->success as $iter1146) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1146); } } $output->writeListEnd(); @@ -32700,15 +32648,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1147 = 0; + $_etype1150 = 0; + $xfer += $input->readListBegin($_etype1150, $_size1147); + for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) { - $elem1176 = null; - $elem1176 = new \metastore\Partition(); - $xfer += $elem1176->read($input); - $this->success []= $elem1176; + $elem1152 = null; + $elem1152 = new \metastore\Partition(); + $xfer += $elem1152->read($input); + $this->success []= $elem1152; } $xfer += $input->readListEnd(); } else { @@ -32752,9 +32700,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1177) + foreach ($this->success as $iter1153) { - $xfer += $iter1177->write($output); + $xfer += $iter1153->write($output); } } $output->writeListEnd(); @@ -32997,15 +32945,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1154 = 0; + $_etype1157 = 0; + $xfer += $input->readListBegin($_etype1157, $_size1154); + for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) { - $elem1183 = null; - $elem1183 = new \metastore\PartitionSpec(); - $xfer += $elem1183->read($input); - $this->success []= $elem1183; + $elem1159 = null; + $elem1159 = new \metastore\PartitionSpec(); + $xfer += $elem1159->read($input); + $this->success []= $elem1159; } $xfer += $input->readListEnd(); } else { @@ -33049,9 +32997,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1160) { - $xfer += $iter1184->write($output); + $xfer += $iter1160->write($output); } } $output->writeListEnd(); @@ -33617,14 +33565,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1185 = 0; - $_etype1188 = 0; - $xfer += $input->readListBegin($_etype1188, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1161 = 0; + $_etype1164 = 0; + $xfer += $input->readListBegin($_etype1164, $_size1161); + for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) { - $elem1190 = null; - $xfer += $input->readString($elem1190); - $this->names []= $elem1190; + $elem1166 = null; + $xfer += $input->readString($elem1166); + $this->names []= $elem1166; } $xfer += $input->readListEnd(); } else { @@ -33662,9 +33610,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1191) + foreach ($this->names as $iter1167) { - $xfer += $output->writeString($iter1191); + $xfer += $output->writeString($iter1167); } } $output->writeListEnd(); @@ -33753,15 +33701,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1192 = 0; - $_etype1195 = 0; - $xfer += $input->readListBegin($_etype1195, $_size1192); - for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) + $_size1168 = 0; + $_etype1171 = 0; + $xfer += $input->readListBegin($_etype1171, $_size1168); + for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) { - $elem1197 = null; - $elem1197 = new \metastore\Partition(); - $xfer += $elem1197->read($input); - $this->success []= $elem1197; + $elem1173 = null; + $elem1173 = new \metastore\Partition(); + $xfer += $elem1173->read($input); + $this->success []= $elem1173; } $xfer += $input->readListEnd(); } else { @@ -33805,9 +33753,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1198) + foreach ($this->success as $iter1174) { - $xfer += $iter1198->write($output); + $xfer += $iter1174->write($output); } } $output->writeListEnd(); @@ -34146,15 +34094,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1199 = 0; - $_etype1202 = 0; - $xfer += $input->readListBegin($_etype1202, $_size1199); - for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) + $_size1175 = 0; + $_etype1178 = 0; + $xfer += $input->readListBegin($_etype1178, $_size1175); + for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) { - $elem1204 = null; - $elem1204 = new \metastore\Partition(); - $xfer += $elem1204->read($input); - $this->new_parts []= $elem1204; + $elem1180 = null; + $elem1180 = new \metastore\Partition(); + $xfer += $elem1180->read($input); + $this->new_parts []= $elem1180; } $xfer += $input->readListEnd(); } else { @@ -34192,9 +34140,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1205) + foreach ($this->new_parts as $iter1181) { - $xfer += $iter1205->write($output); + $xfer += $iter1181->write($output); } } $output->writeListEnd(); @@ -34409,15 +34357,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1206 = 0; - $_etype1209 = 0; - $xfer += $input->readListBegin($_etype1209, $_size1206); - for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) + $_size1182 = 0; + $_etype1185 = 0; + $xfer += $input->readListBegin($_etype1185, $_size1182); + for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) { - $elem1211 = null; - $elem1211 = new \metastore\Partition(); - $xfer += $elem1211->read($input); - $this->new_parts []= $elem1211; + $elem1187 = null; + $elem1187 = new \metastore\Partition(); + $xfer += $elem1187->read($input); + $this->new_parts []= $elem1187; } $xfer += $input->readListEnd(); } else { @@ -34463,9 +34411,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1212) + foreach ($this->new_parts as $iter1188) { - $xfer += $iter1212->write($output); + $xfer += $iter1188->write($output); } } $output->writeListEnd(); @@ -34943,14 +34891,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1213 = 0; - $_etype1216 = 0; - $xfer += $input->readListBegin($_etype1216, $_size1213); - for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) + $_size1189 = 0; + $_etype1192 = 0; + $xfer += $input->readListBegin($_etype1192, $_size1189); + for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) { - $elem1218 = null; - $xfer += $input->readString($elem1218); - $this->part_vals []= $elem1218; + $elem1194 = null; + $xfer += $input->readString($elem1194); + $this->part_vals []= $elem1194; } $xfer += $input->readListEnd(); } else { @@ -34996,9 +34944,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1219) + foreach ($this->part_vals as $iter1195) { - $xfer += $output->writeString($iter1219); + $xfer += $output->writeString($iter1195); } } $output->writeListEnd(); @@ -35183,14 +35131,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1220 = 0; - $_etype1223 = 0; - $xfer += $input->readListBegin($_etype1223, $_size1220); - for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) + $_size1196 = 0; + $_etype1199 = 0; + $xfer += $input->readListBegin($_etype1199, $_size1196); + for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) { - $elem1225 = null; - $xfer += $input->readString($elem1225); - $this->part_vals []= $elem1225; + $elem1201 = null; + $xfer += $input->readString($elem1201); + $this->part_vals []= $elem1201; } $xfer += $input->readListEnd(); } else { @@ -35225,9 +35173,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1226) + foreach ($this->part_vals as $iter1202) { - $xfer += $output->writeString($iter1226); + $xfer += $output->writeString($iter1202); } } $output->writeListEnd(); @@ -35681,14 +35629,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1227 = 0; - $_etype1230 = 0; - $xfer += $input->readListBegin($_etype1230, $_size1227); - for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) + $_size1203 = 0; + $_etype1206 = 0; + $xfer += $input->readListBegin($_etype1206, $_size1203); + for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) { - $elem1232 = null; - $xfer += $input->readString($elem1232); - $this->success []= $elem1232; + $elem1208 = null; + $xfer += $input->readString($elem1208); + $this->success []= $elem1208; } $xfer += $input->readListEnd(); } else { @@ -35724,9 +35672,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1233) + foreach ($this->success as $iter1209) { - $xfer += $output->writeString($iter1233); + $xfer += $output->writeString($iter1209); } } $output->writeListEnd(); @@ -35886,17 +35834,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1234 = 0; - $_ktype1235 = 0; - $_vtype1236 = 0; - $xfer += $input->readMapBegin($_ktype1235, $_vtype1236, $_size1234); - for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) + $_size1210 = 0; + $_ktype1211 = 0; + $_vtype1212 = 0; + $xfer += $input->readMapBegin($_ktype1211, $_vtype1212, $_size1210); + for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $key1239 = ''; - $val1240 = ''; - $xfer += $input->readString($key1239); - $xfer += $input->readString($val1240); - $this->success[$key1239] = $val1240; + $key1215 = ''; + $val1216 = ''; + $xfer += $input->readString($key1215); + $xfer += $input->readString($val1216); + $this->success[$key1215] = $val1216; } $xfer += $input->readMapEnd(); } else { @@ -35932,10 +35880,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1241 => $viter1242) + foreach ($this->success as $kiter1217 => $viter1218) { - $xfer += $output->writeString($kiter1241); - $xfer += $output->writeString($viter1242); + $xfer += $output->writeString($kiter1217); + $xfer += $output->writeString($viter1218); } } $output->writeMapEnd(); @@ -36055,17 +36003,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1243 = 0; - $_ktype1244 = 0; - $_vtype1245 = 0; - $xfer += $input->readMapBegin($_ktype1244, $_vtype1245, $_size1243); - for ($_i1247 = 0; $_i1247 < $_size1243; ++$_i1247) + $_size1219 = 0; + $_ktype1220 = 0; + $_vtype1221 = 0; + $xfer += $input->readMapBegin($_ktype1220, $_vtype1221, $_size1219); + for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) { - $key1248 = ''; - $val1249 = ''; - $xfer += $input->readString($key1248); - $xfer += $input->readString($val1249); - $this->part_vals[$key1248] = $val1249; + $key1224 = ''; + $val1225 = ''; + $xfer += $input->readString($key1224); + $xfer += $input->readString($val1225); + $this->part_vals[$key1224] = $val1225; } $xfer += $input->readMapEnd(); } else { @@ -36110,10 +36058,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1250 => $viter1251) + foreach ($this->part_vals as $kiter1226 => $viter1227) { - $xfer += $output->writeString($kiter1250); - $xfer += $output->writeString($viter1251); + $xfer += $output->writeString($kiter1226); + $xfer += $output->writeString($viter1227); } } $output->writeMapEnd(); @@ -36435,17 +36383,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1252 = 0; - $_ktype1253 = 0; - $_vtype1254 = 0; - $xfer += $input->readMapBegin($_ktype1253, $_vtype1254, $_size1252); - for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) + $_size1228 = 0; + $_ktype1229 = 0; + $_vtype1230 = 0; + $xfer += $input->readMapBegin($_ktype1229, $_vtype1230, $_size1228); + for ($_i1232 = 0; $_i1232 < $_size1228; ++$_i1232) { - $key1257 = ''; - $val1258 = ''; - $xfer += $input->readString($key1257); - $xfer += $input->readString($val1258); - $this->part_vals[$key1257] = $val1258; + $key1233 = ''; + $val1234 = ''; + $xfer += $input->readString($key1233); + $xfer += $input->readString($val1234); + $this->part_vals[$key1233] = $val1234; } $xfer += $input->readMapEnd(); } else { @@ -36490,10 +36438,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1259 => $viter1260) + foreach ($this->part_vals as $kiter1235 => $viter1236) { - $xfer += $output->writeString($kiter1259); - $xfer += $output->writeString($viter1260); + $xfer += $output->writeString($kiter1235); + $xfer += $output->writeString($viter1236); } } $output->writeMapEnd(); @@ -41452,14 +41400,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1237 = 0; + $_etype1240 = 0; + $xfer += $input->readListBegin($_etype1240, $_size1237); + for ($_i1241 = 0; $_i1241 < $_size1237; ++$_i1241) { - $elem1266 = null; - $xfer += $input->readString($elem1266); - $this->success []= $elem1266; + $elem1242 = null; + $xfer += $input->readString($elem1242); + $this->success []= $elem1242; } $xfer += $input->readListEnd(); } else { @@ -41495,9 +41443,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1243) { - $xfer += $output->writeString($iter1267); + $xfer += $output->writeString($iter1243); } } $output->writeListEnd(); @@ -42366,14 +42314,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1244 = 0; + $_etype1247 = 0; + $xfer += $input->readListBegin($_etype1247, $_size1244); + for ($_i1248 = 0; $_i1248 < $_size1244; ++$_i1248) { - $elem1273 = null; - $xfer += $input->readString($elem1273); - $this->success []= $elem1273; + $elem1249 = null; + $xfer += $input->readString($elem1249); + $this->success []= $elem1249; } $xfer += $input->readListEnd(); } else { @@ -42409,9 +42357,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1274) + foreach ($this->success as $iter1250) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1250); } } $output->writeListEnd(); @@ -43102,15 +43050,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1251 = 0; + $_etype1254 = 0; + $xfer += $input->readListBegin($_etype1254, $_size1251); + for ($_i1255 = 0; $_i1255 < $_size1251; ++$_i1255) { - $elem1280 = null; - $elem1280 = new \metastore\Role(); - $xfer += $elem1280->read($input); - $this->success []= $elem1280; + $elem1256 = null; + $elem1256 = new \metastore\Role(); + $xfer += $elem1256->read($input); + $this->success []= $elem1256; } $xfer += $input->readListEnd(); } else { @@ -43146,9 +43094,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1257) { - $xfer += $iter1281->write($output); + $xfer += $iter1257->write($output); } } $output->writeListEnd(); @@ -43810,14 +43758,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1282 = 0; - $_etype1285 = 0; - $xfer += $input->readListBegin($_etype1285, $_size1282); - for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) + $_size1258 = 0; + $_etype1261 = 0; + $xfer += $input->readListBegin($_etype1261, $_size1258); + for ($_i1262 = 0; $_i1262 < $_size1258; ++$_i1262) { - $elem1287 = null; - $xfer += $input->readString($elem1287); - $this->group_names []= $elem1287; + $elem1263 = null; + $xfer += $input->readString($elem1263); + $this->group_names []= $elem1263; } $xfer += $input->readListEnd(); } else { @@ -43858,9 +43806,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1288) + foreach ($this->group_names as $iter1264) { - $xfer += $output->writeString($iter1288); + $xfer += $output->writeString($iter1264); } } $output->writeListEnd(); @@ -44168,15 +44116,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1289 = 0; - $_etype1292 = 0; - $xfer += $input->readListBegin($_etype1292, $_size1289); - for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) + $_size1265 = 0; + $_etype1268 = 0; + $xfer += $input->readListBegin($_etype1268, $_size1265); + for ($_i1269 = 0; $_i1269 < $_size1265; ++$_i1269) { - $elem1294 = null; - $elem1294 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1294->read($input); - $this->success []= $elem1294; + $elem1270 = null; + $elem1270 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1270->read($input); + $this->success []= $elem1270; } $xfer += $input->readListEnd(); } else { @@ -44212,9 +44160,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1295) + foreach ($this->success as $iter1271) { - $xfer += $iter1295->write($output); + $xfer += $iter1271->write($output); } } $output->writeListEnd(); @@ -45082,14 +45030,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1296 = 0; - $_etype1299 = 0; - $xfer += $input->readListBegin($_etype1299, $_size1296); - for ($_i1300 = 0; $_i1300 < $_size1296; ++$_i1300) + $_size1272 = 0; + $_etype1275 = 0; + $xfer += $input->readListBegin($_etype1275, $_size1272); + for ($_i1276 = 0; $_i1276 < $_size1272; ++$_i1276) { - $elem1301 = null; - $xfer += $input->readString($elem1301); - $this->group_names []= $elem1301; + $elem1277 = null; + $xfer += $input->readString($elem1277); + $this->group_names []= $elem1277; } $xfer += $input->readListEnd(); } else { @@ -45122,9 +45070,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1302) + foreach ($this->group_names as $iter1278) { - $xfer += $output->writeString($iter1302); + $xfer += $output->writeString($iter1278); } } $output->writeListEnd(); @@ -45200,14 +45148,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1303 = 0; - $_etype1306 = 0; - $xfer += $input->readListBegin($_etype1306, $_size1303); - for ($_i1307 = 0; $_i1307 < $_size1303; ++$_i1307) + $_size1279 = 0; + $_etype1282 = 0; + $xfer += $input->readListBegin($_etype1282, $_size1279); + for ($_i1283 = 0; $_i1283 < $_size1279; ++$_i1283) { - $elem1308 = null; - $xfer += $input->readString($elem1308); - $this->success []= $elem1308; + $elem1284 = null; + $xfer += $input->readString($elem1284); + $this->success []= $elem1284; } $xfer += $input->readListEnd(); } else { @@ -45243,9 +45191,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1309) + foreach ($this->success as $iter1285) { - $xfer += $output->writeString($iter1309); + $xfer += $output->writeString($iter1285); } } $output->writeListEnd(); @@ -46362,14 +46310,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1310 = 0; - $_etype1313 = 0; - $xfer += $input->readListBegin($_etype1313, $_size1310); - for ($_i1314 = 0; $_i1314 < $_size1310; ++$_i1314) + $_size1286 = 0; + $_etype1289 = 0; + $xfer += $input->readListBegin($_etype1289, $_size1286); + for ($_i1290 = 0; $_i1290 < $_size1286; ++$_i1290) { - $elem1315 = null; - $xfer += $input->readString($elem1315); - $this->success []= $elem1315; + $elem1291 = null; + $xfer += $input->readString($elem1291); + $this->success []= $elem1291; } $xfer += $input->readListEnd(); } else { @@ -46397,9 +46345,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1316) + foreach ($this->success as $iter1292) { - $xfer += $output->writeString($iter1316); + $xfer += $output->writeString($iter1292); } } $output->writeListEnd(); @@ -47038,14 +46986,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1317 = 0; - $_etype1320 = 0; - $xfer += $input->readListBegin($_etype1320, $_size1317); - for ($_i1321 = 0; $_i1321 < $_size1317; ++$_i1321) + $_size1293 = 0; + $_etype1296 = 0; + $xfer += $input->readListBegin($_etype1296, $_size1293); + for ($_i1297 = 0; $_i1297 < $_size1293; ++$_i1297) { - $elem1322 = null; - $xfer += $input->readString($elem1322); - $this->success []= $elem1322; + $elem1298 = null; + $xfer += $input->readString($elem1298); + $this->success []= $elem1298; } $xfer += $input->readListEnd(); } else { @@ -47073,9 +47021,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1323) + foreach ($this->success as $iter1299) { - $xfer += $output->writeString($iter1323); + $xfer += $output->writeString($iter1299); } } $output->writeListEnd(); @@ -57744,15 +57692,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1324 = 0; - $_etype1327 = 0; - $xfer += $input->readListBegin($_etype1327, $_size1324); - for ($_i1328 = 0; $_i1328 < $_size1324; ++$_i1328) + $_size1300 = 0; + $_etype1303 = 0; + $xfer += $input->readListBegin($_etype1303, $_size1300); + for ($_i1304 = 0; $_i1304 < $_size1300; ++$_i1304) { - $elem1329 = null; - $elem1329 = new \metastore\SchemaVersion(); - $xfer += $elem1329->read($input); - $this->success []= $elem1329; + $elem1305 = null; + $elem1305 = new \metastore\SchemaVersion(); + $xfer += $elem1305->read($input); + $this->success []= $elem1305; } $xfer += $input->readListEnd(); } else { @@ -57796,9 +57744,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1330) + foreach ($this->success as $iter1306) { - $xfer += $iter1330->write($output); + $xfer += $iter1306->write($output); } } $output->writeListEnd(); @@ -59667,15 +59615,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1331 = 0; - $_etype1334 = 0; - $xfer += $input->readListBegin($_etype1334, $_size1331); - for ($_i1335 = 0; $_i1335 < $_size1331; ++$_i1335) + $_size1307 = 0; + $_etype1310 = 0; + $xfer += $input->readListBegin($_etype1310, $_size1307); + for ($_i1311 = 0; $_i1311 < $_size1307; ++$_i1311) { - $elem1336 = null; - $elem1336 = new \metastore\RuntimeStat(); - $xfer += $elem1336->read($input); - $this->success []= $elem1336; + $elem1312 = null; + $elem1312 = new \metastore\RuntimeStat(); + $xfer += $elem1312->read($input); + $this->success []= $elem1312; } $xfer += $input->readListEnd(); } else { @@ -59711,9 +59659,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1337) + foreach ($this->success as $iter1313) { - $xfer += $iter1337->write($output); + $xfer += $iter1313->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index a29ebb7f59..84f7e3320c 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -20735,6 +20735,10 @@ class CreationMetadata { * @var string */ public $validTxnList = null; + /** + * @var int + */ + public $materializationTime = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -20763,6 +20767,10 @@ class CreationMetadata { 'var' => 'validTxnList', 'type' => TType::STRING, ), + 6 => array( + 'var' => 'materializationTime', + 'type' => TType::I64, + ), ); } if (is_array($vals)) { @@ -20781,6 +20789,9 @@ class CreationMetadata { if (isset($vals['validTxnList'])) { $this->validTxnList = $vals['validTxnList']; } + if (isset($vals['materializationTime'])) { + $this->materializationTime = $vals['materializationTime']; + } } } @@ -20852,6 +20863,13 @@ class CreationMetadata { $xfer += $input->skip($ftype); } break; + case 6: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->materializationTime); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -20906,6 +20924,11 @@ class CreationMetadata { $xfer += $output->writeString($this->validTxnList); $xfer += $output->writeFieldEnd(); } + if ($this->materializationTime !== null) { + $xfer += $output->writeFieldBegin('materializationTime', TType::I64, 6); + $xfer += $output->writeI64($this->materializationTime); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -24402,18 +24425,6 @@ class TableMeta { class Materialization { static $_TSPEC; - /** - * @var string[] - */ - public $tablesUsed = null; - /** - * @var string - */ - public $validTxnList = null; - /** - * @var int - */ - public $invalidationTime = null; /** * @var bool */ @@ -24423,37 +24434,12 @@ class Materialization { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'tablesUsed', - 'type' => TType::SET, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), - ), - 2 => array( - 'var' => 'validTxnList', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'invalidationTime', - 'type' => TType::I64, - ), - 4 => array( 'var' => 'sourceTablesUpdateDeleteModified', 'type' => TType::BOOL, ), ); } if (is_array($vals)) { - if (isset($vals['tablesUsed'])) { - $this->tablesUsed = $vals['tablesUsed']; - } - if (isset($vals['validTxnList'])) { - $this->validTxnList = $vals['validTxnList']; - } - if (isset($vals['invalidationTime'])) { - $this->invalidationTime = $vals['invalidationTime']; - } if (isset($vals['sourceTablesUpdateDeleteModified'])) { $this->sourceTablesUpdateDeleteModified = $vals['sourceTablesUpdateDeleteModified']; } @@ -24480,41 +24466,6 @@ class Materialization { switch ($fid) { case 1: - if ($ftype == TType::SET) { - $this->tablesUsed = array(); - $_size742 = 0; - $_etype745 = 0; - $xfer += $input->readSetBegin($_etype745, $_size742); - for ($_i746 = 0; $_i746 < $_size742; ++$_i746) - { - $elem747 = null; - $xfer += $input->readString($elem747); - if (is_scalar($elem747)) { - $this->tablesUsed[$elem747] = true; - } else { - $this->tablesUsed []= $elem747; - } - } - $xfer += $input->readSetEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->validTxnList); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::I64) { - $xfer += $input->readI64($this->invalidationTime); - } else { - $xfer += $input->skip($ftype); - } - break; - case 4: if ($ftype == TType::BOOL) { $xfer += $input->readBool($this->sourceTablesUpdateDeleteModified); } else { @@ -24534,39 +24485,8 @@ class Materialization { public function write($output) { $xfer = 0; $xfer += $output->writeStructBegin('Materialization'); - if ($this->tablesUsed !== null) { - if (!is_array($this->tablesUsed)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 1); - { - $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); - { - foreach ($this->tablesUsed as $iter748 => $iter749) - { - if (is_scalar($iter749)) { - $xfer += $output->writeString($iter748); - } else { - $xfer += $output->writeString($iter749); - } - } - } - $output->writeSetEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->validTxnList !== null) { - $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 2); - $xfer += $output->writeString($this->validTxnList); - $xfer += $output->writeFieldEnd(); - } - if ($this->invalidationTime !== null) { - $xfer += $output->writeFieldBegin('invalidationTime', TType::I64, 3); - $xfer += $output->writeI64($this->invalidationTime); - $xfer += $output->writeFieldEnd(); - } if ($this->sourceTablesUpdateDeleteModified !== null) { - $xfer += $output->writeFieldBegin('sourceTablesUpdateDeleteModified', TType::BOOL, 4); + $xfer += $output->writeFieldBegin('sourceTablesUpdateDeleteModified', TType::BOOL, 1); $xfer += $output->writeBool($this->sourceTablesUpdateDeleteModified); $xfer += $output->writeFieldEnd(); } @@ -25819,15 +25739,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size750 = 0; - $_etype753 = 0; - $xfer += $input->readListBegin($_etype753, $_size750); - for ($_i754 = 0; $_i754 < $_size750; ++$_i754) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem755 = null; - $elem755 = new \metastore\WMPool(); - $xfer += $elem755->read($input); - $this->pools []= $elem755; + $elem747 = null; + $elem747 = new \metastore\WMPool(); + $xfer += $elem747->read($input); + $this->pools []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -25837,15 +25757,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size756 = 0; - $_etype759 = 0; - $xfer += $input->readListBegin($_etype759, $_size756); - for ($_i760 = 0; $_i760 < $_size756; ++$_i760) + $_size748 = 0; + $_etype751 = 0; + $xfer += $input->readListBegin($_etype751, $_size748); + for ($_i752 = 0; $_i752 < $_size748; ++$_i752) { - $elem761 = null; - $elem761 = new \metastore\WMMapping(); - $xfer += $elem761->read($input); - $this->mappings []= $elem761; + $elem753 = null; + $elem753 = new \metastore\WMMapping(); + $xfer += $elem753->read($input); + $this->mappings []= $elem753; } $xfer += $input->readListEnd(); } else { @@ -25855,15 +25775,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size762 = 0; - $_etype765 = 0; - $xfer += $input->readListBegin($_etype765, $_size762); - for ($_i766 = 0; $_i766 < $_size762; ++$_i766) + $_size754 = 0; + $_etype757 = 0; + $xfer += $input->readListBegin($_etype757, $_size754); + for ($_i758 = 0; $_i758 < $_size754; ++$_i758) { - $elem767 = null; - $elem767 = new \metastore\WMTrigger(); - $xfer += $elem767->read($input); - $this->triggers []= $elem767; + $elem759 = null; + $elem759 = new \metastore\WMTrigger(); + $xfer += $elem759->read($input); + $this->triggers []= $elem759; } $xfer += $input->readListEnd(); } else { @@ -25873,15 +25793,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size768 = 0; - $_etype771 = 0; - $xfer += $input->readListBegin($_etype771, $_size768); - for ($_i772 = 0; $_i772 < $_size768; ++$_i772) + $_size760 = 0; + $_etype763 = 0; + $xfer += $input->readListBegin($_etype763, $_size760); + for ($_i764 = 0; $_i764 < $_size760; ++$_i764) { - $elem773 = null; - $elem773 = new \metastore\WMPoolTrigger(); - $xfer += $elem773->read($input); - $this->poolTriggers []= $elem773; + $elem765 = null; + $elem765 = new \metastore\WMPoolTrigger(); + $xfer += $elem765->read($input); + $this->poolTriggers []= $elem765; } $xfer += $input->readListEnd(); } else { @@ -25917,9 +25837,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter774) + foreach ($this->pools as $iter766) { - $xfer += $iter774->write($output); + $xfer += $iter766->write($output); } } $output->writeListEnd(); @@ -25934,9 +25854,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter775) + foreach ($this->mappings as $iter767) { - $xfer += $iter775->write($output); + $xfer += $iter767->write($output); } } $output->writeListEnd(); @@ -25951,9 +25871,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter776) + foreach ($this->triggers as $iter768) { - $xfer += $iter776->write($output); + $xfer += $iter768->write($output); } } $output->writeListEnd(); @@ -25968,9 +25888,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter777) + foreach ($this->poolTriggers as $iter769) { - $xfer += $iter777->write($output); + $xfer += $iter769->write($output); } } $output->writeListEnd(); @@ -26523,15 +26443,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size770 = 0; + $_etype773 = 0; + $xfer += $input->readListBegin($_etype773, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $elem783 = null; - $elem783 = new \metastore\WMResourcePlan(); - $xfer += $elem783->read($input); - $this->resourcePlans []= $elem783; + $elem775 = null; + $elem775 = new \metastore\WMResourcePlan(); + $xfer += $elem775->read($input); + $this->resourcePlans []= $elem775; } $xfer += $input->readListEnd(); } else { @@ -26559,9 +26479,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter784) + foreach ($this->resourcePlans as $iter776) { - $xfer += $iter784->write($output); + $xfer += $iter776->write($output); } } $output->writeListEnd(); @@ -26967,14 +26887,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size777 = 0; + $_etype780 = 0; + $xfer += $input->readListBegin($_etype780, $_size777); + for ($_i781 = 0; $_i781 < $_size777; ++$_i781) { - $elem790 = null; - $xfer += $input->readString($elem790); - $this->errors []= $elem790; + $elem782 = null; + $xfer += $input->readString($elem782); + $this->errors []= $elem782; } $xfer += $input->readListEnd(); } else { @@ -26984,14 +26904,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size791 = 0; - $_etype794 = 0; - $xfer += $input->readListBegin($_etype794, $_size791); - for ($_i795 = 0; $_i795 < $_size791; ++$_i795) + $_size783 = 0; + $_etype786 = 0; + $xfer += $input->readListBegin($_etype786, $_size783); + for ($_i787 = 0; $_i787 < $_size783; ++$_i787) { - $elem796 = null; - $xfer += $input->readString($elem796); - $this->warnings []= $elem796; + $elem788 = null; + $xfer += $input->readString($elem788); + $this->warnings []= $elem788; } $xfer += $input->readListEnd(); } else { @@ -27019,9 +26939,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter797) + foreach ($this->errors as $iter789) { - $xfer += $output->writeString($iter797); + $xfer += $output->writeString($iter789); } } $output->writeListEnd(); @@ -27036,9 +26956,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter798) + foreach ($this->warnings as $iter790) { - $xfer += $output->writeString($iter798); + $xfer += $output->writeString($iter790); } } $output->writeListEnd(); @@ -27711,15 +27631,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size799 = 0; - $_etype802 = 0; - $xfer += $input->readListBegin($_etype802, $_size799); - for ($_i803 = 0; $_i803 < $_size799; ++$_i803) + $_size791 = 0; + $_etype794 = 0; + $xfer += $input->readListBegin($_etype794, $_size791); + for ($_i795 = 0; $_i795 < $_size791; ++$_i795) { - $elem804 = null; - $elem804 = new \metastore\WMTrigger(); - $xfer += $elem804->read($input); - $this->triggers []= $elem804; + $elem796 = null; + $elem796 = new \metastore\WMTrigger(); + $xfer += $elem796->read($input); + $this->triggers []= $elem796; } $xfer += $input->readListEnd(); } else { @@ -27747,9 +27667,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter805) + foreach ($this->triggers as $iter797) { - $xfer += $iter805->write($output); + $xfer += $iter797->write($output); } } $output->writeListEnd(); @@ -29333,15 +29253,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size806 = 0; - $_etype809 = 0; - $xfer += $input->readListBegin($_etype809, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) + $_size798 = 0; + $_etype801 = 0; + $xfer += $input->readListBegin($_etype801, $_size798); + for ($_i802 = 0; $_i802 < $_size798; ++$_i802) { - $elem811 = null; - $elem811 = new \metastore\FieldSchema(); - $xfer += $elem811->read($input); - $this->cols []= $elem811; + $elem803 = null; + $elem803 = new \metastore\FieldSchema(); + $xfer += $elem803->read($input); + $this->cols []= $elem803; } $xfer += $input->readListEnd(); } else { @@ -29430,9 +29350,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter812) + foreach ($this->cols as $iter804) { - $xfer += $iter812->write($output); + $xfer += $iter804->write($output); } } $output->writeListEnd(); @@ -29754,15 +29674,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size813 = 0; - $_etype816 = 0; - $xfer += $input->readListBegin($_etype816, $_size813); - for ($_i817 = 0; $_i817 < $_size813; ++$_i817) + $_size805 = 0; + $_etype808 = 0; + $xfer += $input->readListBegin($_etype808, $_size805); + for ($_i809 = 0; $_i809 < $_size805; ++$_i809) { - $elem818 = null; - $elem818 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem818->read($input); - $this->schemaVersions []= $elem818; + $elem810 = null; + $elem810 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem810->read($input); + $this->schemaVersions []= $elem810; } $xfer += $input->readListEnd(); } else { @@ -29790,9 +29710,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter819) + foreach ($this->schemaVersions as $iter811) { - $xfer += $iter819->write($output); + $xfer += $iter811->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 54023726df..6c98efe93d 100755 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -67,7 +67,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' get_table_objects_by_name(string dbname, tbl_names)') print(' GetTableResult get_table_req(GetTableRequest req)') print(' GetTablesResult get_table_objects_by_name_req(GetTablesRequest req)') - print(' get_materialization_invalidation_info(string dbname, tbl_names)') + print(' Materialization get_materialization_invalidation_info(CreationMetadata creation_metadata, string validTxnList)') print(' void update_creation_metadata(string catName, string dbname, string tbl_name, CreationMetadata creation_metadata)') print(' get_table_names_by_filter(string dbname, string filter, i16 max_tables)') print(' void alter_table(string dbname, string tbl_name, Table new_tbl)') @@ -562,7 +562,7 @@ elif cmd == 'get_materialization_invalidation_info': if len(args) != 2: print('get_materialization_invalidation_info requires 2 args') sys.exit(1) - pp.pprint(client.get_materialization_invalidation_info(args[0],eval(args[1]),)) + pp.pprint(client.get_materialization_invalidation_info(eval(args[0]),args[1],)) elif cmd == 'update_creation_metadata': if len(args) != 4: diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 5a3f2c193a..c4f3f02603 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -347,11 +347,11 @@ def get_table_objects_by_name_req(self, req): """ pass - def get_materialization_invalidation_info(self, dbname, tbl_names): + def get_materialization_invalidation_info(self, creation_metadata, validTxnList): """ Parameters: - - dbname - - tbl_names + - creation_metadata + - validTxnList """ pass @@ -3134,20 +3134,20 @@ def recv_get_table_objects_by_name_req(self): raise result.o3 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result") - def get_materialization_invalidation_info(self, dbname, tbl_names): + def get_materialization_invalidation_info(self, creation_metadata, validTxnList): """ Parameters: - - dbname - - tbl_names + - creation_metadata + - validTxnList """ - self.send_get_materialization_invalidation_info(dbname, tbl_names) + self.send_get_materialization_invalidation_info(creation_metadata, validTxnList) return self.recv_get_materialization_invalidation_info() - def send_get_materialization_invalidation_info(self, dbname, tbl_names): + def send_get_materialization_invalidation_info(self, creation_metadata, validTxnList): self._oprot.writeMessageBegin('get_materialization_invalidation_info', TMessageType.CALL, self._seqid) args = get_materialization_invalidation_info_args() - args.dbname = dbname - args.tbl_names = tbl_names + args.creation_metadata = creation_metadata + args.validTxnList = validTxnList args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() @@ -10318,7 +10318,7 @@ def process_get_materialization_invalidation_info(self, seqid, iprot, oprot): iprot.readMessageEnd() result = get_materialization_invalidation_info_result() try: - result.success = self._handler.get_materialization_invalidation_info(args.dbname, args.tbl_names) + result.success = self._handler.get_materialization_invalidation_info(args.creation_metadata, args.validTxnList) msg_type = TMessageType.REPLY except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): raise @@ -15987,10 +15987,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype819, _size816) = iprot.readListBegin() - for _i820 in xrange(_size816): - _elem821 = iprot.readString() - self.success.append(_elem821) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = iprot.readString() + self.success.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) @@ -16013,8 +16013,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 iter822 in self.success: - oprot.writeString(iter822) + for iter815 in self.success: + oprot.writeString(iter815) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16119,10 +16119,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype826, _size823) = iprot.readListBegin() - for _i827 in xrange(_size823): - _elem828 = iprot.readString() - self.success.append(_elem828) + (_etype819, _size816) = iprot.readListBegin() + for _i820 in xrange(_size816): + _elem821 = iprot.readString() + self.success.append(_elem821) iprot.readListEnd() else: iprot.skip(ftype) @@ -16145,8 +16145,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 iter829 in self.success: - oprot.writeString(iter829) + for iter822 in self.success: + oprot.writeString(iter822) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16916,12 +16916,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype831, _vtype832, _size830 ) = iprot.readMapBegin() - for _i834 in xrange(_size830): - _key835 = iprot.readString() - _val836 = Type() - _val836.read(iprot) - self.success[_key835] = _val836 + (_ktype824, _vtype825, _size823 ) = iprot.readMapBegin() + for _i827 in xrange(_size823): + _key828 = iprot.readString() + _val829 = Type() + _val829.read(iprot) + self.success[_key828] = _val829 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16944,9 +16944,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 kiter837,viter838 in self.success.items(): - oprot.writeString(kiter837) - viter838.write(oprot) + for kiter830,viter831 in self.success.items(): + oprot.writeString(kiter830) + viter831.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -17089,11 +17089,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype842, _size839) = iprot.readListBegin() - for _i843 in xrange(_size839): - _elem844 = FieldSchema() - _elem844.read(iprot) - self.success.append(_elem844) + (_etype835, _size832) = iprot.readListBegin() + for _i836 in xrange(_size832): + _elem837 = FieldSchema() + _elem837.read(iprot) + self.success.append(_elem837) iprot.readListEnd() else: iprot.skip(ftype) @@ -17128,8 +17128,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 iter845 in self.success: - iter845.write(oprot) + for iter838 in self.success: + iter838.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17296,11 +17296,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype849, _size846) = iprot.readListBegin() - for _i850 in xrange(_size846): - _elem851 = FieldSchema() - _elem851.read(iprot) - self.success.append(_elem851) + (_etype842, _size839) = iprot.readListBegin() + for _i843 in xrange(_size839): + _elem844 = FieldSchema() + _elem844.read(iprot) + self.success.append(_elem844) iprot.readListEnd() else: iprot.skip(ftype) @@ -17335,8 +17335,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 iter852 in self.success: - iter852.write(oprot) + for iter845 in self.success: + iter845.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17489,11 +17489,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype856, _size853) = iprot.readListBegin() - for _i857 in xrange(_size853): - _elem858 = FieldSchema() - _elem858.read(iprot) - self.success.append(_elem858) + (_etype849, _size846) = iprot.readListBegin() + for _i850 in xrange(_size846): + _elem851 = FieldSchema() + _elem851.read(iprot) + self.success.append(_elem851) iprot.readListEnd() else: iprot.skip(ftype) @@ -17528,8 +17528,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 iter859 in self.success: - iter859.write(oprot) + for iter852 in self.success: + iter852.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17696,11 +17696,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype863, _size860) = iprot.readListBegin() - for _i864 in xrange(_size860): - _elem865 = FieldSchema() - _elem865.read(iprot) - self.success.append(_elem865) + (_etype856, _size853) = iprot.readListBegin() + for _i857 in xrange(_size853): + _elem858 = FieldSchema() + _elem858.read(iprot) + self.success.append(_elem858) iprot.readListEnd() else: iprot.skip(ftype) @@ -17735,8 +17735,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 iter866 in self.success: - iter866.write(oprot) + for iter859 in self.success: + iter859.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18189,66 +18189,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype870, _size867) = iprot.readListBegin() - for _i871 in xrange(_size867): - _elem872 = SQLPrimaryKey() - _elem872.read(iprot) - self.primaryKeys.append(_elem872) + (_etype863, _size860) = iprot.readListBegin() + for _i864 in xrange(_size860): + _elem865 = SQLPrimaryKey() + _elem865.read(iprot) + self.primaryKeys.append(_elem865) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype876, _size873) = iprot.readListBegin() - for _i877 in xrange(_size873): - _elem878 = SQLForeignKey() - _elem878.read(iprot) - self.foreignKeys.append(_elem878) + (_etype869, _size866) = iprot.readListBegin() + for _i870 in xrange(_size866): + _elem871 = SQLForeignKey() + _elem871.read(iprot) + self.foreignKeys.append(_elem871) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype882, _size879) = iprot.readListBegin() - for _i883 in xrange(_size879): - _elem884 = SQLUniqueConstraint() - _elem884.read(iprot) - self.uniqueConstraints.append(_elem884) + (_etype875, _size872) = iprot.readListBegin() + for _i876 in xrange(_size872): + _elem877 = SQLUniqueConstraint() + _elem877.read(iprot) + self.uniqueConstraints.append(_elem877) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype888, _size885) = iprot.readListBegin() - for _i889 in xrange(_size885): - _elem890 = SQLNotNullConstraint() - _elem890.read(iprot) - self.notNullConstraints.append(_elem890) + (_etype881, _size878) = iprot.readListBegin() + for _i882 in xrange(_size878): + _elem883 = SQLNotNullConstraint() + _elem883.read(iprot) + self.notNullConstraints.append(_elem883) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype894, _size891) = iprot.readListBegin() - for _i895 in xrange(_size891): - _elem896 = SQLDefaultConstraint() - _elem896.read(iprot) - self.defaultConstraints.append(_elem896) + (_etype887, _size884) = iprot.readListBegin() + for _i888 in xrange(_size884): + _elem889 = SQLDefaultConstraint() + _elem889.read(iprot) + self.defaultConstraints.append(_elem889) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype900, _size897) = iprot.readListBegin() - for _i901 in xrange(_size897): - _elem902 = SQLCheckConstraint() - _elem902.read(iprot) - self.checkConstraints.append(_elem902) + (_etype893, _size890) = iprot.readListBegin() + for _i894 in xrange(_size890): + _elem895 = SQLCheckConstraint() + _elem895.read(iprot) + self.checkConstraints.append(_elem895) iprot.readListEnd() else: iprot.skip(ftype) @@ -18269,43 +18269,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 iter903 in self.primaryKeys: - iter903.write(oprot) + for iter896 in self.primaryKeys: + iter896.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 iter904 in self.foreignKeys: - iter904.write(oprot) + for iter897 in self.foreignKeys: + iter897.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 iter905 in self.uniqueConstraints: - iter905.write(oprot) + for iter898 in self.uniqueConstraints: + iter898.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 iter906 in self.notNullConstraints: - iter906.write(oprot) + for iter899 in self.notNullConstraints: + iter899.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 iter907 in self.defaultConstraints: - iter907.write(oprot) + for iter900 in self.defaultConstraints: + iter900.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 iter908 in self.checkConstraints: - iter908.write(oprot) + for iter901 in self.checkConstraints: + iter901.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19865,10 +19865,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.partNames.append(_elem914) + (_etype905, _size902) = iprot.readListBegin() + for _i906 in xrange(_size902): + _elem907 = iprot.readString() + self.partNames.append(_elem907) iprot.readListEnd() else: iprot.skip(ftype) @@ -19893,8 +19893,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 iter915 in self.partNames: - oprot.writeString(iter915) + for iter908 in self.partNames: + oprot.writeString(iter908) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20094,10 +20094,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = iprot.readString() - self.success.append(_elem921) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = iprot.readString() + self.success.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -20120,8 +20120,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 iter922 in self.success: - oprot.writeString(iter922) + for iter915 in self.success: + oprot.writeString(iter915) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20271,10 +20271,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.success.append(_elem928) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.success.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -20297,8 +20297,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 iter929 in self.success: - oprot.writeString(iter929) + for iter922 in self.success: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20422,10 +20422,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = iprot.readString() - self.success.append(_elem935) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = iprot.readString() + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -20448,8 +20448,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 iter936 in self.success: - oprot.writeString(iter936) + for iter929 in self.success: + oprot.writeString(iter929) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20522,10 +20522,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = iprot.readString() - self.tbl_types.append(_elem942) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.tbl_types.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -20550,8 +20550,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 iter943 in self.tbl_types: - oprot.writeString(iter943) + for iter936 in self.tbl_types: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20607,11 +20607,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = TableMeta() - _elem949.read(iprot) - self.success.append(_elem949) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = TableMeta() + _elem942.read(iprot) + self.success.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -20634,8 +20634,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 iter950 in self.success: - iter950.write(oprot) + for iter943 in self.success: + iter943.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20759,10 +20759,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype954, _size951) = iprot.readListBegin() - for _i955 in xrange(_size951): - _elem956 = iprot.readString() - self.success.append(_elem956) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = iprot.readString() + self.success.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -20785,8 +20785,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 iter957 in self.success: - oprot.writeString(iter957) + for iter950 in self.success: + oprot.writeString(iter950) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21022,10 +21022,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype961, _size958) = iprot.readListBegin() - for _i962 in xrange(_size958): - _elem963 = iprot.readString() - self.tbl_names.append(_elem963) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.tbl_names.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -21046,8 +21046,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter964 in self.tbl_names: - oprot.writeString(iter964) + for iter957 in self.tbl_names: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21099,11 +21099,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype968, _size965) = iprot.readListBegin() - for _i969 in xrange(_size965): - _elem970 = Table() - _elem970.read(iprot) - self.success.append(_elem970) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = Table() + _elem963.read(iprot) + self.success.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -21120,8 +21120,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 iter971 in self.success: - iter971.write(oprot) + for iter964 in self.success: + iter964.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21482,19 +21482,19 @@ def __ne__(self, other): class get_materialization_invalidation_info_args: """ Attributes: - - dbname - - tbl_names + - creation_metadata + - validTxnList """ thrift_spec = ( None, # 0 - (1, TType.STRING, 'dbname', None, None, ), # 1 - (2, TType.LIST, 'tbl_names', (TType.STRING,None), None, ), # 2 + (1, TType.STRUCT, 'creation_metadata', (CreationMetadata, CreationMetadata.thrift_spec), None, ), # 1 + (2, TType.STRING, 'validTxnList', None, None, ), # 2 ) - def __init__(self, dbname=None, tbl_names=None,): - self.dbname = dbname - self.tbl_names = tbl_names + def __init__(self, creation_metadata=None, validTxnList=None,): + self.creation_metadata = creation_metadata + self.validTxnList = validTxnList def read(self, iprot): if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: @@ -21506,18 +21506,14 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: - if ftype == TType.STRING: - self.dbname = iprot.readString() + if ftype == TType.STRUCT: + self.creation_metadata = CreationMetadata() + self.creation_metadata.read(iprot) else: iprot.skip(ftype) elif fid == 2: - if ftype == TType.LIST: - self.tbl_names = [] - (_etype975, _size972) = iprot.readListBegin() - for _i976 in xrange(_size972): - _elem977 = iprot.readString() - self.tbl_names.append(_elem977) - iprot.readListEnd() + if ftype == TType.STRING: + self.validTxnList = iprot.readString() else: iprot.skip(ftype) else: @@ -21530,16 +21526,13 @@ def write(self, oprot): oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return oprot.writeStructBegin('get_materialization_invalidation_info_args') - if self.dbname is not None: - oprot.writeFieldBegin('dbname', TType.STRING, 1) - oprot.writeString(self.dbname) + if self.creation_metadata is not None: + oprot.writeFieldBegin('creation_metadata', TType.STRUCT, 1) + self.creation_metadata.write(oprot) oprot.writeFieldEnd() - if self.tbl_names is not None: - oprot.writeFieldBegin('tbl_names', TType.LIST, 2) - oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter978 in self.tbl_names: - oprot.writeString(iter978) - oprot.writeListEnd() + if self.validTxnList is not None: + oprot.writeFieldBegin('validTxnList', TType.STRING, 2) + oprot.writeString(self.validTxnList) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -21550,8 +21543,8 @@ def validate(self): def __hash__(self): value = 17 - value = (value * 31) ^ hash(self.dbname) - value = (value * 31) ^ hash(self.tbl_names) + value = (value * 31) ^ hash(self.creation_metadata) + value = (value * 31) ^ hash(self.validTxnList) return value def __repr__(self): @@ -21575,7 +21568,7 @@ class get_materialization_invalidation_info_result: """ thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(Materialization, Materialization.thrift_spec)), None, ), # 0 + (0, TType.STRUCT, 'success', (Materialization, Materialization.thrift_spec), None, ), # 0 (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 (2, TType.STRUCT, 'o2', (InvalidOperationException, InvalidOperationException.thrift_spec), None, ), # 2 (3, TType.STRUCT, 'o3', (UnknownDBException, UnknownDBException.thrift_spec), None, ), # 3 @@ -21597,15 +21590,9 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 0: - if ftype == TType.MAP: - self.success = {} - (_ktype980, _vtype981, _size979 ) = iprot.readMapBegin() - for _i983 in xrange(_size979): - _key984 = iprot.readString() - _val985 = Materialization() - _val985.read(iprot) - self.success[_key984] = _val985 - iprot.readMapEnd() + if ftype == TType.STRUCT: + self.success = Materialization() + self.success.read(iprot) else: iprot.skip(ftype) elif fid == 1: @@ -21637,12 +21624,8 @@ def write(self, oprot): return oprot.writeStructBegin('get_materialization_invalidation_info_result') if self.success is not None: - oprot.writeFieldBegin('success', TType.MAP, 0) - oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter986,viter987 in self.success.items(): - oprot.writeString(kiter986) - viter987.write(oprot) - oprot.writeMapEnd() + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) oprot.writeFieldEnd() if self.o1 is not None: oprot.writeFieldBegin('o1', TType.STRUCT, 1) @@ -22006,10 +21989,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = iprot.readString() - self.success.append(_elem993) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = iprot.readString() + self.success.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -22044,8 +22027,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 iter994 in self.success: - oprot.writeString(iter994) + for iter971 in self.success: + oprot.writeString(iter971) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23015,11 +22998,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype998, _size995) = iprot.readListBegin() - for _i999 in xrange(_size995): - _elem1000 = Partition() - _elem1000.read(iprot) - self.new_parts.append(_elem1000) + (_etype975, _size972) = iprot.readListBegin() + for _i976 in xrange(_size972): + _elem977 = Partition() + _elem977.read(iprot) + self.new_parts.append(_elem977) iprot.readListEnd() else: iprot.skip(ftype) @@ -23036,8 +23019,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 iter1001 in self.new_parts: - iter1001.write(oprot) + for iter978 in self.new_parts: + iter978.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23195,11 +23178,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1005, _size1002) = iprot.readListBegin() - for _i1006 in xrange(_size1002): - _elem1007 = PartitionSpec() - _elem1007.read(iprot) - self.new_parts.append(_elem1007) + (_etype982, _size979) = iprot.readListBegin() + for _i983 in xrange(_size979): + _elem984 = PartitionSpec() + _elem984.read(iprot) + self.new_parts.append(_elem984) iprot.readListEnd() else: iprot.skip(ftype) @@ -23216,8 +23199,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 iter1008 in self.new_parts: - iter1008.write(oprot) + for iter985 in self.new_parts: + iter985.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23391,10 +23374,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1012, _size1009) = iprot.readListBegin() - for _i1013 in xrange(_size1009): - _elem1014 = iprot.readString() - self.part_vals.append(_elem1014) + (_etype989, _size986) = iprot.readListBegin() + for _i990 in xrange(_size986): + _elem991 = iprot.readString() + self.part_vals.append(_elem991) iprot.readListEnd() else: iprot.skip(ftype) @@ -23419,8 +23402,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 iter1015 in self.part_vals: - oprot.writeString(iter1015) + for iter992 in self.part_vals: + oprot.writeString(iter992) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23773,10 +23756,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1019, _size1016) = iprot.readListBegin() - for _i1020 in xrange(_size1016): - _elem1021 = iprot.readString() - self.part_vals.append(_elem1021) + (_etype996, _size993) = iprot.readListBegin() + for _i997 in xrange(_size993): + _elem998 = iprot.readString() + self.part_vals.append(_elem998) iprot.readListEnd() else: iprot.skip(ftype) @@ -23807,8 +23790,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 iter1022 in self.part_vals: - oprot.writeString(iter1022) + for iter999 in self.part_vals: + oprot.writeString(iter999) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -24403,10 +24386,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1026, _size1023) = iprot.readListBegin() - for _i1027 in xrange(_size1023): - _elem1028 = iprot.readString() - self.part_vals.append(_elem1028) + (_etype1003, _size1000) = iprot.readListBegin() + for _i1004 in xrange(_size1000): + _elem1005 = iprot.readString() + self.part_vals.append(_elem1005) iprot.readListEnd() else: iprot.skip(ftype) @@ -24436,8 +24419,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 iter1029 in self.part_vals: - oprot.writeString(iter1029) + for iter1006 in self.part_vals: + oprot.writeString(iter1006) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -24610,10 +24593,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1033, _size1030) = iprot.readListBegin() - for _i1034 in xrange(_size1030): - _elem1035 = iprot.readString() - self.part_vals.append(_elem1035) + (_etype1010, _size1007) = iprot.readListBegin() + for _i1011 in xrange(_size1007): + _elem1012 = iprot.readString() + self.part_vals.append(_elem1012) iprot.readListEnd() else: iprot.skip(ftype) @@ -24649,8 +24632,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 iter1036 in self.part_vals: - oprot.writeString(iter1036) + for iter1013 in self.part_vals: + oprot.writeString(iter1013) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -25387,10 +25370,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1040, _size1037) = iprot.readListBegin() - for _i1041 in xrange(_size1037): - _elem1042 = iprot.readString() - self.part_vals.append(_elem1042) + (_etype1017, _size1014) = iprot.readListBegin() + for _i1018 in xrange(_size1014): + _elem1019 = iprot.readString() + self.part_vals.append(_elem1019) iprot.readListEnd() else: iprot.skip(ftype) @@ -25415,8 +25398,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 iter1043 in self.part_vals: - oprot.writeString(iter1043) + for iter1020 in self.part_vals: + oprot.writeString(iter1020) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25575,11 +25558,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1045, _vtype1046, _size1044 ) = iprot.readMapBegin() - for _i1048 in xrange(_size1044): - _key1049 = iprot.readString() - _val1050 = iprot.readString() - self.partitionSpecs[_key1049] = _val1050 + (_ktype1022, _vtype1023, _size1021 ) = iprot.readMapBegin() + for _i1025 in xrange(_size1021): + _key1026 = iprot.readString() + _val1027 = iprot.readString() + self.partitionSpecs[_key1026] = _val1027 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25616,9 +25599,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 kiter1051,viter1052 in self.partitionSpecs.items(): - oprot.writeString(kiter1051) - oprot.writeString(viter1052) + for kiter1028,viter1029 in self.partitionSpecs.items(): + oprot.writeString(kiter1028) + oprot.writeString(viter1029) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25823,11 +25806,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1054, _vtype1055, _size1053 ) = iprot.readMapBegin() - for _i1057 in xrange(_size1053): - _key1058 = iprot.readString() - _val1059 = iprot.readString() - self.partitionSpecs[_key1058] = _val1059 + (_ktype1031, _vtype1032, _size1030 ) = iprot.readMapBegin() + for _i1034 in xrange(_size1030): + _key1035 = iprot.readString() + _val1036 = iprot.readString() + self.partitionSpecs[_key1035] = _val1036 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25864,9 +25847,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 kiter1060,viter1061 in self.partitionSpecs.items(): - oprot.writeString(kiter1060) - oprot.writeString(viter1061) + for kiter1037,viter1038 in self.partitionSpecs.items(): + oprot.writeString(kiter1037) + oprot.writeString(viter1038) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25949,11 +25932,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = Partition() - _elem1067.read(iprot) - self.success.append(_elem1067) + (_etype1042, _size1039) = iprot.readListBegin() + for _i1043 in xrange(_size1039): + _elem1044 = Partition() + _elem1044.read(iprot) + self.success.append(_elem1044) iprot.readListEnd() else: iprot.skip(ftype) @@ -25994,8 +25977,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 iter1068 in self.success: - iter1068.write(oprot) + for iter1045 in self.success: + iter1045.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26089,10 +26072,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = iprot.readString() - self.part_vals.append(_elem1074) + (_etype1049, _size1046) = iprot.readListBegin() + for _i1050 in xrange(_size1046): + _elem1051 = iprot.readString() + self.part_vals.append(_elem1051) iprot.readListEnd() else: iprot.skip(ftype) @@ -26104,10 +26087,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1078, _size1075) = iprot.readListBegin() - for _i1079 in xrange(_size1075): - _elem1080 = iprot.readString() - self.group_names.append(_elem1080) + (_etype1055, _size1052) = iprot.readListBegin() + for _i1056 in xrange(_size1052): + _elem1057 = iprot.readString() + self.group_names.append(_elem1057) iprot.readListEnd() else: iprot.skip(ftype) @@ -26132,8 +26115,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 iter1081 in self.part_vals: - oprot.writeString(iter1081) + for iter1058 in self.part_vals: + oprot.writeString(iter1058) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -26143,8 +26126,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 iter1082 in self.group_names: - oprot.writeString(iter1082) + for iter1059 in self.group_names: + oprot.writeString(iter1059) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26573,11 +26556,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = Partition() - _elem1088.read(iprot) - self.success.append(_elem1088) + (_etype1063, _size1060) = iprot.readListBegin() + for _i1064 in xrange(_size1060): + _elem1065 = Partition() + _elem1065.read(iprot) + self.success.append(_elem1065) iprot.readListEnd() else: iprot.skip(ftype) @@ -26606,8 +26589,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 iter1089 in self.success: - iter1089.write(oprot) + for iter1066 in self.success: + iter1066.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26701,10 +26684,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = iprot.readString() - self.group_names.append(_elem1095) + (_etype1070, _size1067) = iprot.readListBegin() + for _i1071 in xrange(_size1067): + _elem1072 = iprot.readString() + self.group_names.append(_elem1072) iprot.readListEnd() else: iprot.skip(ftype) @@ -26737,8 +26720,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 iter1096 in self.group_names: - oprot.writeString(iter1096) + for iter1073 in self.group_names: + oprot.writeString(iter1073) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26799,11 +26782,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = Partition() - _elem1102.read(iprot) - self.success.append(_elem1102) + (_etype1077, _size1074) = iprot.readListBegin() + for _i1078 in xrange(_size1074): + _elem1079 = Partition() + _elem1079.read(iprot) + self.success.append(_elem1079) iprot.readListEnd() else: iprot.skip(ftype) @@ -26832,8 +26815,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 iter1103 in self.success: - iter1103.write(oprot) + for iter1080 in self.success: + iter1080.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26991,11 +26974,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = PartitionSpec() - _elem1109.read(iprot) - self.success.append(_elem1109) + (_etype1084, _size1081) = iprot.readListBegin() + for _i1085 in xrange(_size1081): + _elem1086 = PartitionSpec() + _elem1086.read(iprot) + self.success.append(_elem1086) iprot.readListEnd() else: iprot.skip(ftype) @@ -27024,8 +27007,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 iter1110 in self.success: - iter1110.write(oprot) + for iter1087 in self.success: + iter1087.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27183,10 +27166,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.success.append(_elem1116) + (_etype1091, _size1088) = iprot.readListBegin() + for _i1092 in xrange(_size1088): + _elem1093 = iprot.readString() + self.success.append(_elem1093) iprot.readListEnd() else: iprot.skip(ftype) @@ -27215,8 +27198,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 iter1117 in self.success: - oprot.writeString(iter1117) + for iter1094 in self.success: + oprot.writeString(iter1094) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27456,10 +27439,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = iprot.readString() - self.part_vals.append(_elem1123) + (_etype1098, _size1095) = iprot.readListBegin() + for _i1099 in xrange(_size1095): + _elem1100 = iprot.readString() + self.part_vals.append(_elem1100) iprot.readListEnd() else: iprot.skip(ftype) @@ -27489,8 +27472,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 iter1124 in self.part_vals: - oprot.writeString(iter1124) + for iter1101 in self.part_vals: + oprot.writeString(iter1101) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27554,11 +27537,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = Partition() - _elem1130.read(iprot) - self.success.append(_elem1130) + (_etype1105, _size1102) = iprot.readListBegin() + for _i1106 in xrange(_size1102): + _elem1107 = Partition() + _elem1107.read(iprot) + self.success.append(_elem1107) iprot.readListEnd() else: iprot.skip(ftype) @@ -27587,8 +27570,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 iter1131 in self.success: - iter1131.write(oprot) + for iter1108 in self.success: + iter1108.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27675,10 +27658,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.part_vals.append(_elem1137) + (_etype1112, _size1109) = iprot.readListBegin() + for _i1113 in xrange(_size1109): + _elem1114 = iprot.readString() + self.part_vals.append(_elem1114) iprot.readListEnd() else: iprot.skip(ftype) @@ -27695,10 +27678,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1141, _size1138) = iprot.readListBegin() - for _i1142 in xrange(_size1138): - _elem1143 = iprot.readString() - self.group_names.append(_elem1143) + (_etype1118, _size1115) = iprot.readListBegin() + for _i1119 in xrange(_size1115): + _elem1120 = iprot.readString() + self.group_names.append(_elem1120) iprot.readListEnd() else: iprot.skip(ftype) @@ -27723,8 +27706,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 iter1144 in self.part_vals: - oprot.writeString(iter1144) + for iter1121 in self.part_vals: + oprot.writeString(iter1121) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27738,8 +27721,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 iter1145 in self.group_names: - oprot.writeString(iter1145) + for iter1122 in self.group_names: + oprot.writeString(iter1122) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27801,11 +27784,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = Partition() - _elem1151.read(iprot) - self.success.append(_elem1151) + (_etype1126, _size1123) = iprot.readListBegin() + for _i1127 in xrange(_size1123): + _elem1128 = Partition() + _elem1128.read(iprot) + self.success.append(_elem1128) iprot.readListEnd() else: iprot.skip(ftype) @@ -27834,8 +27817,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 iter1152 in self.success: - iter1152.write(oprot) + for iter1129 in self.success: + iter1129.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27916,10 +27899,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = iprot.readString() - self.part_vals.append(_elem1158) + (_etype1133, _size1130) = iprot.readListBegin() + for _i1134 in xrange(_size1130): + _elem1135 = iprot.readString() + self.part_vals.append(_elem1135) iprot.readListEnd() else: iprot.skip(ftype) @@ -27949,8 +27932,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 iter1159 in self.part_vals: - oprot.writeString(iter1159) + for iter1136 in self.part_vals: + oprot.writeString(iter1136) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28014,10 +27997,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = iprot.readString() - self.success.append(_elem1165) + (_etype1140, _size1137) = iprot.readListBegin() + for _i1141 in xrange(_size1137): + _elem1142 = iprot.readString() + self.success.append(_elem1142) iprot.readListEnd() else: iprot.skip(ftype) @@ -28046,8 +28029,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 iter1166 in self.success: - oprot.writeString(iter1166) + for iter1143 in self.success: + oprot.writeString(iter1143) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28218,11 +28201,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = Partition() - _elem1172.read(iprot) - self.success.append(_elem1172) + (_etype1147, _size1144) = iprot.readListBegin() + for _i1148 in xrange(_size1144): + _elem1149 = Partition() + _elem1149.read(iprot) + self.success.append(_elem1149) iprot.readListEnd() else: iprot.skip(ftype) @@ -28251,8 +28234,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 iter1173 in self.success: - iter1173.write(oprot) + for iter1150 in self.success: + iter1150.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28423,11 +28406,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = PartitionSpec() - _elem1179.read(iprot) - self.success.append(_elem1179) + (_etype1154, _size1151) = iprot.readListBegin() + for _i1155 in xrange(_size1151): + _elem1156 = PartitionSpec() + _elem1156.read(iprot) + self.success.append(_elem1156) iprot.readListEnd() else: iprot.skip(ftype) @@ -28456,8 +28439,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 iter1180 in self.success: - iter1180.write(oprot) + for iter1157 in self.success: + iter1157.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28877,10 +28860,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1184, _size1181) = iprot.readListBegin() - for _i1185 in xrange(_size1181): - _elem1186 = iprot.readString() - self.names.append(_elem1186) + (_etype1161, _size1158) = iprot.readListBegin() + for _i1162 in xrange(_size1158): + _elem1163 = iprot.readString() + self.names.append(_elem1163) iprot.readListEnd() else: iprot.skip(ftype) @@ -28905,8 +28888,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 iter1187 in self.names: - oprot.writeString(iter1187) + for iter1164 in self.names: + oprot.writeString(iter1164) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28965,11 +28948,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1191, _size1188) = iprot.readListBegin() - for _i1192 in xrange(_size1188): - _elem1193 = Partition() - _elem1193.read(iprot) - self.success.append(_elem1193) + (_etype1168, _size1165) = iprot.readListBegin() + for _i1169 in xrange(_size1165): + _elem1170 = Partition() + _elem1170.read(iprot) + self.success.append(_elem1170) iprot.readListEnd() else: iprot.skip(ftype) @@ -28998,8 +28981,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 iter1194 in self.success: - iter1194.write(oprot) + for iter1171 in self.success: + iter1171.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29249,11 +29232,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1198, _size1195) = iprot.readListBegin() - for _i1199 in xrange(_size1195): - _elem1200 = Partition() - _elem1200.read(iprot) - self.new_parts.append(_elem1200) + (_etype1175, _size1172) = iprot.readListBegin() + for _i1176 in xrange(_size1172): + _elem1177 = Partition() + _elem1177.read(iprot) + self.new_parts.append(_elem1177) iprot.readListEnd() else: iprot.skip(ftype) @@ -29278,8 +29261,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 iter1201 in self.new_parts: - iter1201.write(oprot) + for iter1178 in self.new_parts: + iter1178.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29432,11 +29415,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1205, _size1202) = iprot.readListBegin() - for _i1206 in xrange(_size1202): - _elem1207 = Partition() - _elem1207.read(iprot) - self.new_parts.append(_elem1207) + (_etype1182, _size1179) = iprot.readListBegin() + for _i1183 in xrange(_size1179): + _elem1184 = Partition() + _elem1184.read(iprot) + self.new_parts.append(_elem1184) iprot.readListEnd() else: iprot.skip(ftype) @@ -29467,8 +29450,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 iter1208 in self.new_parts: - iter1208.write(oprot) + for iter1185 in self.new_parts: + iter1185.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -29812,10 +29795,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1212, _size1209) = iprot.readListBegin() - for _i1213 in xrange(_size1209): - _elem1214 = iprot.readString() - self.part_vals.append(_elem1214) + (_etype1189, _size1186) = iprot.readListBegin() + for _i1190 in xrange(_size1186): + _elem1191 = iprot.readString() + self.part_vals.append(_elem1191) iprot.readListEnd() else: iprot.skip(ftype) @@ -29846,8 +29829,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 iter1215 in self.part_vals: - oprot.writeString(iter1215) + for iter1192 in self.part_vals: + oprot.writeString(iter1192) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -29989,10 +29972,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1219, _size1216) = iprot.readListBegin() - for _i1220 in xrange(_size1216): - _elem1221 = iprot.readString() - self.part_vals.append(_elem1221) + (_etype1196, _size1193) = iprot.readListBegin() + for _i1197 in xrange(_size1193): + _elem1198 = iprot.readString() + self.part_vals.append(_elem1198) iprot.readListEnd() else: iprot.skip(ftype) @@ -30014,8 +29997,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 iter1222 in self.part_vals: - oprot.writeString(iter1222) + for iter1199 in self.part_vals: + oprot.writeString(iter1199) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -30373,10 +30356,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1226, _size1223) = iprot.readListBegin() - for _i1227 in xrange(_size1223): - _elem1228 = iprot.readString() - self.success.append(_elem1228) + (_etype1203, _size1200) = iprot.readListBegin() + for _i1204 in xrange(_size1200): + _elem1205 = iprot.readString() + self.success.append(_elem1205) iprot.readListEnd() else: iprot.skip(ftype) @@ -30399,8 +30382,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 iter1229 in self.success: - oprot.writeString(iter1229) + for iter1206 in self.success: + oprot.writeString(iter1206) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30524,11 +30507,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1231, _vtype1232, _size1230 ) = iprot.readMapBegin() - for _i1234 in xrange(_size1230): - _key1235 = iprot.readString() - _val1236 = iprot.readString() - self.success[_key1235] = _val1236 + (_ktype1208, _vtype1209, _size1207 ) = iprot.readMapBegin() + for _i1211 in xrange(_size1207): + _key1212 = iprot.readString() + _val1213 = iprot.readString() + self.success[_key1212] = _val1213 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30551,9 +30534,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 kiter1237,viter1238 in self.success.items(): - oprot.writeString(kiter1237) - oprot.writeString(viter1238) + for kiter1214,viter1215 in self.success.items(): + oprot.writeString(kiter1214) + oprot.writeString(viter1215) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30629,11 +30612,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1240, _vtype1241, _size1239 ) = iprot.readMapBegin() - for _i1243 in xrange(_size1239): - _key1244 = iprot.readString() - _val1245 = iprot.readString() - self.part_vals[_key1244] = _val1245 + (_ktype1217, _vtype1218, _size1216 ) = iprot.readMapBegin() + for _i1220 in xrange(_size1216): + _key1221 = iprot.readString() + _val1222 = iprot.readString() + self.part_vals[_key1221] = _val1222 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30663,9 +30646,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 kiter1246,viter1247 in self.part_vals.items(): - oprot.writeString(kiter1246) - oprot.writeString(viter1247) + for kiter1223,viter1224 in self.part_vals.items(): + oprot.writeString(kiter1223) + oprot.writeString(viter1224) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -30879,11 +30862,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1249, _vtype1250, _size1248 ) = iprot.readMapBegin() - for _i1252 in xrange(_size1248): - _key1253 = iprot.readString() - _val1254 = iprot.readString() - self.part_vals[_key1253] = _val1254 + (_ktype1226, _vtype1227, _size1225 ) = iprot.readMapBegin() + for _i1229 in xrange(_size1225): + _key1230 = iprot.readString() + _val1231 = iprot.readString() + self.part_vals[_key1230] = _val1231 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30913,9 +30896,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 kiter1255,viter1256 in self.part_vals.items(): - oprot.writeString(kiter1255) - oprot.writeString(viter1256) + for kiter1232,viter1233 in self.part_vals.items(): + oprot.writeString(kiter1232) + oprot.writeString(viter1233) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -34567,10 +34550,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = iprot.readString() - self.success.append(_elem1262) + (_etype1237, _size1234) = iprot.readListBegin() + for _i1238 in xrange(_size1234): + _elem1239 = iprot.readString() + self.success.append(_elem1239) iprot.readListEnd() else: iprot.skip(ftype) @@ -34593,8 +34576,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 iter1263 in self.success: - oprot.writeString(iter1263) + for iter1240 in self.success: + oprot.writeString(iter1240) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35282,10 +35265,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.success.append(_elem1269) + (_etype1244, _size1241) = iprot.readListBegin() + for _i1245 in xrange(_size1241): + _elem1246 = iprot.readString() + self.success.append(_elem1246) iprot.readListEnd() else: iprot.skip(ftype) @@ -35308,8 +35291,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 iter1270 in self.success: - oprot.writeString(iter1270) + for iter1247 in self.success: + oprot.writeString(iter1247) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35823,11 +35806,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = Role() - _elem1276.read(iprot) - self.success.append(_elem1276) + (_etype1251, _size1248) = iprot.readListBegin() + for _i1252 in xrange(_size1248): + _elem1253 = Role() + _elem1253.read(iprot) + self.success.append(_elem1253) iprot.readListEnd() else: iprot.skip(ftype) @@ -35850,8 +35833,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 iter1277 in self.success: - iter1277.write(oprot) + for iter1254 in self.success: + iter1254.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36360,10 +36343,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1281, _size1278) = iprot.readListBegin() - for _i1282 in xrange(_size1278): - _elem1283 = iprot.readString() - self.group_names.append(_elem1283) + (_etype1258, _size1255) = iprot.readListBegin() + for _i1259 in xrange(_size1255): + _elem1260 = iprot.readString() + self.group_names.append(_elem1260) iprot.readListEnd() else: iprot.skip(ftype) @@ -36388,8 +36371,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 iter1284 in self.group_names: - oprot.writeString(iter1284) + for iter1261 in self.group_names: + oprot.writeString(iter1261) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36616,11 +36599,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1288, _size1285) = iprot.readListBegin() - for _i1289 in xrange(_size1285): - _elem1290 = HiveObjectPrivilege() - _elem1290.read(iprot) - self.success.append(_elem1290) + (_etype1265, _size1262) = iprot.readListBegin() + for _i1266 in xrange(_size1262): + _elem1267 = HiveObjectPrivilege() + _elem1267.read(iprot) + self.success.append(_elem1267) iprot.readListEnd() else: iprot.skip(ftype) @@ -36643,8 +36626,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 iter1291 in self.success: - iter1291.write(oprot) + for iter1268 in self.success: + iter1268.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37314,10 +37297,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1295, _size1292) = iprot.readListBegin() - for _i1296 in xrange(_size1292): - _elem1297 = iprot.readString() - self.group_names.append(_elem1297) + (_etype1272, _size1269) = iprot.readListBegin() + for _i1273 in xrange(_size1269): + _elem1274 = iprot.readString() + self.group_names.append(_elem1274) iprot.readListEnd() else: iprot.skip(ftype) @@ -37338,8 +37321,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 iter1298 in self.group_names: - oprot.writeString(iter1298) + for iter1275 in self.group_names: + oprot.writeString(iter1275) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -37394,10 +37377,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1302, _size1299) = iprot.readListBegin() - for _i1303 in xrange(_size1299): - _elem1304 = iprot.readString() - self.success.append(_elem1304) + (_etype1279, _size1276) = iprot.readListBegin() + for _i1280 in xrange(_size1276): + _elem1281 = iprot.readString() + self.success.append(_elem1281) iprot.readListEnd() else: iprot.skip(ftype) @@ -37420,8 +37403,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 iter1305 in self.success: - oprot.writeString(iter1305) + for iter1282 in self.success: + oprot.writeString(iter1282) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38353,10 +38336,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1309, _size1306) = iprot.readListBegin() - for _i1310 in xrange(_size1306): - _elem1311 = iprot.readString() - self.success.append(_elem1311) + (_etype1286, _size1283) = iprot.readListBegin() + for _i1287 in xrange(_size1283): + _elem1288 = iprot.readString() + self.success.append(_elem1288) iprot.readListEnd() else: iprot.skip(ftype) @@ -38373,8 +38356,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 iter1312 in self.success: - oprot.writeString(iter1312) + for iter1289 in self.success: + oprot.writeString(iter1289) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38901,10 +38884,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1316, _size1313) = iprot.readListBegin() - for _i1317 in xrange(_size1313): - _elem1318 = iprot.readString() - self.success.append(_elem1318) + (_etype1293, _size1290) = iprot.readListBegin() + for _i1294 in xrange(_size1290): + _elem1295 = iprot.readString() + self.success.append(_elem1295) iprot.readListEnd() else: iprot.skip(ftype) @@ -38921,8 +38904,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 iter1319 in self.success: - oprot.writeString(iter1319) + for iter1296 in self.success: + oprot.writeString(iter1296) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -47202,11 +47185,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1323, _size1320) = iprot.readListBegin() - for _i1324 in xrange(_size1320): - _elem1325 = SchemaVersion() - _elem1325.read(iprot) - self.success.append(_elem1325) + (_etype1300, _size1297) = iprot.readListBegin() + for _i1301 in xrange(_size1297): + _elem1302 = SchemaVersion() + _elem1302.read(iprot) + self.success.append(_elem1302) iprot.readListEnd() else: iprot.skip(ftype) @@ -47235,8 +47218,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 iter1326 in self.success: - iter1326.write(oprot) + for iter1303 in self.success: + iter1303.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -48711,11 +48694,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1330, _size1327) = iprot.readListBegin() - for _i1331 in xrange(_size1327): - _elem1332 = RuntimeStat() - _elem1332.read(iprot) - self.success.append(_elem1332) + (_etype1307, _size1304) = iprot.readListBegin() + for _i1308 in xrange(_size1304): + _elem1309 = RuntimeStat() + _elem1309.read(iprot) + self.success.append(_elem1309) iprot.readListEnd() else: iprot.skip(ftype) @@ -48738,8 +48721,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 iter1333 in self.success: - iter1333.write(oprot) + for iter1310 in self.success: + iter1310.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 11affe375b..8fba3df3b0 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -14508,6 +14508,7 @@ class CreationMetadata: - tblName - tablesUsed - validTxnList + - materializationTime """ thrift_spec = ( @@ -14517,14 +14518,16 @@ class CreationMetadata: (3, TType.STRING, 'tblName', None, None, ), # 3 (4, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 4 (5, TType.STRING, 'validTxnList', None, None, ), # 5 + (6, TType.I64, 'materializationTime', None, None, ), # 6 ) - def __init__(self, catName=None, dbName=None, tblName=None, tablesUsed=None, validTxnList=None,): + def __init__(self, catName=None, dbName=None, tblName=None, tablesUsed=None, validTxnList=None, materializationTime=None,): self.catName = catName self.dbName = dbName self.tblName = tblName self.tablesUsed = tablesUsed self.validTxnList = validTxnList + self.materializationTime = materializationTime def read(self, iprot): if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: @@ -14565,6 +14568,11 @@ def read(self, iprot): self.validTxnList = iprot.readString() else: iprot.skip(ftype) + elif fid == 6: + if ftype == TType.I64: + self.materializationTime = iprot.readI64() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -14598,6 +14606,10 @@ def write(self, oprot): oprot.writeFieldBegin('validTxnList', TType.STRING, 5) oprot.writeString(self.validTxnList) oprot.writeFieldEnd() + if self.materializationTime is not None: + oprot.writeFieldBegin('materializationTime', TType.I64, 6) + oprot.writeI64(self.materializationTime) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -14620,6 +14632,7 @@ def __hash__(self): value = (value * 31) ^ hash(self.tblName) value = (value * 31) ^ hash(self.tablesUsed) value = (value * 31) ^ hash(self.validTxnList) + value = (value * 31) ^ hash(self.materializationTime) return value def __repr__(self): @@ -17224,24 +17237,15 @@ def __ne__(self, other): class Materialization: """ Attributes: - - tablesUsed - - validTxnList - - invalidationTime - sourceTablesUpdateDeleteModified """ thrift_spec = ( None, # 0 - (1, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 1 - (2, TType.STRING, 'validTxnList', None, None, ), # 2 - (3, TType.I64, 'invalidationTime', None, None, ), # 3 - (4, TType.BOOL, 'sourceTablesUpdateDeleteModified', None, None, ), # 4 + (1, TType.BOOL, 'sourceTablesUpdateDeleteModified', None, None, ), # 1 ) - def __init__(self, tablesUsed=None, validTxnList=None, invalidationTime=None, sourceTablesUpdateDeleteModified=None,): - self.tablesUsed = tablesUsed - self.validTxnList = validTxnList - self.invalidationTime = invalidationTime + def __init__(self, sourceTablesUpdateDeleteModified=None,): self.sourceTablesUpdateDeleteModified = sourceTablesUpdateDeleteModified def read(self, iprot): @@ -17254,26 +17258,6 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: - if ftype == TType.SET: - self.tablesUsed = set() - (_etype742, _size739) = iprot.readSetBegin() - for _i743 in xrange(_size739): - _elem744 = iprot.readString() - self.tablesUsed.add(_elem744) - iprot.readSetEnd() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRING: - self.validTxnList = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.I64: - self.invalidationTime = iprot.readI64() - else: - iprot.skip(ftype) - elif fid == 4: if ftype == TType.BOOL: self.sourceTablesUpdateDeleteModified = iprot.readBool() else: @@ -17288,39 +17272,21 @@ def write(self, oprot): oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return oprot.writeStructBegin('Materialization') - if self.tablesUsed is not None: - oprot.writeFieldBegin('tablesUsed', TType.SET, 1) - oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter745 in self.tablesUsed: - oprot.writeString(iter745) - oprot.writeSetEnd() - oprot.writeFieldEnd() - if self.validTxnList is not None: - oprot.writeFieldBegin('validTxnList', TType.STRING, 2) - oprot.writeString(self.validTxnList) - oprot.writeFieldEnd() - if self.invalidationTime is not None: - oprot.writeFieldBegin('invalidationTime', TType.I64, 3) - oprot.writeI64(self.invalidationTime) - oprot.writeFieldEnd() if self.sourceTablesUpdateDeleteModified is not None: - oprot.writeFieldBegin('sourceTablesUpdateDeleteModified', TType.BOOL, 4) + oprot.writeFieldBegin('sourceTablesUpdateDeleteModified', TType.BOOL, 1) oprot.writeBool(self.sourceTablesUpdateDeleteModified) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() def validate(self): - if self.tablesUsed is None: - raise TProtocol.TProtocolException(message='Required field tablesUsed is unset!') + if self.sourceTablesUpdateDeleteModified is None: + raise TProtocol.TProtocolException(message='Required field sourceTablesUpdateDeleteModified is unset!') return def __hash__(self): value = 17 - value = (value * 31) ^ hash(self.tablesUsed) - value = (value * 31) ^ hash(self.validTxnList) - value = (value * 31) ^ hash(self.invalidationTime) value = (value * 31) ^ hash(self.sourceTablesUpdateDeleteModified) return value @@ -18197,44 +18163,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype749, _size746) = iprot.readListBegin() - for _i750 in xrange(_size746): - _elem751 = WMPool() - _elem751.read(iprot) - self.pools.append(_elem751) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = WMPool() + _elem744.read(iprot) + self.pools.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype755, _size752) = iprot.readListBegin() - for _i756 in xrange(_size752): - _elem757 = WMMapping() - _elem757.read(iprot) - self.mappings.append(_elem757) + (_etype748, _size745) = iprot.readListBegin() + for _i749 in xrange(_size745): + _elem750 = WMMapping() + _elem750.read(iprot) + self.mappings.append(_elem750) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype761, _size758) = iprot.readListBegin() - for _i762 in xrange(_size758): - _elem763 = WMTrigger() - _elem763.read(iprot) - self.triggers.append(_elem763) + (_etype754, _size751) = iprot.readListBegin() + for _i755 in xrange(_size751): + _elem756 = WMTrigger() + _elem756.read(iprot) + self.triggers.append(_elem756) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype767, _size764) = iprot.readListBegin() - for _i768 in xrange(_size764): - _elem769 = WMPoolTrigger() - _elem769.read(iprot) - self.poolTriggers.append(_elem769) + (_etype760, _size757) = iprot.readListBegin() + for _i761 in xrange(_size757): + _elem762 = WMPoolTrigger() + _elem762.read(iprot) + self.poolTriggers.append(_elem762) iprot.readListEnd() else: iprot.skip(ftype) @@ -18255,29 +18221,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 iter770 in self.pools: - iter770.write(oprot) + for iter763 in self.pools: + iter763.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 iter771 in self.mappings: - iter771.write(oprot) + for iter764 in self.mappings: + iter764.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 iter772 in self.triggers: - iter772.write(oprot) + for iter765 in self.triggers: + iter765.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 iter773 in self.poolTriggers: - iter773.write(oprot) + for iter766 in self.poolTriggers: + iter766.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18751,11 +18717,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = WMResourcePlan() - _elem779.read(iprot) - self.resourcePlans.append(_elem779) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = WMResourcePlan() + _elem772.read(iprot) + self.resourcePlans.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -18772,8 +18738,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 iter780 in self.resourcePlans: - iter780.write(oprot) + for iter773 in self.resourcePlans: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19077,20 +19043,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = iprot.readString() - self.errors.append(_elem786) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = iprot.readString() + self.errors.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = iprot.readString() - self.warnings.append(_elem792) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = iprot.readString() + self.warnings.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) @@ -19107,15 +19073,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 iter793 in self.errors: - oprot.writeString(iter793) + for iter786 in self.errors: + oprot.writeString(iter786) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter794 in self.warnings: - oprot.writeString(iter794) + for iter787 in self.warnings: + oprot.writeString(iter787) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19692,11 +19658,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = WMTrigger() - _elem800.read(iprot) - self.triggers.append(_elem800) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = WMTrigger() + _elem793.read(iprot) + self.triggers.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -19713,8 +19679,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 iter801 in self.triggers: - iter801.write(oprot) + for iter794 in self.triggers: + iter794.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20898,11 +20864,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = FieldSchema() - _elem807.read(iprot) - self.cols.append(_elem807) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = FieldSchema() + _elem800.read(iprot) + self.cols.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) @@ -20962,8 +20928,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 iter808 in self.cols: - iter808.write(oprot) + for iter801 in self.cols: + iter801.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -21218,11 +21184,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype812, _size809) = iprot.readListBegin() - for _i813 in xrange(_size809): - _elem814 = SchemaVersionDescriptor() - _elem814.read(iprot) - self.schemaVersions.append(_elem814) + (_etype805, _size802) = iprot.readListBegin() + for _i806 in xrange(_size802): + _elem807 = SchemaVersionDescriptor() + _elem807.read(iprot) + self.schemaVersions.append(_elem807) iprot.readListEnd() else: iprot.skip(ftype) @@ -21239,8 +21205,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 iter815 in self.schemaVersions: - iter815.write(oprot) + for iter808 in self.schemaVersions: + iter808.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index fc640d07c1..cc77b502bb 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -3243,13 +3243,15 @@ class CreationMetadata TBLNAME = 3 TABLESUSED = 4 VALIDTXNLIST = 5 + MATERIALIZATIONTIME = 6 FIELDS = { CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName'}, DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, - VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true} + VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true}, + MATERIALIZATIONTIME => {:type => ::Thrift::Types::I64, :name => 'materializationTime', :optional => true} } def struct_fields; FIELDS; end @@ -3870,22 +3872,16 @@ end class Materialization include ::Thrift::Struct, ::Thrift::Struct_Union - TABLESUSED = 1 - VALIDTXNLIST = 2 - INVALIDATIONTIME = 3 - SOURCETABLESUPDATEDELETEMODIFIED = 4 + SOURCETABLESUPDATEDELETEMODIFIED = 1 FIELDS = { - TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, - VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true}, - INVALIDATIONTIME => {:type => ::Thrift::Types::I64, :name => 'invalidationTime', :optional => true}, - SOURCETABLESUPDATEDELETEMODIFIED => {:type => ::Thrift::Types::BOOL, :name => 'sourceTablesUpdateDeleteModified', :optional => true} + SOURCETABLESUPDATEDELETEMODIFIED => {:type => ::Thrift::Types::BOOL, :name => 'sourceTablesUpdateDeleteModified'} } def struct_fields; FIELDS; end def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tablesUsed is unset!') unless @tablesUsed + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field sourceTablesUpdateDeleteModified is unset!') if @sourceTablesUpdateDeleteModified.nil? end ::Thrift::Struct.generate_accessors self diff --git a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index bbf3f12d6b..1e1a18f46c 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -726,13 +726,13 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_objects_by_name_req failed: unknown result') end - def get_materialization_invalidation_info(dbname, tbl_names) - send_get_materialization_invalidation_info(dbname, tbl_names) + def get_materialization_invalidation_info(creation_metadata, validTxnList) + send_get_materialization_invalidation_info(creation_metadata, validTxnList) return recv_get_materialization_invalidation_info() end - def send_get_materialization_invalidation_info(dbname, tbl_names) - send_message('get_materialization_invalidation_info', Get_materialization_invalidation_info_args, :dbname => dbname, :tbl_names => tbl_names) + def send_get_materialization_invalidation_info(creation_metadata, validTxnList) + send_message('get_materialization_invalidation_info', Get_materialization_invalidation_info_args, :creation_metadata => creation_metadata, :validTxnList => validTxnList) end def recv_get_materialization_invalidation_info() @@ -4028,7 +4028,7 @@ module ThriftHiveMetastore args = read_args(iprot, Get_materialization_invalidation_info_args) result = Get_materialization_invalidation_info_result.new() begin - result.success = @handler.get_materialization_invalidation_info(args.dbname, args.tbl_names) + result.success = @handler.get_materialization_invalidation_info(args.creation_metadata, args.validTxnList) rescue ::MetaException => o1 result.o1 = o1 rescue ::InvalidOperationException => o2 @@ -7632,12 +7632,12 @@ module ThriftHiveMetastore class Get_materialization_invalidation_info_args include ::Thrift::Struct, ::Thrift::Struct_Union - DBNAME = 1 - TBL_NAMES = 2 + CREATION_METADATA = 1 + VALIDTXNLIST = 2 FIELDS = { - DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'}, - TBL_NAMES => {:type => ::Thrift::Types::LIST, :name => 'tbl_names', :element => {:type => ::Thrift::Types::STRING}} + CREATION_METADATA => {:type => ::Thrift::Types::STRUCT, :name => 'creation_metadata', :class => ::CreationMetadata}, + VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList'} } def struct_fields; FIELDS; end @@ -7656,7 +7656,7 @@ module ThriftHiveMetastore O3 = 3 FIELDS = { - SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Materialization}}, + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Materialization}, O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException}, O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::InvalidOperationException}, O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::UnknownDBException} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index e9d7e7c397..df661c6b9d 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -2991,8 +2991,8 @@ public GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throw } @Override - public Map get_materialization_invalidation_info(final String dbName, final List tableNames) { - return MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo(dbName, tableNames); + public Materialization get_materialization_invalidation_info(final CreationMetadata cm, final String validTxnList) throws MetaException { + return getTxnHandler().getMaterializationInvalidationInfo(cm, validTxnList); } @Override @@ -8566,13 +8566,13 @@ public SerDeInfo get_serde(GetSerdeRequest rqst) throws TException { @Override public LockResponse get_lock_materialization_rebuild(String dbName, String tableName, long txnId) throws TException { - return MaterializationsRebuildLockHandler.get().lockResource(dbName, tableName, txnId); + return getTxnHandler().lockMaterializationRebuild(dbName, tableName, txnId); } @Override public boolean heartbeat_lock_materialization_rebuild(String dbName, String tableName, long txnId) throws TException { - return MaterializationsRebuildLockHandler.get().refreshLockResource(dbName, tableName, txnId); + return getTxnHandler().heartbeatLockMaterializationRebuild(dbName, tableName, txnId); } @Override @@ -8888,8 +8888,6 @@ public static void startMetaStore(int port, HadoopThriftAuthBridge bridge, false); IHMSHandler handler = newRetryingHMSHandler(baseHandler, conf); - // Initialize materializations invalidation cache - MaterializationsInvalidationCache.get().init(conf, handler); TServerSocket serverSocket; if (useSasl) { diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index da41e6eb2b..3d00a9c998 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -167,8 +167,6 @@ public HiveMetaStoreClient(Configuration conf, HiveMetaHookLoader hookLoader, Bo // instantiate the metastore server handler directly instead of connecting // through the network client = HiveMetaStore.newRetryingHMSHandler("hive client", this.conf, true); - // Initialize materializations invalidation cache (only for local metastore) - MaterializationsInvalidationCache.get().init(conf, (IHMSHandler) client); isConnected = true; snapshotActiveConf(); return; @@ -1610,10 +1608,9 @@ public Table getTable(String catName, String dbName, String tableName) throws TE } @Override - public Map getMaterializationsInvalidationInfo(String dbName, List viewNames) + public Materialization getMaterializationInvalidationInfo(CreationMetadata cm, String validTxnList) throws MetaException, InvalidOperationException, UnknownDBException, TException { - return client.get_materialization_invalidation_info( - dbName, filterHook.filterTableNames(getDefaultCatalog(conf), dbName, viewNames)); + return client.get_materialization_invalidation_info(cm, validTxnList); } @Override diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index bc09076415..234e0cf214 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -773,7 +773,7 @@ Table getTable(String dbName, String tableName) throws MetaException, /** * Returns the invalidation information for the materialized views given as input. */ - Map getMaterializationsInvalidationInfo(String dbName, List viewNames) + Materialization getMaterializationInvalidationInfo(CreationMetadata cm, String validTxnList) throws MetaException, InvalidOperationException, UnknownDBException, TException; /** diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java deleted file mode 100644 index cc168a913b..0000000000 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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.metastore; - -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.metastore.conf.MetastoreConf; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.util.concurrent.TimeUnit; - -/** - * Task responsible for cleaning the transactions that are not useful from the - * materializations cache. - */ -public class MaterializationsCacheCleanerTask implements MetastoreTaskThread { - private static final Logger LOG = LoggerFactory.getLogger(MaterializationsCacheCleanerTask.class); - - private Configuration conf; - - @Override - public long runFrequency(TimeUnit unit) { - return MetastoreConf.getTimeVar(conf, - MetastoreConf.ConfVars.MATERIALIZATIONS_INVALIDATION_CACHE_CLEAN_FREQUENCY, unit); - } - - @Override - public void setConf(Configuration configuration) { - conf = configuration; - } - - @Override - public Configuration getConf() { - return conf; - } - - @Override - public void run() { - long removedCnt = MaterializationsInvalidationCache.get().cleanup(System.currentTimeMillis() - - MetastoreConf.getTimeVar(conf, - MetastoreConf.ConfVars.MATERIALIZATIONS_INVALIDATION_CACHE_EXPIRY_DURATION, TimeUnit.MILLISECONDS)); - if (removedCnt > 0) { - if (LOG.isDebugEnabled()) { - LOG.debug("Number of transaction entries deleted from materializations cache: " + removedCnt); - } - } - } -} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java deleted file mode 100644 index fc644f0b63..0000000000 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java +++ /dev/null @@ -1,543 +0,0 @@ -/* - * 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.metastore; - -import java.util.Collection; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentMap; -import java.util.concurrent.ConcurrentSkipListMap; -import java.util.concurrent.ConcurrentSkipListSet; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; - -import org.apache.hadoop.conf.Configuration; -import com.google.common.collect.HashMultimap; -import com.google.common.collect.Multimap; -import org.apache.hadoop.hive.common.ValidTxnWriteIdList; -import org.apache.hadoop.hive.common.ValidWriteIdList; -import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; -import org.apache.hadoop.hive.metastore.api.LockResponse; -import org.apache.hadoop.hive.metastore.api.Materialization; -import org.apache.hadoop.hive.metastore.api.MetaException; -import org.apache.hadoop.hive.metastore.api.Table; -import org.apache.hadoop.hive.metastore.conf.MetastoreConf; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; - -/** - * This cache keeps information in memory about the table modifications so materialized views - * can verify their invalidation time, i.e., the moment after materialization on which the - * first transaction to the tables they used happened. This information is kept in memory - * to check the invalidation quickly. However, we store enough information in the metastore - * to bring this cache up if the metastore is restarted or would crashed. This cache lives - * in the metastore server. - */ -public final class MaterializationsInvalidationCache { - - private static final Logger LOG = LoggerFactory.getLogger(MaterializationsInvalidationCache.class); - - /* Singleton */ - private static final MaterializationsInvalidationCache SINGLETON = new MaterializationsInvalidationCache(); - - /* If this boolean is true, this class has no functionality. Only for debugging purposes. */ - private boolean disable; - - /* Key is the database name. Each value is a map from the unique view qualified name to - * the materialization invalidation info. This invalidation object contains information - * such as the tables used by the materialized view, whether there was any update or - * delete in the source tables since the materialized view was created or rebuilt, - * or the invalidation time, i.e., first modification of the tables used by materialized - * view after the view was created. */ - private final ConcurrentMap> materializations = - new ConcurrentHashMap<>(); - - /* - * Key is a qualified table name. The value is a (sorted) tree map (supporting concurrent - * modifications) that will keep the modifications for a given table in the order of their - * transaction id. This is useful to quickly check the invalidation time for a given - * materialization. - */ - private final ConcurrentMap> tableModifications = - new ConcurrentHashMap<>(); - - private final ConcurrentMap> updateDeleteTableModifications = - new ConcurrentHashMap<>(); - - /* Whether the cache has been initialized or not. */ - private boolean initialized; - /* Configuration for cache. */ - private Configuration conf; - /* Handler to connect to metastore. */ - private IHMSHandler handler; - - private MaterializationsInvalidationCache() { - } - - /** - * Get instance of MaterializationsInvalidationCache. - * - * @return the singleton - */ - public static MaterializationsInvalidationCache get() { - return SINGLETON; - } - - /** - * Initialize the invalidation cache. - * - * The method is synchronized because we want to avoid initializing the invalidation cache - * multiple times in embedded mode. This will not happen when we run the metastore remotely - * as the method is called only once. - */ - public synchronized void init(Configuration conf, IHMSHandler handler) { - this.conf = conf; - this.handler = handler; - - // This will only be true for debugging purposes - this.disable = MetastoreConf.getVar(conf, - MetastoreConf.ConfVars.MATERIALIZATIONS_INVALIDATION_CACHE_IMPL).equals("DISABLE"); - if (disable) { - // Nothing to do - return; - } - - if (!initialized) { - this.initialized = true; - ExecutorService pool = Executors.newCachedThreadPool(); - pool.submit(new Loader()); - pool.shutdown(); - } - } - - private class Loader implements Runnable { - @Override - public void run() { - try { - RawStore store = handler.getMS(); - for (String catName : store.getCatalogs()) { - for (String dbName : store.getAllDatabases(catName)) { - for (Table mv : store.getTableObjectsByName(catName, dbName, - store.getTables(catName, dbName, null, TableType.MATERIALIZED_VIEW))) { - addMaterializedView(mv.getDbName(), mv.getTableName(), ImmutableSet.copyOf(mv.getCreationMetadata().getTablesUsed()), - mv.getCreationMetadata().getValidTxnList(), OpType.LOAD); - } - } - } - LOG.info("Initialized materializations invalidation cache"); - } catch (Exception e) { - LOG.error("Problem connecting to the metastore when initializing the view registry"); - } - } - } - - /** - * Adds a newly created materialized view to the cache. - * - * @param dbName - * @param tableName - * @param tablesUsed tables used by the materialized view - * @param validTxnList - */ - public void createMaterializedView(String dbName, String tableName, Set tablesUsed, - String validTxnList) { - addMaterializedView(dbName, tableName, tablesUsed, validTxnList, OpType.CREATE); - } - - /** - * Method to call when materialized view is modified. - * - * @param dbName - * @param tableName - * @param tablesUsed tables used by the materialized view - * @param validTxnList - */ - public void alterMaterializedView(String dbName, String tableName, Set tablesUsed, - String validTxnList) { - addMaterializedView(dbName, tableName, tablesUsed, validTxnList, OpType.ALTER); - } - - /** - * Adds the materialized view to the cache. - * - * @param dbName - * @param tableName - * @param tablesUsed tables used by the materialized view - * @param validTxnList - * @param opType - */ - private void addMaterializedView(String dbName, String tableName, Set tablesUsed, - String validTxnList, OpType opType) { - if (disable) { - // Nothing to do - return; - } - // We are going to create the map for each view in the given database - ConcurrentMap cq = - new ConcurrentHashMap(); - final ConcurrentMap prevCq = materializations.putIfAbsent( - dbName, cq); - if (prevCq != null) { - cq = prevCq; - } - // Start the process to add materialization to the cache - // Before loading the materialization in the cache, we need to update some - // important information in the registry to account for rewriting invalidation - if (validTxnList == null) { - // This can happen when the materialized view was created on non-transactional tables - return; - } - if (opType == OpType.CREATE || opType == OpType.ALTER) { - // You store the materialized view - Materialization materialization = new Materialization(tablesUsed); - materialization.setValidTxnList(validTxnList); - cq.put(tableName, materialization); - } else { - ValidTxnWriteIdList txnList = new ValidTxnWriteIdList(validTxnList); - for (String qNameTableUsed : tablesUsed) { - ValidWriteIdList tableTxnList = txnList.getTableValidWriteIdList(qNameTableUsed); - // First we insert a new tree set to keep table modifications, unless it already exists - ConcurrentSkipListMap modificationsTree = new ConcurrentSkipListMap<>(); - final ConcurrentSkipListMap prevModificationsTree = tableModifications.putIfAbsent( - qNameTableUsed, modificationsTree); - if (prevModificationsTree != null) { - modificationsTree = prevModificationsTree; - } - // If we are not creating the MV at this instant, but instead it was created previously - // and we are loading it into the cache, we need to go through the transaction entries and - // check if the MV is still valid. - try { - String[] names = qNameTableUsed.split("\\."); - BasicTxnInfo e = handler.getTxnHandler().getFirstCompletedTransactionForTableAfterCommit( - names[0], names[1], tableTxnList); - if (!e.isIsnull()) { - modificationsTree.put(e.getTxnid(), e.getTime()); - // We do not need to do anything more for current table, as we detected - // a modification event that was in the metastore. - continue; - } - } catch (MetaException ex) { - LOG.debug("Materialized view " + Warehouse.getQualifiedName(dbName, tableName) + - " ignored; error loading view into invalidation cache", ex); - return; - } - } - // For LOAD, you only add it if it does exist as you might be loading an outdated MV - Materialization materialization = new Materialization(tablesUsed); - materialization.setValidTxnList(validTxnList); - cq.putIfAbsent(tableName, materialization); - } - if (LOG.isDebugEnabled()) { - LOG.debug("Cached materialized view for rewriting in invalidation cache: " + - Warehouse.getQualifiedName(dbName, tableName)); - } - } - - /** - * This method is called when a table is modified. That way we can keep track of the - * invalidation for the MVs that use that table. - */ - public void notifyTableModification(String dbName, String tableName, - long txnId, long newModificationTime, boolean isUpdateDelete) { - if (disable) { - // Nothing to do - return; - } - if (LOG.isDebugEnabled()) { - LOG.debug("Notification for table {} in database {} received -> id: {}, time: {}", - tableName, dbName, txnId, newModificationTime); - } - if (isUpdateDelete) { - // We update first the update/delete modifications record - ConcurrentSkipListSet modificationsSet = new ConcurrentSkipListSet<>(); - final ConcurrentSkipListSet prevModificationsSet = - updateDeleteTableModifications.putIfAbsent(Warehouse.getQualifiedName(dbName, tableName), - modificationsSet); - if (prevModificationsSet != null) { - modificationsSet = prevModificationsSet; - } - modificationsSet.add(txnId); - } - ConcurrentSkipListMap modificationsTree = new ConcurrentSkipListMap<>(); - final ConcurrentSkipListMap prevModificationsTree = - tableModifications.putIfAbsent(Warehouse.getQualifiedName(dbName, tableName), modificationsTree); - if (prevModificationsTree != null) { - modificationsTree = prevModificationsTree; - } - modificationsTree.put(txnId, newModificationTime); - } - - /** - * Removes the materialized view from the cache. - * - * @param dbName - * @param tableName - */ - public void dropMaterializedView(String dbName, String tableName) { - if (disable) { - // Nothing to do - return; - } - materializations.get(dbName).remove(tableName); - } - - /** - * Returns the materialized views in the cache for the given database. - * - * @param dbName the database - * @return the collection of materialized views, or the empty collection if none - */ - public Map getMaterializationInvalidationInfo( - String dbName, List materializationNames) { - if (materializations.get(dbName) != null) { - ImmutableMap.Builder m = ImmutableMap.builder(); - for (String materializationName : materializationNames) { - Materialization materialization = - materializations.get(dbName).get(materializationName); - if (materialization == null) { - LOG.debug("Materialization {} skipped as there is no information " - + "in the invalidation cache about it", materializationName); - continue; - } - // We create a deep copy of the materialization, as we need to set the time - // and whether any update/delete operation happen on the tables that it uses - // since it was created. - Materialization materializationCopy = new Materialization( - materialization.getTablesUsed()); - materializationCopy.setValidTxnList(materialization.getValidTxnList()); - enrichWithInvalidationInfo(materializationCopy); - m.put(materializationName, materializationCopy); - } - Map result = m.build(); - if (LOG.isDebugEnabled()) { - LOG.debug("Retrieved the following materializations from the invalidation cache: {}", result); - } - return result; - } - return ImmutableMap.of(); - } - - private void enrichWithInvalidationInfo(Materialization materialization) { - String materializationTxnListString = materialization.getValidTxnList(); - if (materializationTxnListString == null) { - // This can happen when the materialization was created on non-transactional tables - materialization.setInvalidationTime(Long.MIN_VALUE); - return; - } - - // We will obtain the modification time as follows. - // First, we obtain the first element after high watermark (if any) - // Then, we iterate through the elements from min open txn till high - // watermark, updating the modification time after creation if needed - ValidTxnWriteIdList materializationTxnList = new ValidTxnWriteIdList(materializationTxnListString); - long firstModificationTimeAfterCreation = 0L; - boolean containsUpdateDelete = false; - for (String qNameTableUsed : materialization.getTablesUsed()) { - final ValidWriteIdList tableMaterializationTxnList = - materializationTxnList.getTableValidWriteIdList(qNameTableUsed); - - final ConcurrentSkipListMap usedTableModifications = - tableModifications.get(qNameTableUsed); - if (usedTableModifications == null) { - // This is not necessarily an error, since the table may be empty. To be safe, - // instead of including this materialized view, we just log the information and - // skip it (if table is really empty, it will not matter for performance anyway). - LOG.warn("No information found in invalidation cache for table {}, possible tables are: {}", - qNameTableUsed, tableModifications.keySet()); - materialization.setInvalidationTime(Long.MIN_VALUE); - return; - } - final ConcurrentSkipListSet usedUDTableModifications = - updateDeleteTableModifications.get(qNameTableUsed); - final Entry tn = usedTableModifications.higherEntry(tableMaterializationTxnList.getHighWatermark()); - if (tn != null) { - if (firstModificationTimeAfterCreation == 0L || - tn.getValue() < firstModificationTimeAfterCreation) { - firstModificationTimeAfterCreation = tn.getValue(); - } - // Check if there was any update/delete after creation - containsUpdateDelete = usedUDTableModifications != null && - !usedUDTableModifications.tailSet(tableMaterializationTxnList.getHighWatermark(), false).isEmpty(); - } - // Min open txn might be null if there were no open transactions - // when this transaction was being executed - if (tableMaterializationTxnList.getMinOpenWriteId() != null) { - // Invalid transaction list is sorted - int pos = 0; - for (Map.Entry t : usedTableModifications - .subMap(tableMaterializationTxnList.getMinOpenWriteId(), tableMaterializationTxnList.getHighWatermark()).entrySet()) { - while (pos < tableMaterializationTxnList.getInvalidWriteIds().length && - tableMaterializationTxnList.getInvalidWriteIds()[pos] != t.getKey()) { - pos++; - } - if (pos >= tableMaterializationTxnList.getInvalidWriteIds().length) { - break; - } - if (firstModificationTimeAfterCreation == 0L || - t.getValue() < firstModificationTimeAfterCreation) { - firstModificationTimeAfterCreation = t.getValue(); - } - containsUpdateDelete = containsUpdateDelete || - (usedUDTableModifications != null && usedUDTableModifications.contains(t.getKey())); - } - } - } - - materialization.setInvalidationTime(firstModificationTimeAfterCreation); - materialization.setSourceTablesUpdateDeleteModified(containsUpdateDelete); - } - - private enum OpType { - CREATE, - LOAD, - ALTER - } - - /** - * Removes transaction events that are not relevant anymore. - * @param minTime events generated before this time (ms) can be deleted from the cache - * @return number of events that were deleted from the cache - */ - public long cleanup(long minTime) { - // To remove, mv should meet two conditions: - // 1) Current time - time of transaction > config parameter, and - // 2) Transaction should not be associated with invalidation of a MV - if (disable || !initialized) { - // Bail out - return 0L; - } - // We execute the cleanup in two steps - // First we gather all the transactions that need to be kept - final Multimap keepTxnInfos = HashMultimap.create(); - for (Map.Entry> e : materializations.entrySet()) { - for (Materialization m : e.getValue().values()) { - ValidTxnWriteIdList txnList = new ValidTxnWriteIdList(m.getValidTxnList()); - boolean canBeDeleted = false; - String currentTableForInvalidatingTxn = null; - long currentInvalidatingTxnId = 0L; - long currentInvalidatingTxnTime = 0L; - for (String qNameTableUsed : m.getTablesUsed()) { - ValidWriteIdList tableTxnList = txnList.getTableValidWriteIdList(qNameTableUsed); - final Entry tn = tableModifications.get(qNameTableUsed) - .higherEntry(tableTxnList.getHighWatermark()); - if (tn != null) { - if (currentInvalidatingTxnTime == 0L || - tn.getValue() < currentInvalidatingTxnTime) { - // This transaction 1) is the first one examined for this materialization, or - // 2) it is the invalidating transaction. Hence we add it to the transactions to keep. - // 1.- We remove the previous invalidating transaction from the transactions - // to be kept (if needed). - if (canBeDeleted && currentInvalidatingTxnTime < minTime) { - keepTxnInfos.remove(currentTableForInvalidatingTxn, currentInvalidatingTxnId); - } - // 2.- We add this transaction to the transactions that should be kept. - canBeDeleted = !keepTxnInfos.get(qNameTableUsed).contains(tn.getKey()); - keepTxnInfos.put(qNameTableUsed, tn.getKey()); - // 3.- We record this transaction as the current invalidating transaction. - currentTableForInvalidatingTxn = qNameTableUsed; - currentInvalidatingTxnId = tn.getKey(); - currentInvalidatingTxnTime = tn.getValue(); - } - } - if (tableTxnList.getMinOpenWriteId() != null) { - // Invalid transaction list is sorted - int pos = 0; - for (Entry t : tableModifications.get(qNameTableUsed) - .subMap(tableTxnList.getMinOpenWriteId(), tableTxnList.getHighWatermark()).entrySet()) { - while (pos < tableTxnList.getInvalidWriteIds().length && - tableTxnList.getInvalidWriteIds()[pos] != t.getKey()) { - pos++; - } - if (pos >= tableTxnList.getInvalidWriteIds().length) { - break; - } - if (currentInvalidatingTxnTime == 0L || - t.getValue() < currentInvalidatingTxnTime) { - // This transaction 1) is the first one examined for this materialization, or - // 2) it is the invalidating transaction. Hence we add it to the transactions to keep. - // 1.- We remove the previous invalidating transaction from the transactions - // to be kept (if needed). - if (canBeDeleted && currentInvalidatingTxnTime < minTime) { - keepTxnInfos.remove(currentTableForInvalidatingTxn, currentInvalidatingTxnId); - } - // 2.- We add this transaction to the transactions that should be kept. - canBeDeleted = !keepTxnInfos.get(qNameTableUsed).contains(t.getKey()); - keepTxnInfos.put(qNameTableUsed, t.getKey()); - // 3.- We record this transaction as the current invalidating transaction. - currentTableForInvalidatingTxn = qNameTableUsed; - currentInvalidatingTxnId = t.getKey(); - currentInvalidatingTxnTime = t.getValue(); - } - } - } - } - } - } - // Second, we remove the transactions - long removed = 0L; - for (Entry> e : tableModifications.entrySet()) { - Collection c = keepTxnInfos.get(e.getKey()); - ConcurrentSkipListSet updateDeleteForTable = updateDeleteTableModifications.get(e.getKey()); - for (Iterator> it = e.getValue().entrySet().iterator(); it.hasNext();) { - Entry v = it.next(); - // We need to check again the time because some of the transactions might not be explored - // above, e.g., transactions above the highest transaction mark for all the materialized - // views. - if (v.getValue() < minTime && (c.isEmpty() || !c.contains(v.getKey()))) { - if (LOG.isDebugEnabled()) { - LOG.debug("Transaction removed from cache for table {} -> id: {}, time: {}", - e.getKey(), v.getKey(), v.getValue()); - } - if (updateDeleteForTable != null) { - updateDeleteForTable.remove(v.getKey()); - } - it.remove(); - removed++; - } - } - } - return removed; - } - - /** - * Checks whether the given materialization exists in the invalidation cache. - * @param dbName the database name for the materialization - * @param tblName the table name for the materialization - * @return true if we have information about the materialization in the cache, - * false otherwise - */ - public boolean containsMaterialization(String dbName, String tblName) { - if (disable || dbName == null || tblName == null) { - return false; - } - ConcurrentMap dbMaterializations = materializations.get(dbName); - if (dbMaterializations == null || dbMaterializations.get(tblName) == null) { - // This is a table - return false; - } - return true; - } - -} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java index 8ca9ede074..9ce7d6db49 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java @@ -18,7 +18,10 @@ package org.apache.hadoop.hive.metastore; import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; +import org.apache.hadoop.hive.metastore.txn.TxnStore; +import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -32,6 +35,7 @@ private static final Logger LOG = LoggerFactory.getLogger(MaterializationsRebuildLockCleanerTask.class); private Configuration conf; + private TxnStore txnHandler; @Override public long runFrequency(TimeUnit unit) { @@ -41,6 +45,7 @@ public long runFrequency(TimeUnit unit) { @Override public void setConf(Configuration configuration) { conf = configuration; + txnHandler = TxnUtils.getTxnStore(conf); } @Override @@ -50,11 +55,26 @@ public Configuration getConf() { @Override public void run() { - long removedCnt = MaterializationsRebuildLockHandler.get().cleanupResourceLocks( - MetastoreConf.getTimeVar(conf, MetastoreConf.ConfVars.TXN_TIMEOUT, TimeUnit.MILLISECONDS)); - if (removedCnt > 0) { - if (LOG.isDebugEnabled()) { - LOG.info("Number of materialization locks deleted: " + removedCnt); + if (LOG.isDebugEnabled()) { + LOG.debug("Cleaning up materialization rebuild locks"); + } + + TxnStore.MutexAPI.LockHandle handle = null; + try { + handle = txnHandler.getMutexAPI().acquireLock(TxnStore.MUTEX_KEY.MaterializationRebuild.name()); + ValidTxnList validTxnList = TxnUtils.createValidReadTxnList(txnHandler.getOpenTxns(), 0); + long removedCnt = txnHandler.cleanupMaterializationRebuildLocks(validTxnList, + MetastoreConf.getTimeVar(conf, MetastoreConf.ConfVars.TXN_TIMEOUT, TimeUnit.MILLISECONDS)); + if (removedCnt > 0) { + if (LOG.isDebugEnabled()) { + LOG.debug("Number of materialization locks deleted: " + removedCnt); + } + } + } catch(Throwable t) { + LOG.error("Serious error in {}", Thread.currentThread().getName(), ": {}" + t.getMessage(), t); + } finally { + if(handle != null) { + handle.releaseLocks(); } } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 0d2da7a200..73d8eb46e5 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -1333,13 +1333,6 @@ public void createTable(Table tbl) throws InvalidObjectException, MetaException } finally { if (!commited) { rollbackTransaction(); - } else { - if (MetaStoreUtils.isMaterializedViewTable(tbl)) { - // Add to the invalidation cache - MaterializationsInvalidationCache.get().createMaterializedView( - tbl.getDbName(), tbl.getTableName(), tbl.getCreationMetadata().getTablesUsed(), - tbl.getCreationMetadata().getValidTxnList()); - } } } } @@ -1437,10 +1430,6 @@ public boolean dropTable(String catName, String dbName, String tableName) } finally { if (!success) { rollbackTransaction(); - } else { - if (materializedView) { - MaterializationsInvalidationCache.get().dropMaterializedView(dbName, tableName); - } } } return success; @@ -2283,13 +2272,14 @@ private MCreationMetadata convertToMCreationMetadata( if (m == null) { return null; } + assert !m.isSetMaterializationTime(); Set tablesUsed = new HashSet<>(); for (String fullyQualifiedName : m.getTablesUsed()) { String[] names = fullyQualifiedName.split("\\."); tablesUsed.add(getMTable(m.getCatName(), names[0], names[1], false).mtbl); } return new MCreationMetadata(m.getCatName(), m.getDbName(), m.getTblName(), - tablesUsed, m.getValidTxnList()); + tablesUsed, m.getValidTxnList(), System.currentTimeMillis()); } private CreationMetadata convertToCreationMetadata( @@ -2305,6 +2295,7 @@ private CreationMetadata convertToCreationMetadata( } CreationMetadata r = new CreationMetadata(s.getCatalogName(), s.getDbName(), s.getTblName(), tablesUsed); + r.setMaterializationTime(s.getMaterializationTime()); if (s.getTxnList() != null) { r.setValidTxnList(s.getTxnList()); } @@ -4208,16 +4199,13 @@ public void updateCreationMetadata(String catName, String dbname, String tablena MCreationMetadata newMcm = convertToMCreationMetadata(cm); MCreationMetadata mcm = getCreationMetadata(catName, dbname, tablename); mcm.setTables(newMcm.getTables()); + mcm.setMaterializationTime(newMcm.getMaterializationTime()); mcm.setTxnList(newMcm.getTxnList()); // commit the changes success = commitTransaction(); } finally { if (!success) { rollbackTransaction(); - } else { - // Add to the invalidation cache if the creation signature has changed - MaterializationsInvalidationCache.get().alterMaterializedView( - dbname, tablename, cm.getTablesUsed(), cm.getValidTxnList()); } } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index f3b909ca44..d0a7f7804a 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java @@ -21,7 +21,6 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DefaultStorageSchemaReader; import org.apache.hadoop.hive.metastore.HiveAlterHandler; -import org.apache.hadoop.hive.metastore.MaterializationsCacheCleanerTask; import org.apache.hadoop.hive.metastore.MaterializationsRebuildLockCleanerTask; import org.apache.hadoop.hive.metastore.MetastoreTaskThread; import org.apache.hadoop.hive.metastore.RuntimeStatsCleanerTask; @@ -760,7 +759,6 @@ public static ConfVars getMetaConf(String name) { TASK_THREADS_ALWAYS("metastore.task.threads.always", "metastore.task.threads.always", EventCleanerTask.class.getName() + "," + RuntimeStatsCleanerTask.class.getName() + "," + "org.apache.hadoop.hive.metastore.repl.DumpDirCleanerTask" + "," + - MaterializationsCacheCleanerTask.class.getName() + "," + MaterializationsRebuildLockCleanerTask.class.getName() + "," + RuntimeStatsCleanerTask.class.getName(), "Comma separated list of tasks that will be started in separate threads. These will " + "always be started, regardless of whether the metastore is running in embedded mode " + diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java index 66b5d48e90..2d65126e91 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java @@ -22,8 +22,8 @@ /** * Represents the creation metadata of a materialization. * It includes the database and table name for the materialization, - * the set of tables that it uses, and the valid transaction list - * when it was created. + * the set of tables that it uses, the valid transaction list + * when it was created, and the creation/rebuild time. */ public class MCreationMetadata { @@ -32,17 +32,19 @@ private String tblName; private Set tables; private String txnList; + private long materializationTime; public MCreationMetadata() { } public MCreationMetadata(String catName, String dbName, String tblName, - Set tables, String txnList) { + Set tables, String txnList, long materializationTime) { this.catalogName = catName; this.dbName = dbName; this.tblName = tblName; this.tables = tables; this.txnList = txnList; + this.materializationTime = materializationTime; } public Set getTables() { @@ -84,4 +86,12 @@ public String getTblName() { public void setTblName(String tblName) { this.tblName = tblName; } + + public long getMaterializationTime() { + return materializationTime; + } + + public void setMaterializationTime(long materializationTime) { + this.materializationTime = materializationTime; + } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java index 50bfca3885..8764c21bd8 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java @@ -94,9 +94,9 @@ public static void prepDb(Configuration conf) throws Exception { " CTC_DATABASE varchar(128) NOT NULL," + " CTC_TABLE varchar(128)," + " CTC_PARTITION varchar(767)," + - " CTC_ID bigint GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1) NOT NULL," + " CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL," + - " CTC_WRITEID bigint)"); + " CTC_WRITEID bigint," + + " CTC_UPDATE_DELETE char(1) NOT NULL)"); stmt.execute("CREATE TABLE NEXT_TXN_ID (" + " NTXN_NEXT bigint NOT NULL)"); stmt.execute("INSERT INTO NEXT_TXN_ID VALUES(1)"); @@ -194,6 +194,14 @@ public static void prepDb(Configuration conf) throws Exception { " PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID))" ); + stmt.execute("CREATE TABLE MATERIALIZATION_REBUILD_LOCKS (" + + " MRL_TXN_ID BIGINT NOT NULL, " + + " MRL_DB_NAME VARCHAR(128) NOT NULL, " + + " MRL_TBL_NAME VARCHAR(256) NOT NULL, " + + " MRL_LAST_HEARTBEAT BIGINT NOT NULL, " + + " PRIMARY KEY(MRL_TXN_ID))" + ); + try { stmt.execute("CREATE TABLE \"APP\".\"SEQUENCE_TABLE\" (\"SEQUENCE_NAME\" VARCHAR(256) NOT " + diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index 361ede54ef..9ca6f7b0df 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -26,10 +26,10 @@ import java.sql.SQLFeatureNotSupportedException; import java.sql.Savepoint; import java.sql.Statement; +import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; -import java.util.Calendar; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; @@ -40,7 +40,6 @@ import java.util.Properties; import java.util.Set; import java.util.SortedSet; -import java.util.TimeZone; import java.util.TreeSet; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Semaphore; @@ -59,11 +58,10 @@ import org.apache.hadoop.hive.common.ValidReadTxnList; import org.apache.hadoop.hive.common.ValidReaderWriteIdList; import org.apache.hadoop.hive.common.ValidTxnList; +import org.apache.hadoop.hive.common.ValidTxnWriteIdList; import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.common.classification.RetrySemantics; import org.apache.hadoop.hive.metastore.DatabaseProduct; -import org.apache.hadoop.hive.metastore.MaterializationsInvalidationCache; -import org.apache.hadoop.hive.metastore.MaterializationsRebuildLockHandler; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.MetaStoreListenerNotifier; import org.apache.hadoop.hive.metastore.TransactionalMetaStoreEventListener; @@ -836,10 +834,7 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce @RetrySemantics.Idempotent("No-op if already committed") public void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException { - MaterializationsRebuildLockHandler materializationsRebuildLockHandler = - MaterializationsRebuildLockHandler.get(); - List txnComponents = new ArrayList<>(); - boolean isUpdateDelete = false; + char isUpdateDelete = 'N'; long txnid = rqst.getTxnid(); long sourceTxnId = -1; @@ -896,7 +891,7 @@ public void commitTxn(CommitTxnRequest rqst) quoteChar(OpertaionType.UPDATE.sqlConst) + "," + quoteChar(OpertaionType.DELETE.sqlConst) + ")"; rs = stmt.executeQuery(sqlGenerator.addLimitClause(1, "tc_operation_type " + conflictSQLSuffix)); if (rs.next()) { - isUpdateDelete = true; + isUpdateDelete = 'Y'; close(rs); //if here it means currently committing txn performed update/delete and we should check WW conflict /** @@ -989,8 +984,8 @@ public void commitTxn(CommitTxnRequest rqst) // Move the record from txn_components into completed_txn_components so that the compactor // knows where to look to compact. String s = "insert into COMPLETED_TXN_COMPONENTS (ctc_txnid, ctc_database, " + - "ctc_table, ctc_partition, ctc_writeid) select tc_txnid, tc_database, tc_table, " + - "tc_partition, tc_writeid from TXN_COMPONENTS where tc_txnid = " + txnid; + "ctc_table, ctc_partition, ctc_writeid, ctc_update_delete) select tc_txnid, tc_database, tc_table, " + + "tc_partition, tc_writeid, '" + isUpdateDelete + "' from TXN_COMPONENTS where tc_txnid = " + txnid; LOG.debug("Going to execute insert <" + s + ">"); int modCount = 0; if ((modCount = stmt.executeUpdate(s)) < 1) { @@ -999,15 +994,6 @@ public void commitTxn(CommitTxnRequest rqst) LOG.info("Expected to move at least one record from txn_components to " + "completed_txn_components when committing txn! " + JavaUtils.txnIdToString(txnid)); } - // Obtain information that we need to update registry - s = "select ctc_database, ctc_table, ctc_writeid, ctc_timestamp from COMPLETED_TXN_COMPONENTS where ctc_txnid = " + txnid; - LOG.debug("Going to extract table modification information for invalidation cache <" + s + ">"); - rs = stmt.executeQuery(s); - while (rs.next()) { - // We only enter in this loop if the transaction actually affected any table - txnComponents.add(new TransactionRegistryInfo(rs.getString(1), rs.getString(2), - rs.getLong(3), rs.getTimestamp(4, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime())); - } s = "delete from TXN_COMPONENTS where tc_txnid = " + txnid; LOG.debug("Going to execute update <" + s + ">"); modCount = stmt.executeUpdate(s); @@ -1022,6 +1008,10 @@ public void commitTxn(CommitTxnRequest rqst) modCount = stmt.executeUpdate(s); LOG.info("Removed committed transaction: (" + txnid + ") from MIN_HISTORY_LEVEL"); + s = "delete from MATERIALIZATION_REBUILD_LOCKS where mrl_txn_id = " + txnid; + LOG.debug("Going to execute update <" + s + ">"); + modCount = stmt.executeUpdate(s); + if (rqst.isSetReplPolicy()) { s = "delete from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + " and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy()); @@ -1034,24 +1024,9 @@ public void commitTxn(CommitTxnRequest rqst) EventMessage.EventType.COMMIT_TXN, new CommitTxnEvent(txnid, null), dbConn, sqlGenerator); } - MaterializationsInvalidationCache materializationsInvalidationCache = - MaterializationsInvalidationCache.get(); - for (TransactionRegistryInfo info : txnComponents) { - if (materializationsInvalidationCache.containsMaterialization(info.dbName, info.tblName) && - !materializationsRebuildLockHandler.readyToCommitResource(info.dbName, info.tblName, txnid)) { - throw new MetaException( - "Another process is rebuilding the materialized view " + info.fullyQualifiedName); - } - } LOG.debug("Going to commit"); close(rs); dbConn.commit(); - - // Update registry with modifications - for (TransactionRegistryInfo info : txnComponents) { - materializationsInvalidationCache.notifyTableModification( - info.dbName, info.tblName, info.writeId, info.timestamp, isUpdateDelete); - } } catch (SQLException e) { LOG.debug("Going to rollback"); rollbackDBConn(dbConn); @@ -1062,9 +1037,6 @@ public void commitTxn(CommitTxnRequest rqst) close(commitIdRs); close(lockHandle, stmt, dbConn); unlockInternal(); - for (TransactionRegistryInfo info : txnComponents) { - materializationsRebuildLockHandler.unlockResource(info.dbName, info.tblName, txnid); - } } } catch (RetryException e) { commitTxn(rqst); @@ -1594,16 +1566,30 @@ public void performWriteSetGC() { } /** - * Gets the information of the first transaction for the given table - * after the transaction with the input id was committed (if any). + * Get invalidation info for the materialization. Currently, the materialization information + * only contains information about whether there was update/delete operations on the source + * tables used by the materialization since it was created. */ @Override @RetrySemantics.ReadOnly - public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( - String inputDbName, String inputTableName, ValidWriteIdList txnList) - throws MetaException { - final List openTxns = Arrays.asList(ArrayUtils.toObject(txnList.getInvalidWriteIds())); + public Materialization getMaterializationInvalidationInfo( + CreationMetadata creationMetadata, String validTxnListStr) throws MetaException { + if (creationMetadata.getTablesUsed().isEmpty()) { + // Bail out + LOG.warn("Materialization creation metadata does not contain any table"); + return null; + } + + // Parse validTxnList + final ValidReadTxnList validTxnList = + new ValidReadTxnList(validTxnListStr); + // Parse validReaderWriteIdList from creation metadata + final ValidTxnWriteIdList validReaderWriteIdList = + new ValidTxnWriteIdList(creationMetadata.getValidTxnList()); + + // We are composing a query that returns a single row if an update happened after + // the materialization was created. Otherwise, query returns 0 rows. Connection dbConn = null; Statement stmt = null; ResultSet rs = null; @@ -1611,32 +1597,207 @@ public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); stmt = dbConn.createStatement(); stmt.setMaxRows(1); - String s = "select ctc_timestamp, ctc_writeid, ctc_database, ctc_table " - + "from COMPLETED_TXN_COMPONENTS " - + "where ctc_database=" + quoteString(inputDbName) + " and ctc_table=" + quoteString(inputTableName) - + " and ctc_writeid > " + txnList.getHighWatermark() - + (txnList.getInvalidWriteIds().length == 0 ? - " " : " or ctc_writeid IN(" + StringUtils.join(",", openTxns) + ") ") - + "order by ctc_timestamp asc"; + StringBuilder query = new StringBuilder(); + // compose a query that select transactions containing an update... + query.append("select ctc_update_delete from COMPLETED_TXN_COMPONENTS where ctc_update_delete='Y' AND ("); + int i = 0; + for (String fullyQualifiedName : creationMetadata.getTablesUsed()) { + // ...for each of the tables that are part of the materialized view, + // where the transaction had to be committed after the materialization was created... + if (i != 0) { + query.append("OR"); + } + String[] names = TxnUtils.getDbTableName(fullyQualifiedName); + query.append(" (ctc_database=" + quoteString(names[0]) + " AND ctc_table=" + quoteString(names[1])); + ValidWriteIdList tblValidWriteIdList = + validReaderWriteIdList.getTableValidWriteIdList(fullyQualifiedName); + if (tblValidWriteIdList == null) { + LOG.warn("ValidWriteIdList for table {} not present in creation metadata, this should not happen"); + return null; + } + query.append(" AND (ctc_writeid > " + tblValidWriteIdList.getHighWatermark()); + query.append(tblValidWriteIdList.getInvalidWriteIds().length == 0 ? ") " : + " OR ctc_writeid IN(" + StringUtils.join(",", + Arrays.asList(ArrayUtils.toObject(tblValidWriteIdList.getInvalidWriteIds()))) + ") "); + query.append(") "); + i++; + } + // ... and where the transaction has already been committed as per snapshot taken + // when we are running current query + query.append(") AND ctc_txnid <= " + validTxnList.getHighWatermark()); + query.append(validTxnList.getInvalidTransactions().length == 0 ? " " : + " AND ctc_txnid NOT IN(" + StringUtils.join(",", + Arrays.asList(ArrayUtils.toObject(validTxnList.getInvalidTransactions()))) + ") "); + + // Execute query + String s = query.toString(); if (LOG.isDebugEnabled()) { LOG.debug("Going to execute query <" + s + ">"); } rs = stmt.executeQuery(s); - if(!rs.next()) { - return new BasicTxnInfo(true); + return new Materialization(rs.next()); + } catch (SQLException ex) { + LOG.warn("getMaterializationInvalidationInfo failed due to " + getMessage(ex), ex); + throw new MetaException("Unable to retrieve materialization invalidation information due to " + + StringUtils.stringifyException(ex)); + } finally { + close(rs, stmt, dbConn); + } + } + + @Override + public LockResponse lockMaterializationRebuild(String dbName, String tableName, long txnId) + throws MetaException { + + if (LOG.isDebugEnabled()) { + LOG.debug("Acquiring lock for materialization rebuild with txnId={} for {}", txnId, Warehouse.getQualifiedName(dbName,tableName)); + } + + TxnStore.MutexAPI.LockHandle handle = null; + Connection dbConn = null; + Statement stmt = null; + ResultSet rs = null; + try { + lockInternal(); + /** + * MUTEX_KEY.MaterializationRebuild lock ensures that there is only 1 entry in + * Initiated/Working state for any resource. This ensures we do not run concurrent + * rebuild operations on any materialization. + */ + handle = getMutexAPI().acquireLock(MUTEX_KEY.MaterializationRebuild.name()); + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + String selectQ = "select mrl_txn_id from MATERIALIZATION_REBUILD_LOCKS where" + + " mrl_db_name =" + quoteString(dbName) + + " AND mrl_tbl_name=" + quoteString(tableName); + LOG.debug("Going to execute query <" + selectQ + ">"); + rs = stmt.executeQuery(selectQ); + if(rs.next()) { + LOG.info("Ignoring request to rebuild " + dbName + "/" + tableName + + " since it is already being rebuilt"); + return new LockResponse(txnId, LockState.NOT_ACQUIRED); } - final BasicTxnInfo txnInfo = new BasicTxnInfo(false); - txnInfo.setTime(rs.getTimestamp(1, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); - txnInfo.setTxnid(rs.getLong(2)); - txnInfo.setDbname(rs.getString(3)); - txnInfo.setTablename(rs.getString(4)); - return txnInfo; + String insertQ = "insert into MATERIALIZATION_REBUILD_LOCKS " + + "(mrl_txn_id, mrl_db_name, mrl_tbl_name, mrl_last_heartbeat) values (" + txnId + + ", '" + dbName + "', '" + tableName + "', " + Instant.now().toEpochMilli() + ")"; + LOG.debug("Going to execute update <" + insertQ + ">"); + stmt.executeUpdate(insertQ); + LOG.debug("Going to commit"); + dbConn.commit(); + return new LockResponse(txnId, LockState.ACQUIRED); } catch (SQLException ex) { - LOG.warn("getLastCompletedTransactionForTable failed due to " + getMessage(ex), ex); - throw new MetaException("Unable to retrieve commits information due to " + StringUtils.stringifyException(ex)); + LOG.warn("lockMaterializationRebuild failed due to " + getMessage(ex), ex); + throw new MetaException("Unable to retrieve materialization invalidation information due to " + + StringUtils.stringifyException(ex)); } finally { close(rs, stmt, dbConn); + if(handle != null) { + handle.releaseLocks(); + } + unlockInternal(); + } + } + + @Override + public boolean heartbeatLockMaterializationRebuild(String dbName, String tableName, long txnId) + throws MetaException { + try { + Connection dbConn = null; + Statement stmt = null; + ResultSet rs = null; + try { + lockInternal(); + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + String s = "update MATERIALIZATION_REBUILD_LOCKS" + + " set mrl_last_heartbeat = " + Instant.now().toEpochMilli() + + " where mrl_txn_id = " + txnId + + " AND mrl_db_name =" + quoteString(dbName) + + " AND mrl_tbl_name=" + quoteString(tableName); + LOG.debug("Going to execute update <" + s + ">"); + int rc = stmt.executeUpdate(s); + if (rc < 1) { + LOG.debug("Going to rollback"); + dbConn.rollback(); + LOG.info("No lock found for rebuild of " + Warehouse.getQualifiedName(dbName, tableName) + + " when trying to heartbeat"); + // It could not be renewed, return that information + return false; + } + LOG.debug("Going to commit"); + dbConn.commit(); + // It could be renewed, return that information + return true; + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, + "heartbeatLockMaterializationRebuild(" + Warehouse.getQualifiedName(dbName, tableName) + ", " + txnId + ")"); + throw new MetaException("Unable to heartbeat rebuild lock due to " + + StringUtils.stringifyException(e)); + } finally { + close(rs, stmt, dbConn); + unlockInternal(); + } + } catch (RetryException e) { + return heartbeatLockMaterializationRebuild(dbName, tableName ,txnId); + } + } + + @Override + public long cleanupMaterializationRebuildLocks(ValidTxnList validTxnList, long timeout) throws MetaException { + try { + // Aux values + long cnt = 0L; + List txnIds = new ArrayList<>(); + long timeoutTime = Instant.now().toEpochMilli() - timeout; + + Connection dbConn = null; + Statement stmt = null; + ResultSet rs = null; + try { + lockInternal(); + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + String selectQ = "select mrl_txn_id, mrl_last_heartbeat from MATERIALIZATION_REBUILD_LOCKS"; + LOG.debug("Going to execute query <" + selectQ + ">"); + rs = stmt.executeQuery(selectQ); + while(rs.next()) { + long lastHeartbeat = rs.getLong(2); + if (lastHeartbeat < timeoutTime) { + // The heartbeat has timeout, double check whether we can remove it + long txnId = rs.getLong(1); + if (validTxnList.isTxnValid(txnId) || validTxnList.isTxnAborted(txnId)) { + // Txn was committed (but notification was not received) or it was aborted. + // Either case, we can clean it up + txnIds.add(txnId); + } + } + } + if (!txnIds.isEmpty()) { + String deleteQ = "delete from MATERIALIZATION_REBUILD_LOCKS where" + + " mrl_txn_id IN(" + StringUtils.join(",", txnIds) + ") "; + LOG.debug("Going to execute update <" + deleteQ + ">"); + cnt = stmt.executeUpdate(deleteQ); + } + LOG.debug("Going to commit"); + dbConn.commit(); + return cnt; + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "cleanupMaterializationRebuildLocks"); + throw new MetaException("Unable to clean rebuild locks due to " + + StringUtils.stringifyException(e)); + } finally { + close(rs, stmt, dbConn); + unlockInternal(); + } + } catch (RetryException e) { + return cleanupMaterializationRebuildLocks(validTxnList, timeout); } } @@ -1909,6 +2070,7 @@ private ConnectionLockIdPair enqueueLockWithRetry(LockRequest rqst) throws NoSuc private static String normalizeCase(String s) { return s == null ? null : s.toLowerCase(); } + private LockResponse checkLockWithRetry(Connection dbConn, long extLockId, long txnId) throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, MetaException { try { @@ -4782,20 +4944,4 @@ public boolean isWrapperFor(Class iface) throws SQLException { } }; - private class TransactionRegistryInfo { - final String dbName; - final String tblName; - final String fullyQualifiedName; - final long writeId; - final long timestamp; - - public TransactionRegistryInfo (String dbName, String tblName, long writeId, long timestamp) { - this.dbName = dbName; - this.tblName = tblName; - this.fullyQualifiedName = Warehouse.getQualifiedName(dbName, tblName); - this.writeId = writeId; - this.timestamp = timestamp; - } - } - } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index ef447e1c99..2c47ee4a20 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java @@ -21,6 +21,7 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.conf.Configurable; +import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.common.classification.RetrySemantics; import org.apache.hadoop.hive.metastore.api.*; @@ -28,6 +29,7 @@ import java.sql.SQLException; import java.util.Iterator; import java.util.List; +import java.util.Map; import java.util.Set; /** @@ -40,7 +42,7 @@ enum MUTEX_KEY { Initiator, Cleaner, HouseKeeper, CompactionHistory, CheckLock, - WriteSetCleaner, CompactionScheduler, WriteIdAllocator + WriteSetCleaner, CompactionScheduler, WriteIdAllocator, MaterializationRebuild } // Compactor states (Should really be enum) String INITIATED_RESPONSE = "initiated"; @@ -124,21 +126,33 @@ void commitTxn(CommitTxnRequest rqst) void replTableWriteIdState(ReplTblWriteIdStateRequest rqst) throws MetaException; /** - * Get the first transaction corresponding to given database and table after transactions - * referenced in the transaction snapshot. - * @return + * Get invalidation info for the materialization. Currently, the materialization information + * only contains information about whether there was update/delete operations on the source + * tables used by the materialization since it was created. + * @param cm creation metadata for the materialization + * @param validTxnList valid transaction list for snapshot taken for current query * @throws MetaException */ @RetrySemantics.Idempotent - BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( - String inputDbName, String inputTableName, ValidWriteIdList txnList) + Materialization getMaterializationInvalidationInfo( + final CreationMetadata cm, final String validTxnList) throws MetaException; - /** - * Gets the list of valid write ids for the given table wrt to current txn - * @param rqst info on transaction and list of table names associated with given transaction - * @throws NoSuchTxnException - * @throws MetaException - */ + + LockResponse lockMaterializationRebuild(String dbName, String tableName, long txnId) + throws MetaException; + + boolean heartbeatLockMaterializationRebuild(String dbName, String tableName, long txnId) + throws MetaException; + + long cleanupMaterializationRebuildLocks(ValidTxnList validTxnList, long timeout) + throws MetaException; + + /** + * Gets the list of valid write ids for the given table wrt to current txn + * @param rqst info on transaction and list of table names associated with given transaction + * @throws NoSuchTxnException + * @throws MetaException + */ @RetrySemantics.ReadOnly GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException; diff --git a/standalone-metastore/src/main/sql/derby/hive-schema-3.1.0.derby.sql b/standalone-metastore/src/main/sql/derby/hive-schema-3.1.0.derby.sql index 352b43e9cd..043cf07729 100644 --- a/standalone-metastore/src/main/sql/derby/hive-schema-3.1.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/hive-schema-3.1.0.derby.sql @@ -197,7 +197,8 @@ CREATE TABLE "APP"."MV_CREATION_METADATA" ( "CAT_NAME" VARCHAR(256) NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, - "TXN_LIST" CLOB + "TXN_LIST" CLOB, + "MATERIALIZATION_TIME" BIGINT NOT NULL ); CREATE TABLE "APP"."MV_TABLES_USED" ( @@ -526,7 +527,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE varchar(256), CTC_PARTITION varchar(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ); CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -645,6 +647,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID BIGINT NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT BIGINT NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + CREATE TABLE "APP"."I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" integer not null, diff --git a/standalone-metastore/src/main/sql/derby/hive-schema-4.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/hive-schema-4.0.0.derby.sql index bb691053a5..1764f82039 100644 --- a/standalone-metastore/src/main/sql/derby/hive-schema-4.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/hive-schema-4.0.0.derby.sql @@ -197,7 +197,8 @@ CREATE TABLE "APP"."MV_CREATION_METADATA" ( "CAT_NAME" VARCHAR(256) NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, - "TXN_LIST" CLOB + "TXN_LIST" CLOB, + "MATERIALIZATION_TIME" BIGINT NOT NULL ); CREATE TABLE "APP"."MV_TABLES_USED" ( @@ -526,7 +527,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE varchar(256), CTC_PARTITION varchar(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ); CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -645,6 +647,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID BIGINT NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT BIGINT NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + CREATE TABLE "APP"."I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" integer not null, diff --git a/standalone-metastore/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql b/standalone-metastore/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql index 6621ef7ce5..8c1604399d 100644 --- a/standalone-metastore/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql @@ -29,5 +29,24 @@ ALTER TABLE TXNS ADD COLUMN TXN_TYPE integer; CREATE INDEX "APP"."TAB_COL_STATS_IDX" ON "APP"."TAB_COL_STATS" ("CAT_NAME", "DB_NAME", "TABLE_NAME", "COLUMN_NAME"); +-- HIVE-19027 +-- add column MATERIALIZATION_TIME (bigint) to MV_CREATION_METADATA table +ALTER TABLE "APP"."MV_CREATION_METADATA" ADD COLUMN "MATERIALIZATION_TIME" BIGINT; +UPDATE "APP"."MV_CREATION_METADATA" SET "MATERIALIZATION_TIME" = 0; +ALTER TABLE "APP"."MV_CREATION_METADATA" ALTER COLUMN "MATERIALIZATION_TIME" NOT NULL; + +-- add column CTC_UPDATE_DELETE (char) to COMPLETED_TXN_COMPONENTS table +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD COLUMN CTC_UPDATE_DELETE char(1); +UPDATE COMPLETED_TXN_COMPONENTS SET CTC_UPDATE_DELETE = 'N'; +ALTER TABLE COMPLETED_TXN_COMPONENTS ALTER COLUMN CTC_UPDATE_DELETE NOT NULL; + +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID BIGINT NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT BIGINT NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + -- This needs to be the last thing done. Insert any changes above this line. UPDATE "APP".VERSION SET SCHEMA_VERSION='3.1.0', VERSION_COMMENT='Hive release version 3.1.0' where VER_ID=1; diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql index bc11b4092a..fef6ab932b 100644 --- a/standalone-metastore/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql @@ -388,7 +388,8 @@ CREATE TABLE MV_CREATION_METADATA CAT_NAME nvarchar(256) NOT NULL, DB_NAME nvarchar(128) NOT NULL, TBL_NAME nvarchar(256) NOT NULL, - TXN_LIST text NULL + TXN_LIST text NULL, + MATERIALIZATION_TIME bigint NOT NULL ); ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); @@ -1034,7 +1035,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS( CTC_TABLE nvarchar(128) NULL, CTC_PARTITION nvarchar(767) NULL, CTC_TIMESTAMP datetime2 DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ); CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -1191,6 +1193,17 @@ PRIMARY KEY CLUSTERED CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME nvarchar(128) NOT NULL, + MRL_TBL_NAME nvarchar(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, +PRIMARY KEY CLUSTERED +( + MRL_TXN_ID ASC +) +); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" int not null, diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql index 922e8fef38..3053196aed 100644 --- a/standalone-metastore/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql @@ -248,7 +248,6 @@ CREATE TABLE TAB_COL_STATS ALTER TABLE TAB_COL_STATS ADD CONSTRAINT TAB_COL_STATS_PK PRIMARY KEY (CS_ID); CREATE INDEX TAB_COL_STATS_IDX ON TAB_COL_STATS (CAT_NAME, DB_NAME, TABLE_NAME, COLUMN_NAME); - -- Table TYPES for classes [org.apache.hadoop.hive.metastore.model.MType] CREATE TABLE TYPES ( @@ -389,7 +388,8 @@ CREATE TABLE MV_CREATION_METADATA CAT_NAME nvarchar(256) NOT NULL, DB_NAME nvarchar(128) NOT NULL, TBL_NAME nvarchar(256) NOT NULL, - TXN_LIST text NULL + TXN_LIST text NULL, + MATERIALIZATION_TIME bigint NOT NULL ); ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); @@ -1035,7 +1035,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS( CTC_TABLE nvarchar(128) NULL, CTC_PARTITION nvarchar(767) NULL, CTC_TIMESTAMP datetime2 DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ); CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -1192,6 +1193,17 @@ PRIMARY KEY CLUSTERED CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME nvarchar(128) NOT NULL, + MRL_TBL_NAME nvarchar(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, +PRIMARY KEY CLUSTERED +( + MRL_TXN_ID ASC +) +); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" int not null, diff --git a/standalone-metastore/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql index abb80d6c54..bc71fb883e 100644 --- a/standalone-metastore/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql @@ -30,6 +30,24 @@ ALTER TABLE TXNS ADD TXN_TYPE int NULL; CREATE INDEX TAB_COL_STATS_IDX ON TAB_COL_STATS (CAT_NAME, DB_NAME, TABLE_NAME, COLUMN_NAME); +-- HIVE-19027 +-- add column MATERIALIZATION_TIME (bigint) to MV_CREATION_METADATA table +ALTER TABLE MV_CREATION_METADATA ADD MATERIALIZATION_TIME bigint NOT NULL DEFAULT(0); + +-- add column CTC_UPDATE_DELETE (char) to COMPLETED_TXN_COMPONENTS table +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_UPDATE_DELETE char(1) NOT NULL DEFAULT('N'); + +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME nvarchar(128) NOT NULL, + MRL_TBL_NAME nvarchar(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, +PRIMARY KEY CLUSTERED +( + MRL_TXN_ID ASC +) +); + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.1.0', VERSION_COMMENT='Hive release version 3.1.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 3.0.0 to 3.1.0' AS MESSAGE; diff --git a/standalone-metastore/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql index af955dcf7f..8510ceb3e8 100644 --- a/standalone-metastore/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql @@ -603,6 +603,7 @@ CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( `DB_NAME` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TXN_LIST` TEXT DEFAULT NULL, + `MATERIALIZATION_TIME` bigint(20) NOT NULL, PRIMARY KEY (`MV_CREATION_METADATA_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1006,7 +1007,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE varchar(256), CTC_PARTITION varchar(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; @@ -1124,6 +1126,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + CREATE TABLE `I_SCHEMA` ( `SCHEMA_ID` BIGINT PRIMARY KEY, `SCHEMA_TYPE` INTEGER NOT NULL, diff --git a/standalone-metastore/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql index 6c40e6e4f6..0a7d44ae82 100644 --- a/standalone-metastore/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql @@ -603,6 +603,7 @@ CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( `DB_NAME` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TXN_LIST` TEXT DEFAULT NULL, + `MATERIALIZATION_TIME` bigint(20) NOT NULL, PRIMARY KEY (`MV_CREATION_METADATA_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1006,7 +1007,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE varchar(256), CTC_PARTITION varchar(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; @@ -1124,6 +1126,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + CREATE TABLE `I_SCHEMA` ( `SCHEMA_ID` BIGINT PRIMARY KEY, `SCHEMA_TYPE` INTEGER NOT NULL, diff --git a/standalone-metastore/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql index 305fa1d67d..e45fba739f 100644 --- a/standalone-metastore/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql @@ -30,6 +30,25 @@ ALTER TABLE TXNS ADD COLUMN TXN_TYPE int DEFAULT NULL; CREATE INDEX TAB_COL_STATS_IDX ON TAB_COL_STATS (CAT_NAME, DB_NAME, TABLE_NAME, COLUMN_NAME) USING BTREE; +-- HIVE-19027 +-- add column MATERIALIZATION_TIME (bigint) to MV_CREATION_METADATA table +ALTER TABLE `MV_CREATION_METADATA` ADD `MATERIALIZATION_TIME` BIGINT; +UPDATE `MV_CREATION_METADATA` SET `MATERIALIZATION_TIME` = 0; +ALTER TABLE `MV_CREATION_METADATA` MODIFY COLUMN `MATERIALIZATION_TIME` BIGINT NOT NULL; + +-- add column CTC_UPDATE_DELETE (char) to COMPLETED_TXN_COMPONENTS table +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_UPDATE_DELETE char(1); +UPDATE COMPLETED_TXN_COMPONENTS SET CTC_UPDATE_DELETE = 'N'; +ALTER TABLE COMPLETED_TXN_COMPONENTS MODIFY COLUMN CTC_UPDATE_DELETE char(1) NOT NULL; + +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID BIGINT NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT BIGINT NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.1.0', VERSION_COMMENT='Hive release version 3.1.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 3.0.0 to 3.1.0' AS ' '; diff --git a/standalone-metastore/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql index bc137039c6..90388e70e4 100644 --- a/standalone-metastore/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql @@ -410,7 +410,8 @@ CREATE TABLE MV_CREATION_METADATA CAT_NAME VARCHAR2(256) NOT NULL, DB_NAME VARCHAR2(128) NOT NULL, TBL_NAME VARCHAR2(256) NOT NULL, - TXN_LIST CLOB NULL + TXN_LIST CLOB NULL, + MATERIALIZATION_TIME NUMBER NOT NULL ); ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); @@ -983,7 +984,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE VARCHAR2(256), CTC_PARTITION VARCHAR2(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID NUMBER(19) + CTC_WRITEID NUMBER(19), + CTC_UPDATE_DELETE CHAR(1) NOT NULL ) ROWDEPENDENCIES; CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -1100,6 +1102,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID NUMBER NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT NUMBER NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" number primary key, "SCHEMA_TYPE" number not null, diff --git a/standalone-metastore/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql index e12150a438..52dab9807e 100644 --- a/standalone-metastore/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql @@ -410,7 +410,8 @@ CREATE TABLE MV_CREATION_METADATA CAT_NAME VARCHAR2(256) NOT NULL, DB_NAME VARCHAR2(128) NOT NULL, TBL_NAME VARCHAR2(256) NOT NULL, - TXN_LIST CLOB NULL + TXN_LIST CLOB NULL, + MATERIALIZATION_TIME NUMBER NOT NULL ); ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); @@ -983,7 +984,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE VARCHAR2(256), CTC_PARTITION VARCHAR2(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID NUMBER(19) + CTC_WRITEID NUMBER(19), + CTC_UPDATE_DELETE CHAR(1) NOT NULL ) ROWDEPENDENCIES; CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -1100,6 +1102,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID NUMBER NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT NUMBER NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" number primary key, "SCHEMA_TYPE" number not null, diff --git a/standalone-metastore/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql index ccdea54ab3..3080a273aa 100644 --- a/standalone-metastore/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql @@ -30,6 +30,25 @@ ALTER TABLE TXNS ADD TXN_TYPE number(10) NULL; CREATE INDEX TAB_COL_STATS_IDX ON TAB_COL_STATS (CAT_NAME, DB_NAME, TABLE_NAME, COLUMN_NAME); +-- HIVE-19027 +-- add column MATERIALIZATION_TIME (bigint) to MV_CREATION_METADATA table +ALTER TABLE MV_CREATION_METADATA ADD MATERIALIZATION_TIME NUMBER NULL; +UPDATE MV_CREATION_METADATA SET MATERIALIZATION_TIME = 0; +ALTER TABLE MV_CREATION_METADATA MODIFY(MATERIALIZATION_TIME NOT NULL); + +-- add column CTC_UPDATE_DELETE (char) to COMPLETED_TXN_COMPONENTS table +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_UPDATE_DELETE char(1) NULL; +UPDATE COMPLETED_TXN_COMPONENTS SET CTC_UPDATE_DELETE = 'N'; +ALTER TABLE COMPLETED_TXN_COMPONENTS MODIFY(CTC_UPDATE_DELETE NOT NULL); + +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID NUMBER NOT NULL, + MRL_DB_NAME VARCHAR(128) NOT NULL, + MRL_TBL_NAME VARCHAR(256) NOT NULL, + MRL_LAST_HEARTBEAT NUMBER NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.1.0', VERSION_COMMENT='Hive release version 3.1.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 3.0.0 to 3.1.0' AS Status from dual; diff --git a/standalone-metastore/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql index 36bab70eda..028d091606 100644 --- a/standalone-metastore/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql @@ -404,7 +404,8 @@ CREATE TABLE "MV_CREATION_METADATA" ( "CAT_NAME" character varying(256) NOT NULL, "DB_NAME" character varying(128) NOT NULL, "TBL_NAME" character varying(256) NOT NULL, - "TXN_LIST" text + "TXN_LIST" text, + "MATERIALIZATION_TIME" bigint NOT NULL ); -- @@ -1673,7 +1674,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE varchar(256), CTC_PARTITION varchar(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ); CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS USING btree (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -1790,6 +1792,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME varchar(128) NOT NULL, + MRL_TBL_NAME varchar(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" integer not null, diff --git a/standalone-metastore/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql index b73e1d19f6..cfa37ff403 100644 --- a/standalone-metastore/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql @@ -404,7 +404,8 @@ CREATE TABLE "MV_CREATION_METADATA" ( "CAT_NAME" character varying(256) NOT NULL, "DB_NAME" character varying(128) NOT NULL, "TBL_NAME" character varying(256) NOT NULL, - "TXN_LIST" text + "TXN_LIST" text, + "MATERIALIZATION_TIME" bigint NOT NULL ); -- @@ -1282,6 +1283,11 @@ CREATE INDEX "TBLS_N50" ON "TBLS" USING btree ("SD_ID"); CREATE INDEX "TBL_COL_PRIVS_N49" ON "TBL_COL_PRIVS" USING btree ("TBL_ID"); +-- +-- Name: TAB_COL_STATS_IDX; Type: INDEX; Schema: public; Owner: hiveuser; Tablespace: +-- + +CREATE INDEX "TAB_COL_STATS_IDX" ON "TAB_COL_STATS" USING btree ("CAT_NAME", "DB_NAME","TABLE_NAME","COLUMN_NAME"); -- -- Name: TBL_PRIVS_N49; Type: INDEX; Schema: public; Owner: hiveuser; Tablespace: @@ -1302,13 +1308,6 @@ CREATE INDEX "TYPE_FIELDS_N49" ON "TYPE_FIELDS" USING btree ("TYPE_NAME"); CREATE INDEX "TAB_COL_STATS_N49" ON "TAB_COL_STATS" USING btree ("TBL_ID"); --- --- Name: TAB_COL_STATS_IDX; Type: INDEX; Schema: public; Owner: hiveuser; Tablespace: --- - -CREATE INDEX "TAB_COL_STATS_IDX" ON "TAB_COL_STATS" USING btree ("CAT_NAME", "DB_NAME","TABLE_NAME","COLUMN_NAME"); - - -- -- Name: PART_COL_STATS_N49; Type: INDEX; Schema: public; Owner: hiveuser; Tablespace: -- @@ -1675,7 +1674,8 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_TABLE varchar(256), CTC_PARTITION varchar(767), CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - CTC_WRITEID bigint + CTC_WRITEID bigint, + CTC_UPDATE_DELETE char(1) NOT NULL ); CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS USING btree (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); @@ -1792,6 +1792,14 @@ CREATE TABLE MIN_HISTORY_LEVEL ( CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_OPEN_TXNID); +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME varchar(128) NOT NULL, + MRL_TBL_NAME varchar(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" integer not null, diff --git a/standalone-metastore/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql index 2c0eb31aad..55f7390d17 100644 --- a/standalone-metastore/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql @@ -32,6 +32,25 @@ ALTER TABLE TXNS ADD COLUMN TXN_TYPE integer DEFAULT NULL; CREATE INDEX "TAB_COL_STATS_IDX" ON "TAB_COL_STATS" USING btree ("CAT_NAME", "DB_NAME","TABLE_NAME","COLUMN_NAME"); +-- HIVE-19027 +-- add column MATERIALIZATION_TIME (bigint) to MV_CREATION_METADATA table +ALTER TABLE "MV_CREATION_METADATA" ADD COLUMN "MATERIALIZATION_TIME" bigint NULL; +UPDATE "MV_CREATION_METADATA" SET "MATERIALIZATION_TIME" = 0; +ALTER TABLE "MV_CREATION_METADATA" ALTER COLUMN "MATERIALIZATION_TIME" SET NOT NULL; + +-- add column CTC_UPDATE_DELETE (char) to COMPLETED_TXN_COMPONENTS table +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD COLUMN CTC_UPDATE_DELETE char(1) NULL; +UPDATE COMPLETED_TXN_COMPONENTS SET CTC_UPDATE_DELETE = 'N'; +ALTER TABLE COMPLETED_TXN_COMPONENTS ALTER COLUMN CTC_UPDATE_DELETE SET NOT NULL; + +CREATE TABLE MATERIALIZATION_REBUILD_LOCKS ( + MRL_TXN_ID bigint NOT NULL, + MRL_DB_NAME varchar(128) NOT NULL, + MRL_TBL_NAME varchar(256) NOT NULL, + MRL_LAST_HEARTBEAT bigint NOT NULL, + PRIMARY KEY(MRL_TXN_ID) +); + -- These lines need to be last. Insert any changes above. UPDATE "VERSION" SET "SCHEMA_VERSION"='3.1.0', "VERSION_COMMENT"='Hive release version 3.1.0' where "VER_ID"=1; SELECT 'Finished upgrading MetaStore schema from 3.0.0 to 3.1.0'; diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 6e503eb908..ad1dc1f769 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -1061,6 +1061,7 @@ struct CreationMetadata { 3: required string tblName, 4: required set tablesUsed, 5: optional string validTxnList, + 6: optional i64 materializationTime } struct NotificationEventRequest { @@ -1246,10 +1247,7 @@ struct TableMeta { } struct Materialization { - 1: required set tablesUsed; - 2: optional string validTxnList - 3: optional i64 invalidationTime; - 4: optional bool sourceTablesUpdateDeleteModified; + 1: required bool sourceTablesUpdateDeleteModified; } // Data types for workload management. @@ -1701,7 +1699,7 @@ service ThriftHiveMetastore extends fb303.FacebookService GetTableResult get_table_req(1:GetTableRequest req) throws (1:MetaException o1, 2:NoSuchObjectException o2) GetTablesResult get_table_objects_by_name_req(1:GetTablesRequest req) throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) - map get_materialization_invalidation_info(1:string dbname, 2:list tbl_names) + Materialization get_materialization_invalidation_info(1:CreationMetadata creation_metadata, 2:string validTxnList) throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) void update_creation_metadata(1: string catName, 2:string dbname, 3:string tbl_name, 4:CreationMetadata creation_metadata) throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index 2d87a2fa96..2d57cfb10f 100644 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -164,8 +164,6 @@ public HiveMetaStoreClientPreCatalog(Configuration conf, HiveMetaHookLoader hook // instantiate the metastore server handler directly instead of connecting // through the network client = HiveMetaStore.newRetryingHMSHandler("hive client", this.conf, true); - // Initialize materializations invalidation cache (only for local metastore) - MaterializationsInvalidationCache.get().init(conf, (IHMSHandler) client); isConnected = true; snapshotActiveConf(); return; @@ -1442,10 +1440,9 @@ public Table getTable(String dbname, String name) throws MetaException, /** {@inheritDoc} */ @Override - public Map getMaterializationsInvalidationInfo(String dbName, List viewNames) + public Materialization getMaterializationInvalidationInfo(CreationMetadata cm, String validTxnList) throws MetaException, InvalidOperationException, UnknownDBException, TException { - return client.get_materialization_invalidation_info( - dbName, filterHook.filterTableNames(null, dbName, viewNames)); + return client.get_materialization_invalidation_info(cm, validTxnList); } /** {@inheritDoc} */ diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java deleted file mode 100644 index 8debccefb3..0000000000 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java +++ /dev/null @@ -1,328 +0,0 @@ -/* - * 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.metastore; - -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableSet; -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; -import org.apache.hadoop.hive.metastore.api.CreationMetadata; -import org.apache.hadoop.hive.metastore.api.Materialization; -import org.apache.hadoop.hive.metastore.api.Table; -import org.junit.Assert; -import org.junit.FixMethodOrder; -import org.junit.Test; -import org.junit.runners.MethodSorters; - -import java.util.Map; - -import static org.apache.hadoop.hive.metastore.Warehouse.DEFAULT_CATALOG_NAME; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - -/** - * Unit tests for {@link org.apache.hadoop.hive.metastore.MaterializationsInvalidationCache}. - * The tests focus on arrival of notifications (possibly out of order) and the logic - * to clean up the materializations cache. Tests need to be executed in a certain order - * to avoid interactions among them, as the invalidation cache is a singleton. - */ -@FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestMetaStoreMaterializationsCacheCleaner { - - private static final String DB_NAME = "hive3252"; - private static final String TBL_NAME_1 = "tmptbl1"; - private static final String TBL_NAME_2 = "tmptbl2"; - private static final String TBL_NAME_3 = "tmptbl3"; - private static final String MV_NAME_1 = "mv1"; - private static final String MV_NAME_2 = "mv2"; - - - @Test - public void testCleanerScenario1() throws Exception { - // create mock raw store - Configuration conf = new Configuration(); - conf.set("metastore.materializations.invalidation.impl", "DISABLE"); - // create mock handler - final IHMSHandler handler = mock(IHMSHandler.class); - // initialize invalidation cache (set conf to disable) - MaterializationsInvalidationCache.get().init(conf, handler); - - // This is a dummy test, invalidation cache is not supposed to - // record any information. - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 1, 1, false); - int id = 2; - BasicTxnInfo txn2 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id, false); - // Create tbl2 (nothing to do) - id = 3; - BasicTxnInfo txn3 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id, false); - // Cleanup (current = 4, duration = 4) -> Does nothing - long removed = MaterializationsInvalidationCache.get().cleanup(0L); - Assert.assertEquals(0L, removed); - // Create mv1 - Table mv1 = mock(Table.class); - when(mv1.getDbName()).thenReturn(DB_NAME); - when(mv1.getTableName()).thenReturn(MV_NAME_1); - CreationMetadata mockCM1 = new CreationMetadata( - DEFAULT_CATALOG_NAME, DB_NAME, MV_NAME_1, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=4;minOpenTxn=Long.MAX_VALUE) - mockCM1.setValidTxnList("3:" + Long.MAX_VALUE + "::"); - when(mv1.getCreationMetadata()).thenReturn(mockCM1); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM1.getDbName(), mockCM1.getTblName(), - mockCM1.getTablesUsed(), mockCM1.getValidTxnList()); - // Format $::::$ - Map invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertTrue(invalidationInfos.isEmpty()); - id = 10; - BasicTxnInfo txn10 = createTxnInfo(DB_NAME, TBL_NAME_2, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id, false); - id = 9; - BasicTxnInfo txn9 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id, false); - // Cleanup (current = 12, duration = 4) -> Removes txn1, txn2, txn3 - removed = MaterializationsInvalidationCache.get().cleanup(8L); - Assert.assertEquals(0L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Create mv2 - Table mv2 = mock(Table.class); - when(mv2.getDbName()).thenReturn(DB_NAME); - when(mv2.getTableName()).thenReturn(MV_NAME_2); - CreationMetadata mockCM2 = new CreationMetadata( - DEFAULT_CATALOG_NAME, DB_NAME, MV_NAME_2, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=10;minOpenTxn=Long.MAX_VALUE) - mockCM2.setValidTxnList("10:" + Long.MAX_VALUE + "::"); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM2.getDbName(), mockCM2.getTblName(), - mockCM2.getTablesUsed(), mockCM2.getValidTxnList()); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Create tbl3 (nothing to do) - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 11, 11, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 18, 18, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 14, 14, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 17, 17, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 16, 16, false); - // Cleanup (current = 20, duration = 4) -> Removes txn10, txn11 - removed = MaterializationsInvalidationCache.get().cleanup(16L); - Assert.assertEquals(0L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 12, 12, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 15, 15, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 7, 7, false); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Cleanup (current = 24, duration = 4) -> Removes txn9, txn14, txn15, txn16, txn17, txn18 - removed = MaterializationsInvalidationCache.get().cleanup(20L); - Assert.assertEquals(0L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Cleanup (current = 28, duration = 4) -> Removes txn9 - removed = MaterializationsInvalidationCache.get().cleanup(24L); - Assert.assertEquals(0L, removed); - } - - @Test - public void testCleanerScenario2() throws Exception { - // create mock raw store - Configuration conf = new Configuration(); - conf.set("metastore.materializations.invalidation.impl", "DEFAULT"); - // create mock handler - final IHMSHandler handler = mock(IHMSHandler.class); - // initialize invalidation cache (set conf to default) - MaterializationsInvalidationCache.get().init(conf, handler); - - // Scenario consists of the following steps: - // Create tbl1 - // (t = 1) Insert row in tbl1 - // (t = 2) Insert row in tbl1 - // Create tbl2 - // (t = 3) Insert row in tbl2 - // Cleanup (current = 4, duration = 4) -> Does nothing - // Create mv1 - // (t = 10) Insert row in tbl2 - // (t = 9) Insert row in tbl1 (out of order) - // Cleanup (current = 12, duration = 4) -> Removes txn1, txn2, txn3 - // Create mv2 - // Create tbl3 - // (t = 11) Insert row in tbl3 - // (t = 18) Insert row in tbl3 - // (t = 14) Insert row in tbl1 - // (t = 17) Insert row in tbl1 - // (t = 16) Insert row in tbl2 - // Cleanup (current = 20, duration = 4) -> Removes txn10, txn11 - // (t = 12) Insert row in tbl1 - // (t = 15) Insert row in tbl2 - // (t = 7) Insert row in tbl2 - // Cleanup (current = 24, duration = 4) -> Removes txn9, txn14, txn15, txn16, txn17, txn18 - // Create tbl1 (nothing to do) - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 1, 1, false); - int id = 2; - BasicTxnInfo txn2 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id, false); - // Create tbl2 (nothing to do) - id = 3; - BasicTxnInfo txn3 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id, false); - // Cleanup (current = 4, duration = 4) -> Does nothing - long removed = MaterializationsInvalidationCache.get().cleanup(0L); - Assert.assertEquals(0L, removed); - // Create mv1 - Table mv1 = mock(Table.class); - when(mv1.getDbName()).thenReturn(DB_NAME); - when(mv1.getTableName()).thenReturn(MV_NAME_1); - CreationMetadata mockCM1 = new CreationMetadata( - DEFAULT_CATALOG_NAME, DB_NAME, MV_NAME_1, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=4;minOpenTxn=Long.MAX_VALUE) - mockCM1.setValidTxnList("3$" + DB_NAME + "." + TBL_NAME_1 + ":3:" + Long.MAX_VALUE + "::" + - "$" + DB_NAME + "." + TBL_NAME_2 + ":3:" + Long.MAX_VALUE + "::"); - when(mv1.getCreationMetadata()).thenReturn(mockCM1); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM1.getDbName(), mockCM1.getTblName(), - mockCM1.getTablesUsed(), mockCM1.getValidTxnList()); - Map invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertEquals(0L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - id = 10; - BasicTxnInfo txn10 = createTxnInfo(DB_NAME, TBL_NAME_2, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id, false); - id = 9; - BasicTxnInfo txn9 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id, false); - // Cleanup (current = 12, duration = 4) -> Removes txn1, txn2, txn3 - removed = MaterializationsInvalidationCache.get().cleanup(8L); - Assert.assertEquals(3L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertEquals(9L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - // Create mv2 - Table mv2 = mock(Table.class); - when(mv2.getDbName()).thenReturn(DB_NAME); - when(mv2.getTableName()).thenReturn(MV_NAME_2); - CreationMetadata mockCM2 = new CreationMetadata( - DEFAULT_CATALOG_NAME, DB_NAME, MV_NAME_2, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=10;minOpenTxn=Long.MAX_VALUE) - mockCM2.setValidTxnList("10$" + DB_NAME + "." + TBL_NAME_1 + ":10:" + Long.MAX_VALUE + "::" + - "$" + DB_NAME + "." + TBL_NAME_2 + ":10:" + Long.MAX_VALUE + "::"); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM2.getDbName(), mockCM2.getTblName(), - mockCM2.getTablesUsed(), mockCM2.getValidTxnList()); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(9L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(0L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - // Create tbl3 (nothing to do) - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 11, 11, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 18, 18, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 14, 14, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 17, 17, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 16, 16, false); - // Cleanup (current = 20, duration = 4) -> Removes txn10, txn11 - removed = MaterializationsInvalidationCache.get().cleanup(16L); - Assert.assertEquals(2L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(9L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(14L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 12, 12, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 15, 15, false); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 7, 7, false); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(7L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(12L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - // Cleanup (current = 24, duration = 4) -> Removes txn9, txn14, txn15, txn16, txn17, txn18 - removed = MaterializationsInvalidationCache.get().cleanup(20L); - Assert.assertEquals(6L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(7L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(12L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - // Cleanup (current = 28, duration = 4) -> Removes txn9 - removed = MaterializationsInvalidationCache.get().cleanup(24L); - Assert.assertEquals(0L, removed); - } - - private static BasicTxnInfo createTxnInfo(String dbName, String tableName, int i) { - BasicTxnInfo r = new BasicTxnInfo(); - r.setDbname(dbName); - r.setTablename(tableName); - r.setTxnid(i); - r.setTime(i); - return r; - } -}