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 6ea68c3500..39ed768141 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1633,13 +1633,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."), @@ -1647,24 +1647,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 cd62d496a3..1fe1fb650c 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; @@ -193,6 +195,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; @@ -1332,7 +1335,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<>(); @@ -1344,7 +1347,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) { @@ -1353,14 +1356,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); @@ -1369,8 +1377,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); @@ -1378,7 +1384,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., @@ -1386,40 +1392,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 @@ -1443,7 +1489,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; @@ -1466,7 +1512,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 383f2dc458..54a4ef6d8c 100644 --- a/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out +++ b/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out @@ -162,31 +162,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 @@ -217,36 +221,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 @@ -255,15 +256,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 @@ -275,7 +276,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 @@ -283,6 +284,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 @@ -291,10 +293,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 2c4ee3d79a..99832ff847 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/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index a816ae7566..9d57d4cffa 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -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 _size1226; - ::apache::thrift::protocol::TType _etype1229; - xfer += iprot->readListBegin(_etype1229, _size1226); - this->success.resize(_size1226); - uint32_t _i1230; - for (_i1230 = 0; _i1230 < _size1226; ++_i1230) + 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) { - xfer += iprot->readString(this->success[_i1230]); + xfer += iprot->readString(this->success[_i1223]); } 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 _iter1231; - for (_iter1231 = this->success.begin(); _iter1231 != this->success.end(); ++_iter1231) + std::vector ::const_iterator _iter1224; + for (_iter1224 = this->success.begin(); _iter1224 != this->success.end(); ++_iter1224) { - xfer += oprot->writeString((*_iter1231)); + xfer += oprot->writeString((*_iter1224)); } 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 _size1232; - ::apache::thrift::protocol::TType _etype1235; - xfer += iprot->readListBegin(_etype1235, _size1232); - (*(this->success)).resize(_size1232); - uint32_t _i1236; - for (_i1236 = 0; _i1236 < _size1232; ++_i1236) + uint32_t _size1225; + ::apache::thrift::protocol::TType _etype1228; + xfer += iprot->readListBegin(_etype1228, _size1225); + (*(this->success)).resize(_size1225); + uint32_t _i1229; + for (_i1229 = 0; _i1229 < _size1225; ++_i1229) { - xfer += iprot->readString((*(this->success))[_i1236]); + xfer += iprot->readString((*(this->success))[_i1229]); } 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 _size1237; - ::apache::thrift::protocol::TType _etype1240; - xfer += iprot->readListBegin(_etype1240, _size1237); - this->success.resize(_size1237); - uint32_t _i1241; - for (_i1241 = 0; _i1241 < _size1237; ++_i1241) + uint32_t _size1230; + ::apache::thrift::protocol::TType _etype1233; + xfer += iprot->readListBegin(_etype1233, _size1230); + this->success.resize(_size1230); + uint32_t _i1234; + for (_i1234 = 0; _i1234 < _size1230; ++_i1234) { - xfer += iprot->readString(this->success[_i1241]); + xfer += iprot->readString(this->success[_i1234]); } 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 _iter1242; - for (_iter1242 = this->success.begin(); _iter1242 != this->success.end(); ++_iter1242) + std::vector ::const_iterator _iter1235; + for (_iter1235 = this->success.begin(); _iter1235 != this->success.end(); ++_iter1235) { - xfer += oprot->writeString((*_iter1242)); + xfer += oprot->writeString((*_iter1235)); } 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 _size1243; - ::apache::thrift::protocol::TType _etype1246; - xfer += iprot->readListBegin(_etype1246, _size1243); - (*(this->success)).resize(_size1243); - uint32_t _i1247; - for (_i1247 = 0; _i1247 < _size1243; ++_i1247) + uint32_t _size1236; + ::apache::thrift::protocol::TType _etype1239; + xfer += iprot->readListBegin(_etype1239, _size1236); + (*(this->success)).resize(_size1236); + uint32_t _i1240; + for (_i1240 = 0; _i1240 < _size1236; ++_i1240) { - xfer += iprot->readString((*(this->success))[_i1247]); + xfer += iprot->readString((*(this->success))[_i1240]); } 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 _size1248; - ::apache::thrift::protocol::TType _ktype1249; - ::apache::thrift::protocol::TType _vtype1250; - xfer += iprot->readMapBegin(_ktype1249, _vtype1250, _size1248); - uint32_t _i1252; - for (_i1252 = 0; _i1252 < _size1248; ++_i1252) + uint32_t _size1241; + ::apache::thrift::protocol::TType _ktype1242; + ::apache::thrift::protocol::TType _vtype1243; + xfer += iprot->readMapBegin(_ktype1242, _vtype1243, _size1241); + uint32_t _i1245; + for (_i1245 = 0; _i1245 < _size1241; ++_i1245) { - std::string _key1253; - xfer += iprot->readString(_key1253); - Type& _val1254 = this->success[_key1253]; - xfer += _val1254.read(iprot); + std::string _key1246; + xfer += iprot->readString(_key1246); + Type& _val1247 = this->success[_key1246]; + xfer += _val1247.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 _iter1255; - for (_iter1255 = this->success.begin(); _iter1255 != this->success.end(); ++_iter1255) + std::map ::const_iterator _iter1248; + for (_iter1248 = this->success.begin(); _iter1248 != this->success.end(); ++_iter1248) { - xfer += oprot->writeString(_iter1255->first); - xfer += _iter1255->second.write(oprot); + xfer += oprot->writeString(_iter1248->first); + xfer += _iter1248->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 _size1256; - ::apache::thrift::protocol::TType _ktype1257; - ::apache::thrift::protocol::TType _vtype1258; - xfer += iprot->readMapBegin(_ktype1257, _vtype1258, _size1256); - uint32_t _i1260; - for (_i1260 = 0; _i1260 < _size1256; ++_i1260) + uint32_t _size1249; + ::apache::thrift::protocol::TType _ktype1250; + ::apache::thrift::protocol::TType _vtype1251; + xfer += iprot->readMapBegin(_ktype1250, _vtype1251, _size1249); + uint32_t _i1253; + for (_i1253 = 0; _i1253 < _size1249; ++_i1253) { - std::string _key1261; - xfer += iprot->readString(_key1261); - Type& _val1262 = (*(this->success))[_key1261]; - xfer += _val1262.read(iprot); + std::string _key1254; + xfer += iprot->readString(_key1254); + Type& _val1255 = (*(this->success))[_key1254]; + xfer += _val1255.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 _size1263; - ::apache::thrift::protocol::TType _etype1266; - xfer += iprot->readListBegin(_etype1266, _size1263); - this->success.resize(_size1263); - uint32_t _i1267; - for (_i1267 = 0; _i1267 < _size1263; ++_i1267) + 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) { - xfer += this->success[_i1267].read(iprot); + xfer += this->success[_i1260].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 _iter1268; - for (_iter1268 = this->success.begin(); _iter1268 != this->success.end(); ++_iter1268) + std::vector ::const_iterator _iter1261; + for (_iter1261 = this->success.begin(); _iter1261 != this->success.end(); ++_iter1261) { - xfer += (*_iter1268).write(oprot); + xfer += (*_iter1261).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 _size1269; - ::apache::thrift::protocol::TType _etype1272; - xfer += iprot->readListBegin(_etype1272, _size1269); - (*(this->success)).resize(_size1269); - uint32_t _i1273; - for (_i1273 = 0; _i1273 < _size1269; ++_i1273) + uint32_t _size1262; + ::apache::thrift::protocol::TType _etype1265; + xfer += iprot->readListBegin(_etype1265, _size1262); + (*(this->success)).resize(_size1262); + uint32_t _i1266; + for (_i1266 = 0; _i1266 < _size1262; ++_i1266) { - xfer += (*(this->success))[_i1273].read(iprot); + xfer += (*(this->success))[_i1266].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 _size1274; - ::apache::thrift::protocol::TType _etype1277; - xfer += iprot->readListBegin(_etype1277, _size1274); - this->success.resize(_size1274); - uint32_t _i1278; - for (_i1278 = 0; _i1278 < _size1274; ++_i1278) + 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) { - xfer += this->success[_i1278].read(iprot); + xfer += this->success[_i1271].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 _iter1279; - for (_iter1279 = this->success.begin(); _iter1279 != this->success.end(); ++_iter1279) + std::vector ::const_iterator _iter1272; + for (_iter1272 = this->success.begin(); _iter1272 != this->success.end(); ++_iter1272) { - xfer += (*_iter1279).write(oprot); + xfer += (*_iter1272).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 _size1280; - ::apache::thrift::protocol::TType _etype1283; - xfer += iprot->readListBegin(_etype1283, _size1280); - (*(this->success)).resize(_size1280); - uint32_t _i1284; - for (_i1284 = 0; _i1284 < _size1280; ++_i1284) + uint32_t _size1273; + ::apache::thrift::protocol::TType _etype1276; + xfer += iprot->readListBegin(_etype1276, _size1273); + (*(this->success)).resize(_size1273); + uint32_t _i1277; + for (_i1277 = 0; _i1277 < _size1273; ++_i1277) { - xfer += (*(this->success))[_i1284].read(iprot); + xfer += (*(this->success))[_i1277].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 _size1285; - ::apache::thrift::protocol::TType _etype1288; - xfer += iprot->readListBegin(_etype1288, _size1285); - this->success.resize(_size1285); - uint32_t _i1289; - for (_i1289 = 0; _i1289 < _size1285; ++_i1289) + 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) { - xfer += this->success[_i1289].read(iprot); + xfer += this->success[_i1282].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 _iter1290; - for (_iter1290 = this->success.begin(); _iter1290 != this->success.end(); ++_iter1290) + std::vector ::const_iterator _iter1283; + for (_iter1283 = this->success.begin(); _iter1283 != this->success.end(); ++_iter1283) { - xfer += (*_iter1290).write(oprot); + xfer += (*_iter1283).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 _size1291; - ::apache::thrift::protocol::TType _etype1294; - xfer += iprot->readListBegin(_etype1294, _size1291); - (*(this->success)).resize(_size1291); - uint32_t _i1295; - for (_i1295 = 0; _i1295 < _size1291; ++_i1295) + uint32_t _size1284; + ::apache::thrift::protocol::TType _etype1287; + xfer += iprot->readListBegin(_etype1287, _size1284); + (*(this->success)).resize(_size1284); + uint32_t _i1288; + for (_i1288 = 0; _i1288 < _size1284; ++_i1288) { - xfer += (*(this->success))[_i1295].read(iprot); + xfer += (*(this->success))[_i1288].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 _size1296; - ::apache::thrift::protocol::TType _etype1299; - xfer += iprot->readListBegin(_etype1299, _size1296); - this->success.resize(_size1296); - uint32_t _i1300; - for (_i1300 = 0; _i1300 < _size1296; ++_i1300) + uint32_t _size1289; + ::apache::thrift::protocol::TType _etype1292; + xfer += iprot->readListBegin(_etype1292, _size1289); + this->success.resize(_size1289); + uint32_t _i1293; + for (_i1293 = 0; _i1293 < _size1289; ++_i1293) { - xfer += this->success[_i1300].read(iprot); + xfer += this->success[_i1293].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 _iter1301; - for (_iter1301 = this->success.begin(); _iter1301 != this->success.end(); ++_iter1301) + std::vector ::const_iterator _iter1294; + for (_iter1294 = this->success.begin(); _iter1294 != this->success.end(); ++_iter1294) { - xfer += (*_iter1301).write(oprot); + xfer += (*_iter1294).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 _size1302; - ::apache::thrift::protocol::TType _etype1305; - xfer += iprot->readListBegin(_etype1305, _size1302); - (*(this->success)).resize(_size1302); - uint32_t _i1306; - for (_i1306 = 0; _i1306 < _size1302; ++_i1306) + uint32_t _size1295; + ::apache::thrift::protocol::TType _etype1298; + xfer += iprot->readListBegin(_etype1298, _size1295); + (*(this->success)).resize(_size1295); + uint32_t _i1299; + for (_i1299 = 0; _i1299 < _size1295; ++_i1299) { - xfer += (*(this->success))[_i1306].read(iprot); + xfer += (*(this->success))[_i1299].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 _size1307; - ::apache::thrift::protocol::TType _etype1310; - xfer += iprot->readListBegin(_etype1310, _size1307); - this->primaryKeys.resize(_size1307); - uint32_t _i1311; - for (_i1311 = 0; _i1311 < _size1307; ++_i1311) + uint32_t _size1300; + ::apache::thrift::protocol::TType _etype1303; + xfer += iprot->readListBegin(_etype1303, _size1300); + this->primaryKeys.resize(_size1300); + uint32_t _i1304; + for (_i1304 = 0; _i1304 < _size1300; ++_i1304) { - xfer += this->primaryKeys[_i1311].read(iprot); + xfer += this->primaryKeys[_i1304].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 _size1312; - ::apache::thrift::protocol::TType _etype1315; - xfer += iprot->readListBegin(_etype1315, _size1312); - this->foreignKeys.resize(_size1312); - uint32_t _i1316; - for (_i1316 = 0; _i1316 < _size1312; ++_i1316) + uint32_t _size1305; + ::apache::thrift::protocol::TType _etype1308; + xfer += iprot->readListBegin(_etype1308, _size1305); + this->foreignKeys.resize(_size1305); + uint32_t _i1309; + for (_i1309 = 0; _i1309 < _size1305; ++_i1309) { - xfer += this->foreignKeys[_i1316].read(iprot); + xfer += this->foreignKeys[_i1309].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 _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - this->uniqueConstraints.resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1310; + ::apache::thrift::protocol::TType _etype1313; + xfer += iprot->readListBegin(_etype1313, _size1310); + this->uniqueConstraints.resize(_size1310); + uint32_t _i1314; + for (_i1314 = 0; _i1314 < _size1310; ++_i1314) { - xfer += this->uniqueConstraints[_i1321].read(iprot); + xfer += this->uniqueConstraints[_i1314].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 _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->notNullConstraints.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1315; + ::apache::thrift::protocol::TType _etype1318; + xfer += iprot->readListBegin(_etype1318, _size1315); + this->notNullConstraints.resize(_size1315); + uint32_t _i1319; + for (_i1319 = 0; _i1319 < _size1315; ++_i1319) { - xfer += this->notNullConstraints[_i1326].read(iprot); + xfer += this->notNullConstraints[_i1319].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 _size1327; - ::apache::thrift::protocol::TType _etype1330; - xfer += iprot->readListBegin(_etype1330, _size1327); - this->defaultConstraints.resize(_size1327); - uint32_t _i1331; - for (_i1331 = 0; _i1331 < _size1327; ++_i1331) + uint32_t _size1320; + ::apache::thrift::protocol::TType _etype1323; + xfer += iprot->readListBegin(_etype1323, _size1320); + this->defaultConstraints.resize(_size1320); + uint32_t _i1324; + for (_i1324 = 0; _i1324 < _size1320; ++_i1324) { - xfer += this->defaultConstraints[_i1331].read(iprot); + xfer += this->defaultConstraints[_i1324].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 _size1332; - ::apache::thrift::protocol::TType _etype1335; - xfer += iprot->readListBegin(_etype1335, _size1332); - this->checkConstraints.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->checkConstraints.resize(_size1325); + uint32_t _i1329; + for (_i1329 = 0; _i1329 < _size1325; ++_i1329) { - xfer += this->checkConstraints[_i1336].read(iprot); + xfer += this->checkConstraints[_i1329].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 _iter1337; - for (_iter1337 = this->primaryKeys.begin(); _iter1337 != this->primaryKeys.end(); ++_iter1337) + std::vector ::const_iterator _iter1330; + for (_iter1330 = this->primaryKeys.begin(); _iter1330 != this->primaryKeys.end(); ++_iter1330) { - xfer += (*_iter1337).write(oprot); + xfer += (*_iter1330).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 _iter1338; - for (_iter1338 = this->foreignKeys.begin(); _iter1338 != this->foreignKeys.end(); ++_iter1338) + std::vector ::const_iterator _iter1331; + for (_iter1331 = this->foreignKeys.begin(); _iter1331 != this->foreignKeys.end(); ++_iter1331) { - xfer += (*_iter1338).write(oprot); + xfer += (*_iter1331).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 _iter1339; - for (_iter1339 = this->uniqueConstraints.begin(); _iter1339 != this->uniqueConstraints.end(); ++_iter1339) + std::vector ::const_iterator _iter1332; + for (_iter1332 = this->uniqueConstraints.begin(); _iter1332 != this->uniqueConstraints.end(); ++_iter1332) { - xfer += (*_iter1339).write(oprot); + xfer += (*_iter1332).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 _iter1340; - for (_iter1340 = this->notNullConstraints.begin(); _iter1340 != this->notNullConstraints.end(); ++_iter1340) + std::vector ::const_iterator _iter1333; + for (_iter1333 = this->notNullConstraints.begin(); _iter1333 != this->notNullConstraints.end(); ++_iter1333) { - xfer += (*_iter1340).write(oprot); + xfer += (*_iter1333).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 _iter1341; - for (_iter1341 = this->defaultConstraints.begin(); _iter1341 != this->defaultConstraints.end(); ++_iter1341) + std::vector ::const_iterator _iter1334; + for (_iter1334 = this->defaultConstraints.begin(); _iter1334 != this->defaultConstraints.end(); ++_iter1334) { - xfer += (*_iter1341).write(oprot); + xfer += (*_iter1334).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 _iter1342; - for (_iter1342 = this->checkConstraints.begin(); _iter1342 != this->checkConstraints.end(); ++_iter1342) + std::vector ::const_iterator _iter1335; + for (_iter1335 = this->checkConstraints.begin(); _iter1335 != this->checkConstraints.end(); ++_iter1335) { - xfer += (*_iter1342).write(oprot); + xfer += (*_iter1335).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 _iter1343; - for (_iter1343 = (*(this->primaryKeys)).begin(); _iter1343 != (*(this->primaryKeys)).end(); ++_iter1343) + std::vector ::const_iterator _iter1336; + for (_iter1336 = (*(this->primaryKeys)).begin(); _iter1336 != (*(this->primaryKeys)).end(); ++_iter1336) { - xfer += (*_iter1343).write(oprot); + xfer += (*_iter1336).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 _iter1344; - for (_iter1344 = (*(this->foreignKeys)).begin(); _iter1344 != (*(this->foreignKeys)).end(); ++_iter1344) + std::vector ::const_iterator _iter1337; + for (_iter1337 = (*(this->foreignKeys)).begin(); _iter1337 != (*(this->foreignKeys)).end(); ++_iter1337) { - xfer += (*_iter1344).write(oprot); + xfer += (*_iter1337).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 _iter1345; - for (_iter1345 = (*(this->uniqueConstraints)).begin(); _iter1345 != (*(this->uniqueConstraints)).end(); ++_iter1345) + std::vector ::const_iterator _iter1338; + for (_iter1338 = (*(this->uniqueConstraints)).begin(); _iter1338 != (*(this->uniqueConstraints)).end(); ++_iter1338) { - xfer += (*_iter1345).write(oprot); + xfer += (*_iter1338).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 _iter1346; - for (_iter1346 = (*(this->notNullConstraints)).begin(); _iter1346 != (*(this->notNullConstraints)).end(); ++_iter1346) + std::vector ::const_iterator _iter1339; + for (_iter1339 = (*(this->notNullConstraints)).begin(); _iter1339 != (*(this->notNullConstraints)).end(); ++_iter1339) { - xfer += (*_iter1346).write(oprot); + xfer += (*_iter1339).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 _iter1347; - for (_iter1347 = (*(this->defaultConstraints)).begin(); _iter1347 != (*(this->defaultConstraints)).end(); ++_iter1347) + std::vector ::const_iterator _iter1340; + for (_iter1340 = (*(this->defaultConstraints)).begin(); _iter1340 != (*(this->defaultConstraints)).end(); ++_iter1340) { - xfer += (*_iter1347).write(oprot); + xfer += (*_iter1340).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 _iter1348; - for (_iter1348 = (*(this->checkConstraints)).begin(); _iter1348 != (*(this->checkConstraints)).end(); ++_iter1348) + std::vector ::const_iterator _iter1341; + for (_iter1341 = (*(this->checkConstraints)).begin(); _iter1341 != (*(this->checkConstraints)).end(); ++_iter1341) { - xfer += (*_iter1348).write(oprot); + xfer += (*_iter1341).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 _size1349; - ::apache::thrift::protocol::TType _etype1352; - xfer += iprot->readListBegin(_etype1352, _size1349); - this->partNames.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->partNames.resize(_size1342); + uint32_t _i1346; + for (_i1346 = 0; _i1346 < _size1342; ++_i1346) { - xfer += iprot->readString(this->partNames[_i1353]); + xfer += iprot->readString(this->partNames[_i1346]); } 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 _iter1354; - for (_iter1354 = this->partNames.begin(); _iter1354 != this->partNames.end(); ++_iter1354) + std::vector ::const_iterator _iter1347; + for (_iter1347 = this->partNames.begin(); _iter1347 != this->partNames.end(); ++_iter1347) { - xfer += oprot->writeString((*_iter1354)); + xfer += oprot->writeString((*_iter1347)); } 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 _iter1355; - for (_iter1355 = (*(this->partNames)).begin(); _iter1355 != (*(this->partNames)).end(); ++_iter1355) + std::vector ::const_iterator _iter1348; + for (_iter1348 = (*(this->partNames)).begin(); _iter1348 != (*(this->partNames)).end(); ++_iter1348) { - xfer += oprot->writeString((*_iter1355)); + xfer += oprot->writeString((*_iter1348)); } 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 _size1356; - ::apache::thrift::protocol::TType _etype1359; - xfer += iprot->readListBegin(_etype1359, _size1356); - this->success.resize(_size1356); - uint32_t _i1360; - for (_i1360 = 0; _i1360 < _size1356; ++_i1360) + 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) { - xfer += iprot->readString(this->success[_i1360]); + xfer += iprot->readString(this->success[_i1353]); } 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 _iter1361; - for (_iter1361 = this->success.begin(); _iter1361 != this->success.end(); ++_iter1361) + std::vector ::const_iterator _iter1354; + for (_iter1354 = this->success.begin(); _iter1354 != this->success.end(); ++_iter1354) { - xfer += oprot->writeString((*_iter1361)); + xfer += oprot->writeString((*_iter1354)); } 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 _size1362; - ::apache::thrift::protocol::TType _etype1365; - xfer += iprot->readListBegin(_etype1365, _size1362); - (*(this->success)).resize(_size1362); - uint32_t _i1366; - for (_i1366 = 0; _i1366 < _size1362; ++_i1366) + uint32_t _size1355; + ::apache::thrift::protocol::TType _etype1358; + xfer += iprot->readListBegin(_etype1358, _size1355); + (*(this->success)).resize(_size1355); + uint32_t _i1359; + for (_i1359 = 0; _i1359 < _size1355; ++_i1359) { - xfer += iprot->readString((*(this->success))[_i1366]); + xfer += iprot->readString((*(this->success))[_i1359]); } 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 _size1367; - ::apache::thrift::protocol::TType _etype1370; - xfer += iprot->readListBegin(_etype1370, _size1367); - this->success.resize(_size1367); - uint32_t _i1371; - for (_i1371 = 0; _i1371 < _size1367; ++_i1371) + 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) { - xfer += iprot->readString(this->success[_i1371]); + xfer += iprot->readString(this->success[_i1364]); } 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 _iter1372; - for (_iter1372 = this->success.begin(); _iter1372 != this->success.end(); ++_iter1372) + std::vector ::const_iterator _iter1365; + for (_iter1365 = this->success.begin(); _iter1365 != this->success.end(); ++_iter1365) { - xfer += oprot->writeString((*_iter1372)); + xfer += oprot->writeString((*_iter1365)); } 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 _size1373; - ::apache::thrift::protocol::TType _etype1376; - xfer += iprot->readListBegin(_etype1376, _size1373); - (*(this->success)).resize(_size1373); - uint32_t _i1377; - for (_i1377 = 0; _i1377 < _size1373; ++_i1377) + uint32_t _size1366; + ::apache::thrift::protocol::TType _etype1369; + xfer += iprot->readListBegin(_etype1369, _size1366); + (*(this->success)).resize(_size1366); + uint32_t _i1370; + for (_i1370 = 0; _i1370 < _size1366; ++_i1370) { - xfer += iprot->readString((*(this->success))[_i1377]); + xfer += iprot->readString((*(this->success))[_i1370]); } 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 _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 += iprot->readString(this->success[_i1382]); + xfer += iprot->readString(this->success[_i1375]); } 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 _iter1383; - for (_iter1383 = this->success.begin(); _iter1383 != this->success.end(); ++_iter1383) + std::vector ::const_iterator _iter1376; + for (_iter1376 = this->success.begin(); _iter1376 != this->success.end(); ++_iter1376) { - xfer += oprot->writeString((*_iter1383)); + xfer += oprot->writeString((*_iter1376)); } 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 _size1384; - ::apache::thrift::protocol::TType _etype1387; - xfer += iprot->readListBegin(_etype1387, _size1384); - (*(this->success)).resize(_size1384); - uint32_t _i1388; - for (_i1388 = 0; _i1388 < _size1384; ++_i1388) + uint32_t _size1377; + ::apache::thrift::protocol::TType _etype1380; + xfer += iprot->readListBegin(_etype1380, _size1377); + (*(this->success)).resize(_size1377); + uint32_t _i1381; + for (_i1381 = 0; _i1381 < _size1377; ++_i1381) { - xfer += iprot->readString((*(this->success))[_i1388]); + xfer += iprot->readString((*(this->success))[_i1381]); } 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 _size1389; - ::apache::thrift::protocol::TType _etype1392; - xfer += iprot->readListBegin(_etype1392, _size1389); - this->tbl_types.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->tbl_types.resize(_size1382); + uint32_t _i1386; + for (_i1386 = 0; _i1386 < _size1382; ++_i1386) { - xfer += iprot->readString(this->tbl_types[_i1393]); + xfer += iprot->readString(this->tbl_types[_i1386]); } 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 _iter1394; - for (_iter1394 = this->tbl_types.begin(); _iter1394 != this->tbl_types.end(); ++_iter1394) + std::vector ::const_iterator _iter1387; + for (_iter1387 = this->tbl_types.begin(); _iter1387 != this->tbl_types.end(); ++_iter1387) { - xfer += oprot->writeString((*_iter1394)); + xfer += oprot->writeString((*_iter1387)); } 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 _iter1395; - for (_iter1395 = (*(this->tbl_types)).begin(); _iter1395 != (*(this->tbl_types)).end(); ++_iter1395) + std::vector ::const_iterator _iter1388; + for (_iter1388 = (*(this->tbl_types)).begin(); _iter1388 != (*(this->tbl_types)).end(); ++_iter1388) { - xfer += oprot->writeString((*_iter1395)); + xfer += oprot->writeString((*_iter1388)); } 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 _size1396; - ::apache::thrift::protocol::TType _etype1399; - xfer += iprot->readListBegin(_etype1399, _size1396); - this->success.resize(_size1396); - uint32_t _i1400; - for (_i1400 = 0; _i1400 < _size1396; ++_i1400) + 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) { - xfer += this->success[_i1400].read(iprot); + xfer += this->success[_i1393].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 _iter1401; - for (_iter1401 = this->success.begin(); _iter1401 != this->success.end(); ++_iter1401) + std::vector ::const_iterator _iter1394; + for (_iter1394 = this->success.begin(); _iter1394 != this->success.end(); ++_iter1394) { - xfer += (*_iter1401).write(oprot); + xfer += (*_iter1394).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 _size1402; - ::apache::thrift::protocol::TType _etype1405; - xfer += iprot->readListBegin(_etype1405, _size1402); - (*(this->success)).resize(_size1402); - uint32_t _i1406; - for (_i1406 = 0; _i1406 < _size1402; ++_i1406) + uint32_t _size1395; + ::apache::thrift::protocol::TType _etype1398; + xfer += iprot->readListBegin(_etype1398, _size1395); + (*(this->success)).resize(_size1395); + uint32_t _i1399; + for (_i1399 = 0; _i1399 < _size1395; ++_i1399) { - xfer += (*(this->success))[_i1406].read(iprot); + xfer += (*(this->success))[_i1399].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 _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 += iprot->readString(this->success[_i1411]); + xfer += iprot->readString(this->success[_i1404]); } 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 _iter1412; - for (_iter1412 = this->success.begin(); _iter1412 != this->success.end(); ++_iter1412) + std::vector ::const_iterator _iter1405; + for (_iter1405 = this->success.begin(); _iter1405 != this->success.end(); ++_iter1405) { - xfer += oprot->writeString((*_iter1412)); + xfer += oprot->writeString((*_iter1405)); } 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 _size1413; - ::apache::thrift::protocol::TType _etype1416; - xfer += iprot->readListBegin(_etype1416, _size1413); - (*(this->success)).resize(_size1413); - uint32_t _i1417; - for (_i1417 = 0; _i1417 < _size1413; ++_i1417) + uint32_t _size1406; + ::apache::thrift::protocol::TType _etype1409; + xfer += iprot->readListBegin(_etype1409, _size1406); + (*(this->success)).resize(_size1406); + uint32_t _i1410; + for (_i1410 = 0; _i1410 < _size1406; ++_i1410) { - xfer += iprot->readString((*(this->success))[_i1417]); + xfer += iprot->readString((*(this->success))[_i1410]); } 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 _size1418; - ::apache::thrift::protocol::TType _etype1421; - xfer += iprot->readListBegin(_etype1421, _size1418); - this->tbl_names.resize(_size1418); - uint32_t _i1422; - for (_i1422 = 0; _i1422 < _size1418; ++_i1422) + uint32_t _size1411; + ::apache::thrift::protocol::TType _etype1414; + xfer += iprot->readListBegin(_etype1414, _size1411); + this->tbl_names.resize(_size1411); + uint32_t _i1415; + for (_i1415 = 0; _i1415 < _size1411; ++_i1415) { - xfer += iprot->readString(this->tbl_names[_i1422]); + xfer += iprot->readString(this->tbl_names[_i1415]); } 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 _iter1423; - for (_iter1423 = this->tbl_names.begin(); _iter1423 != this->tbl_names.end(); ++_iter1423) + std::vector ::const_iterator _iter1416; + for (_iter1416 = this->tbl_names.begin(); _iter1416 != this->tbl_names.end(); ++_iter1416) { - xfer += oprot->writeString((*_iter1423)); + xfer += oprot->writeString((*_iter1416)); } 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 _iter1424; - for (_iter1424 = (*(this->tbl_names)).begin(); _iter1424 != (*(this->tbl_names)).end(); ++_iter1424) + std::vector ::const_iterator _iter1417; + for (_iter1417 = (*(this->tbl_names)).begin(); _iter1417 != (*(this->tbl_names)).end(); ++_iter1417) { - xfer += oprot->writeString((*_iter1424)); + xfer += oprot->writeString((*_iter1417)); } 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 _size1425; - ::apache::thrift::protocol::TType _etype1428; - xfer += iprot->readListBegin(_etype1428, _size1425); - this->success.resize(_size1425); - uint32_t _i1429; - for (_i1429 = 0; _i1429 < _size1425; ++_i1429) + uint32_t _size1418; + ::apache::thrift::protocol::TType _etype1421; + xfer += iprot->readListBegin(_etype1421, _size1418); + this->success.resize(_size1418); + uint32_t _i1422; + for (_i1422 = 0; _i1422 < _size1418; ++_i1422) { - xfer += this->success[_i1429].read(iprot); + xfer += this->success[_i1422].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 _iter1430; - for (_iter1430 = this->success.begin(); _iter1430 != this->success.end(); ++_iter1430) + std::vector
::const_iterator _iter1423; + for (_iter1423 = this->success.begin(); _iter1423 != this->success.end(); ++_iter1423) { - xfer += (*_iter1430).write(oprot); + xfer += (*_iter1423).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 _size1431; - ::apache::thrift::protocol::TType _etype1434; - xfer += iprot->readListBegin(_etype1434, _size1431); - (*(this->success)).resize(_size1431); - uint32_t _i1435; - for (_i1435 = 0; _i1435 < _size1431; ++_i1435) + uint32_t _size1424; + ::apache::thrift::protocol::TType _etype1427; + xfer += iprot->readListBegin(_etype1427, _size1424); + (*(this->success)).resize(_size1424); + uint32_t _i1428; + for (_i1428 = 0; _i1428 < _size1424; ++_i1428) { - xfer += (*(this->success))[_i1435].read(iprot); + xfer += (*(this->success))[_i1428].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 _size1436; - ::apache::thrift::protocol::TType _etype1439; - xfer += iprot->readListBegin(_etype1439, _size1436); - this->tbl_names.resize(_size1436); - uint32_t _i1440; - for (_i1440 = 0; _i1440 < _size1436; ++_i1440) - { - xfer += iprot->readString(this->tbl_names[_i1440]); - } - 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 _iter1441; - for (_iter1441 = this->tbl_names.begin(); _iter1441 != this->tbl_names.end(); ++_iter1441) - { - xfer += oprot->writeString((*_iter1441)); - } - 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 _iter1442; - for (_iter1442 = (*(this->tbl_names)).begin(); _iter1442 != (*(this->tbl_names)).end(); ++_iter1442) - { - xfer += oprot->writeString((*_iter1442)); - } - 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 _size1443; - ::apache::thrift::protocol::TType _ktype1444; - ::apache::thrift::protocol::TType _vtype1445; - xfer += iprot->readMapBegin(_ktype1444, _vtype1445, _size1443); - uint32_t _i1447; - for (_i1447 = 0; _i1447 < _size1443; ++_i1447) - { - std::string _key1448; - xfer += iprot->readString(_key1448); - Materialization& _val1449 = this->success[_key1448]; - xfer += _val1449.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 _iter1450; - for (_iter1450 = this->success.begin(); _iter1450 != this->success.end(); ++_iter1450) - { - xfer += oprot->writeString(_iter1450->first); - xfer += _iter1450->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 _size1451; - ::apache::thrift::protocol::TType _ktype1452; - ::apache::thrift::protocol::TType _vtype1453; - xfer += iprot->readMapBegin(_ktype1452, _vtype1453, _size1451); - uint32_t _i1455; - for (_i1455 = 0; _i1455 < _size1451; ++_i1455) - { - std::string _key1456; - xfer += iprot->readString(_key1456); - Materialization& _val1457 = (*(this->success))[_key1456]; - xfer += _val1457.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 _size1458; - ::apache::thrift::protocol::TType _etype1461; - xfer += iprot->readListBegin(_etype1461, _size1458); - this->success.resize(_size1458); - uint32_t _i1462; - for (_i1462 = 0; _i1462 < _size1458; ++_i1462) + uint32_t _size1429; + ::apache::thrift::protocol::TType _etype1432; + xfer += iprot->readListBegin(_etype1432, _size1429); + this->success.resize(_size1429); + uint32_t _i1433; + for (_i1433 = 0; _i1433 < _size1429; ++_i1433) { - xfer += iprot->readString(this->success[_i1462]); + xfer += iprot->readString(this->success[_i1433]); } 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 _iter1463; - for (_iter1463 = this->success.begin(); _iter1463 != this->success.end(); ++_iter1463) + std::vector ::const_iterator _iter1434; + for (_iter1434 = this->success.begin(); _iter1434 != this->success.end(); ++_iter1434) { - xfer += oprot->writeString((*_iter1463)); + xfer += oprot->writeString((*_iter1434)); } 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 _size1464; - ::apache::thrift::protocol::TType _etype1467; - xfer += iprot->readListBegin(_etype1467, _size1464); - (*(this->success)).resize(_size1464); - uint32_t _i1468; - for (_i1468 = 0; _i1468 < _size1464; ++_i1468) + uint32_t _size1435; + ::apache::thrift::protocol::TType _etype1438; + xfer += iprot->readListBegin(_etype1438, _size1435); + (*(this->success)).resize(_size1435); + uint32_t _i1439; + for (_i1439 = 0; _i1439 < _size1435; ++_i1439) { - xfer += iprot->readString((*(this->success))[_i1468]); + xfer += iprot->readString((*(this->success))[_i1439]); } 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 _size1469; - ::apache::thrift::protocol::TType _etype1472; - xfer += iprot->readListBegin(_etype1472, _size1469); - this->new_parts.resize(_size1469); - uint32_t _i1473; - for (_i1473 = 0; _i1473 < _size1469; ++_i1473) + uint32_t _size1440; + ::apache::thrift::protocol::TType _etype1443; + xfer += iprot->readListBegin(_etype1443, _size1440); + this->new_parts.resize(_size1440); + uint32_t _i1444; + for (_i1444 = 0; _i1444 < _size1440; ++_i1444) { - xfer += this->new_parts[_i1473].read(iprot); + xfer += this->new_parts[_i1444].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 _iter1474; - for (_iter1474 = this->new_parts.begin(); _iter1474 != this->new_parts.end(); ++_iter1474) + std::vector ::const_iterator _iter1445; + for (_iter1445 = this->new_parts.begin(); _iter1445 != this->new_parts.end(); ++_iter1445) { - xfer += (*_iter1474).write(oprot); + xfer += (*_iter1445).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 _iter1475; - for (_iter1475 = (*(this->new_parts)).begin(); _iter1475 != (*(this->new_parts)).end(); ++_iter1475) + std::vector ::const_iterator _iter1446; + for (_iter1446 = (*(this->new_parts)).begin(); _iter1446 != (*(this->new_parts)).end(); ++_iter1446) { - xfer += (*_iter1475).write(oprot); + xfer += (*_iter1446).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 _size1476; - ::apache::thrift::protocol::TType _etype1479; - xfer += iprot->readListBegin(_etype1479, _size1476); - this->new_parts.resize(_size1476); - uint32_t _i1480; - for (_i1480 = 0; _i1480 < _size1476; ++_i1480) + uint32_t _size1447; + ::apache::thrift::protocol::TType _etype1450; + xfer += iprot->readListBegin(_etype1450, _size1447); + this->new_parts.resize(_size1447); + uint32_t _i1451; + for (_i1451 = 0; _i1451 < _size1447; ++_i1451) { - xfer += this->new_parts[_i1480].read(iprot); + xfer += this->new_parts[_i1451].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 _iter1481; - for (_iter1481 = this->new_parts.begin(); _iter1481 != this->new_parts.end(); ++_iter1481) + std::vector ::const_iterator _iter1452; + for (_iter1452 = this->new_parts.begin(); _iter1452 != this->new_parts.end(); ++_iter1452) { - xfer += (*_iter1481).write(oprot); + xfer += (*_iter1452).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 _iter1482; - for (_iter1482 = (*(this->new_parts)).begin(); _iter1482 != (*(this->new_parts)).end(); ++_iter1482) + std::vector ::const_iterator _iter1453; + for (_iter1453 = (*(this->new_parts)).begin(); _iter1453 != (*(this->new_parts)).end(); ++_iter1453) { - xfer += (*_iter1482).write(oprot); + xfer += (*_iter1453).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 _size1483; - ::apache::thrift::protocol::TType _etype1486; - xfer += iprot->readListBegin(_etype1486, _size1483); - this->part_vals.resize(_size1483); - uint32_t _i1487; - for (_i1487 = 0; _i1487 < _size1483; ++_i1487) + uint32_t _size1454; + ::apache::thrift::protocol::TType _etype1457; + xfer += iprot->readListBegin(_etype1457, _size1454); + this->part_vals.resize(_size1454); + uint32_t _i1458; + for (_i1458 = 0; _i1458 < _size1454; ++_i1458) { - xfer += iprot->readString(this->part_vals[_i1487]); + xfer += iprot->readString(this->part_vals[_i1458]); } 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 _iter1488; - for (_iter1488 = this->part_vals.begin(); _iter1488 != this->part_vals.end(); ++_iter1488) + std::vector ::const_iterator _iter1459; + for (_iter1459 = this->part_vals.begin(); _iter1459 != this->part_vals.end(); ++_iter1459) { - xfer += oprot->writeString((*_iter1488)); + xfer += oprot->writeString((*_iter1459)); } 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 _iter1489; - for (_iter1489 = (*(this->part_vals)).begin(); _iter1489 != (*(this->part_vals)).end(); ++_iter1489) + std::vector ::const_iterator _iter1460; + for (_iter1460 = (*(this->part_vals)).begin(); _iter1460 != (*(this->part_vals)).end(); ++_iter1460) { - xfer += oprot->writeString((*_iter1489)); + xfer += oprot->writeString((*_iter1460)); } 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 _size1490; - ::apache::thrift::protocol::TType _etype1493; - xfer += iprot->readListBegin(_etype1493, _size1490); - this->part_vals.resize(_size1490); - uint32_t _i1494; - for (_i1494 = 0; _i1494 < _size1490; ++_i1494) + uint32_t _size1461; + ::apache::thrift::protocol::TType _etype1464; + xfer += iprot->readListBegin(_etype1464, _size1461); + this->part_vals.resize(_size1461); + uint32_t _i1465; + for (_i1465 = 0; _i1465 < _size1461; ++_i1465) { - xfer += iprot->readString(this->part_vals[_i1494]); + xfer += iprot->readString(this->part_vals[_i1465]); } 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 _iter1495; - for (_iter1495 = this->part_vals.begin(); _iter1495 != this->part_vals.end(); ++_iter1495) + std::vector ::const_iterator _iter1466; + for (_iter1466 = this->part_vals.begin(); _iter1466 != this->part_vals.end(); ++_iter1466) { - xfer += oprot->writeString((*_iter1495)); + xfer += oprot->writeString((*_iter1466)); } 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 _iter1496; - for (_iter1496 = (*(this->part_vals)).begin(); _iter1496 != (*(this->part_vals)).end(); ++_iter1496) + std::vector ::const_iterator _iter1467; + for (_iter1467 = (*(this->part_vals)).begin(); _iter1467 != (*(this->part_vals)).end(); ++_iter1467) { - xfer += oprot->writeString((*_iter1496)); + xfer += oprot->writeString((*_iter1467)); } 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 _size1497; - ::apache::thrift::protocol::TType _etype1500; - xfer += iprot->readListBegin(_etype1500, _size1497); - this->part_vals.resize(_size1497); - uint32_t _i1501; - for (_i1501 = 0; _i1501 < _size1497; ++_i1501) + uint32_t _size1468; + ::apache::thrift::protocol::TType _etype1471; + xfer += iprot->readListBegin(_etype1471, _size1468); + this->part_vals.resize(_size1468); + uint32_t _i1472; + for (_i1472 = 0; _i1472 < _size1468; ++_i1472) { - xfer += iprot->readString(this->part_vals[_i1501]); + xfer += iprot->readString(this->part_vals[_i1472]); } 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 _iter1502; - for (_iter1502 = this->part_vals.begin(); _iter1502 != this->part_vals.end(); ++_iter1502) + std::vector ::const_iterator _iter1473; + for (_iter1473 = this->part_vals.begin(); _iter1473 != this->part_vals.end(); ++_iter1473) { - xfer += oprot->writeString((*_iter1502)); + xfer += oprot->writeString((*_iter1473)); } 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 _iter1503; - for (_iter1503 = (*(this->part_vals)).begin(); _iter1503 != (*(this->part_vals)).end(); ++_iter1503) + std::vector ::const_iterator _iter1474; + for (_iter1474 = (*(this->part_vals)).begin(); _iter1474 != (*(this->part_vals)).end(); ++_iter1474) { - xfer += oprot->writeString((*_iter1503)); + xfer += oprot->writeString((*_iter1474)); } 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 _size1504; - ::apache::thrift::protocol::TType _etype1507; - xfer += iprot->readListBegin(_etype1507, _size1504); - this->part_vals.resize(_size1504); - uint32_t _i1508; - for (_i1508 = 0; _i1508 < _size1504; ++_i1508) + uint32_t _size1475; + ::apache::thrift::protocol::TType _etype1478; + xfer += iprot->readListBegin(_etype1478, _size1475); + this->part_vals.resize(_size1475); + uint32_t _i1479; + for (_i1479 = 0; _i1479 < _size1475; ++_i1479) { - xfer += iprot->readString(this->part_vals[_i1508]); + xfer += iprot->readString(this->part_vals[_i1479]); } 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 _iter1509; - for (_iter1509 = this->part_vals.begin(); _iter1509 != this->part_vals.end(); ++_iter1509) + std::vector ::const_iterator _iter1480; + for (_iter1480 = this->part_vals.begin(); _iter1480 != this->part_vals.end(); ++_iter1480) { - xfer += oprot->writeString((*_iter1509)); + xfer += oprot->writeString((*_iter1480)); } 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 _iter1510; - for (_iter1510 = (*(this->part_vals)).begin(); _iter1510 != (*(this->part_vals)).end(); ++_iter1510) + std::vector ::const_iterator _iter1481; + for (_iter1481 = (*(this->part_vals)).begin(); _iter1481 != (*(this->part_vals)).end(); ++_iter1481) { - xfer += oprot->writeString((*_iter1510)); + xfer += oprot->writeString((*_iter1481)); } 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 _size1511; - ::apache::thrift::protocol::TType _etype1514; - xfer += iprot->readListBegin(_etype1514, _size1511); - this->part_vals.resize(_size1511); - uint32_t _i1515; - for (_i1515 = 0; _i1515 < _size1511; ++_i1515) + uint32_t _size1482; + ::apache::thrift::protocol::TType _etype1485; + xfer += iprot->readListBegin(_etype1485, _size1482); + this->part_vals.resize(_size1482); + uint32_t _i1486; + for (_i1486 = 0; _i1486 < _size1482; ++_i1486) { - xfer += iprot->readString(this->part_vals[_i1515]); + xfer += iprot->readString(this->part_vals[_i1486]); } 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 _iter1516; - for (_iter1516 = this->part_vals.begin(); _iter1516 != this->part_vals.end(); ++_iter1516) + std::vector ::const_iterator _iter1487; + for (_iter1487 = this->part_vals.begin(); _iter1487 != this->part_vals.end(); ++_iter1487) { - xfer += oprot->writeString((*_iter1516)); + xfer += oprot->writeString((*_iter1487)); } 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 _iter1517; - for (_iter1517 = (*(this->part_vals)).begin(); _iter1517 != (*(this->part_vals)).end(); ++_iter1517) + std::vector ::const_iterator _iter1488; + for (_iter1488 = (*(this->part_vals)).begin(); _iter1488 != (*(this->part_vals)).end(); ++_iter1488) { - xfer += oprot->writeString((*_iter1517)); + xfer += oprot->writeString((*_iter1488)); } 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 _size1518; - ::apache::thrift::protocol::TType _ktype1519; - ::apache::thrift::protocol::TType _vtype1520; - xfer += iprot->readMapBegin(_ktype1519, _vtype1520, _size1518); - uint32_t _i1522; - for (_i1522 = 0; _i1522 < _size1518; ++_i1522) + uint32_t _size1489; + ::apache::thrift::protocol::TType _ktype1490; + ::apache::thrift::protocol::TType _vtype1491; + xfer += iprot->readMapBegin(_ktype1490, _vtype1491, _size1489); + uint32_t _i1493; + for (_i1493 = 0; _i1493 < _size1489; ++_i1493) { - std::string _key1523; - xfer += iprot->readString(_key1523); - std::string& _val1524 = this->partitionSpecs[_key1523]; - xfer += iprot->readString(_val1524); + std::string _key1494; + xfer += iprot->readString(_key1494); + std::string& _val1495 = this->partitionSpecs[_key1494]; + xfer += iprot->readString(_val1495); } 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 _iter1525; - for (_iter1525 = this->partitionSpecs.begin(); _iter1525 != this->partitionSpecs.end(); ++_iter1525) + std::map ::const_iterator _iter1496; + for (_iter1496 = this->partitionSpecs.begin(); _iter1496 != this->partitionSpecs.end(); ++_iter1496) { - xfer += oprot->writeString(_iter1525->first); - xfer += oprot->writeString(_iter1525->second); + xfer += oprot->writeString(_iter1496->first); + xfer += oprot->writeString(_iter1496->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 _iter1526; - for (_iter1526 = (*(this->partitionSpecs)).begin(); _iter1526 != (*(this->partitionSpecs)).end(); ++_iter1526) + std::map ::const_iterator _iter1497; + for (_iter1497 = (*(this->partitionSpecs)).begin(); _iter1497 != (*(this->partitionSpecs)).end(); ++_iter1497) { - xfer += oprot->writeString(_iter1526->first); - xfer += oprot->writeString(_iter1526->second); + xfer += oprot->writeString(_iter1497->first); + xfer += oprot->writeString(_iter1497->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 _size1527; - ::apache::thrift::protocol::TType _ktype1528; - ::apache::thrift::protocol::TType _vtype1529; - xfer += iprot->readMapBegin(_ktype1528, _vtype1529, _size1527); - uint32_t _i1531; - for (_i1531 = 0; _i1531 < _size1527; ++_i1531) + uint32_t _size1498; + ::apache::thrift::protocol::TType _ktype1499; + ::apache::thrift::protocol::TType _vtype1500; + xfer += iprot->readMapBegin(_ktype1499, _vtype1500, _size1498); + uint32_t _i1502; + for (_i1502 = 0; _i1502 < _size1498; ++_i1502) { - std::string _key1532; - xfer += iprot->readString(_key1532); - std::string& _val1533 = this->partitionSpecs[_key1532]; - xfer += iprot->readString(_val1533); + std::string _key1503; + xfer += iprot->readString(_key1503); + std::string& _val1504 = this->partitionSpecs[_key1503]; + xfer += iprot->readString(_val1504); } 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 _iter1534; - for (_iter1534 = this->partitionSpecs.begin(); _iter1534 != this->partitionSpecs.end(); ++_iter1534) + std::map ::const_iterator _iter1505; + for (_iter1505 = this->partitionSpecs.begin(); _iter1505 != this->partitionSpecs.end(); ++_iter1505) { - xfer += oprot->writeString(_iter1534->first); - xfer += oprot->writeString(_iter1534->second); + xfer += oprot->writeString(_iter1505->first); + xfer += oprot->writeString(_iter1505->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 _iter1535; - for (_iter1535 = (*(this->partitionSpecs)).begin(); _iter1535 != (*(this->partitionSpecs)).end(); ++_iter1535) + std::map ::const_iterator _iter1506; + for (_iter1506 = (*(this->partitionSpecs)).begin(); _iter1506 != (*(this->partitionSpecs)).end(); ++_iter1506) { - xfer += oprot->writeString(_iter1535->first); - xfer += oprot->writeString(_iter1535->second); + xfer += oprot->writeString(_iter1506->first); + xfer += oprot->writeString(_iter1506->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 _size1536; - ::apache::thrift::protocol::TType _etype1539; - xfer += iprot->readListBegin(_etype1539, _size1536); - this->success.resize(_size1536); - uint32_t _i1540; - for (_i1540 = 0; _i1540 < _size1536; ++_i1540) + uint32_t _size1507; + ::apache::thrift::protocol::TType _etype1510; + xfer += iprot->readListBegin(_etype1510, _size1507); + this->success.resize(_size1507); + uint32_t _i1511; + for (_i1511 = 0; _i1511 < _size1507; ++_i1511) { - xfer += this->success[_i1540].read(iprot); + xfer += this->success[_i1511].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 _iter1541; - for (_iter1541 = this->success.begin(); _iter1541 != this->success.end(); ++_iter1541) + std::vector ::const_iterator _iter1512; + for (_iter1512 = this->success.begin(); _iter1512 != this->success.end(); ++_iter1512) { - xfer += (*_iter1541).write(oprot); + xfer += (*_iter1512).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 _size1542; - ::apache::thrift::protocol::TType _etype1545; - xfer += iprot->readListBegin(_etype1545, _size1542); - (*(this->success)).resize(_size1542); - uint32_t _i1546; - for (_i1546 = 0; _i1546 < _size1542; ++_i1546) + uint32_t _size1513; + ::apache::thrift::protocol::TType _etype1516; + xfer += iprot->readListBegin(_etype1516, _size1513); + (*(this->success)).resize(_size1513); + uint32_t _i1517; + for (_i1517 = 0; _i1517 < _size1513; ++_i1517) { - xfer += (*(this->success))[_i1546].read(iprot); + xfer += (*(this->success))[_i1517].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 _size1547; - ::apache::thrift::protocol::TType _etype1550; - xfer += iprot->readListBegin(_etype1550, _size1547); - this->part_vals.resize(_size1547); - uint32_t _i1551; - for (_i1551 = 0; _i1551 < _size1547; ++_i1551) + uint32_t _size1518; + ::apache::thrift::protocol::TType _etype1521; + xfer += iprot->readListBegin(_etype1521, _size1518); + this->part_vals.resize(_size1518); + uint32_t _i1522; + for (_i1522 = 0; _i1522 < _size1518; ++_i1522) { - xfer += iprot->readString(this->part_vals[_i1551]); + xfer += iprot->readString(this->part_vals[_i1522]); } 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 _size1552; - ::apache::thrift::protocol::TType _etype1555; - xfer += iprot->readListBegin(_etype1555, _size1552); - this->group_names.resize(_size1552); - uint32_t _i1556; - for (_i1556 = 0; _i1556 < _size1552; ++_i1556) + uint32_t _size1523; + ::apache::thrift::protocol::TType _etype1526; + xfer += iprot->readListBegin(_etype1526, _size1523); + this->group_names.resize(_size1523); + uint32_t _i1527; + for (_i1527 = 0; _i1527 < _size1523; ++_i1527) { - xfer += iprot->readString(this->group_names[_i1556]); + xfer += iprot->readString(this->group_names[_i1527]); } 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 _iter1557; - for (_iter1557 = this->part_vals.begin(); _iter1557 != this->part_vals.end(); ++_iter1557) + std::vector ::const_iterator _iter1528; + for (_iter1528 = this->part_vals.begin(); _iter1528 != this->part_vals.end(); ++_iter1528) { - xfer += oprot->writeString((*_iter1557)); + xfer += oprot->writeString((*_iter1528)); } 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 _iter1558; - for (_iter1558 = this->group_names.begin(); _iter1558 != this->group_names.end(); ++_iter1558) + std::vector ::const_iterator _iter1529; + for (_iter1529 = this->group_names.begin(); _iter1529 != this->group_names.end(); ++_iter1529) { - xfer += oprot->writeString((*_iter1558)); + xfer += oprot->writeString((*_iter1529)); } 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 _iter1559; - for (_iter1559 = (*(this->part_vals)).begin(); _iter1559 != (*(this->part_vals)).end(); ++_iter1559) + std::vector ::const_iterator _iter1530; + for (_iter1530 = (*(this->part_vals)).begin(); _iter1530 != (*(this->part_vals)).end(); ++_iter1530) { - xfer += oprot->writeString((*_iter1559)); + xfer += oprot->writeString((*_iter1530)); } 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 _iter1560; - for (_iter1560 = (*(this->group_names)).begin(); _iter1560 != (*(this->group_names)).end(); ++_iter1560) + std::vector ::const_iterator _iter1531; + for (_iter1531 = (*(this->group_names)).begin(); _iter1531 != (*(this->group_names)).end(); ++_iter1531) { - xfer += oprot->writeString((*_iter1560)); + xfer += oprot->writeString((*_iter1531)); } 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 _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(); } @@ -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 _iter1566; - for (_iter1566 = this->success.begin(); _iter1566 != this->success.end(); ++_iter1566) + std::vector ::const_iterator _iter1537; + for (_iter1537 = this->success.begin(); _iter1537 != this->success.end(); ++_iter1537) { - xfer += (*_iter1566).write(oprot); + xfer += (*_iter1537).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 _size1567; - ::apache::thrift::protocol::TType _etype1570; - xfer += iprot->readListBegin(_etype1570, _size1567); - (*(this->success)).resize(_size1567); - uint32_t _i1571; - for (_i1571 = 0; _i1571 < _size1567; ++_i1571) + uint32_t _size1538; + ::apache::thrift::protocol::TType _etype1541; + xfer += iprot->readListBegin(_etype1541, _size1538); + (*(this->success)).resize(_size1538); + uint32_t _i1542; + for (_i1542 = 0; _i1542 < _size1538; ++_i1542) { - xfer += (*(this->success))[_i1571].read(iprot); + xfer += (*(this->success))[_i1542].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 _size1572; - ::apache::thrift::protocol::TType _etype1575; - xfer += iprot->readListBegin(_etype1575, _size1572); - this->group_names.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->group_names.resize(_size1543); + uint32_t _i1547; + for (_i1547 = 0; _i1547 < _size1543; ++_i1547) { - xfer += iprot->readString(this->group_names[_i1576]); + xfer += iprot->readString(this->group_names[_i1547]); } 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 _iter1577; - for (_iter1577 = this->group_names.begin(); _iter1577 != this->group_names.end(); ++_iter1577) + std::vector ::const_iterator _iter1548; + for (_iter1548 = this->group_names.begin(); _iter1548 != this->group_names.end(); ++_iter1548) { - xfer += oprot->writeString((*_iter1577)); + xfer += oprot->writeString((*_iter1548)); } 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 _iter1578; - for (_iter1578 = (*(this->group_names)).begin(); _iter1578 != (*(this->group_names)).end(); ++_iter1578) + std::vector ::const_iterator _iter1549; + for (_iter1549 = (*(this->group_names)).begin(); _iter1549 != (*(this->group_names)).end(); ++_iter1549) { - xfer += oprot->writeString((*_iter1578)); + xfer += oprot->writeString((*_iter1549)); } 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 _size1579; - ::apache::thrift::protocol::TType _etype1582; - xfer += iprot->readListBegin(_etype1582, _size1579); - this->success.resize(_size1579); - uint32_t _i1583; - for (_i1583 = 0; _i1583 < _size1579; ++_i1583) + uint32_t _size1550; + ::apache::thrift::protocol::TType _etype1553; + xfer += iprot->readListBegin(_etype1553, _size1550); + this->success.resize(_size1550); + uint32_t _i1554; + for (_i1554 = 0; _i1554 < _size1550; ++_i1554) { - xfer += this->success[_i1583].read(iprot); + xfer += this->success[_i1554].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 _iter1584; - for (_iter1584 = this->success.begin(); _iter1584 != this->success.end(); ++_iter1584) + std::vector ::const_iterator _iter1555; + for (_iter1555 = this->success.begin(); _iter1555 != this->success.end(); ++_iter1555) { - xfer += (*_iter1584).write(oprot); + xfer += (*_iter1555).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 _size1585; - ::apache::thrift::protocol::TType _etype1588; - xfer += iprot->readListBegin(_etype1588, _size1585); - (*(this->success)).resize(_size1585); - uint32_t _i1589; - for (_i1589 = 0; _i1589 < _size1585; ++_i1589) + uint32_t _size1556; + ::apache::thrift::protocol::TType _etype1559; + xfer += iprot->readListBegin(_etype1559, _size1556); + (*(this->success)).resize(_size1556); + uint32_t _i1560; + for (_i1560 = 0; _i1560 < _size1556; ++_i1560) { - xfer += (*(this->success))[_i1589].read(iprot); + xfer += (*(this->success))[_i1560].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 _size1590; - ::apache::thrift::protocol::TType _etype1593; - xfer += iprot->readListBegin(_etype1593, _size1590); - this->success.resize(_size1590); - uint32_t _i1594; - for (_i1594 = 0; _i1594 < _size1590; ++_i1594) + 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) { - xfer += this->success[_i1594].read(iprot); + xfer += this->success[_i1565].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 _iter1595; - for (_iter1595 = this->success.begin(); _iter1595 != this->success.end(); ++_iter1595) + std::vector ::const_iterator _iter1566; + for (_iter1566 = this->success.begin(); _iter1566 != this->success.end(); ++_iter1566) { - xfer += (*_iter1595).write(oprot); + xfer += (*_iter1566).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 _size1596; - ::apache::thrift::protocol::TType _etype1599; - xfer += iprot->readListBegin(_etype1599, _size1596); - (*(this->success)).resize(_size1596); - uint32_t _i1600; - for (_i1600 = 0; _i1600 < _size1596; ++_i1600) + uint32_t _size1567; + ::apache::thrift::protocol::TType _etype1570; + xfer += iprot->readListBegin(_etype1570, _size1567); + (*(this->success)).resize(_size1567); + uint32_t _i1571; + for (_i1571 = 0; _i1571 < _size1567; ++_i1571) { - xfer += (*(this->success))[_i1600].read(iprot); + xfer += (*(this->success))[_i1571].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 _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 += iprot->readString(this->success[_i1605]); + xfer += iprot->readString(this->success[_i1576]); } 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 _iter1606; - for (_iter1606 = this->success.begin(); _iter1606 != this->success.end(); ++_iter1606) + std::vector ::const_iterator _iter1577; + for (_iter1577 = this->success.begin(); _iter1577 != this->success.end(); ++_iter1577) { - xfer += oprot->writeString((*_iter1606)); + xfer += oprot->writeString((*_iter1577)); } 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 _size1607; - ::apache::thrift::protocol::TType _etype1610; - xfer += iprot->readListBegin(_etype1610, _size1607); - (*(this->success)).resize(_size1607); - uint32_t _i1611; - for (_i1611 = 0; _i1611 < _size1607; ++_i1611) + uint32_t _size1578; + ::apache::thrift::protocol::TType _etype1581; + xfer += iprot->readListBegin(_etype1581, _size1578); + (*(this->success)).resize(_size1578); + uint32_t _i1582; + for (_i1582 = 0; _i1582 < _size1578; ++_i1582) { - xfer += iprot->readString((*(this->success))[_i1611]); + xfer += iprot->readString((*(this->success))[_i1582]); } 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 _size1612; - ::apache::thrift::protocol::TType _etype1615; - xfer += iprot->readListBegin(_etype1615, _size1612); - this->part_vals.resize(_size1612); - uint32_t _i1616; - for (_i1616 = 0; _i1616 < _size1612; ++_i1616) + uint32_t _size1583; + ::apache::thrift::protocol::TType _etype1586; + xfer += iprot->readListBegin(_etype1586, _size1583); + this->part_vals.resize(_size1583); + uint32_t _i1587; + for (_i1587 = 0; _i1587 < _size1583; ++_i1587) { - xfer += iprot->readString(this->part_vals[_i1616]); + xfer += iprot->readString(this->part_vals[_i1587]); } 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 _iter1617; - for (_iter1617 = this->part_vals.begin(); _iter1617 != this->part_vals.end(); ++_iter1617) + std::vector ::const_iterator _iter1588; + for (_iter1588 = this->part_vals.begin(); _iter1588 != this->part_vals.end(); ++_iter1588) { - xfer += oprot->writeString((*_iter1617)); + xfer += oprot->writeString((*_iter1588)); } 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 _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(); } @@ -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 _size1619; - ::apache::thrift::protocol::TType _etype1622; - xfer += iprot->readListBegin(_etype1622, _size1619); - this->success.resize(_size1619); - uint32_t _i1623; - for (_i1623 = 0; _i1623 < _size1619; ++_i1623) + uint32_t _size1590; + ::apache::thrift::protocol::TType _etype1593; + xfer += iprot->readListBegin(_etype1593, _size1590); + this->success.resize(_size1590); + uint32_t _i1594; + for (_i1594 = 0; _i1594 < _size1590; ++_i1594) { - xfer += this->success[_i1623].read(iprot); + xfer += this->success[_i1594].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 _iter1624; - for (_iter1624 = this->success.begin(); _iter1624 != this->success.end(); ++_iter1624) + std::vector ::const_iterator _iter1595; + for (_iter1595 = this->success.begin(); _iter1595 != this->success.end(); ++_iter1595) { - xfer += (*_iter1624).write(oprot); + xfer += (*_iter1595).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 _size1625; - ::apache::thrift::protocol::TType _etype1628; - xfer += iprot->readListBegin(_etype1628, _size1625); - (*(this->success)).resize(_size1625); - uint32_t _i1629; - for (_i1629 = 0; _i1629 < _size1625; ++_i1629) + uint32_t _size1596; + ::apache::thrift::protocol::TType _etype1599; + xfer += iprot->readListBegin(_etype1599, _size1596); + (*(this->success)).resize(_size1596); + uint32_t _i1600; + for (_i1600 = 0; _i1600 < _size1596; ++_i1600) { - xfer += (*(this->success))[_i1629].read(iprot); + xfer += (*(this->success))[_i1600].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 _size1630; - ::apache::thrift::protocol::TType _etype1633; - xfer += iprot->readListBegin(_etype1633, _size1630); - this->part_vals.resize(_size1630); - uint32_t _i1634; - for (_i1634 = 0; _i1634 < _size1630; ++_i1634) + uint32_t _size1601; + ::apache::thrift::protocol::TType _etype1604; + xfer += iprot->readListBegin(_etype1604, _size1601); + this->part_vals.resize(_size1601); + uint32_t _i1605; + for (_i1605 = 0; _i1605 < _size1601; ++_i1605) { - xfer += iprot->readString(this->part_vals[_i1634]); + xfer += iprot->readString(this->part_vals[_i1605]); } 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 _size1635; - ::apache::thrift::protocol::TType _etype1638; - xfer += iprot->readListBegin(_etype1638, _size1635); - this->group_names.resize(_size1635); - uint32_t _i1639; - for (_i1639 = 0; _i1639 < _size1635; ++_i1639) + uint32_t _size1606; + ::apache::thrift::protocol::TType _etype1609; + xfer += iprot->readListBegin(_etype1609, _size1606); + this->group_names.resize(_size1606); + uint32_t _i1610; + for (_i1610 = 0; _i1610 < _size1606; ++_i1610) { - xfer += iprot->readString(this->group_names[_i1639]); + xfer += iprot->readString(this->group_names[_i1610]); } 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 _iter1640; - for (_iter1640 = this->part_vals.begin(); _iter1640 != this->part_vals.end(); ++_iter1640) + std::vector ::const_iterator _iter1611; + for (_iter1611 = this->part_vals.begin(); _iter1611 != this->part_vals.end(); ++_iter1611) { - xfer += oprot->writeString((*_iter1640)); + xfer += oprot->writeString((*_iter1611)); } 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 _iter1641; - for (_iter1641 = this->group_names.begin(); _iter1641 != this->group_names.end(); ++_iter1641) + std::vector ::const_iterator _iter1612; + for (_iter1612 = this->group_names.begin(); _iter1612 != this->group_names.end(); ++_iter1612) { - xfer += oprot->writeString((*_iter1641)); + xfer += oprot->writeString((*_iter1612)); } 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 _iter1642; - for (_iter1642 = (*(this->part_vals)).begin(); _iter1642 != (*(this->part_vals)).end(); ++_iter1642) + std::vector ::const_iterator _iter1613; + for (_iter1613 = (*(this->part_vals)).begin(); _iter1613 != (*(this->part_vals)).end(); ++_iter1613) { - xfer += oprot->writeString((*_iter1642)); + xfer += oprot->writeString((*_iter1613)); } 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 _iter1643; - for (_iter1643 = (*(this->group_names)).begin(); _iter1643 != (*(this->group_names)).end(); ++_iter1643) + std::vector ::const_iterator _iter1614; + for (_iter1614 = (*(this->group_names)).begin(); _iter1614 != (*(this->group_names)).end(); ++_iter1614) { - xfer += oprot->writeString((*_iter1643)); + xfer += oprot->writeString((*_iter1614)); } 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 _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 += this->success[_i1648].read(iprot); + xfer += this->success[_i1619].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 _iter1649; - for (_iter1649 = this->success.begin(); _iter1649 != this->success.end(); ++_iter1649) + std::vector ::const_iterator _iter1620; + for (_iter1620 = this->success.begin(); _iter1620 != this->success.end(); ++_iter1620) { - xfer += (*_iter1649).write(oprot); + xfer += (*_iter1620).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 _size1650; - ::apache::thrift::protocol::TType _etype1653; - xfer += iprot->readListBegin(_etype1653, _size1650); - (*(this->success)).resize(_size1650); - uint32_t _i1654; - for (_i1654 = 0; _i1654 < _size1650; ++_i1654) + uint32_t _size1621; + ::apache::thrift::protocol::TType _etype1624; + xfer += iprot->readListBegin(_etype1624, _size1621); + (*(this->success)).resize(_size1621); + uint32_t _i1625; + for (_i1625 = 0; _i1625 < _size1621; ++_i1625) { - xfer += (*(this->success))[_i1654].read(iprot); + xfer += (*(this->success))[_i1625].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 _size1655; - ::apache::thrift::protocol::TType _etype1658; - xfer += iprot->readListBegin(_etype1658, _size1655); - this->part_vals.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->part_vals.resize(_size1626); + uint32_t _i1630; + for (_i1630 = 0; _i1630 < _size1626; ++_i1630) { - xfer += iprot->readString(this->part_vals[_i1659]); + xfer += iprot->readString(this->part_vals[_i1630]); } 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 _iter1660; - for (_iter1660 = this->part_vals.begin(); _iter1660 != this->part_vals.end(); ++_iter1660) + std::vector ::const_iterator _iter1631; + for (_iter1631 = this->part_vals.begin(); _iter1631 != this->part_vals.end(); ++_iter1631) { - xfer += oprot->writeString((*_iter1660)); + xfer += oprot->writeString((*_iter1631)); } 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 _iter1661; - for (_iter1661 = (*(this->part_vals)).begin(); _iter1661 != (*(this->part_vals)).end(); ++_iter1661) + std::vector ::const_iterator _iter1632; + for (_iter1632 = (*(this->part_vals)).begin(); _iter1632 != (*(this->part_vals)).end(); ++_iter1632) { - xfer += oprot->writeString((*_iter1661)); + xfer += oprot->writeString((*_iter1632)); } 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 _size1662; - ::apache::thrift::protocol::TType _etype1665; - xfer += iprot->readListBegin(_etype1665, _size1662); - this->success.resize(_size1662); - uint32_t _i1666; - for (_i1666 = 0; _i1666 < _size1662; ++_i1666) + uint32_t _size1633; + ::apache::thrift::protocol::TType _etype1636; + xfer += iprot->readListBegin(_etype1636, _size1633); + this->success.resize(_size1633); + uint32_t _i1637; + for (_i1637 = 0; _i1637 < _size1633; ++_i1637) { - xfer += iprot->readString(this->success[_i1666]); + xfer += iprot->readString(this->success[_i1637]); } 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 _iter1667; - for (_iter1667 = this->success.begin(); _iter1667 != this->success.end(); ++_iter1667) + std::vector ::const_iterator _iter1638; + for (_iter1638 = this->success.begin(); _iter1638 != this->success.end(); ++_iter1638) { - xfer += oprot->writeString((*_iter1667)); + xfer += oprot->writeString((*_iter1638)); } 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 _size1668; - ::apache::thrift::protocol::TType _etype1671; - xfer += iprot->readListBegin(_etype1671, _size1668); - (*(this->success)).resize(_size1668); - uint32_t _i1672; - for (_i1672 = 0; _i1672 < _size1668; ++_i1672) + uint32_t _size1639; + ::apache::thrift::protocol::TType _etype1642; + xfer += iprot->readListBegin(_etype1642, _size1639); + (*(this->success)).resize(_size1639); + uint32_t _i1643; + for (_i1643 = 0; _i1643 < _size1639; ++_i1643) { - xfer += iprot->readString((*(this->success))[_i1672]); + xfer += iprot->readString((*(this->success))[_i1643]); } 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 _size1673; - ::apache::thrift::protocol::TType _etype1676; - xfer += iprot->readListBegin(_etype1676, _size1673); - this->success.resize(_size1673); - uint32_t _i1677; - for (_i1677 = 0; _i1677 < _size1673; ++_i1677) + 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) { - xfer += this->success[_i1677].read(iprot); + xfer += this->success[_i1648].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 _iter1678; - for (_iter1678 = this->success.begin(); _iter1678 != this->success.end(); ++_iter1678) + std::vector ::const_iterator _iter1649; + for (_iter1649 = this->success.begin(); _iter1649 != this->success.end(); ++_iter1649) { - xfer += (*_iter1678).write(oprot); + xfer += (*_iter1649).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 _size1679; - ::apache::thrift::protocol::TType _etype1682; - xfer += iprot->readListBegin(_etype1682, _size1679); - (*(this->success)).resize(_size1679); - uint32_t _i1683; - for (_i1683 = 0; _i1683 < _size1679; ++_i1683) + uint32_t _size1650; + ::apache::thrift::protocol::TType _etype1653; + xfer += iprot->readListBegin(_etype1653, _size1650); + (*(this->success)).resize(_size1650); + uint32_t _i1654; + for (_i1654 = 0; _i1654 < _size1650; ++_i1654) { - xfer += (*(this->success))[_i1683].read(iprot); + xfer += (*(this->success))[_i1654].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 _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(); } @@ -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 _iter1689; - for (_iter1689 = this->success.begin(); _iter1689 != this->success.end(); ++_iter1689) + std::vector ::const_iterator _iter1660; + for (_iter1660 = this->success.begin(); _iter1660 != this->success.end(); ++_iter1660) { - xfer += (*_iter1689).write(oprot); + xfer += (*_iter1660).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 _size1690; - ::apache::thrift::protocol::TType _etype1693; - xfer += iprot->readListBegin(_etype1693, _size1690); - (*(this->success)).resize(_size1690); - uint32_t _i1694; - for (_i1694 = 0; _i1694 < _size1690; ++_i1694) + uint32_t _size1661; + ::apache::thrift::protocol::TType _etype1664; + xfer += iprot->readListBegin(_etype1664, _size1661); + (*(this->success)).resize(_size1661); + uint32_t _i1665; + for (_i1665 = 0; _i1665 < _size1661; ++_i1665) { - xfer += (*(this->success))[_i1694].read(iprot); + xfer += (*(this->success))[_i1665].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 _size1695; - ::apache::thrift::protocol::TType _etype1698; - xfer += iprot->readListBegin(_etype1698, _size1695); - this->names.resize(_size1695); - uint32_t _i1699; - for (_i1699 = 0; _i1699 < _size1695; ++_i1699) + uint32_t _size1666; + ::apache::thrift::protocol::TType _etype1669; + xfer += iprot->readListBegin(_etype1669, _size1666); + this->names.resize(_size1666); + uint32_t _i1670; + for (_i1670 = 0; _i1670 < _size1666; ++_i1670) { - xfer += iprot->readString(this->names[_i1699]); + xfer += iprot->readString(this->names[_i1670]); } 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 _iter1700; - for (_iter1700 = this->names.begin(); _iter1700 != this->names.end(); ++_iter1700) + std::vector ::const_iterator _iter1671; + for (_iter1671 = this->names.begin(); _iter1671 != this->names.end(); ++_iter1671) { - xfer += oprot->writeString((*_iter1700)); + xfer += oprot->writeString((*_iter1671)); } 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 _iter1701; - for (_iter1701 = (*(this->names)).begin(); _iter1701 != (*(this->names)).end(); ++_iter1701) + std::vector ::const_iterator _iter1672; + for (_iter1672 = (*(this->names)).begin(); _iter1672 != (*(this->names)).end(); ++_iter1672) { - xfer += oprot->writeString((*_iter1701)); + xfer += oprot->writeString((*_iter1672)); } 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 _size1702; - ::apache::thrift::protocol::TType _etype1705; - xfer += iprot->readListBegin(_etype1705, _size1702); - this->success.resize(_size1702); - uint32_t _i1706; - for (_i1706 = 0; _i1706 < _size1702; ++_i1706) + uint32_t _size1673; + ::apache::thrift::protocol::TType _etype1676; + xfer += iprot->readListBegin(_etype1676, _size1673); + this->success.resize(_size1673); + uint32_t _i1677; + for (_i1677 = 0; _i1677 < _size1673; ++_i1677) { - xfer += this->success[_i1706].read(iprot); + xfer += this->success[_i1677].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 _iter1707; - for (_iter1707 = this->success.begin(); _iter1707 != this->success.end(); ++_iter1707) + std::vector ::const_iterator _iter1678; + for (_iter1678 = this->success.begin(); _iter1678 != this->success.end(); ++_iter1678) { - xfer += (*_iter1707).write(oprot); + xfer += (*_iter1678).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 _size1708; - ::apache::thrift::protocol::TType _etype1711; - xfer += iprot->readListBegin(_etype1711, _size1708); - (*(this->success)).resize(_size1708); - uint32_t _i1712; - for (_i1712 = 0; _i1712 < _size1708; ++_i1712) + uint32_t _size1679; + ::apache::thrift::protocol::TType _etype1682; + xfer += iprot->readListBegin(_etype1682, _size1679); + (*(this->success)).resize(_size1679); + uint32_t _i1683; + for (_i1683 = 0; _i1683 < _size1679; ++_i1683) { - xfer += (*(this->success))[_i1712].read(iprot); + xfer += (*(this->success))[_i1683].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 _size1713; - ::apache::thrift::protocol::TType _etype1716; - xfer += iprot->readListBegin(_etype1716, _size1713); - this->new_parts.resize(_size1713); - uint32_t _i1717; - for (_i1717 = 0; _i1717 < _size1713; ++_i1717) + uint32_t _size1684; + ::apache::thrift::protocol::TType _etype1687; + xfer += iprot->readListBegin(_etype1687, _size1684); + this->new_parts.resize(_size1684); + uint32_t _i1688; + for (_i1688 = 0; _i1688 < _size1684; ++_i1688) { - xfer += this->new_parts[_i1717].read(iprot); + xfer += this->new_parts[_i1688].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 _iter1718; - for (_iter1718 = this->new_parts.begin(); _iter1718 != this->new_parts.end(); ++_iter1718) + std::vector ::const_iterator _iter1689; + for (_iter1689 = this->new_parts.begin(); _iter1689 != this->new_parts.end(); ++_iter1689) { - xfer += (*_iter1718).write(oprot); + xfer += (*_iter1689).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 _iter1719; - for (_iter1719 = (*(this->new_parts)).begin(); _iter1719 != (*(this->new_parts)).end(); ++_iter1719) + std::vector ::const_iterator _iter1690; + for (_iter1690 = (*(this->new_parts)).begin(); _iter1690 != (*(this->new_parts)).end(); ++_iter1690) { - xfer += (*_iter1719).write(oprot); + xfer += (*_iter1690).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 _size1720; - ::apache::thrift::protocol::TType _etype1723; - xfer += iprot->readListBegin(_etype1723, _size1720); - this->new_parts.resize(_size1720); - uint32_t _i1724; - for (_i1724 = 0; _i1724 < _size1720; ++_i1724) + uint32_t _size1691; + ::apache::thrift::protocol::TType _etype1694; + xfer += iprot->readListBegin(_etype1694, _size1691); + this->new_parts.resize(_size1691); + uint32_t _i1695; + for (_i1695 = 0; _i1695 < _size1691; ++_i1695) { - xfer += this->new_parts[_i1724].read(iprot); + xfer += this->new_parts[_i1695].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 _iter1725; - for (_iter1725 = this->new_parts.begin(); _iter1725 != this->new_parts.end(); ++_iter1725) + std::vector ::const_iterator _iter1696; + for (_iter1696 = this->new_parts.begin(); _iter1696 != this->new_parts.end(); ++_iter1696) { - xfer += (*_iter1725).write(oprot); + xfer += (*_iter1696).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 _iter1726; - for (_iter1726 = (*(this->new_parts)).begin(); _iter1726 != (*(this->new_parts)).end(); ++_iter1726) + std::vector ::const_iterator _iter1697; + for (_iter1697 = (*(this->new_parts)).begin(); _iter1697 != (*(this->new_parts)).end(); ++_iter1697) { - xfer += (*_iter1726).write(oprot); + xfer += (*_iter1697).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 _size1727; - ::apache::thrift::protocol::TType _etype1730; - xfer += iprot->readListBegin(_etype1730, _size1727); - this->part_vals.resize(_size1727); - uint32_t _i1731; - for (_i1731 = 0; _i1731 < _size1727; ++_i1731) + uint32_t _size1698; + ::apache::thrift::protocol::TType _etype1701; + xfer += iprot->readListBegin(_etype1701, _size1698); + this->part_vals.resize(_size1698); + uint32_t _i1702; + for (_i1702 = 0; _i1702 < _size1698; ++_i1702) { - xfer += iprot->readString(this->part_vals[_i1731]); + xfer += iprot->readString(this->part_vals[_i1702]); } 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 _iter1732; - for (_iter1732 = this->part_vals.begin(); _iter1732 != this->part_vals.end(); ++_iter1732) + std::vector ::const_iterator _iter1703; + for (_iter1703 = this->part_vals.begin(); _iter1703 != this->part_vals.end(); ++_iter1703) { - xfer += oprot->writeString((*_iter1732)); + xfer += oprot->writeString((*_iter1703)); } 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 _iter1733; - for (_iter1733 = (*(this->part_vals)).begin(); _iter1733 != (*(this->part_vals)).end(); ++_iter1733) + std::vector ::const_iterator _iter1704; + for (_iter1704 = (*(this->part_vals)).begin(); _iter1704 != (*(this->part_vals)).end(); ++_iter1704) { - xfer += oprot->writeString((*_iter1733)); + xfer += oprot->writeString((*_iter1704)); } 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 _size1734; - ::apache::thrift::protocol::TType _etype1737; - xfer += iprot->readListBegin(_etype1737, _size1734); - this->part_vals.resize(_size1734); - uint32_t _i1738; - for (_i1738 = 0; _i1738 < _size1734; ++_i1738) + uint32_t _size1705; + ::apache::thrift::protocol::TType _etype1708; + xfer += iprot->readListBegin(_etype1708, _size1705); + this->part_vals.resize(_size1705); + uint32_t _i1709; + for (_i1709 = 0; _i1709 < _size1705; ++_i1709) { - xfer += iprot->readString(this->part_vals[_i1738]); + xfer += iprot->readString(this->part_vals[_i1709]); } 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 _iter1739; - for (_iter1739 = this->part_vals.begin(); _iter1739 != this->part_vals.end(); ++_iter1739) + std::vector ::const_iterator _iter1710; + for (_iter1710 = this->part_vals.begin(); _iter1710 != this->part_vals.end(); ++_iter1710) { - xfer += oprot->writeString((*_iter1739)); + xfer += oprot->writeString((*_iter1710)); } 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 _iter1740; - for (_iter1740 = (*(this->part_vals)).begin(); _iter1740 != (*(this->part_vals)).end(); ++_iter1740) + std::vector ::const_iterator _iter1711; + for (_iter1711 = (*(this->part_vals)).begin(); _iter1711 != (*(this->part_vals)).end(); ++_iter1711) { - xfer += oprot->writeString((*_iter1740)); + xfer += oprot->writeString((*_iter1711)); } 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 _size1741; - ::apache::thrift::protocol::TType _etype1744; - xfer += iprot->readListBegin(_etype1744, _size1741); - this->success.resize(_size1741); - uint32_t _i1745; - for (_i1745 = 0; _i1745 < _size1741; ++_i1745) + uint32_t _size1712; + ::apache::thrift::protocol::TType _etype1715; + xfer += iprot->readListBegin(_etype1715, _size1712); + this->success.resize(_size1712); + uint32_t _i1716; + for (_i1716 = 0; _i1716 < _size1712; ++_i1716) { - xfer += iprot->readString(this->success[_i1745]); + xfer += iprot->readString(this->success[_i1716]); } 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 _iter1746; - for (_iter1746 = this->success.begin(); _iter1746 != this->success.end(); ++_iter1746) + std::vector ::const_iterator _iter1717; + for (_iter1717 = this->success.begin(); _iter1717 != this->success.end(); ++_iter1717) { - xfer += oprot->writeString((*_iter1746)); + xfer += oprot->writeString((*_iter1717)); } 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 _size1747; - ::apache::thrift::protocol::TType _etype1750; - xfer += iprot->readListBegin(_etype1750, _size1747); - (*(this->success)).resize(_size1747); - uint32_t _i1751; - for (_i1751 = 0; _i1751 < _size1747; ++_i1751) + uint32_t _size1718; + ::apache::thrift::protocol::TType _etype1721; + xfer += iprot->readListBegin(_etype1721, _size1718); + (*(this->success)).resize(_size1718); + uint32_t _i1722; + for (_i1722 = 0; _i1722 < _size1718; ++_i1722) { - xfer += iprot->readString((*(this->success))[_i1751]); + xfer += iprot->readString((*(this->success))[_i1722]); } 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 _size1752; - ::apache::thrift::protocol::TType _ktype1753; - ::apache::thrift::protocol::TType _vtype1754; - xfer += iprot->readMapBegin(_ktype1753, _vtype1754, _size1752); - uint32_t _i1756; - for (_i1756 = 0; _i1756 < _size1752; ++_i1756) + uint32_t _size1723; + ::apache::thrift::protocol::TType _ktype1724; + ::apache::thrift::protocol::TType _vtype1725; + xfer += iprot->readMapBegin(_ktype1724, _vtype1725, _size1723); + uint32_t _i1727; + for (_i1727 = 0; _i1727 < _size1723; ++_i1727) { - std::string _key1757; - xfer += iprot->readString(_key1757); - std::string& _val1758 = this->success[_key1757]; - xfer += iprot->readString(_val1758); + std::string _key1728; + xfer += iprot->readString(_key1728); + std::string& _val1729 = this->success[_key1728]; + xfer += iprot->readString(_val1729); } 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 _iter1759; - for (_iter1759 = this->success.begin(); _iter1759 != this->success.end(); ++_iter1759) + std::map ::const_iterator _iter1730; + for (_iter1730 = this->success.begin(); _iter1730 != this->success.end(); ++_iter1730) { - xfer += oprot->writeString(_iter1759->first); - xfer += oprot->writeString(_iter1759->second); + xfer += oprot->writeString(_iter1730->first); + xfer += oprot->writeString(_iter1730->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 _size1760; - ::apache::thrift::protocol::TType _ktype1761; - ::apache::thrift::protocol::TType _vtype1762; - xfer += iprot->readMapBegin(_ktype1761, _vtype1762, _size1760); - uint32_t _i1764; - for (_i1764 = 0; _i1764 < _size1760; ++_i1764) + uint32_t _size1731; + ::apache::thrift::protocol::TType _ktype1732; + ::apache::thrift::protocol::TType _vtype1733; + xfer += iprot->readMapBegin(_ktype1732, _vtype1733, _size1731); + uint32_t _i1735; + for (_i1735 = 0; _i1735 < _size1731; ++_i1735) { - std::string _key1765; - xfer += iprot->readString(_key1765); - std::string& _val1766 = (*(this->success))[_key1765]; - xfer += iprot->readString(_val1766); + std::string _key1736; + xfer += iprot->readString(_key1736); + std::string& _val1737 = (*(this->success))[_key1736]; + xfer += iprot->readString(_val1737); } 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 _size1767; - ::apache::thrift::protocol::TType _ktype1768; - ::apache::thrift::protocol::TType _vtype1769; - xfer += iprot->readMapBegin(_ktype1768, _vtype1769, _size1767); - uint32_t _i1771; - for (_i1771 = 0; _i1771 < _size1767; ++_i1771) + uint32_t _size1738; + ::apache::thrift::protocol::TType _ktype1739; + ::apache::thrift::protocol::TType _vtype1740; + xfer += iprot->readMapBegin(_ktype1739, _vtype1740, _size1738); + uint32_t _i1742; + for (_i1742 = 0; _i1742 < _size1738; ++_i1742) { - std::string _key1772; - xfer += iprot->readString(_key1772); - std::string& _val1773 = this->part_vals[_key1772]; - xfer += iprot->readString(_val1773); + std::string _key1743; + xfer += iprot->readString(_key1743); + std::string& _val1744 = this->part_vals[_key1743]; + xfer += iprot->readString(_val1744); } 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 ecast1774; - xfer += iprot->readI32(ecast1774); - this->eventType = (PartitionEventType::type)ecast1774; + int32_t ecast1745; + xfer += iprot->readI32(ecast1745); + this->eventType = (PartitionEventType::type)ecast1745; 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 _iter1775; - for (_iter1775 = this->part_vals.begin(); _iter1775 != this->part_vals.end(); ++_iter1775) + std::map ::const_iterator _iter1746; + for (_iter1746 = this->part_vals.begin(); _iter1746 != this->part_vals.end(); ++_iter1746) { - xfer += oprot->writeString(_iter1775->first); - xfer += oprot->writeString(_iter1775->second); + xfer += oprot->writeString(_iter1746->first); + xfer += oprot->writeString(_iter1746->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 _iter1776; - for (_iter1776 = (*(this->part_vals)).begin(); _iter1776 != (*(this->part_vals)).end(); ++_iter1776) + std::map ::const_iterator _iter1747; + for (_iter1747 = (*(this->part_vals)).begin(); _iter1747 != (*(this->part_vals)).end(); ++_iter1747) { - xfer += oprot->writeString(_iter1776->first); - xfer += oprot->writeString(_iter1776->second); + xfer += oprot->writeString(_iter1747->first); + xfer += oprot->writeString(_iter1747->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 _size1777; - ::apache::thrift::protocol::TType _ktype1778; - ::apache::thrift::protocol::TType _vtype1779; - xfer += iprot->readMapBegin(_ktype1778, _vtype1779, _size1777); - uint32_t _i1781; - for (_i1781 = 0; _i1781 < _size1777; ++_i1781) + uint32_t _size1748; + ::apache::thrift::protocol::TType _ktype1749; + ::apache::thrift::protocol::TType _vtype1750; + xfer += iprot->readMapBegin(_ktype1749, _vtype1750, _size1748); + uint32_t _i1752; + for (_i1752 = 0; _i1752 < _size1748; ++_i1752) { - std::string _key1782; - xfer += iprot->readString(_key1782); - std::string& _val1783 = this->part_vals[_key1782]; - xfer += iprot->readString(_val1783); + std::string _key1753; + xfer += iprot->readString(_key1753); + std::string& _val1754 = this->part_vals[_key1753]; + xfer += iprot->readString(_val1754); } 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 ecast1784; - xfer += iprot->readI32(ecast1784); - this->eventType = (PartitionEventType::type)ecast1784; + int32_t ecast1755; + xfer += iprot->readI32(ecast1755); + this->eventType = (PartitionEventType::type)ecast1755; 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 _iter1785; - for (_iter1785 = this->part_vals.begin(); _iter1785 != this->part_vals.end(); ++_iter1785) + std::map ::const_iterator _iter1756; + for (_iter1756 = this->part_vals.begin(); _iter1756 != this->part_vals.end(); ++_iter1756) { - xfer += oprot->writeString(_iter1785->first); - xfer += oprot->writeString(_iter1785->second); + xfer += oprot->writeString(_iter1756->first); + xfer += oprot->writeString(_iter1756->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 _iter1786; - for (_iter1786 = (*(this->part_vals)).begin(); _iter1786 != (*(this->part_vals)).end(); ++_iter1786) + std::map ::const_iterator _iter1757; + for (_iter1757 = (*(this->part_vals)).begin(); _iter1757 != (*(this->part_vals)).end(); ++_iter1757) { - xfer += oprot->writeString(_iter1786->first); - xfer += oprot->writeString(_iter1786->second); + xfer += oprot->writeString(_iter1757->first); + xfer += oprot->writeString(_iter1757->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 _size1787; - ::apache::thrift::protocol::TType _etype1790; - xfer += iprot->readListBegin(_etype1790, _size1787); - this->success.resize(_size1787); - uint32_t _i1791; - for (_i1791 = 0; _i1791 < _size1787; ++_i1791) + uint32_t _size1758; + ::apache::thrift::protocol::TType _etype1761; + xfer += iprot->readListBegin(_etype1761, _size1758); + this->success.resize(_size1758); + uint32_t _i1762; + for (_i1762 = 0; _i1762 < _size1758; ++_i1762) { - xfer += iprot->readString(this->success[_i1791]); + xfer += iprot->readString(this->success[_i1762]); } 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 _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1763; + for (_iter1763 = this->success.begin(); _iter1763 != this->success.end(); ++_iter1763) { - xfer += oprot->writeString((*_iter1792)); + xfer += oprot->writeString((*_iter1763)); } 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 _size1793; - ::apache::thrift::protocol::TType _etype1796; - xfer += iprot->readListBegin(_etype1796, _size1793); - (*(this->success)).resize(_size1793); - uint32_t _i1797; - for (_i1797 = 0; _i1797 < _size1793; ++_i1797) + uint32_t _size1764; + ::apache::thrift::protocol::TType _etype1767; + xfer += iprot->readListBegin(_etype1767, _size1764); + (*(this->success)).resize(_size1764); + uint32_t _i1768; + for (_i1768 = 0; _i1768 < _size1764; ++_i1768) { - xfer += iprot->readString((*(this->success))[_i1797]); + xfer += iprot->readString((*(this->success))[_i1768]); } 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 _size1798; - ::apache::thrift::protocol::TType _etype1801; - xfer += iprot->readListBegin(_etype1801, _size1798); - this->success.resize(_size1798); - uint32_t _i1802; - for (_i1802 = 0; _i1802 < _size1798; ++_i1802) + 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) { - xfer += iprot->readString(this->success[_i1802]); + xfer += iprot->readString(this->success[_i1773]); } 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 _iter1803; - for (_iter1803 = this->success.begin(); _iter1803 != this->success.end(); ++_iter1803) + std::vector ::const_iterator _iter1774; + for (_iter1774 = this->success.begin(); _iter1774 != this->success.end(); ++_iter1774) { - xfer += oprot->writeString((*_iter1803)); + xfer += oprot->writeString((*_iter1774)); } 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 _size1804; - ::apache::thrift::protocol::TType _etype1807; - xfer += iprot->readListBegin(_etype1807, _size1804); - (*(this->success)).resize(_size1804); - uint32_t _i1808; - for (_i1808 = 0; _i1808 < _size1804; ++_i1808) + uint32_t _size1775; + ::apache::thrift::protocol::TType _etype1778; + xfer += iprot->readListBegin(_etype1778, _size1775); + (*(this->success)).resize(_size1775); + uint32_t _i1779; + for (_i1779 = 0; _i1779 < _size1775; ++_i1779) { - xfer += iprot->readString((*(this->success))[_i1808]); + xfer += iprot->readString((*(this->success))[_i1779]); } 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 ecast1809; - xfer += iprot->readI32(ecast1809); - this->principal_type = (PrincipalType::type)ecast1809; + int32_t ecast1780; + xfer += iprot->readI32(ecast1780); + this->principal_type = (PrincipalType::type)ecast1780; 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 ecast1810; - xfer += iprot->readI32(ecast1810); - this->grantorType = (PrincipalType::type)ecast1810; + int32_t ecast1781; + xfer += iprot->readI32(ecast1781); + this->grantorType = (PrincipalType::type)ecast1781; 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 ecast1811; - xfer += iprot->readI32(ecast1811); - this->principal_type = (PrincipalType::type)ecast1811; + int32_t ecast1782; + xfer += iprot->readI32(ecast1782); + this->principal_type = (PrincipalType::type)ecast1782; 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 ecast1812; - xfer += iprot->readI32(ecast1812); - this->principal_type = (PrincipalType::type)ecast1812; + int32_t ecast1783; + xfer += iprot->readI32(ecast1783); + this->principal_type = (PrincipalType::type)ecast1783; 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 _size1813; - ::apache::thrift::protocol::TType _etype1816; - xfer += iprot->readListBegin(_etype1816, _size1813); - this->success.resize(_size1813); - uint32_t _i1817; - for (_i1817 = 0; _i1817 < _size1813; ++_i1817) + uint32_t _size1784; + ::apache::thrift::protocol::TType _etype1787; + xfer += iprot->readListBegin(_etype1787, _size1784); + this->success.resize(_size1784); + uint32_t _i1788; + for (_i1788 = 0; _i1788 < _size1784; ++_i1788) { - xfer += this->success[_i1817].read(iprot); + xfer += this->success[_i1788].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 _iter1818; - for (_iter1818 = this->success.begin(); _iter1818 != this->success.end(); ++_iter1818) + std::vector ::const_iterator _iter1789; + for (_iter1789 = this->success.begin(); _iter1789 != this->success.end(); ++_iter1789) { - xfer += (*_iter1818).write(oprot); + xfer += (*_iter1789).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 _size1819; - ::apache::thrift::protocol::TType _etype1822; - xfer += iprot->readListBegin(_etype1822, _size1819); - (*(this->success)).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->success)).resize(_size1790); + uint32_t _i1794; + for (_i1794 = 0; _i1794 < _size1790; ++_i1794) { - xfer += (*(this->success))[_i1823].read(iprot); + xfer += (*(this->success))[_i1794].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 _size1824; - ::apache::thrift::protocol::TType _etype1827; - xfer += iprot->readListBegin(_etype1827, _size1824); - this->group_names.resize(_size1824); - uint32_t _i1828; - for (_i1828 = 0; _i1828 < _size1824; ++_i1828) + uint32_t _size1795; + ::apache::thrift::protocol::TType _etype1798; + xfer += iprot->readListBegin(_etype1798, _size1795); + this->group_names.resize(_size1795); + uint32_t _i1799; + for (_i1799 = 0; _i1799 < _size1795; ++_i1799) { - xfer += iprot->readString(this->group_names[_i1828]); + xfer += iprot->readString(this->group_names[_i1799]); } 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 _iter1829; - for (_iter1829 = this->group_names.begin(); _iter1829 != this->group_names.end(); ++_iter1829) + std::vector ::const_iterator _iter1800; + for (_iter1800 = this->group_names.begin(); _iter1800 != this->group_names.end(); ++_iter1800) { - xfer += oprot->writeString((*_iter1829)); + xfer += oprot->writeString((*_iter1800)); } 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 _iter1830; - for (_iter1830 = (*(this->group_names)).begin(); _iter1830 != (*(this->group_names)).end(); ++_iter1830) + std::vector ::const_iterator _iter1801; + for (_iter1801 = (*(this->group_names)).begin(); _iter1801 != (*(this->group_names)).end(); ++_iter1801) { - xfer += oprot->writeString((*_iter1830)); + xfer += oprot->writeString((*_iter1801)); } 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 ecast1831; - xfer += iprot->readI32(ecast1831); - this->principal_type = (PrincipalType::type)ecast1831; + int32_t ecast1802; + xfer += iprot->readI32(ecast1802); + this->principal_type = (PrincipalType::type)ecast1802; 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 _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 += this->success[_i1836].read(iprot); + xfer += this->success[_i1807].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 _iter1837; - for (_iter1837 = this->success.begin(); _iter1837 != this->success.end(); ++_iter1837) + std::vector ::const_iterator _iter1808; + for (_iter1808 = this->success.begin(); _iter1808 != this->success.end(); ++_iter1808) { - xfer += (*_iter1837).write(oprot); + xfer += (*_iter1808).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 _size1838; - ::apache::thrift::protocol::TType _etype1841; - xfer += iprot->readListBegin(_etype1841, _size1838); - (*(this->success)).resize(_size1838); - uint32_t _i1842; - for (_i1842 = 0; _i1842 < _size1838; ++_i1842) + uint32_t _size1809; + ::apache::thrift::protocol::TType _etype1812; + xfer += iprot->readListBegin(_etype1812, _size1809); + (*(this->success)).resize(_size1809); + uint32_t _i1813; + for (_i1813 = 0; _i1813 < _size1809; ++_i1813) { - xfer += (*(this->success))[_i1842].read(iprot); + xfer += (*(this->success))[_i1813].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 _size1843; - ::apache::thrift::protocol::TType _etype1846; - xfer += iprot->readListBegin(_etype1846, _size1843); - this->group_names.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->group_names.resize(_size1814); + uint32_t _i1818; + for (_i1818 = 0; _i1818 < _size1814; ++_i1818) { - xfer += iprot->readString(this->group_names[_i1847]); + xfer += iprot->readString(this->group_names[_i1818]); } 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 _iter1848; - for (_iter1848 = this->group_names.begin(); _iter1848 != this->group_names.end(); ++_iter1848) + std::vector ::const_iterator _iter1819; + for (_iter1819 = this->group_names.begin(); _iter1819 != this->group_names.end(); ++_iter1819) { - xfer += oprot->writeString((*_iter1848)); + xfer += oprot->writeString((*_iter1819)); } 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 _iter1849; - for (_iter1849 = (*(this->group_names)).begin(); _iter1849 != (*(this->group_names)).end(); ++_iter1849) + std::vector ::const_iterator _iter1820; + for (_iter1820 = (*(this->group_names)).begin(); _iter1820 != (*(this->group_names)).end(); ++_iter1820) { - xfer += oprot->writeString((*_iter1849)); + xfer += oprot->writeString((*_iter1820)); } 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 _size1850; - ::apache::thrift::protocol::TType _etype1853; - xfer += iprot->readListBegin(_etype1853, _size1850); - this->success.resize(_size1850); - uint32_t _i1854; - for (_i1854 = 0; _i1854 < _size1850; ++_i1854) + uint32_t _size1821; + ::apache::thrift::protocol::TType _etype1824; + xfer += iprot->readListBegin(_etype1824, _size1821); + this->success.resize(_size1821); + uint32_t _i1825; + for (_i1825 = 0; _i1825 < _size1821; ++_i1825) { - xfer += iprot->readString(this->success[_i1854]); + xfer += iprot->readString(this->success[_i1825]); } 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 _iter1855; - for (_iter1855 = this->success.begin(); _iter1855 != this->success.end(); ++_iter1855) + std::vector ::const_iterator _iter1826; + for (_iter1826 = this->success.begin(); _iter1826 != this->success.end(); ++_iter1826) { - xfer += oprot->writeString((*_iter1855)); + xfer += oprot->writeString((*_iter1826)); } 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 _size1856; - ::apache::thrift::protocol::TType _etype1859; - xfer += iprot->readListBegin(_etype1859, _size1856); - (*(this->success)).resize(_size1856); - uint32_t _i1860; - for (_i1860 = 0; _i1860 < _size1856; ++_i1860) + uint32_t _size1827; + ::apache::thrift::protocol::TType _etype1830; + xfer += iprot->readListBegin(_etype1830, _size1827); + (*(this->success)).resize(_size1827); + uint32_t _i1831; + for (_i1831 = 0; _i1831 < _size1827; ++_i1831) { - xfer += iprot->readString((*(this->success))[_i1860]); + xfer += iprot->readString((*(this->success))[_i1831]); } 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 _size1861; - ::apache::thrift::protocol::TType _etype1864; - xfer += iprot->readListBegin(_etype1864, _size1861); - this->success.resize(_size1861); - uint32_t _i1865; - for (_i1865 = 0; _i1865 < _size1861; ++_i1865) + 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) { - xfer += iprot->readString(this->success[_i1865]); + xfer += iprot->readString(this->success[_i1836]); } 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 _iter1866; - for (_iter1866 = this->success.begin(); _iter1866 != this->success.end(); ++_iter1866) + std::vector ::const_iterator _iter1837; + for (_iter1837 = this->success.begin(); _iter1837 != this->success.end(); ++_iter1837) { - xfer += oprot->writeString((*_iter1866)); + xfer += oprot->writeString((*_iter1837)); } 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 _size1867; - ::apache::thrift::protocol::TType _etype1870; - xfer += iprot->readListBegin(_etype1870, _size1867); - (*(this->success)).resize(_size1867); - uint32_t _i1871; - for (_i1871 = 0; _i1871 < _size1867; ++_i1871) + uint32_t _size1838; + ::apache::thrift::protocol::TType _etype1841; + xfer += iprot->readListBegin(_etype1841, _size1838); + (*(this->success)).resize(_size1838); + uint32_t _i1842; + for (_i1842 = 0; _i1842 < _size1838; ++_i1842) { - xfer += iprot->readString((*(this->success))[_i1871]); + xfer += iprot->readString((*(this->success))[_i1842]); } 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 _size1872; - ::apache::thrift::protocol::TType _etype1875; - xfer += iprot->readListBegin(_etype1875, _size1872); - this->success.resize(_size1872); - uint32_t _i1876; - for (_i1876 = 0; _i1876 < _size1872; ++_i1876) + 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) { - xfer += iprot->readString(this->success[_i1876]); + xfer += iprot->readString(this->success[_i1847]); } 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 _iter1877; - for (_iter1877 = this->success.begin(); _iter1877 != this->success.end(); ++_iter1877) + std::vector ::const_iterator _iter1848; + for (_iter1848 = this->success.begin(); _iter1848 != this->success.end(); ++_iter1848) { - xfer += oprot->writeString((*_iter1877)); + xfer += oprot->writeString((*_iter1848)); } 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 _size1878; - ::apache::thrift::protocol::TType _etype1881; - xfer += iprot->readListBegin(_etype1881, _size1878); - (*(this->success)).resize(_size1878); - uint32_t _i1882; - for (_i1882 = 0; _i1882 < _size1878; ++_i1882) + uint32_t _size1849; + ::apache::thrift::protocol::TType _etype1852; + xfer += iprot->readListBegin(_etype1852, _size1849); + (*(this->success)).resize(_size1849); + uint32_t _i1853; + for (_i1853 = 0; _i1853 < _size1849; ++_i1853) { - xfer += iprot->readString((*(this->success))[_i1882]); + xfer += iprot->readString((*(this->success))[_i1853]); } xfer += iprot->readListEnd(); } @@ -48143,14 +48076,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1883; - ::apache::thrift::protocol::TType _etype1886; - xfer += iprot->readListBegin(_etype1886, _size1883); - this->success.resize(_size1883); - uint32_t _i1887; - for (_i1887 = 0; _i1887 < _size1883; ++_i1887) + 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) { - xfer += this->success[_i1887].read(iprot); + xfer += this->success[_i1858].read(iprot); } xfer += iprot->readListEnd(); } @@ -48197,10 +48130,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 _iter1888; - for (_iter1888 = this->success.begin(); _iter1888 != this->success.end(); ++_iter1888) + std::vector ::const_iterator _iter1859; + for (_iter1859 = this->success.begin(); _iter1859 != this->success.end(); ++_iter1859) { - xfer += (*_iter1888).write(oprot); + xfer += (*_iter1859).write(oprot); } xfer += oprot->writeListEnd(); } @@ -48249,14 +48182,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1889; - ::apache::thrift::protocol::TType _etype1892; - xfer += iprot->readListBegin(_etype1892, _size1889); - (*(this->success)).resize(_size1889); - uint32_t _i1893; - for (_i1893 = 0; _i1893 < _size1889; ++_i1893) + uint32_t _size1860; + ::apache::thrift::protocol::TType _etype1863; + xfer += iprot->readListBegin(_etype1863, _size1860); + (*(this->success)).resize(_size1860); + uint32_t _i1864; + for (_i1864 = 0; _i1864 < _size1860; ++_i1864) { - xfer += (*(this->success))[_i1893].read(iprot); + xfer += (*(this->success))[_i1864].read(iprot); } xfer += iprot->readListEnd(); } @@ -50309,14 +50242,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1894; - ::apache::thrift::protocol::TType _etype1897; - xfer += iprot->readListBegin(_etype1897, _size1894); - this->success.resize(_size1894); - uint32_t _i1898; - for (_i1898 = 0; _i1898 < _size1894; ++_i1898) + 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) { - xfer += this->success[_i1898].read(iprot); + xfer += this->success[_i1869].read(iprot); } xfer += iprot->readListEnd(); } @@ -50355,10 +50288,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 _iter1899; - for (_iter1899 = this->success.begin(); _iter1899 != this->success.end(); ++_iter1899) + std::vector ::const_iterator _iter1870; + for (_iter1870 = this->success.begin(); _iter1870 != this->success.end(); ++_iter1870) { - xfer += (*_iter1899).write(oprot); + xfer += (*_iter1870).write(oprot); } xfer += oprot->writeListEnd(); } @@ -50403,14 +50336,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1900; - ::apache::thrift::protocol::TType _etype1903; - xfer += iprot->readListBegin(_etype1903, _size1900); - (*(this->success)).resize(_size1900); - uint32_t _i1904; - for (_i1904 = 0; _i1904 < _size1900; ++_i1904) + uint32_t _size1871; + ::apache::thrift::protocol::TType _etype1874; + xfer += iprot->readListBegin(_etype1874, _size1871); + (*(this->success)).resize(_size1871); + uint32_t _i1875; + for (_i1875 = 0; _i1875 < _size1871; ++_i1875) { - xfer += (*(this->success))[_i1904].read(iprot); + xfer += (*(this->success))[_i1875].read(iprot); } xfer += iprot->readListEnd(); } @@ -53129,20 +53062,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(); @@ -53150,7 +53083,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; @@ -66180,7 +66113,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; @@ -79827,21 +79760,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(); @@ -79852,7 +79785,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/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 352f5c7fc4..a547de1126 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -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; @@ -390,7 +390,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 */) { @@ -6131,9 +6131,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 { @@ -6141,24 +6141,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; } @@ -6179,8 +6179,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; @@ -6203,14 +6203,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); @@ -6254,7 +6254,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; @@ -26460,9 +26460,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(); @@ -27826,13 +27826,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; } @@ -29562,9 +29562,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/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 789c150922..5819b1742f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -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/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 7f06b3bcee..26420ddf4c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -21220,6 +21220,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); @@ -21298,6 +21303,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; @@ -21352,6 +21365,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; @@ -21364,6 +21382,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); } @@ -21373,6 +21392,7 @@ CreationMetadata::CreationMetadata(const CreationMetadata& other837) { tblName = other837.tblName; tablesUsed = other837.tablesUsed; validTxnList = other837.validTxnList; + materializationTime = other837.materializationTime; __isset = other837.__isset; } CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other838) { @@ -21381,6 +21401,7 @@ CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other838) tblName = other838.tblName; tablesUsed = other838.tablesUsed; validTxnList = other838.validTxnList; + materializationTime = other838.materializationTime; __isset = other838.__isset; return *this; } @@ -21392,6 +21413,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 << ")"; } @@ -25434,23 +25456,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) { @@ -25465,7 +25472,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) { @@ -25476,46 +25483,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 _size1012; - ::apache::thrift::protocol::TType _etype1015; - xfer += iprot->readSetBegin(_etype1015, _size1012); - uint32_t _i1016; - for (_i1016 = 0; _i1016 < _size1012; ++_i1016) - { - std::string _elem1017; - xfer += iprot->readString(_elem1017); - this->tablesUsed.insert(_elem1017); - } - 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); } @@ -25529,7 +25499,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; } @@ -25539,33 +25509,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 _iter1018; - for (_iter1018 = this->tablesUsed.begin(); _iter1018 != this->tablesUsed.end(); ++_iter1018) - { - xfer += oprot->writeString((*_iter1018)); - } - 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; @@ -25573,35 +25520,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& other1019) { - tablesUsed = other1019.tablesUsed; - validTxnList = other1019.validTxnList; - invalidationTime = other1019.invalidationTime; - sourceTablesUpdateDeleteModified = other1019.sourceTablesUpdateDeleteModified; - __isset = other1019.__isset; +Materialization::Materialization(const Materialization& other1012) { + sourceTablesUpdateDeleteModified = other1012.sourceTablesUpdateDeleteModified; } -Materialization& Materialization::operator=(const Materialization& other1020) { - tablesUsed = other1020.tablesUsed; - validTxnList = other1020.validTxnList; - invalidationTime = other1020.invalidationTime; - sourceTablesUpdateDeleteModified = other1020.sourceTablesUpdateDeleteModified; - __isset = other1020.__isset; +Materialization& Materialization::operator=(const Materialization& other1013) { + sourceTablesUpdateDeleteModified = other1013.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 << ")"; } @@ -25661,9 +25593,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1021; - xfer += iprot->readI32(ecast1021); - this->status = (WMResourcePlanStatus::type)ecast1021; + int32_t ecast1014; + xfer += iprot->readI32(ecast1014); + this->status = (WMResourcePlanStatus::type)ecast1014; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -25737,19 +25669,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other1022) { - name = other1022.name; - status = other1022.status; - queryParallelism = other1022.queryParallelism; - defaultPoolPath = other1022.defaultPoolPath; - __isset = other1022.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other1015) { + name = other1015.name; + status = other1015.status; + queryParallelism = other1015.queryParallelism; + defaultPoolPath = other1015.defaultPoolPath; + __isset = other1015.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other1023) { - name = other1023.name; - status = other1023.status; - queryParallelism = other1023.queryParallelism; - defaultPoolPath = other1023.defaultPoolPath; - __isset = other1023.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other1016) { + name = other1016.name; + status = other1016.status; + queryParallelism = other1016.queryParallelism; + defaultPoolPath = other1016.defaultPoolPath; + __isset = other1016.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -25828,9 +25760,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1024; - xfer += iprot->readI32(ecast1024); - this->status = (WMResourcePlanStatus::type)ecast1024; + int32_t ecast1017; + xfer += iprot->readI32(ecast1017); + this->status = (WMResourcePlanStatus::type)ecast1017; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -25931,23 +25863,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1025) { - name = other1025.name; - status = other1025.status; - queryParallelism = other1025.queryParallelism; - isSetQueryParallelism = other1025.isSetQueryParallelism; - defaultPoolPath = other1025.defaultPoolPath; - isSetDefaultPoolPath = other1025.isSetDefaultPoolPath; - __isset = other1025.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1026) { - name = other1026.name; - status = other1026.status; - queryParallelism = other1026.queryParallelism; - isSetQueryParallelism = other1026.isSetQueryParallelism; - defaultPoolPath = other1026.defaultPoolPath; - isSetDefaultPoolPath = other1026.isSetDefaultPoolPath; - __isset = other1026.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1018) { + name = other1018.name; + status = other1018.status; + queryParallelism = other1018.queryParallelism; + isSetQueryParallelism = other1018.isSetQueryParallelism; + defaultPoolPath = other1018.defaultPoolPath; + isSetDefaultPoolPath = other1018.isSetDefaultPoolPath; + __isset = other1018.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1019) { + name = other1019.name; + status = other1019.status; + queryParallelism = other1019.queryParallelism; + isSetQueryParallelism = other1019.isSetQueryParallelism; + defaultPoolPath = other1019.defaultPoolPath; + isSetDefaultPoolPath = other1019.isSetDefaultPoolPath; + __isset = other1019.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -26112,21 +26044,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other1027) { - resourcePlanName = other1027.resourcePlanName; - poolPath = other1027.poolPath; - allocFraction = other1027.allocFraction; - queryParallelism = other1027.queryParallelism; - schedulingPolicy = other1027.schedulingPolicy; - __isset = other1027.__isset; +WMPool::WMPool(const WMPool& other1020) { + resourcePlanName = other1020.resourcePlanName; + poolPath = other1020.poolPath; + allocFraction = other1020.allocFraction; + queryParallelism = other1020.queryParallelism; + schedulingPolicy = other1020.schedulingPolicy; + __isset = other1020.__isset; } -WMPool& WMPool::operator=(const WMPool& other1028) { - resourcePlanName = other1028.resourcePlanName; - poolPath = other1028.poolPath; - allocFraction = other1028.allocFraction; - queryParallelism = other1028.queryParallelism; - schedulingPolicy = other1028.schedulingPolicy; - __isset = other1028.__isset; +WMPool& WMPool::operator=(const WMPool& other1021) { + resourcePlanName = other1021.resourcePlanName; + poolPath = other1021.poolPath; + allocFraction = other1021.allocFraction; + queryParallelism = other1021.queryParallelism; + schedulingPolicy = other1021.schedulingPolicy; + __isset = other1021.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -26309,23 +26241,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other1029) { - resourcePlanName = other1029.resourcePlanName; - poolPath = other1029.poolPath; - allocFraction = other1029.allocFraction; - queryParallelism = other1029.queryParallelism; - schedulingPolicy = other1029.schedulingPolicy; - isSetSchedulingPolicy = other1029.isSetSchedulingPolicy; - __isset = other1029.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1030) { - resourcePlanName = other1030.resourcePlanName; - poolPath = other1030.poolPath; - allocFraction = other1030.allocFraction; - queryParallelism = other1030.queryParallelism; - schedulingPolicy = other1030.schedulingPolicy; - isSetSchedulingPolicy = other1030.isSetSchedulingPolicy; - __isset = other1030.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other1022) { + resourcePlanName = other1022.resourcePlanName; + poolPath = other1022.poolPath; + allocFraction = other1022.allocFraction; + queryParallelism = other1022.queryParallelism; + schedulingPolicy = other1022.schedulingPolicy; + isSetSchedulingPolicy = other1022.isSetSchedulingPolicy; + __isset = other1022.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1023) { + resourcePlanName = other1023.resourcePlanName; + poolPath = other1023.poolPath; + allocFraction = other1023.allocFraction; + queryParallelism = other1023.queryParallelism; + schedulingPolicy = other1023.schedulingPolicy; + isSetSchedulingPolicy = other1023.isSetSchedulingPolicy; + __isset = other1023.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -26490,21 +26422,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other1031) { - resourcePlanName = other1031.resourcePlanName; - triggerName = other1031.triggerName; - triggerExpression = other1031.triggerExpression; - actionExpression = other1031.actionExpression; - isInUnmanaged = other1031.isInUnmanaged; - __isset = other1031.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other1032) { - resourcePlanName = other1032.resourcePlanName; - triggerName = other1032.triggerName; - triggerExpression = other1032.triggerExpression; - actionExpression = other1032.actionExpression; - isInUnmanaged = other1032.isInUnmanaged; - __isset = other1032.__isset; +WMTrigger::WMTrigger(const WMTrigger& other1024) { + resourcePlanName = other1024.resourcePlanName; + triggerName = other1024.triggerName; + triggerExpression = other1024.triggerExpression; + actionExpression = other1024.actionExpression; + isInUnmanaged = other1024.isInUnmanaged; + __isset = other1024.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other1025) { + resourcePlanName = other1025.resourcePlanName; + triggerName = other1025.triggerName; + triggerExpression = other1025.triggerExpression; + actionExpression = other1025.actionExpression; + isInUnmanaged = other1025.isInUnmanaged; + __isset = other1025.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -26669,21 +26601,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other1033) { - resourcePlanName = other1033.resourcePlanName; - entityType = other1033.entityType; - entityName = other1033.entityName; - poolPath = other1033.poolPath; - ordering = other1033.ordering; - __isset = other1033.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other1034) { - resourcePlanName = other1034.resourcePlanName; - entityType = other1034.entityType; - entityName = other1034.entityName; - poolPath = other1034.poolPath; - ordering = other1034.ordering; - __isset = other1034.__isset; +WMMapping::WMMapping(const WMMapping& other1026) { + resourcePlanName = other1026.resourcePlanName; + entityType = other1026.entityType; + entityName = other1026.entityName; + poolPath = other1026.poolPath; + ordering = other1026.ordering; + __isset = other1026.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other1027) { + resourcePlanName = other1027.resourcePlanName; + entityType = other1027.entityType; + entityName = other1027.entityName; + poolPath = other1027.poolPath; + ordering = other1027.ordering; + __isset = other1027.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -26789,13 +26721,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1035) { - pool = other1035.pool; - trigger = other1035.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1028) { + pool = other1028.pool; + trigger = other1028.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1036) { - pool = other1036.pool; - trigger = other1036.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1029) { + pool = other1029.pool; + trigger = other1029.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -26869,14 +26801,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size1037; - ::apache::thrift::protocol::TType _etype1040; - xfer += iprot->readListBegin(_etype1040, _size1037); - this->pools.resize(_size1037); - uint32_t _i1041; - for (_i1041 = 0; _i1041 < _size1037; ++_i1041) + uint32_t _size1030; + ::apache::thrift::protocol::TType _etype1033; + xfer += iprot->readListBegin(_etype1033, _size1030); + this->pools.resize(_size1030); + uint32_t _i1034; + for (_i1034 = 0; _i1034 < _size1030; ++_i1034) { - xfer += this->pools[_i1041].read(iprot); + xfer += this->pools[_i1034].read(iprot); } xfer += iprot->readListEnd(); } @@ -26889,14 +26821,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1042; - ::apache::thrift::protocol::TType _etype1045; - xfer += iprot->readListBegin(_etype1045, _size1042); - this->mappings.resize(_size1042); - uint32_t _i1046; - for (_i1046 = 0; _i1046 < _size1042; ++_i1046) + uint32_t _size1035; + ::apache::thrift::protocol::TType _etype1038; + xfer += iprot->readListBegin(_etype1038, _size1035); + this->mappings.resize(_size1035); + uint32_t _i1039; + for (_i1039 = 0; _i1039 < _size1035; ++_i1039) { - xfer += this->mappings[_i1046].read(iprot); + xfer += this->mappings[_i1039].read(iprot); } xfer += iprot->readListEnd(); } @@ -26909,14 +26841,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1047; - ::apache::thrift::protocol::TType _etype1050; - xfer += iprot->readListBegin(_etype1050, _size1047); - this->triggers.resize(_size1047); - uint32_t _i1051; - for (_i1051 = 0; _i1051 < _size1047; ++_i1051) + uint32_t _size1040; + ::apache::thrift::protocol::TType _etype1043; + xfer += iprot->readListBegin(_etype1043, _size1040); + this->triggers.resize(_size1040); + uint32_t _i1044; + for (_i1044 = 0; _i1044 < _size1040; ++_i1044) { - xfer += this->triggers[_i1051].read(iprot); + xfer += this->triggers[_i1044].read(iprot); } xfer += iprot->readListEnd(); } @@ -26929,14 +26861,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1052; - ::apache::thrift::protocol::TType _etype1055; - xfer += iprot->readListBegin(_etype1055, _size1052); - this->poolTriggers.resize(_size1052); - uint32_t _i1056; - for (_i1056 = 0; _i1056 < _size1052; ++_i1056) + uint32_t _size1045; + ::apache::thrift::protocol::TType _etype1048; + xfer += iprot->readListBegin(_etype1048, _size1045); + this->poolTriggers.resize(_size1045); + uint32_t _i1049; + for (_i1049 = 0; _i1049 < _size1045; ++_i1049) { - xfer += this->poolTriggers[_i1056].read(iprot); + xfer += this->poolTriggers[_i1049].read(iprot); } xfer += iprot->readListEnd(); } @@ -26973,10 +26905,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 _iter1057; - for (_iter1057 = this->pools.begin(); _iter1057 != this->pools.end(); ++_iter1057) + std::vector ::const_iterator _iter1050; + for (_iter1050 = this->pools.begin(); _iter1050 != this->pools.end(); ++_iter1050) { - xfer += (*_iter1057).write(oprot); + xfer += (*_iter1050).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26986,10 +26918,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 _iter1058; - for (_iter1058 = this->mappings.begin(); _iter1058 != this->mappings.end(); ++_iter1058) + std::vector ::const_iterator _iter1051; + for (_iter1051 = this->mappings.begin(); _iter1051 != this->mappings.end(); ++_iter1051) { - xfer += (*_iter1058).write(oprot); + xfer += (*_iter1051).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26999,10 +26931,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 _iter1059; - for (_iter1059 = this->triggers.begin(); _iter1059 != this->triggers.end(); ++_iter1059) + std::vector ::const_iterator _iter1052; + for (_iter1052 = this->triggers.begin(); _iter1052 != this->triggers.end(); ++_iter1052) { - xfer += (*_iter1059).write(oprot); + xfer += (*_iter1052).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27012,10 +26944,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 _iter1060; - for (_iter1060 = this->poolTriggers.begin(); _iter1060 != this->poolTriggers.end(); ++_iter1060) + std::vector ::const_iterator _iter1053; + for (_iter1053 = this->poolTriggers.begin(); _iter1053 != this->poolTriggers.end(); ++_iter1053) { - xfer += (*_iter1060).write(oprot); + xfer += (*_iter1053).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27036,21 +26968,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1061) { - plan = other1061.plan; - pools = other1061.pools; - mappings = other1061.mappings; - triggers = other1061.triggers; - poolTriggers = other1061.poolTriggers; - __isset = other1061.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1062) { - plan = other1062.plan; - pools = other1062.pools; - mappings = other1062.mappings; - triggers = other1062.triggers; - poolTriggers = other1062.poolTriggers; - __isset = other1062.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1054) { + plan = other1054.plan; + pools = other1054.pools; + mappings = other1054.mappings; + triggers = other1054.triggers; + poolTriggers = other1054.poolTriggers; + __isset = other1054.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1055) { + plan = other1055.plan; + pools = other1055.pools; + mappings = other1055.mappings; + triggers = other1055.triggers; + poolTriggers = other1055.poolTriggers; + __isset = other1055.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -27155,15 +27087,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1063) { - resourcePlan = other1063.resourcePlan; - copyFrom = other1063.copyFrom; - __isset = other1063.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1056) { + resourcePlan = other1056.resourcePlan; + copyFrom = other1056.copyFrom; + __isset = other1056.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1064) { - resourcePlan = other1064.resourcePlan; - copyFrom = other1064.copyFrom; - __isset = other1064.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1057) { + resourcePlan = other1057.resourcePlan; + copyFrom = other1057.copyFrom; + __isset = other1057.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -27223,11 +27155,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1065) { - (void) other1065; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1058) { + (void) other1058; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1066) { - (void) other1066; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1059) { + (void) other1059; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27285,11 +27217,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1067) { - (void) other1067; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1060) { + (void) other1060; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1068) { - (void) other1068; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1061) { + (void) other1061; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -27370,13 +27302,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1069) { - resourcePlan = other1069.resourcePlan; - __isset = other1069.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1062) { + resourcePlan = other1062.resourcePlan; + __isset = other1062.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1070) { - resourcePlan = other1070.resourcePlan; - __isset = other1070.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1063) { + resourcePlan = other1063.resourcePlan; + __isset = other1063.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -27458,13 +27390,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1071) { - resourcePlanName = other1071.resourcePlanName; - __isset = other1071.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1064) { + resourcePlanName = other1064.resourcePlanName; + __isset = other1064.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1072) { - resourcePlanName = other1072.resourcePlanName; - __isset = other1072.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1065) { + resourcePlanName = other1065.resourcePlanName; + __isset = other1065.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -27546,13 +27478,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1073) { - resourcePlan = other1073.resourcePlan; - __isset = other1073.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1066) { + resourcePlan = other1066.resourcePlan; + __isset = other1066.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1074) { - resourcePlan = other1074.resourcePlan; - __isset = other1074.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1067) { + resourcePlan = other1067.resourcePlan; + __isset = other1067.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -27611,11 +27543,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1075) { - (void) other1075; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1068) { + (void) other1068; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1076) { - (void) other1076; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1069) { + (void) other1069; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -27659,14 +27591,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1077; - ::apache::thrift::protocol::TType _etype1080; - xfer += iprot->readListBegin(_etype1080, _size1077); - this->resourcePlans.resize(_size1077); - uint32_t _i1081; - for (_i1081 = 0; _i1081 < _size1077; ++_i1081) + uint32_t _size1070; + ::apache::thrift::protocol::TType _etype1073; + xfer += iprot->readListBegin(_etype1073, _size1070); + this->resourcePlans.resize(_size1070); + uint32_t _i1074; + for (_i1074 = 0; _i1074 < _size1070; ++_i1074) { - xfer += this->resourcePlans[_i1081].read(iprot); + xfer += this->resourcePlans[_i1074].read(iprot); } xfer += iprot->readListEnd(); } @@ -27696,10 +27628,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 _iter1082; - for (_iter1082 = this->resourcePlans.begin(); _iter1082 != this->resourcePlans.end(); ++_iter1082) + std::vector ::const_iterator _iter1075; + for (_iter1075 = this->resourcePlans.begin(); _iter1075 != this->resourcePlans.end(); ++_iter1075) { - xfer += (*_iter1082).write(oprot); + xfer += (*_iter1075).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27716,13 +27648,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1083) { - resourcePlans = other1083.resourcePlans; - __isset = other1083.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1076) { + resourcePlans = other1076.resourcePlans; + __isset = other1076.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1084) { - resourcePlans = other1084.resourcePlans; - __isset = other1084.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1077) { + resourcePlans = other1077.resourcePlans; + __isset = other1077.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -27880,21 +27812,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1085) { - resourcePlanName = other1085.resourcePlanName; - resourcePlan = other1085.resourcePlan; - isEnableAndActivate = other1085.isEnableAndActivate; - isForceDeactivate = other1085.isForceDeactivate; - isReplace = other1085.isReplace; - __isset = other1085.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1086) { - resourcePlanName = other1086.resourcePlanName; - resourcePlan = other1086.resourcePlan; - isEnableAndActivate = other1086.isEnableAndActivate; - isForceDeactivate = other1086.isForceDeactivate; - isReplace = other1086.isReplace; - __isset = other1086.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1078) { + resourcePlanName = other1078.resourcePlanName; + resourcePlan = other1078.resourcePlan; + isEnableAndActivate = other1078.isEnableAndActivate; + isForceDeactivate = other1078.isForceDeactivate; + isReplace = other1078.isReplace; + __isset = other1078.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1079) { + resourcePlanName = other1079.resourcePlanName; + resourcePlan = other1079.resourcePlan; + isEnableAndActivate = other1079.isEnableAndActivate; + isForceDeactivate = other1079.isForceDeactivate; + isReplace = other1079.isReplace; + __isset = other1079.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -27980,13 +27912,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1087) { - fullResourcePlan = other1087.fullResourcePlan; - __isset = other1087.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1080) { + fullResourcePlan = other1080.fullResourcePlan; + __isset = other1080.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1088) { - fullResourcePlan = other1088.fullResourcePlan; - __isset = other1088.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1081) { + fullResourcePlan = other1081.fullResourcePlan; + __isset = other1081.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -28068,13 +28000,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1089) { - resourcePlanName = other1089.resourcePlanName; - __isset = other1089.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1082) { + resourcePlanName = other1082.resourcePlanName; + __isset = other1082.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1090) { - resourcePlanName = other1090.resourcePlanName; - __isset = other1090.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1083) { + resourcePlanName = other1083.resourcePlanName; + __isset = other1083.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -28124,14 +28056,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1091; - ::apache::thrift::protocol::TType _etype1094; - xfer += iprot->readListBegin(_etype1094, _size1091); - this->errors.resize(_size1091); - uint32_t _i1095; - for (_i1095 = 0; _i1095 < _size1091; ++_i1095) + uint32_t _size1084; + ::apache::thrift::protocol::TType _etype1087; + xfer += iprot->readListBegin(_etype1087, _size1084); + this->errors.resize(_size1084); + uint32_t _i1088; + for (_i1088 = 0; _i1088 < _size1084; ++_i1088) { - xfer += iprot->readString(this->errors[_i1095]); + xfer += iprot->readString(this->errors[_i1088]); } xfer += iprot->readListEnd(); } @@ -28144,14 +28076,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1096; - ::apache::thrift::protocol::TType _etype1099; - xfer += iprot->readListBegin(_etype1099, _size1096); - this->warnings.resize(_size1096); - uint32_t _i1100; - for (_i1100 = 0; _i1100 < _size1096; ++_i1100) + uint32_t _size1089; + ::apache::thrift::protocol::TType _etype1092; + xfer += iprot->readListBegin(_etype1092, _size1089); + this->warnings.resize(_size1089); + uint32_t _i1093; + for (_i1093 = 0; _i1093 < _size1089; ++_i1093) { - xfer += iprot->readString(this->warnings[_i1100]); + xfer += iprot->readString(this->warnings[_i1093]); } xfer += iprot->readListEnd(); } @@ -28181,10 +28113,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 _iter1101; - for (_iter1101 = this->errors.begin(); _iter1101 != this->errors.end(); ++_iter1101) + std::vector ::const_iterator _iter1094; + for (_iter1094 = this->errors.begin(); _iter1094 != this->errors.end(); ++_iter1094) { - xfer += oprot->writeString((*_iter1101)); + xfer += oprot->writeString((*_iter1094)); } xfer += oprot->writeListEnd(); } @@ -28194,10 +28126,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 _iter1102; - for (_iter1102 = this->warnings.begin(); _iter1102 != this->warnings.end(); ++_iter1102) + std::vector ::const_iterator _iter1095; + for (_iter1095 = this->warnings.begin(); _iter1095 != this->warnings.end(); ++_iter1095) { - xfer += oprot->writeString((*_iter1102)); + xfer += oprot->writeString((*_iter1095)); } xfer += oprot->writeListEnd(); } @@ -28215,15 +28147,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1103) { - errors = other1103.errors; - warnings = other1103.warnings; - __isset = other1103.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1096) { + errors = other1096.errors; + warnings = other1096.warnings; + __isset = other1096.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1104) { - errors = other1104.errors; - warnings = other1104.warnings; - __isset = other1104.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1097) { + errors = other1097.errors; + warnings = other1097.warnings; + __isset = other1097.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -28306,13 +28238,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1105) { - resourcePlanName = other1105.resourcePlanName; - __isset = other1105.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1098) { + resourcePlanName = other1098.resourcePlanName; + __isset = other1098.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1106) { - resourcePlanName = other1106.resourcePlanName; - __isset = other1106.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1099) { + resourcePlanName = other1099.resourcePlanName; + __isset = other1099.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -28371,11 +28303,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1107) { - (void) other1107; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1100) { + (void) other1100; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1108) { - (void) other1108; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1101) { + (void) other1101; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -28456,13 +28388,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1109) { - trigger = other1109.trigger; - __isset = other1109.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1102) { + trigger = other1102.trigger; + __isset = other1102.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1110) { - trigger = other1110.trigger; - __isset = other1110.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1103) { + trigger = other1103.trigger; + __isset = other1103.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -28521,11 +28453,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1111) { - (void) other1111; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1104) { + (void) other1104; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1112) { - (void) other1112; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1105) { + (void) other1105; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -28606,13 +28538,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1113) { - trigger = other1113.trigger; - __isset = other1113.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1106) { + trigger = other1106.trigger; + __isset = other1106.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1114) { - trigger = other1114.trigger; - __isset = other1114.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1107) { + trigger = other1107.trigger; + __isset = other1107.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -28671,11 +28603,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1115) { - (void) other1115; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1108) { + (void) other1108; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1116) { - (void) other1116; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1109) { + (void) other1109; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -28775,15 +28707,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1117) { - resourcePlanName = other1117.resourcePlanName; - triggerName = other1117.triggerName; - __isset = other1117.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1110) { + resourcePlanName = other1110.resourcePlanName; + triggerName = other1110.triggerName; + __isset = other1110.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1118) { - resourcePlanName = other1118.resourcePlanName; - triggerName = other1118.triggerName; - __isset = other1118.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1111) { + resourcePlanName = other1111.resourcePlanName; + triggerName = other1111.triggerName; + __isset = other1111.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -28843,11 +28775,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1119) { - (void) other1119; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1112) { + (void) other1112; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1120) { - (void) other1120; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1113) { + (void) other1113; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -28928,13 +28860,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1121) { - resourcePlanName = other1121.resourcePlanName; - __isset = other1121.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1114) { + resourcePlanName = other1114.resourcePlanName; + __isset = other1114.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1122) { - resourcePlanName = other1122.resourcePlanName; - __isset = other1122.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1115) { + resourcePlanName = other1115.resourcePlanName; + __isset = other1115.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -28979,14 +28911,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1123; - ::apache::thrift::protocol::TType _etype1126; - xfer += iprot->readListBegin(_etype1126, _size1123); - this->triggers.resize(_size1123); - uint32_t _i1127; - for (_i1127 = 0; _i1127 < _size1123; ++_i1127) + uint32_t _size1116; + ::apache::thrift::protocol::TType _etype1119; + xfer += iprot->readListBegin(_etype1119, _size1116); + this->triggers.resize(_size1116); + uint32_t _i1120; + for (_i1120 = 0; _i1120 < _size1116; ++_i1120) { - xfer += this->triggers[_i1127].read(iprot); + xfer += this->triggers[_i1120].read(iprot); } xfer += iprot->readListEnd(); } @@ -29016,10 +28948,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 _iter1128; - for (_iter1128 = this->triggers.begin(); _iter1128 != this->triggers.end(); ++_iter1128) + std::vector ::const_iterator _iter1121; + for (_iter1121 = this->triggers.begin(); _iter1121 != this->triggers.end(); ++_iter1121) { - xfer += (*_iter1128).write(oprot); + xfer += (*_iter1121).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29036,13 +28968,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1129) { - triggers = other1129.triggers; - __isset = other1129.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1122) { + triggers = other1122.triggers; + __isset = other1122.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1130) { - triggers = other1130.triggers; - __isset = other1130.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1123) { + triggers = other1123.triggers; + __isset = other1123.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -29124,13 +29056,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1131) { - pool = other1131.pool; - __isset = other1131.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1124) { + pool = other1124.pool; + __isset = other1124.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1132) { - pool = other1132.pool; - __isset = other1132.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1125) { + pool = other1125.pool; + __isset = other1125.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -29189,11 +29121,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1133) { - (void) other1133; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1126) { + (void) other1126; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1134) { - (void) other1134; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1127) { + (void) other1127; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -29293,15 +29225,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1135) { - pool = other1135.pool; - poolPath = other1135.poolPath; - __isset = other1135.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1128) { + pool = other1128.pool; + poolPath = other1128.poolPath; + __isset = other1128.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1136) { - pool = other1136.pool; - poolPath = other1136.poolPath; - __isset = other1136.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1129) { + pool = other1129.pool; + poolPath = other1129.poolPath; + __isset = other1129.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -29361,11 +29293,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1137) { - (void) other1137; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1130) { + (void) other1130; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1138) { - (void) other1138; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1131) { + (void) other1131; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -29465,15 +29397,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1139) { - resourcePlanName = other1139.resourcePlanName; - poolPath = other1139.poolPath; - __isset = other1139.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1132) { + resourcePlanName = other1132.resourcePlanName; + poolPath = other1132.poolPath; + __isset = other1132.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1140) { - resourcePlanName = other1140.resourcePlanName; - poolPath = other1140.poolPath; - __isset = other1140.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1133) { + resourcePlanName = other1133.resourcePlanName; + poolPath = other1133.poolPath; + __isset = other1133.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -29533,11 +29465,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1141) { - (void) other1141; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1134) { + (void) other1134; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1142) { - (void) other1142; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1135) { + (void) other1135; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -29637,15 +29569,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1143) { - mapping = other1143.mapping; - update = other1143.update; - __isset = other1143.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1136) { + mapping = other1136.mapping; + update = other1136.update; + __isset = other1136.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1144) { - mapping = other1144.mapping; - update = other1144.update; - __isset = other1144.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1137) { + mapping = other1137.mapping; + update = other1137.update; + __isset = other1137.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -29705,11 +29637,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1145) { - (void) other1145; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1138) { + (void) other1138; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1146) { - (void) other1146; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1139) { + (void) other1139; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -29790,13 +29722,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1147) { - mapping = other1147.mapping; - __isset = other1147.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1140) { + mapping = other1140.mapping; + __isset = other1140.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1148) { - mapping = other1148.mapping; - __isset = other1148.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1141) { + mapping = other1141.mapping; + __isset = other1141.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -29855,11 +29787,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1149) { - (void) other1149; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1142) { + (void) other1142; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1150) { - (void) other1150; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1143) { + (void) other1143; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -29997,19 +29929,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1151) { - resourcePlanName = other1151.resourcePlanName; - triggerName = other1151.triggerName; - poolPath = other1151.poolPath; - drop = other1151.drop; - __isset = other1151.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1144) { + resourcePlanName = other1144.resourcePlanName; + triggerName = other1144.triggerName; + poolPath = other1144.poolPath; + drop = other1144.drop; + __isset = other1144.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1152) { - resourcePlanName = other1152.resourcePlanName; - triggerName = other1152.triggerName; - poolPath = other1152.poolPath; - drop = other1152.drop; - __isset = other1152.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1145) { + resourcePlanName = other1145.resourcePlanName; + triggerName = other1145.triggerName; + poolPath = other1145.poolPath; + drop = other1145.drop; + __isset = other1145.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -30071,11 +30003,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1153) { - (void) other1153; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1146) { + (void) other1146; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1154) { - (void) other1154; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1147) { + (void) other1147; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -30150,9 +30082,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1155; - xfer += iprot->readI32(ecast1155); - this->schemaType = (SchemaType::type)ecast1155; + int32_t ecast1148; + xfer += iprot->readI32(ecast1148); + this->schemaType = (SchemaType::type)ecast1148; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -30184,9 +30116,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1156; - xfer += iprot->readI32(ecast1156); - this->compatibility = (SchemaCompatibility::type)ecast1156; + int32_t ecast1149; + xfer += iprot->readI32(ecast1149); + this->compatibility = (SchemaCompatibility::type)ecast1149; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -30194,9 +30126,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1157; - xfer += iprot->readI32(ecast1157); - this->validationLevel = (SchemaValidation::type)ecast1157; + int32_t ecast1150; + xfer += iprot->readI32(ecast1150); + this->validationLevel = (SchemaValidation::type)ecast1150; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -30300,29 +30232,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1158) { - schemaType = other1158.schemaType; - name = other1158.name; - catName = other1158.catName; - dbName = other1158.dbName; - compatibility = other1158.compatibility; - validationLevel = other1158.validationLevel; - canEvolve = other1158.canEvolve; - schemaGroup = other1158.schemaGroup; - description = other1158.description; - __isset = other1158.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1159) { - schemaType = other1159.schemaType; - name = other1159.name; - catName = other1159.catName; - dbName = other1159.dbName; - compatibility = other1159.compatibility; - validationLevel = other1159.validationLevel; - canEvolve = other1159.canEvolve; - schemaGroup = other1159.schemaGroup; - description = other1159.description; - __isset = other1159.__isset; +ISchema::ISchema(const ISchema& other1151) { + schemaType = other1151.schemaType; + name = other1151.name; + catName = other1151.catName; + dbName = other1151.dbName; + compatibility = other1151.compatibility; + validationLevel = other1151.validationLevel; + canEvolve = other1151.canEvolve; + schemaGroup = other1151.schemaGroup; + description = other1151.description; + __isset = other1151.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1152) { + schemaType = other1152.schemaType; + name = other1152.name; + catName = other1152.catName; + dbName = other1152.dbName; + compatibility = other1152.compatibility; + validationLevel = other1152.validationLevel; + canEvolve = other1152.canEvolve; + schemaGroup = other1152.schemaGroup; + description = other1152.description; + __isset = other1152.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -30444,17 +30376,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1160) { - catName = other1160.catName; - dbName = other1160.dbName; - schemaName = other1160.schemaName; - __isset = other1160.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1153) { + catName = other1153.catName; + dbName = other1153.dbName; + schemaName = other1153.schemaName; + __isset = other1153.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1161) { - catName = other1161.catName; - dbName = other1161.dbName; - schemaName = other1161.schemaName; - __isset = other1161.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1154) { + catName = other1154.catName; + dbName = other1154.dbName; + schemaName = other1154.schemaName; + __isset = other1154.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -30553,15 +30485,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1162) { - name = other1162.name; - newSchema = other1162.newSchema; - __isset = other1162.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1155) { + name = other1155.name; + newSchema = other1155.newSchema; + __isset = other1155.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1163) { - name = other1163.name; - newSchema = other1163.newSchema; - __isset = other1163.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1156) { + name = other1156.name; + newSchema = other1156.newSchema; + __isset = other1156.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -30672,14 +30604,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1164; - ::apache::thrift::protocol::TType _etype1167; - xfer += iprot->readListBegin(_etype1167, _size1164); - this->cols.resize(_size1164); - uint32_t _i1168; - for (_i1168 = 0; _i1168 < _size1164; ++_i1168) + uint32_t _size1157; + ::apache::thrift::protocol::TType _etype1160; + xfer += iprot->readListBegin(_etype1160, _size1157); + this->cols.resize(_size1157); + uint32_t _i1161; + for (_i1161 = 0; _i1161 < _size1157; ++_i1161) { - xfer += this->cols[_i1168].read(iprot); + xfer += this->cols[_i1161].read(iprot); } xfer += iprot->readListEnd(); } @@ -30690,9 +30622,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1169; - xfer += iprot->readI32(ecast1169); - this->state = (SchemaVersionState::type)ecast1169; + int32_t ecast1162; + xfer += iprot->readI32(ecast1162); + this->state = (SchemaVersionState::type)ecast1162; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30770,10 +30702,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 _iter1170; - for (_iter1170 = this->cols.begin(); _iter1170 != this->cols.end(); ++_iter1170) + std::vector ::const_iterator _iter1163; + for (_iter1163 = this->cols.begin(); _iter1163 != this->cols.end(); ++_iter1163) { - xfer += (*_iter1170).write(oprot); + xfer += (*_iter1163).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30829,31 +30761,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1171) { - schema = other1171.schema; - version = other1171.version; - createdAt = other1171.createdAt; - cols = other1171.cols; - state = other1171.state; - description = other1171.description; - schemaText = other1171.schemaText; - fingerprint = other1171.fingerprint; - name = other1171.name; - serDe = other1171.serDe; - __isset = other1171.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1172) { - schema = other1172.schema; - version = other1172.version; - createdAt = other1172.createdAt; - cols = other1172.cols; - state = other1172.state; - description = other1172.description; - schemaText = other1172.schemaText; - fingerprint = other1172.fingerprint; - name = other1172.name; - serDe = other1172.serDe; - __isset = other1172.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1164) { + schema = other1164.schema; + version = other1164.version; + createdAt = other1164.createdAt; + cols = other1164.cols; + state = other1164.state; + description = other1164.description; + schemaText = other1164.schemaText; + fingerprint = other1164.fingerprint; + name = other1164.name; + serDe = other1164.serDe; + __isset = other1164.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1165) { + schema = other1165.schema; + version = other1165.version; + createdAt = other1165.createdAt; + cols = other1165.cols; + state = other1165.state; + description = other1165.description; + schemaText = other1165.schemaText; + fingerprint = other1165.fingerprint; + name = other1165.name; + serDe = other1165.serDe; + __isset = other1165.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -30959,15 +30891,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1173) { - schema = other1173.schema; - version = other1173.version; - __isset = other1173.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1166) { + schema = other1166.schema; + version = other1166.version; + __isset = other1166.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1174) { - schema = other1174.schema; - version = other1174.version; - __isset = other1174.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1167) { + schema = other1167.schema; + version = other1167.version; + __isset = other1167.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -31088,17 +31020,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1175) { - colName = other1175.colName; - colNamespace = other1175.colNamespace; - type = other1175.type; - __isset = other1175.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1168) { + colName = other1168.colName; + colNamespace = other1168.colNamespace; + type = other1168.type; + __isset = other1168.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1176) { - colName = other1176.colName; - colNamespace = other1176.colNamespace; - type = other1176.type; - __isset = other1176.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1169) { + colName = other1169.colName; + colNamespace = other1169.colNamespace; + type = other1169.type; + __isset = other1169.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -31144,14 +31076,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1177; - ::apache::thrift::protocol::TType _etype1180; - xfer += iprot->readListBegin(_etype1180, _size1177); - this->schemaVersions.resize(_size1177); - uint32_t _i1181; - for (_i1181 = 0; _i1181 < _size1177; ++_i1181) + uint32_t _size1170; + ::apache::thrift::protocol::TType _etype1173; + xfer += iprot->readListBegin(_etype1173, _size1170); + this->schemaVersions.resize(_size1170); + uint32_t _i1174; + for (_i1174 = 0; _i1174 < _size1170; ++_i1174) { - xfer += this->schemaVersions[_i1181].read(iprot); + xfer += this->schemaVersions[_i1174].read(iprot); } xfer += iprot->readListEnd(); } @@ -31180,10 +31112,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 _iter1182; - for (_iter1182 = this->schemaVersions.begin(); _iter1182 != this->schemaVersions.end(); ++_iter1182) + std::vector ::const_iterator _iter1175; + for (_iter1175 = this->schemaVersions.begin(); _iter1175 != this->schemaVersions.end(); ++_iter1175) { - xfer += (*_iter1182).write(oprot); + xfer += (*_iter1175).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31200,13 +31132,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1183) { - schemaVersions = other1183.schemaVersions; - __isset = other1183.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1176) { + schemaVersions = other1176.schemaVersions; + __isset = other1176.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1184) { - schemaVersions = other1184.schemaVersions; - __isset = other1184.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1177) { + schemaVersions = other1177.schemaVersions; + __isset = other1177.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -31303,15 +31235,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1185) { - schemaVersion = other1185.schemaVersion; - serdeName = other1185.serdeName; - __isset = other1185.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1178) { + schemaVersion = other1178.schemaVersion; + serdeName = other1178.serdeName; + __isset = other1178.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1186) { - schemaVersion = other1186.schemaVersion; - serdeName = other1186.serdeName; - __isset = other1186.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1179) { + schemaVersion = other1179.schemaVersion; + serdeName = other1179.serdeName; + __isset = other1179.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -31366,9 +31298,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1187; - xfer += iprot->readI32(ecast1187); - this->state = (SchemaVersionState::type)ecast1187; + int32_t ecast1180; + xfer += iprot->readI32(ecast1180); + this->state = (SchemaVersionState::type)ecast1180; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -31411,15 +31343,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1188) { - schemaVersion = other1188.schemaVersion; - state = other1188.state; - __isset = other1188.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1181) { + schemaVersion = other1181.schemaVersion; + state = other1181.state; + __isset = other1181.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1189) { - schemaVersion = other1189.schemaVersion; - state = other1189.state; - __isset = other1189.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1182) { + schemaVersion = other1182.schemaVersion; + state = other1182.state; + __isset = other1182.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -31500,13 +31432,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1190) { - serdeName = other1190.serdeName; - __isset = other1190.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1183) { + serdeName = other1183.serdeName; + __isset = other1183.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1191) { - serdeName = other1191.serdeName; - __isset = other1191.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1184) { + serdeName = other1184.serdeName; + __isset = other1184.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -31628,17 +31560,17 @@ void swap(RuntimeStat &a, RuntimeStat &b) { swap(a.__isset, b.__isset); } -RuntimeStat::RuntimeStat(const RuntimeStat& other1192) { - createTime = other1192.createTime; - weight = other1192.weight; - payload = other1192.payload; - __isset = other1192.__isset; +RuntimeStat::RuntimeStat(const RuntimeStat& other1185) { + createTime = other1185.createTime; + weight = other1185.weight; + payload = other1185.payload; + __isset = other1185.__isset; } -RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1193) { - createTime = other1193.createTime; - weight = other1193.weight; - payload = other1193.payload; - __isset = other1193.__isset; +RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1186) { + createTime = other1186.createTime; + weight = other1186.weight; + payload = other1186.payload; + __isset = other1186.__isset; return *this; } void RuntimeStat::printTo(std::ostream& out) const { @@ -31742,13 +31674,13 @@ void swap(GetRuntimeStatsRequest &a, GetRuntimeStatsRequest &b) { swap(a.maxCreateTime, b.maxCreateTime); } -GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1194) { - maxWeight = other1194.maxWeight; - maxCreateTime = other1194.maxCreateTime; +GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1187) { + maxWeight = other1187.maxWeight; + maxCreateTime = other1187.maxCreateTime; } -GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1195) { - maxWeight = other1195.maxWeight; - maxCreateTime = other1195.maxCreateTime; +GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1188) { + maxWeight = other1188.maxWeight; + maxCreateTime = other1188.maxCreateTime; return *this; } void GetRuntimeStatsRequest::printTo(std::ostream& out) const { @@ -31829,13 +31761,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1196) : TException() { - message = other1196.message; - __isset = other1196.__isset; +MetaException::MetaException(const MetaException& other1189) : TException() { + message = other1189.message; + __isset = other1189.__isset; } -MetaException& MetaException::operator=(const MetaException& other1197) { - message = other1197.message; - __isset = other1197.__isset; +MetaException& MetaException::operator=(const MetaException& other1190) { + message = other1190.message; + __isset = other1190.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -31926,13 +31858,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1198) : TException() { - message = other1198.message; - __isset = other1198.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1191) : TException() { + message = other1191.message; + __isset = other1191.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1199) { - message = other1199.message; - __isset = other1199.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1192) { + message = other1192.message; + __isset = other1192.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -32023,13 +31955,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1200) : TException() { - message = other1200.message; - __isset = other1200.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1193) : TException() { + message = other1193.message; + __isset = other1193.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1201) { - message = other1201.message; - __isset = other1201.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1194) { + message = other1194.message; + __isset = other1194.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -32120,13 +32052,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1202) : TException() { - message = other1202.message; - __isset = other1202.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1195) : TException() { + message = other1195.message; + __isset = other1195.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1203) { - message = other1203.message; - __isset = other1203.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1196) { + message = other1196.message; + __isset = other1196.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -32217,13 +32149,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1204) : TException() { - message = other1204.message; - __isset = other1204.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1197) : TException() { + message = other1197.message; + __isset = other1197.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1205) { - message = other1205.message; - __isset = other1205.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1198) { + message = other1198.message; + __isset = other1198.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -32314,13 +32246,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1206) : TException() { - message = other1206.message; - __isset = other1206.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1199) : TException() { + message = other1199.message; + __isset = other1199.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1207) { - message = other1207.message; - __isset = other1207.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1200) { + message = other1200.message; + __isset = other1200.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -32411,13 +32343,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1208) : TException() { - message = other1208.message; - __isset = other1208.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1201) : TException() { + message = other1201.message; + __isset = other1201.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1209) { - message = other1209.message; - __isset = other1209.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1202) { + message = other1202.message; + __isset = other1202.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -32508,13 +32440,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1210) : TException() { - message = other1210.message; - __isset = other1210.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1203) : TException() { + message = other1203.message; + __isset = other1203.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1211) { - message = other1211.message; - __isset = other1211.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1204) { + message = other1204.message; + __isset = other1204.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -32605,13 +32537,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1212) : TException() { - message = other1212.message; - __isset = other1212.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1205) : TException() { + message = other1205.message; + __isset = other1205.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1213) { - message = other1213.message; - __isset = other1213.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1206) { + message = other1206.message; + __isset = other1206.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -32702,13 +32634,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1214) : TException() { - message = other1214.message; - __isset = other1214.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1207) : TException() { + message = other1207.message; + __isset = other1207.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1215) { - message = other1215.message; - __isset = other1215.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1208) { + message = other1208.message; + __isset = other1208.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -32799,13 +32731,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1216) : TException() { - message = other1216.message; - __isset = other1216.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1209) : TException() { + message = other1209.message; + __isset = other1209.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1217) { - message = other1217.message; - __isset = other1217.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1210) { + message = other1210.message; + __isset = other1210.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -32896,13 +32828,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1218) : TException() { - message = other1218.message; - __isset = other1218.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1211) : TException() { + message = other1211.message; + __isset = other1211.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1219) { - message = other1219.message; - __isset = other1219.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1212) { + message = other1212.message; + __isset = other1212.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -32993,13 +32925,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1220) : TException() { - message = other1220.message; - __isset = other1220.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1213) : TException() { + message = other1213.message; + __isset = other1213.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1221) { - message = other1221.message; - __isset = other1221.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1214) { + message = other1214.message; + __isset = other1214.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -33090,13 +33022,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1222) : TException() { - message = other1222.message; - __isset = other1222.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1215) : TException() { + message = other1215.message; + __isset = other1215.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1223) { - message = other1223.message; - __isset = other1223.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1216) { + message = other1216.message; + __isset = other1216.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -33187,13 +33119,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1224) : TException() { - message = other1224.message; - __isset = other1224.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1217) : TException() { + message = other1217.message; + __isset = other1217.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1225) { - message = other1225.message; - __isset = other1225.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1218) { + message = other1218.message; + __isset = other1218.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h index f5913fcd2d..d0c299b8b0 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -8742,8 +8742,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 { @@ -8751,7 +8752,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(); @@ -8760,6 +8761,7 @@ class CreationMetadata { std::string tblName; std::set tablesUsed; std::string validTxnList; + int64_t materializationTime; _CreationMetadata__isset __isset; @@ -8773,6 +8775,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)) @@ -8787,6 +8791,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 { @@ -10452,52 +10460,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/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java index 611bf6fa82..281dada8a6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java +++ b/standalone-metastore/metastore-common/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/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 8f5b4e5bb4..79d9fc6409 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -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 _list944 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list944.size); - SchemaVersionDescriptor _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list936.size); + SchemaVersionDescriptor _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem945 = new SchemaVersionDescriptor(); - _elem945.read(iprot); - struct.schemaVersions.add(_elem945); + _elem937 = new SchemaVersionDescriptor(); + _elem937.read(iprot); + struct.schemaVersions.add(_elem937); } 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 _iter947 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter939 : struct.schemaVersions) { - _iter947.write(oprot); + _iter939.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 _iter948 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter940 : struct.schemaVersions) { - _iter948.write(oprot); + _iter940.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 _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list949.size); - SchemaVersionDescriptor _elem950; - for (int _i951 = 0; _i951 < _list949.size; ++_i951) + org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list941.size); + SchemaVersionDescriptor _elem942; + for (int _i943 = 0; _i943 < _list941.size; ++_i943) { - _elem950 = new SchemaVersionDescriptor(); - _elem950.read(iprot); - struct.schemaVersions.add(_elem950); + _elem942 = new SchemaVersionDescriptor(); + _elem942.read(iprot); + struct.schemaVersions.add(_elem942); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java index 351099520f..0972c5e297 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java +++ b/standalone-metastore/metastore-common/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 _set864 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set864.size); - String _elem865; - for (int _i866 = 0; _i866 < _set864.size; ++_i866) - { - _elem865 = iprot.readString(); - struct.tablesUsed.add(_elem865); - } - 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 _iter867 : struct.tablesUsed) - { - oprot.writeString(_iter867); - } - 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 _iter868 : struct.tablesUsed) - { - oprot.writeString(_iter868); - } - } - 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 _set869 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set869.size); - String _elem870; - for (int _i871 = 0; _i871 < _set869.size; ++_i871) - { - _elem870 = iprot.readString(); - struct.tablesUsed.add(_elem870); - } - } - 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/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index 88d7e3fedf..935af04b35 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -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 _list936 = iprot.readListBegin(); - struct.cols = new ArrayList(_list936.size); - FieldSchema _elem937; - for (int _i938 = 0; _i938 < _list936.size; ++_i938) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.cols = new ArrayList(_list928.size); + FieldSchema _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem937 = new FieldSchema(); - _elem937.read(iprot); - struct.cols.add(_elem937); + _elem929 = new FieldSchema(); + _elem929.read(iprot); + struct.cols.add(_elem929); } 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 _iter939 : struct.cols) + for (FieldSchema _iter931 : struct.cols) { - _iter939.write(oprot); + _iter931.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 _iter940 : struct.cols) + for (FieldSchema _iter932 : struct.cols) { - _iter940.write(oprot); + _iter932.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 _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list941.size); - FieldSchema _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.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list933.size); + FieldSchema _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem942 = new FieldSchema(); - _elem942.read(iprot); - struct.cols.add(_elem942); + _elem934 = new FieldSchema(); + _elem934.read(iprot); + struct.cols.add(_elem934); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index ec129ef922..24ffadb00b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -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; @@ -548,7 +548,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; @@ -2125,21 +2125,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"); @@ -8346,32 +8346,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!"); } @@ -15395,7 +15395,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) { @@ -22471,7 +22471,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"); } @@ -22480,10 +22480,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 { @@ -22533,8 +22533,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); } } @@ -42384,13 +42384,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 _list952 = iprot.readListBegin(); - struct.success = new ArrayList(_list952.size); - String _elem953; - for (int _i954 = 0; _i954 < _list952.size; ++_i954) + org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); + struct.success = new ArrayList(_list944.size); + String _elem945; + for (int _i946 = 0; _i946 < _list944.size; ++_i946) { - _elem953 = iprot.readString(); - struct.success.add(_elem953); + _elem945 = iprot.readString(); + struct.success.add(_elem945); } iprot.readListEnd(); } @@ -42425,9 +42425,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 _iter955 : struct.success) + for (String _iter947 : struct.success) { - oprot.writeString(_iter955); + oprot.writeString(_iter947); } oprot.writeListEnd(); } @@ -42466,9 +42466,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter956 : struct.success) + for (String _iter948 : struct.success) { - oprot.writeString(_iter956); + oprot.writeString(_iter948); } } } @@ -42483,13 +42483,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 _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list957.size); - String _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list949.size); + String _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem958 = iprot.readString(); - struct.success.add(_elem958); + _elem950 = iprot.readString(); + struct.success.add(_elem950); } } struct.setSuccessIsSet(true); @@ -43143,13 +43143,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 _list960 = iprot.readListBegin(); - struct.success = new ArrayList(_list960.size); - String _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.success = new ArrayList(_list952.size); + String _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem961 = iprot.readString(); - struct.success.add(_elem961); + _elem953 = iprot.readString(); + struct.success.add(_elem953); } iprot.readListEnd(); } @@ -43184,9 +43184,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 _iter963 : struct.success) + for (String _iter955 : struct.success) { - oprot.writeString(_iter963); + oprot.writeString(_iter955); } oprot.writeListEnd(); } @@ -43225,9 +43225,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter964 : struct.success) + for (String _iter956 : struct.success) { - oprot.writeString(_iter964); + oprot.writeString(_iter956); } } } @@ -43242,13 +43242,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 _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list965.size); - String _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list957.size); + String _elem958; + for (int _i959 = 0; _i959 < _list957.size; ++_i959) { - _elem966 = iprot.readString(); - struct.success.add(_elem966); + _elem958 = iprot.readString(); + struct.success.add(_elem958); } } struct.setSuccessIsSet(true); @@ -47855,16 +47855,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 _map968 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map968.size); - String _key969; - Type _val970; - for (int _i971 = 0; _i971 < _map968.size; ++_i971) + org.apache.thrift.protocol.TMap _map960 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map960.size); + String _key961; + Type _val962; + for (int _i963 = 0; _i963 < _map960.size; ++_i963) { - _key969 = iprot.readString(); - _val970 = new Type(); - _val970.read(iprot); - struct.success.put(_key969, _val970); + _key961 = iprot.readString(); + _val962 = new Type(); + _val962.read(iprot); + struct.success.put(_key961, _val962); } iprot.readMapEnd(); } @@ -47899,10 +47899,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 _iter972 : struct.success.entrySet()) + for (Map.Entry _iter964 : struct.success.entrySet()) { - oprot.writeString(_iter972.getKey()); - _iter972.getValue().write(oprot); + oprot.writeString(_iter964.getKey()); + _iter964.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -47941,10 +47941,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 _iter973 : struct.success.entrySet()) + for (Map.Entry _iter965 : struct.success.entrySet()) { - oprot.writeString(_iter973.getKey()); - _iter973.getValue().write(oprot); + oprot.writeString(_iter965.getKey()); + _iter965.getValue().write(oprot); } } } @@ -47959,16 +47959,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 _map974 = 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*_map974.size); - String _key975; - Type _val976; - for (int _i977 = 0; _i977 < _map974.size; ++_i977) + org.apache.thrift.protocol.TMap _map966 = 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*_map966.size); + String _key967; + Type _val968; + for (int _i969 = 0; _i969 < _map966.size; ++_i969) { - _key975 = iprot.readString(); - _val976 = new Type(); - _val976.read(iprot); - struct.success.put(_key975, _val976); + _key967 = iprot.readString(); + _val968 = new Type(); + _val968.read(iprot); + struct.success.put(_key967, _val968); } } struct.setSuccessIsSet(true); @@ -49003,14 +49003,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 _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(); } @@ -49063,9 +49063,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 _iter981 : struct.success) + for (FieldSchema _iter973 : struct.success) { - _iter981.write(oprot); + _iter973.write(oprot); } oprot.writeListEnd(); } @@ -49120,9 +49120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter982 : struct.success) + for (FieldSchema _iter974 : struct.success) { - _iter982.write(oprot); + _iter974.write(oprot); } } } @@ -49143,14 +49143,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 _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); @@ -50304,14 +50304,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 _list986 = iprot.readListBegin(); - struct.success = new ArrayList(_list986.size); - FieldSchema _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.success = new ArrayList(_list978.size); + FieldSchema _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem987 = new FieldSchema(); - _elem987.read(iprot); - struct.success.add(_elem987); + _elem979 = new FieldSchema(); + _elem979.read(iprot); + struct.success.add(_elem979); } iprot.readListEnd(); } @@ -50364,9 +50364,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 _iter989 : struct.success) + for (FieldSchema _iter981 : struct.success) { - _iter989.write(oprot); + _iter981.write(oprot); } oprot.writeListEnd(); } @@ -50421,9 +50421,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter990 : struct.success) + for (FieldSchema _iter982 : struct.success) { - _iter990.write(oprot); + _iter982.write(oprot); } } } @@ -50444,14 +50444,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 _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list991.size); - FieldSchema _elem992; - for (int _i993 = 0; _i993 < _list991.size; ++_i993) + 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) { - _elem992 = new FieldSchema(); - _elem992.read(iprot); - struct.success.add(_elem992); + _elem984 = new FieldSchema(); + _elem984.read(iprot); + struct.success.add(_elem984); } } struct.setSuccessIsSet(true); @@ -51496,14 +51496,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 _list994 = iprot.readListBegin(); - struct.success = new ArrayList(_list994.size); - FieldSchema _elem995; - for (int _i996 = 0; _i996 < _list994.size; ++_i996) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.success = new ArrayList(_list986.size); + FieldSchema _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem995 = new FieldSchema(); - _elem995.read(iprot); - struct.success.add(_elem995); + _elem987 = new FieldSchema(); + _elem987.read(iprot); + struct.success.add(_elem987); } iprot.readListEnd(); } @@ -51556,9 +51556,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 _iter997 : struct.success) + for (FieldSchema _iter989 : struct.success) { - _iter997.write(oprot); + _iter989.write(oprot); } oprot.writeListEnd(); } @@ -51613,9 +51613,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter998 : struct.success) + for (FieldSchema _iter990 : struct.success) { - _iter998.write(oprot); + _iter990.write(oprot); } } } @@ -51636,14 +51636,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 _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list999.size); - FieldSchema _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list991.size); + FieldSchema _elem992; + for (int _i993 = 0; _i993 < _list991.size; ++_i993) { - _elem1000 = new FieldSchema(); - _elem1000.read(iprot); - struct.success.add(_elem1000); + _elem992 = new FieldSchema(); + _elem992.read(iprot); + struct.success.add(_elem992); } } struct.setSuccessIsSet(true); @@ -52797,14 +52797,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 _list1002 = iprot.readListBegin(); - struct.success = new ArrayList(_list1002.size); - FieldSchema _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); + struct.success = new ArrayList(_list994.size); + FieldSchema _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem1003 = new FieldSchema(); - _elem1003.read(iprot); - struct.success.add(_elem1003); + _elem995 = new FieldSchema(); + _elem995.read(iprot); + struct.success.add(_elem995); } iprot.readListEnd(); } @@ -52857,9 +52857,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 _iter1005 : struct.success) + for (FieldSchema _iter997 : struct.success) { - _iter1005.write(oprot); + _iter997.write(oprot); } oprot.writeListEnd(); } @@ -52914,9 +52914,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1006 : struct.success) + for (FieldSchema _iter998 : struct.success) { - _iter1006.write(oprot); + _iter998.write(oprot); } } } @@ -52937,14 +52937,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 _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1007.size); - FieldSchema _elem1008; - for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) + org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list999.size); + FieldSchema _elem1000; + for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) { - _elem1008 = new FieldSchema(); - _elem1008.read(iprot); - struct.success.add(_elem1008); + _elem1000 = new FieldSchema(); + _elem1000.read(iprot); + struct.success.add(_elem1000); } } struct.setSuccessIsSet(true); @@ -56073,14 +56073,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 _list1010 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list1010.size); - SQLPrimaryKey _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list1002.size); + SQLPrimaryKey _elem1003; + for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) { - _elem1011 = new SQLPrimaryKey(); - _elem1011.read(iprot); - struct.primaryKeys.add(_elem1011); + _elem1003 = new SQLPrimaryKey(); + _elem1003.read(iprot); + struct.primaryKeys.add(_elem1003); } iprot.readListEnd(); } @@ -56092,14 +56092,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 _list1013 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list1013.size); - SQLForeignKey _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1005 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list1005.size); + SQLForeignKey _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) { - _elem1014 = new SQLForeignKey(); - _elem1014.read(iprot); - struct.foreignKeys.add(_elem1014); + _elem1006 = new SQLForeignKey(); + _elem1006.read(iprot); + struct.foreignKeys.add(_elem1006); } iprot.readListEnd(); } @@ -56111,14 +56111,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 _list1016 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list1016.size); - SQLUniqueConstraint _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list1008.size); + SQLUniqueConstraint _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem1017 = new SQLUniqueConstraint(); - _elem1017.read(iprot); - struct.uniqueConstraints.add(_elem1017); + _elem1009 = new SQLUniqueConstraint(); + _elem1009.read(iprot); + struct.uniqueConstraints.add(_elem1009); } iprot.readListEnd(); } @@ -56130,14 +56130,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 _list1019 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list1019.size); - SQLNotNullConstraint _elem1020; - for (int _i1021 = 0; _i1021 < _list1019.size; ++_i1021) + org.apache.thrift.protocol.TList _list1011 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list1011.size); + SQLNotNullConstraint _elem1012; + for (int _i1013 = 0; _i1013 < _list1011.size; ++_i1013) { - _elem1020 = new SQLNotNullConstraint(); - _elem1020.read(iprot); - struct.notNullConstraints.add(_elem1020); + _elem1012 = new SQLNotNullConstraint(); + _elem1012.read(iprot); + struct.notNullConstraints.add(_elem1012); } iprot.readListEnd(); } @@ -56149,14 +56149,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 _list1022 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list1022.size); - SQLDefaultConstraint _elem1023; - for (int _i1024 = 0; _i1024 < _list1022.size; ++_i1024) + org.apache.thrift.protocol.TList _list1014 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list1014.size); + SQLDefaultConstraint _elem1015; + for (int _i1016 = 0; _i1016 < _list1014.size; ++_i1016) { - _elem1023 = new SQLDefaultConstraint(); - _elem1023.read(iprot); - struct.defaultConstraints.add(_elem1023); + _elem1015 = new SQLDefaultConstraint(); + _elem1015.read(iprot); + struct.defaultConstraints.add(_elem1015); } iprot.readListEnd(); } @@ -56168,14 +56168,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 _list1025 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1025.size); - SQLCheckConstraint _elem1026; - for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) + org.apache.thrift.protocol.TList _list1017 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1017.size); + SQLCheckConstraint _elem1018; + for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) { - _elem1026 = new SQLCheckConstraint(); - _elem1026.read(iprot); - struct.checkConstraints.add(_elem1026); + _elem1018 = new SQLCheckConstraint(); + _elem1018.read(iprot); + struct.checkConstraints.add(_elem1018); } iprot.readListEnd(); } @@ -56206,9 +56206,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 _iter1028 : struct.primaryKeys) + for (SQLPrimaryKey _iter1020 : struct.primaryKeys) { - _iter1028.write(oprot); + _iter1020.write(oprot); } oprot.writeListEnd(); } @@ -56218,9 +56218,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 _iter1029 : struct.foreignKeys) + for (SQLForeignKey _iter1021 : struct.foreignKeys) { - _iter1029.write(oprot); + _iter1021.write(oprot); } oprot.writeListEnd(); } @@ -56230,9 +56230,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 _iter1030 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1022 : struct.uniqueConstraints) { - _iter1030.write(oprot); + _iter1022.write(oprot); } oprot.writeListEnd(); } @@ -56242,9 +56242,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 _iter1031 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1023 : struct.notNullConstraints) { - _iter1031.write(oprot); + _iter1023.write(oprot); } oprot.writeListEnd(); } @@ -56254,9 +56254,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 _iter1032 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1024 : struct.defaultConstraints) { - _iter1032.write(oprot); + _iter1024.write(oprot); } oprot.writeListEnd(); } @@ -56266,9 +56266,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 _iter1033 : struct.checkConstraints) + for (SQLCheckConstraint _iter1025 : struct.checkConstraints) { - _iter1033.write(oprot); + _iter1025.write(oprot); } oprot.writeListEnd(); } @@ -56320,54 +56320,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1034 : struct.primaryKeys) + for (SQLPrimaryKey _iter1026 : struct.primaryKeys) { - _iter1034.write(oprot); + _iter1026.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1035 : struct.foreignKeys) + for (SQLForeignKey _iter1027 : struct.foreignKeys) { - _iter1035.write(oprot); + _iter1027.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1036 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1028 : struct.uniqueConstraints) { - _iter1036.write(oprot); + _iter1028.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1037 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1029 : struct.notNullConstraints) { - _iter1037.write(oprot); + _iter1029.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1038 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1030 : struct.defaultConstraints) { - _iter1038.write(oprot); + _iter1030.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1039 : struct.checkConstraints) + for (SQLCheckConstraint _iter1031 : struct.checkConstraints) { - _iter1039.write(oprot); + _iter1031.write(oprot); } } } @@ -56384,84 +56384,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1040 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1040.size); - SQLPrimaryKey _elem1041; - for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) + org.apache.thrift.protocol.TList _list1032 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1032.size); + SQLPrimaryKey _elem1033; + for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) { - _elem1041 = new SQLPrimaryKey(); - _elem1041.read(iprot); - struct.primaryKeys.add(_elem1041); + _elem1033 = new SQLPrimaryKey(); + _elem1033.read(iprot); + struct.primaryKeys.add(_elem1033); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1043 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1043.size); - SQLForeignKey _elem1044; - for (int _i1045 = 0; _i1045 < _list1043.size; ++_i1045) + org.apache.thrift.protocol.TList _list1035 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1035.size); + SQLForeignKey _elem1036; + for (int _i1037 = 0; _i1037 < _list1035.size; ++_i1037) { - _elem1044 = new SQLForeignKey(); - _elem1044.read(iprot); - struct.foreignKeys.add(_elem1044); + _elem1036 = new SQLForeignKey(); + _elem1036.read(iprot); + struct.foreignKeys.add(_elem1036); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1046 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1046.size); - SQLUniqueConstraint _elem1047; - for (int _i1048 = 0; _i1048 < _list1046.size; ++_i1048) + org.apache.thrift.protocol.TList _list1038 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1038.size); + SQLUniqueConstraint _elem1039; + for (int _i1040 = 0; _i1040 < _list1038.size; ++_i1040) { - _elem1047 = new SQLUniqueConstraint(); - _elem1047.read(iprot); - struct.uniqueConstraints.add(_elem1047); + _elem1039 = new SQLUniqueConstraint(); + _elem1039.read(iprot); + struct.uniqueConstraints.add(_elem1039); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1049.size); - SQLNotNullConstraint _elem1050; - for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) + org.apache.thrift.protocol.TList _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1041.size); + SQLNotNullConstraint _elem1042; + for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) { - _elem1050 = new SQLNotNullConstraint(); - _elem1050.read(iprot); - struct.notNullConstraints.add(_elem1050); + _elem1042 = new SQLNotNullConstraint(); + _elem1042.read(iprot); + struct.notNullConstraints.add(_elem1042); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1052 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1052.size); - SQLDefaultConstraint _elem1053; - for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) + org.apache.thrift.protocol.TList _list1044 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1044.size); + SQLDefaultConstraint _elem1045; + for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) { - _elem1053 = new SQLDefaultConstraint(); - _elem1053.read(iprot); - struct.defaultConstraints.add(_elem1053); + _elem1045 = new SQLDefaultConstraint(); + _elem1045.read(iprot); + struct.defaultConstraints.add(_elem1045); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1055.size); - SQLCheckConstraint _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.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1047.size); + SQLCheckConstraint _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1056 = new SQLCheckConstraint(); - _elem1056.read(iprot); - struct.checkConstraints.add(_elem1056); + _elem1048 = new SQLCheckConstraint(); + _elem1048.read(iprot); + struct.checkConstraints.add(_elem1048); } } struct.setCheckConstraintsIsSet(true); @@ -65611,13 +65611,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 _list1058 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1058.size); - String _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1050.size); + String _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1059 = iprot.readString(); - struct.partNames.add(_elem1059); + _elem1051 = iprot.readString(); + struct.partNames.add(_elem1051); } iprot.readListEnd(); } @@ -65653,9 +65653,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 _iter1061 : struct.partNames) + for (String _iter1053 : struct.partNames) { - oprot.writeString(_iter1061); + oprot.writeString(_iter1053); } oprot.writeListEnd(); } @@ -65698,9 +65698,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1062 : struct.partNames) + for (String _iter1054 : struct.partNames) { - oprot.writeString(_iter1062); + oprot.writeString(_iter1054); } } } @@ -65720,13 +65720,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = 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.partNames = new ArrayList(_list1055.size); + String _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1064 = iprot.readString(); - struct.partNames.add(_elem1064); + _elem1056 = iprot.readString(); + struct.partNames.add(_elem1056); } } struct.setPartNamesIsSet(true); @@ -66951,13 +66951,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 _list1066 = iprot.readListBegin(); - struct.success = new ArrayList(_list1066.size); - String _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1067 = iprot.readString(); - struct.success.add(_elem1067); + _elem1059 = iprot.readString(); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -66992,9 +66992,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 _iter1069 : struct.success) + for (String _iter1061 : struct.success) { - oprot.writeString(_iter1069); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -67033,9 +67033,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1070 : struct.success) + for (String _iter1062 : struct.success) { - oprot.writeString(_iter1070); + oprot.writeString(_iter1062); } } } @@ -67050,13 +67050,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 _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1072 = iprot.readString(); - struct.success.add(_elem1072); + _elem1064 = iprot.readString(); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -68030,13 +68030,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 _list1074 = iprot.readListBegin(); - struct.success = new ArrayList(_list1074.size); - String _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.success = new ArrayList(_list1066.size); + String _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1075 = iprot.readString(); - struct.success.add(_elem1075); + _elem1067 = iprot.readString(); + struct.success.add(_elem1067); } iprot.readListEnd(); } @@ -68071,9 +68071,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 _iter1077 : struct.success) + for (String _iter1069 : struct.success) { - oprot.writeString(_iter1077); + oprot.writeString(_iter1069); } oprot.writeListEnd(); } @@ -68112,9 +68112,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1078 : struct.success) + for (String _iter1070 : struct.success) { - oprot.writeString(_iter1078); + oprot.writeString(_iter1070); } } } @@ -68129,13 +68129,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 _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) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1071.size); + String _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1080 = iprot.readString(); - struct.success.add(_elem1080); + _elem1072 = iprot.readString(); + struct.success.add(_elem1072); } } struct.setSuccessIsSet(true); @@ -68901,13 +68901,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 _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(); } @@ -68942,9 +68942,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 _iter1085 : struct.success) + for (String _iter1077 : struct.success) { - oprot.writeString(_iter1085); + oprot.writeString(_iter1077); } oprot.writeListEnd(); } @@ -68983,9 +68983,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1086 : struct.success) + for (String _iter1078 : struct.success) { - oprot.writeString(_iter1086); + oprot.writeString(_iter1078); } } } @@ -69000,13 +69000,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 _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); @@ -69511,13 +69511,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 _list1090 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1090.size); - String _elem1091; - for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1082.size); + String _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1091 = iprot.readString(); - struct.tbl_types.add(_elem1091); + _elem1083 = iprot.readString(); + struct.tbl_types.add(_elem1083); } iprot.readListEnd(); } @@ -69553,9 +69553,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 _iter1093 : struct.tbl_types) + for (String _iter1085 : struct.tbl_types) { - oprot.writeString(_iter1093); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -69598,9 +69598,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 _iter1094 : struct.tbl_types) + for (String _iter1086 : struct.tbl_types) { - oprot.writeString(_iter1094); + oprot.writeString(_iter1086); } } } @@ -69620,13 +69620,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = 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_types = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1096 = iprot.readString(); - struct.tbl_types.add(_elem1096); + _elem1088 = iprot.readString(); + struct.tbl_types.add(_elem1088); } } struct.setTbl_typesIsSet(true); @@ -70032,14 +70032,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 _list1098 = iprot.readListBegin(); - struct.success = new ArrayList(_list1098.size); - TableMeta _elem1099; - for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.success = new ArrayList(_list1090.size); + TableMeta _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1099 = new TableMeta(); - _elem1099.read(iprot); - struct.success.add(_elem1099); + _elem1091 = new TableMeta(); + _elem1091.read(iprot); + struct.success.add(_elem1091); } iprot.readListEnd(); } @@ -70074,9 +70074,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 _iter1101 : struct.success) + for (TableMeta _iter1093 : struct.success) { - _iter1101.write(oprot); + _iter1093.write(oprot); } oprot.writeListEnd(); } @@ -70115,9 +70115,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1102 : struct.success) + for (TableMeta _iter1094 : struct.success) { - _iter1102.write(oprot); + _iter1094.write(oprot); } } } @@ -70132,14 +70132,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 _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1103.size); - TableMeta _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); + TableMeta _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1104 = new TableMeta(); - _elem1104.read(iprot); - struct.success.add(_elem1104); + _elem1096 = new TableMeta(); + _elem1096.read(iprot); + struct.success.add(_elem1096); } } struct.setSuccessIsSet(true); @@ -70905,13 +70905,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 _list1106 = iprot.readListBegin(); - struct.success = new ArrayList(_list1106.size); - String _elem1107; - for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) + org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); + struct.success = new ArrayList(_list1098.size); + String _elem1099; + for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) { - _elem1107 = iprot.readString(); - struct.success.add(_elem1107); + _elem1099 = iprot.readString(); + struct.success.add(_elem1099); } iprot.readListEnd(); } @@ -70946,9 +70946,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 _iter1109 : struct.success) + for (String _iter1101 : struct.success) { - oprot.writeString(_iter1109); + oprot.writeString(_iter1101); } oprot.writeListEnd(); } @@ -70987,9 +70987,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1110 : struct.success) + for (String _iter1102 : struct.success) { - oprot.writeString(_iter1110); + oprot.writeString(_iter1102); } } } @@ -71004,13 +71004,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 _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1111.size); - String _elem1112; - for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) + 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) { - _elem1112 = iprot.readString(); - struct.success.add(_elem1112); + _elem1104 = iprot.readString(); + struct.success.add(_elem1104); } } struct.setSuccessIsSet(true); @@ -72463,13 +72463,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 _list1114 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1114.size); - String _elem1115; - for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) + 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) { - _elem1115 = iprot.readString(); - struct.tbl_names.add(_elem1115); + _elem1107 = iprot.readString(); + struct.tbl_names.add(_elem1107); } iprot.readListEnd(); } @@ -72500,9 +72500,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 _iter1117 : struct.tbl_names) + for (String _iter1109 : struct.tbl_names) { - oprot.writeString(_iter1117); + oprot.writeString(_iter1109); } oprot.writeListEnd(); } @@ -72539,9 +72539,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 _iter1118 : struct.tbl_names) + for (String _iter1110 : struct.tbl_names) { - oprot.writeString(_iter1118); + oprot.writeString(_iter1110); } } } @@ -72557,13 +72557,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1119.size); - String _elem1120; - for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) + 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) { - _elem1120 = iprot.readString(); - struct.tbl_names.add(_elem1120); + _elem1112 = iprot.readString(); + struct.tbl_names.add(_elem1112); } } struct.setTbl_namesIsSet(true); @@ -72888,14 +72888,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 _list1122 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1122.size); - Table _elem1123; - for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) + org.apache.thrift.protocol.TList _list1114 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1114.size); + Table _elem1115; + for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) { - _elem1123 = new Table(); - _elem1123.read(iprot); - struct.success.add(_elem1123); + _elem1115 = new Table(); + _elem1115.read(iprot); + struct.success.add(_elem1115); } iprot.readListEnd(); } @@ -72921,9 +72921,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 _iter1125 : struct.success) + for (Table _iter1117 : struct.success) { - _iter1125.write(oprot); + _iter1117.write(oprot); } oprot.writeListEnd(); } @@ -72954,9 +72954,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1126 : struct.success) + for (Table _iter1118 : struct.success) { - _iter1126.write(oprot); + _iter1118.write(oprot); } } } @@ -72968,14 +72968,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 _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1127.size); - Table _elem1128; - for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) + org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1119.size); + Table _elem1120; + for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) { - _elem1128 = new Table(); - _elem1128.read(iprot); - struct.success.add(_elem1128); + _elem1120 = new Table(); + _elem1120.read(iprot); + struct.success.add(_elem1120); } } struct.setSuccessIsSet(true); @@ -74970,8 +74970,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 { @@ -74979,13 +74979,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(); @@ -75000,10 +75000,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; } @@ -75047,11 +75047,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); } @@ -75060,24 +75059,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; } } @@ -75087,86 +75085,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; @@ -75175,11 +75158,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(); @@ -75192,10 +75175,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(); } @@ -75213,21 +75196,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; } @@ -75238,15 +75221,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(); } @@ -75259,22 +75242,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; } @@ -75299,19 +75282,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(")"); @@ -75321,6 +75304,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 { @@ -75357,28 +75343,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 _list1130 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1130.size); - String _elem1131; - for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) - { - _elem1131 = iprot.readString(); - struct.tbl_names.add(_elem1131); - } - 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); } @@ -75396,21 +75373,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 _iter1133 : struct.tbl_names) - { - oprot.writeString(_iter1133); - } - oprot.writeListEnd(); - } + if (struct.validTxnList != null) { + oprot.writeFieldBegin(VALID_TXN_LIST_FIELD_DESC); + oprot.writeString(struct.validTxnList); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -75431,24 +75401,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 _iter1134 : struct.tbl_names) - { - oprot.writeString(_iter1134); - } - } + if (struct.isSetValidTxnList()) { + oprot.writeString(struct.validTxnList); } } @@ -75457,21 +75421,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 _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1135.size); - String _elem1136; - for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) - { - _elem1136 = iprot.readString(); - struct.tbl_names.add(_elem1136); - } - } - struct.setTbl_namesIsSet(true); + struct.validTxnList = iprot.readString(); + struct.setValidTxnListIsSet(true); } } } @@ -75481,7 +75437,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); @@ -75492,7 +75448,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 @@ -75569,9 +75525,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, @@ -75586,7 +75540,7 @@ public get_materialization_invalidation_info_result() { } public get_materialization_invalidation_info_result( - Map success, + Materialization success, MetaException o1, InvalidOperationException o2, UnknownDBException o3) @@ -75603,19 +75557,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); @@ -75640,22 +75582,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; } @@ -75749,7 +75680,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Map)value); + setSuccess((Materialization)value); } break; @@ -76002,6 +75933,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 { @@ -76039,21 +75973,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 _map1138 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1138.size); - String _key1139; - Materialization _val1140; - for (int _i1141 = 0; _i1141 < _map1138.size; ++_i1141) - { - _key1139 = iprot.readString(); - _val1140 = new Materialization(); - _val1140.read(iprot); - struct.success.put(_key1139, _val1140); - } - 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); @@ -76101,15 +76023,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 _iter1142 : struct.success.entrySet()) - { - oprot.writeString(_iter1142.getKey()); - _iter1142.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -76159,14 +76073,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 _iter1143 : struct.success.entrySet()) - { - oprot.writeString(_iter1143.getKey()); - _iter1143.getValue().write(oprot); - } - } + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -76184,19 +76091,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 _map1144 = 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*_map1144.size); - String _key1145; - Materialization _val1146; - for (int _i1147 = 0; _i1147 < _map1144.size; ++_i1147) - { - _key1145 = iprot.readString(); - _val1146 = new Materialization(); - _val1146.read(iprot); - struct.success.put(_key1145, _val1146); - } - } + struct.success = new Materialization(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -78587,13 +78483,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 _list1148 = iprot.readListBegin(); - struct.success = new ArrayList(_list1148.size); - String _elem1149; - for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) + org.apache.thrift.protocol.TList _list1122 = iprot.readListBegin(); + struct.success = new ArrayList(_list1122.size); + String _elem1123; + for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) { - _elem1149 = iprot.readString(); - struct.success.add(_elem1149); + _elem1123 = iprot.readString(); + struct.success.add(_elem1123); } iprot.readListEnd(); } @@ -78646,9 +78542,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 _iter1151 : struct.success) + for (String _iter1125 : struct.success) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1125); } oprot.writeListEnd(); } @@ -78703,9 +78599,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1152 : struct.success) + for (String _iter1126 : struct.success) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1126); } } } @@ -78726,13 +78622,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 _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1127.size); + String _elem1128; + for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) { - _elem1154 = iprot.readString(); - struct.success.add(_elem1154); + _elem1128 = iprot.readString(); + struct.success.add(_elem1128); } } struct.setSuccessIsSet(true); @@ -84591,14 +84487,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 _list1156 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1156.size); - Partition _elem1157; - for (int _i1158 = 0; _i1158 < _list1156.size; ++_i1158) + org.apache.thrift.protocol.TList _list1130 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1130.size); + Partition _elem1131; + for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) { - _elem1157 = new Partition(); - _elem1157.read(iprot); - struct.new_parts.add(_elem1157); + _elem1131 = new Partition(); + _elem1131.read(iprot); + struct.new_parts.add(_elem1131); } iprot.readListEnd(); } @@ -84624,9 +84520,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 _iter1159 : struct.new_parts) + for (Partition _iter1133 : struct.new_parts) { - _iter1159.write(oprot); + _iter1133.write(oprot); } oprot.writeListEnd(); } @@ -84657,9 +84553,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 _iter1160 : struct.new_parts) + for (Partition _iter1134 : struct.new_parts) { - _iter1160.write(oprot); + _iter1134.write(oprot); } } } @@ -84671,14 +84567,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 _list1161 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1161.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1135.size); + Partition _elem1136; + for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) { - _elem1162 = new Partition(); - _elem1162.read(iprot); - struct.new_parts.add(_elem1162); + _elem1136 = new Partition(); + _elem1136.read(iprot); + struct.new_parts.add(_elem1136); } } struct.setNew_partsIsSet(true); @@ -85679,14 +85575,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 _list1164 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1164.size); - PartitionSpec _elem1165; - for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) + org.apache.thrift.protocol.TList _list1138 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1138.size); + PartitionSpec _elem1139; + for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) { - _elem1165 = new PartitionSpec(); - _elem1165.read(iprot); - struct.new_parts.add(_elem1165); + _elem1139 = new PartitionSpec(); + _elem1139.read(iprot); + struct.new_parts.add(_elem1139); } iprot.readListEnd(); } @@ -85712,9 +85608,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 _iter1167 : struct.new_parts) + for (PartitionSpec _iter1141 : struct.new_parts) { - _iter1167.write(oprot); + _iter1141.write(oprot); } oprot.writeListEnd(); } @@ -85745,9 +85641,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 _iter1168 : struct.new_parts) + for (PartitionSpec _iter1142 : struct.new_parts) { - _iter1168.write(oprot); + _iter1142.write(oprot); } } } @@ -85759,14 +85655,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 _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1169.size); - PartitionSpec _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1143.size); + PartitionSpec _elem1144; + for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) { - _elem1170 = new PartitionSpec(); - _elem1170.read(iprot); - struct.new_parts.add(_elem1170); + _elem1144 = new PartitionSpec(); + _elem1144.read(iprot); + struct.new_parts.add(_elem1144); } } struct.setNew_partsIsSet(true); @@ -86942,13 +86838,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 _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(); } @@ -86984,9 +86880,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 _iter1175 : struct.part_vals) + for (String _iter1149 : struct.part_vals) { - oprot.writeString(_iter1175); + oprot.writeString(_iter1149); } oprot.writeListEnd(); } @@ -87029,9 +86925,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 _iter1176 : struct.part_vals) + for (String _iter1150 : struct.part_vals) { - oprot.writeString(_iter1176); + oprot.writeString(_iter1150); } } } @@ -87051,13 +86947,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } 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); @@ -89366,13 +89262,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 _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(); } @@ -89417,9 +89313,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 _iter1183 : struct.part_vals) + for (String _iter1157 : struct.part_vals) { - oprot.writeString(_iter1183); + oprot.writeString(_iter1157); } oprot.writeListEnd(); } @@ -89470,9 +89366,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 _iter1184 : struct.part_vals) + for (String _iter1158 : struct.part_vals) { - oprot.writeString(_iter1184); + oprot.writeString(_iter1158); } } } @@ -89495,13 +89391,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } 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); @@ -93371,13 +93267,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 _list1188 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1188.size); - String _elem1189; - for (int _i1190 = 0; _i1190 < _list1188.size; ++_i1190) + org.apache.thrift.protocol.TList _list1162 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1162.size); + String _elem1163; + for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) { - _elem1189 = iprot.readString(); - struct.part_vals.add(_elem1189); + _elem1163 = iprot.readString(); + struct.part_vals.add(_elem1163); } iprot.readListEnd(); } @@ -93421,9 +93317,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 _iter1191 : struct.part_vals) + for (String _iter1165 : struct.part_vals) { - oprot.writeString(_iter1191); + oprot.writeString(_iter1165); } oprot.writeListEnd(); } @@ -93472,9 +93368,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 _iter1192 : struct.part_vals) + for (String _iter1166 : struct.part_vals) { - oprot.writeString(_iter1192); + oprot.writeString(_iter1166); } } } @@ -93497,13 +93393,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1193 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1193.size); - String _elem1194; - for (int _i1195 = 0; _i1195 < _list1193.size; ++_i1195) + org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1167.size); + String _elem1168; + for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) { - _elem1194 = iprot.readString(); - struct.part_vals.add(_elem1194); + _elem1168 = iprot.readString(); + struct.part_vals.add(_elem1168); } } struct.setPart_valsIsSet(true); @@ -94742,13 +94638,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 _list1196 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1196.size); - String _elem1197; - for (int _i1198 = 0; _i1198 < _list1196.size; ++_i1198) + org.apache.thrift.protocol.TList _list1170 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1170.size); + String _elem1171; + for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) { - _elem1197 = iprot.readString(); - struct.part_vals.add(_elem1197); + _elem1171 = iprot.readString(); + struct.part_vals.add(_elem1171); } iprot.readListEnd(); } @@ -94801,9 +94697,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 _iter1199 : struct.part_vals) + for (String _iter1173 : struct.part_vals) { - oprot.writeString(_iter1199); + oprot.writeString(_iter1173); } oprot.writeListEnd(); } @@ -94860,9 +94756,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 _iter1200 : struct.part_vals) + for (String _iter1174 : struct.part_vals) { - oprot.writeString(_iter1200); + oprot.writeString(_iter1174); } } } @@ -94888,13 +94784,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1201 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1201.size); - String _elem1202; - for (int _i1203 = 0; _i1203 < _list1201.size; ++_i1203) + org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1175.size); + String _elem1176; + for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) { - _elem1202 = iprot.readString(); - struct.part_vals.add(_elem1202); + _elem1176 = iprot.readString(); + struct.part_vals.add(_elem1176); } } struct.setPart_valsIsSet(true); @@ -99496,13 +99392,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 _list1204 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1204.size); - String _elem1205; - for (int _i1206 = 0; _i1206 < _list1204.size; ++_i1206) + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1178.size); + String _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1205 = iprot.readString(); - struct.part_vals.add(_elem1205); + _elem1179 = iprot.readString(); + struct.part_vals.add(_elem1179); } iprot.readListEnd(); } @@ -99538,9 +99434,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 _iter1207 : struct.part_vals) + for (String _iter1181 : struct.part_vals) { - oprot.writeString(_iter1207); + oprot.writeString(_iter1181); } oprot.writeListEnd(); } @@ -99583,9 +99479,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 _iter1208 : struct.part_vals) + for (String _iter1182 : struct.part_vals) { - oprot.writeString(_iter1208); + oprot.writeString(_iter1182); } } } @@ -99605,13 +99501,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1209 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1209.size); - String _elem1210; - for (int _i1211 = 0; _i1211 < _list1209.size; ++_i1211) + org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1183.size); + String _elem1184; + for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) { - _elem1210 = iprot.readString(); - struct.part_vals.add(_elem1210); + _elem1184 = iprot.readString(); + struct.part_vals.add(_elem1184); } } struct.setPart_valsIsSet(true); @@ -100829,15 +100725,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 _map1212 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1212.size); - String _key1213; - String _val1214; - for (int _i1215 = 0; _i1215 < _map1212.size; ++_i1215) + org.apache.thrift.protocol.TMap _map1186 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1186.size); + String _key1187; + String _val1188; + for (int _i1189 = 0; _i1189 < _map1186.size; ++_i1189) { - _key1213 = iprot.readString(); - _val1214 = iprot.readString(); - struct.partitionSpecs.put(_key1213, _val1214); + _key1187 = iprot.readString(); + _val1188 = iprot.readString(); + struct.partitionSpecs.put(_key1187, _val1188); } iprot.readMapEnd(); } @@ -100895,10 +100791,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 _iter1216 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1190 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1216.getKey()); - oprot.writeString(_iter1216.getValue()); + oprot.writeString(_iter1190.getKey()); + oprot.writeString(_iter1190.getValue()); } oprot.writeMapEnd(); } @@ -100961,10 +100857,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1217 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1191 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1217.getKey()); - oprot.writeString(_iter1217.getValue()); + oprot.writeString(_iter1191.getKey()); + oprot.writeString(_iter1191.getValue()); } } } @@ -100988,15 +100884,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 _map1218 = 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*_map1218.size); - String _key1219; - String _val1220; - for (int _i1221 = 0; _i1221 < _map1218.size; ++_i1221) + org.apache.thrift.protocol.TMap _map1192 = 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*_map1192.size); + String _key1193; + String _val1194; + for (int _i1195 = 0; _i1195 < _map1192.size; ++_i1195) { - _key1219 = iprot.readString(); - _val1220 = iprot.readString(); - struct.partitionSpecs.put(_key1219, _val1220); + _key1193 = iprot.readString(); + _val1194 = iprot.readString(); + struct.partitionSpecs.put(_key1193, _val1194); } } struct.setPartitionSpecsIsSet(true); @@ -102442,15 +102338,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 _map1222 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1222.size); - String _key1223; - String _val1224; - for (int _i1225 = 0; _i1225 < _map1222.size; ++_i1225) + org.apache.thrift.protocol.TMap _map1196 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1196.size); + String _key1197; + String _val1198; + for (int _i1199 = 0; _i1199 < _map1196.size; ++_i1199) { - _key1223 = iprot.readString(); - _val1224 = iprot.readString(); - struct.partitionSpecs.put(_key1223, _val1224); + _key1197 = iprot.readString(); + _val1198 = iprot.readString(); + struct.partitionSpecs.put(_key1197, _val1198); } iprot.readMapEnd(); } @@ -102508,10 +102404,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 _iter1226 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1200 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1226.getKey()); - oprot.writeString(_iter1226.getValue()); + oprot.writeString(_iter1200.getKey()); + oprot.writeString(_iter1200.getValue()); } oprot.writeMapEnd(); } @@ -102574,10 +102470,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1227 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1201 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1227.getKey()); - oprot.writeString(_iter1227.getValue()); + oprot.writeString(_iter1201.getKey()); + oprot.writeString(_iter1201.getValue()); } } } @@ -102601,15 +102497,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 _map1228 = 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*_map1228.size); - String _key1229; - String _val1230; - for (int _i1231 = 0; _i1231 < _map1228.size; ++_i1231) + org.apache.thrift.protocol.TMap _map1202 = 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*_map1202.size); + String _key1203; + String _val1204; + for (int _i1205 = 0; _i1205 < _map1202.size; ++_i1205) { - _key1229 = iprot.readString(); - _val1230 = iprot.readString(); - struct.partitionSpecs.put(_key1229, _val1230); + _key1203 = iprot.readString(); + _val1204 = iprot.readString(); + struct.partitionSpecs.put(_key1203, _val1204); } } struct.setPartitionSpecsIsSet(true); @@ -103274,14 +103170,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 _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(); } @@ -103343,9 +103239,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 _iter1235 : struct.success) + for (Partition _iter1209 : struct.success) { - _iter1235.write(oprot); + _iter1209.write(oprot); } oprot.writeListEnd(); } @@ -103408,9 +103304,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1236 : struct.success) + for (Partition _iter1210 : struct.success) { - _iter1236.write(oprot); + _iter1210.write(oprot); } } } @@ -103434,14 +103330,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 _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); @@ -104140,13 +104036,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 _list1240 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1240.size); - String _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + org.apache.thrift.protocol.TList _list1214 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1214.size); + String _elem1215; + for (int _i1216 = 0; _i1216 < _list1214.size; ++_i1216) { - _elem1241 = iprot.readString(); - struct.part_vals.add(_elem1241); + _elem1215 = iprot.readString(); + struct.part_vals.add(_elem1215); } iprot.readListEnd(); } @@ -104166,13 +104062,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 _list1243 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1243.size); - String _elem1244; - for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) + org.apache.thrift.protocol.TList _list1217 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1217.size); + String _elem1218; + for (int _i1219 = 0; _i1219 < _list1217.size; ++_i1219) { - _elem1244 = iprot.readString(); - struct.group_names.add(_elem1244); + _elem1218 = iprot.readString(); + struct.group_names.add(_elem1218); } iprot.readListEnd(); } @@ -104208,9 +104104,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 _iter1246 : struct.part_vals) + for (String _iter1220 : struct.part_vals) { - oprot.writeString(_iter1246); + oprot.writeString(_iter1220); } oprot.writeListEnd(); } @@ -104225,9 +104121,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 _iter1247 : struct.group_names) + for (String _iter1221 : struct.group_names) { - oprot.writeString(_iter1247); + oprot.writeString(_iter1221); } oprot.writeListEnd(); } @@ -104276,9 +104172,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 _iter1248 : struct.part_vals) + for (String _iter1222 : struct.part_vals) { - oprot.writeString(_iter1248); + oprot.writeString(_iter1222); } } } @@ -104288,9 +104184,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 _iter1249 : struct.group_names) + for (String _iter1223 : struct.group_names) { - oprot.writeString(_iter1249); + oprot.writeString(_iter1223); } } } @@ -104310,13 +104206,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1250 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1250.size); - String _elem1251; - for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) + org.apache.thrift.protocol.TList _list1224 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1224.size); + String _elem1225; + for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) { - _elem1251 = iprot.readString(); - struct.part_vals.add(_elem1251); + _elem1225 = iprot.readString(); + struct.part_vals.add(_elem1225); } } struct.setPart_valsIsSet(true); @@ -104327,13 +104223,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1253.size); - String _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.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1227.size); + String _elem1228; + for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) { - _elem1254 = iprot.readString(); - struct.group_names.add(_elem1254); + _elem1228 = iprot.readString(); + struct.group_names.add(_elem1228); } } struct.setGroup_namesIsSet(true); @@ -107102,14 +106998,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 _list1256 = iprot.readListBegin(); - struct.success = new ArrayList(_list1256.size); - Partition _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1230 = iprot.readListBegin(); + struct.success = new ArrayList(_list1230.size); + Partition _elem1231; + for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) { - _elem1257 = new Partition(); - _elem1257.read(iprot); - struct.success.add(_elem1257); + _elem1231 = new Partition(); + _elem1231.read(iprot); + struct.success.add(_elem1231); } iprot.readListEnd(); } @@ -107153,9 +107049,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 _iter1259 : struct.success) + for (Partition _iter1233 : struct.success) { - _iter1259.write(oprot); + _iter1233.write(oprot); } oprot.writeListEnd(); } @@ -107202,9 +107098,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1260 : struct.success) + for (Partition _iter1234 : struct.success) { - _iter1260.write(oprot); + _iter1234.write(oprot); } } } @@ -107222,14 +107118,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 _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1261.size); - Partition _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); + Partition _elem1236; + for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) { - _elem1262 = new Partition(); - _elem1262.read(iprot); - struct.success.add(_elem1262); + _elem1236 = new Partition(); + _elem1236.read(iprot); + struct.success.add(_elem1236); } } struct.setSuccessIsSet(true); @@ -107919,13 +107815,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 _list1264 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1238 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1238.size); + String _elem1239; + for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) { - _elem1265 = iprot.readString(); - struct.group_names.add(_elem1265); + _elem1239 = iprot.readString(); + struct.group_names.add(_elem1239); } iprot.readListEnd(); } @@ -107969,9 +107865,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 _iter1267 : struct.group_names) + for (String _iter1241 : struct.group_names) { - oprot.writeString(_iter1267); + oprot.writeString(_iter1241); } oprot.writeListEnd(); } @@ -108026,9 +107922,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 _iter1268 : struct.group_names) + for (String _iter1242 : struct.group_names) { - oprot.writeString(_iter1268); + oprot.writeString(_iter1242); } } } @@ -108056,13 +107952,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.group_names = new ArrayList(_list1243.size); + String _elem1244; + for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) { - _elem1270 = iprot.readString(); - struct.group_names.add(_elem1270); + _elem1244 = iprot.readString(); + struct.group_names.add(_elem1244); } } struct.setGroup_namesIsSet(true); @@ -108549,14 +108445,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 _list1272 = iprot.readListBegin(); - struct.success = new ArrayList(_list1272.size); - Partition _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1246 = iprot.readListBegin(); + struct.success = new ArrayList(_list1246.size); + Partition _elem1247; + for (int _i1248 = 0; _i1248 < _list1246.size; ++_i1248) { - _elem1273 = new Partition(); - _elem1273.read(iprot); - struct.success.add(_elem1273); + _elem1247 = new Partition(); + _elem1247.read(iprot); + struct.success.add(_elem1247); } iprot.readListEnd(); } @@ -108600,9 +108496,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 _iter1275 : struct.success) + for (Partition _iter1249 : struct.success) { - _iter1275.write(oprot); + _iter1249.write(oprot); } oprot.writeListEnd(); } @@ -108649,9 +108545,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1276 : struct.success) + for (Partition _iter1250 : struct.success) { - _iter1276.write(oprot); + _iter1250.write(oprot); } } } @@ -108669,14 +108565,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 _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1277.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1251.size); + Partition _elem1252; + for (int _i1253 = 0; _i1253 < _list1251.size; ++_i1253) { - _elem1278 = new Partition(); - _elem1278.read(iprot); - struct.success.add(_elem1278); + _elem1252 = new Partition(); + _elem1252.read(iprot); + struct.success.add(_elem1252); } } struct.setSuccessIsSet(true); @@ -109739,14 +109635,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 _list1280 = iprot.readListBegin(); - struct.success = new ArrayList(_list1280.size); - PartitionSpec _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1254 = iprot.readListBegin(); + struct.success = new ArrayList(_list1254.size); + PartitionSpec _elem1255; + for (int _i1256 = 0; _i1256 < _list1254.size; ++_i1256) { - _elem1281 = new PartitionSpec(); - _elem1281.read(iprot); - struct.success.add(_elem1281); + _elem1255 = new PartitionSpec(); + _elem1255.read(iprot); + struct.success.add(_elem1255); } iprot.readListEnd(); } @@ -109790,9 +109686,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 _iter1283 : struct.success) + for (PartitionSpec _iter1257 : struct.success) { - _iter1283.write(oprot); + _iter1257.write(oprot); } oprot.writeListEnd(); } @@ -109839,9 +109735,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1284 : struct.success) + for (PartitionSpec _iter1258 : struct.success) { - _iter1284.write(oprot); + _iter1258.write(oprot); } } } @@ -109859,14 +109755,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 _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1285.size); - PartitionSpec _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); + PartitionSpec _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { - _elem1286 = new PartitionSpec(); - _elem1286.read(iprot); - struct.success.add(_elem1286); + _elem1260 = new PartitionSpec(); + _elem1260.read(iprot); + struct.success.add(_elem1260); } } struct.setSuccessIsSet(true); @@ -110926,13 +110822,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 _list1288 = iprot.readListBegin(); - struct.success = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1262 = iprot.readListBegin(); + struct.success = new ArrayList(_list1262.size); + String _elem1263; + for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) { - _elem1289 = iprot.readString(); - struct.success.add(_elem1289); + _elem1263 = iprot.readString(); + struct.success.add(_elem1263); } iprot.readListEnd(); } @@ -110976,9 +110872,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 _iter1291 : struct.success) + for (String _iter1265 : struct.success) { - oprot.writeString(_iter1291); + oprot.writeString(_iter1265); } oprot.writeListEnd(); } @@ -111025,9 +110921,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1292 : struct.success) + for (String _iter1266 : struct.success) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1266); } } } @@ -111045,13 +110941,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 _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1293.size); - String _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + org.apache.thrift.protocol.TList _list1267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1267.size); + String _elem1268; + for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) { - _elem1294 = iprot.readString(); - struct.success.add(_elem1294); + _elem1268 = iprot.readString(); + struct.success.add(_elem1268); } } struct.setSuccessIsSet(true); @@ -112582,13 +112478,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 _list1296 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1296.size); - String _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1270.size); + String _elem1271; + for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) { - _elem1297 = iprot.readString(); - struct.part_vals.add(_elem1297); + _elem1271 = iprot.readString(); + struct.part_vals.add(_elem1271); } iprot.readListEnd(); } @@ -112632,9 +112528,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 _iter1299 : struct.part_vals) + for (String _iter1273 : struct.part_vals) { - oprot.writeString(_iter1299); + oprot.writeString(_iter1273); } oprot.writeListEnd(); } @@ -112683,9 +112579,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 _iter1300 : struct.part_vals) + for (String _iter1274 : struct.part_vals) { - oprot.writeString(_iter1300); + oprot.writeString(_iter1274); } } } @@ -112708,13 +112604,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.part_vals = new ArrayList(_list1275.size); + String _elem1276; + for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) { - _elem1302 = iprot.readString(); - struct.part_vals.add(_elem1302); + _elem1276 = iprot.readString(); + struct.part_vals.add(_elem1276); } } struct.setPart_valsIsSet(true); @@ -113205,14 +113101,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 _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(); } @@ -113256,9 +113152,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(); } @@ -113305,9 +113201,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1308 : struct.success) + for (Partition _iter1282 : struct.success) { - _iter1308.write(oprot); + _iter1282.write(oprot); } } } @@ -113325,14 +113221,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 _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); @@ -114104,13 +114000,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 _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(); } @@ -114138,13 +114034,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 _list1315 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1315.size); - String _elem1316; - for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) + org.apache.thrift.protocol.TList _list1289 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1289.size); + String _elem1290; + for (int _i1291 = 0; _i1291 < _list1289.size; ++_i1291) { - _elem1316 = iprot.readString(); - struct.group_names.add(_elem1316); + _elem1290 = iprot.readString(); + struct.group_names.add(_elem1290); } iprot.readListEnd(); } @@ -114180,9 +114076,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 _iter1318 : struct.part_vals) + for (String _iter1292 : struct.part_vals) { - oprot.writeString(_iter1318); + oprot.writeString(_iter1292); } oprot.writeListEnd(); } @@ -114200,9 +114096,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 _iter1319 : struct.group_names) + for (String _iter1293 : struct.group_names) { - oprot.writeString(_iter1319); + oprot.writeString(_iter1293); } oprot.writeListEnd(); } @@ -114254,9 +114150,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 _iter1320 : struct.part_vals) + for (String _iter1294 : struct.part_vals) { - oprot.writeString(_iter1320); + oprot.writeString(_iter1294); } } } @@ -114269,9 +114165,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 _iter1321 : struct.group_names) + for (String _iter1295 : struct.group_names) { - oprot.writeString(_iter1321); + oprot.writeString(_iter1295); } } } @@ -114291,13 +114187,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1322 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1322.size); - String _elem1323; - for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) + org.apache.thrift.protocol.TList _list1296 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1296.size); + String _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1323 = iprot.readString(); - struct.part_vals.add(_elem1323); + _elem1297 = iprot.readString(); + struct.part_vals.add(_elem1297); } } struct.setPart_valsIsSet(true); @@ -114312,13 +114208,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.group_names = new ArrayList(_list1299.size); + String _elem1300; + for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) { - _elem1326 = iprot.readString(); - struct.group_names.add(_elem1326); + _elem1300 = iprot.readString(); + struct.group_names.add(_elem1300); } } struct.setGroup_namesIsSet(true); @@ -114805,14 +114701,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 _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(); } @@ -114856,9 +114752,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 _iter1331 : struct.success) + for (Partition _iter1305 : struct.success) { - _iter1331.write(oprot); + _iter1305.write(oprot); } oprot.writeListEnd(); } @@ -114905,9 +114801,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1332 : struct.success) + for (Partition _iter1306 : struct.success) { - _iter1332.write(oprot); + _iter1306.write(oprot); } } } @@ -114925,14 +114821,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 _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); @@ -115525,13 +115421,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 _list1336 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1336.size); - String _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1310.size); + String _elem1311; + for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) { - _elem1337 = iprot.readString(); - struct.part_vals.add(_elem1337); + _elem1311 = iprot.readString(); + struct.part_vals.add(_elem1311); } iprot.readListEnd(); } @@ -115575,9 +115471,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 _iter1339 : struct.part_vals) + for (String _iter1313 : struct.part_vals) { - oprot.writeString(_iter1339); + oprot.writeString(_iter1313); } oprot.writeListEnd(); } @@ -115626,9 +115522,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 _iter1340 : struct.part_vals) + for (String _iter1314 : struct.part_vals) { - oprot.writeString(_iter1340); + oprot.writeString(_iter1314); } } } @@ -115651,13 +115547,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1341.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1315.size); + String _elem1316; + for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) { - _elem1342 = iprot.readString(); - struct.part_vals.add(_elem1342); + _elem1316 = iprot.readString(); + struct.part_vals.add(_elem1316); } } struct.setPart_valsIsSet(true); @@ -116145,13 +116041,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 _list1344 = iprot.readListBegin(); - struct.success = new ArrayList(_list1344.size); - String _elem1345; - for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) + org.apache.thrift.protocol.TList _list1318 = iprot.readListBegin(); + struct.success = new ArrayList(_list1318.size); + String _elem1319; + for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) { - _elem1345 = iprot.readString(); - struct.success.add(_elem1345); + _elem1319 = iprot.readString(); + struct.success.add(_elem1319); } iprot.readListEnd(); } @@ -116195,9 +116091,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 _iter1347 : struct.success) + for (String _iter1321 : struct.success) { - oprot.writeString(_iter1347); + oprot.writeString(_iter1321); } oprot.writeListEnd(); } @@ -116244,9 +116140,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1348 : struct.success) + for (String _iter1322 : struct.success) { - oprot.writeString(_iter1348); + oprot.writeString(_iter1322); } } } @@ -116264,13 +116160,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 _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1323.size); + String _elem1324; + for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) { - _elem1350 = iprot.readString(); - struct.success.add(_elem1350); + _elem1324 = iprot.readString(); + struct.success.add(_elem1324); } } struct.setSuccessIsSet(true); @@ -117437,14 +117333,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 _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(); } @@ -117488,9 +117384,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(); } @@ -117537,9 +117433,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1356 : struct.success) + for (Partition _iter1330 : struct.success) { - _iter1356.write(oprot); + _iter1330.write(oprot); } } } @@ -117557,14 +117453,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 _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); @@ -118731,14 +118627,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 _list1360 = iprot.readListBegin(); - struct.success = new ArrayList(_list1360.size); - PartitionSpec _elem1361; - for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) + org.apache.thrift.protocol.TList _list1334 = iprot.readListBegin(); + struct.success = new ArrayList(_list1334.size); + PartitionSpec _elem1335; + for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) { - _elem1361 = new PartitionSpec(); - _elem1361.read(iprot); - struct.success.add(_elem1361); + _elem1335 = new PartitionSpec(); + _elem1335.read(iprot); + struct.success.add(_elem1335); } iprot.readListEnd(); } @@ -118782,9 +118678,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 _iter1363 : struct.success) + for (PartitionSpec _iter1337 : struct.success) { - _iter1363.write(oprot); + _iter1337.write(oprot); } oprot.writeListEnd(); } @@ -118831,9 +118727,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 _iter1364 : struct.success) + for (PartitionSpec _iter1338 : struct.success) { - _iter1364.write(oprot); + _iter1338.write(oprot); } } } @@ -118851,14 +118747,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 _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1365.size); - PartitionSpec _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.success = new ArrayList(_list1339.size); + PartitionSpec _elem1340; + for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) { - _elem1366 = new PartitionSpec(); - _elem1366.read(iprot); - struct.success.add(_elem1366); + _elem1340 = new PartitionSpec(); + _elem1340.read(iprot); + struct.success.add(_elem1340); } } struct.setSuccessIsSet(true); @@ -121442,13 +121338,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 _list1368 = iprot.readListBegin(); - struct.names = new ArrayList(_list1368.size); - String _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); + struct.names = new ArrayList(_list1342.size); + String _elem1343; + for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) { - _elem1369 = iprot.readString(); - struct.names.add(_elem1369); + _elem1343 = iprot.readString(); + struct.names.add(_elem1343); } iprot.readListEnd(); } @@ -121484,9 +121380,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 _iter1371 : struct.names) + for (String _iter1345 : struct.names) { - oprot.writeString(_iter1371); + oprot.writeString(_iter1345); } oprot.writeListEnd(); } @@ -121529,9 +121425,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1372 : struct.names) + for (String _iter1346 : struct.names) { - oprot.writeString(_iter1372); + oprot.writeString(_iter1346); } } } @@ -121551,13 +121447,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1373.size); - String _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.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1347.size); + String _elem1348; + for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) { - _elem1374 = iprot.readString(); - struct.names.add(_elem1374); + _elem1348 = iprot.readString(); + struct.names.add(_elem1348); } } struct.setNamesIsSet(true); @@ -122044,14 +121940,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 _list1376 = iprot.readListBegin(); - struct.success = new ArrayList(_list1376.size); - Partition _elem1377; - for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) + org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); + struct.success = new ArrayList(_list1350.size); + Partition _elem1351; + for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) { - _elem1377 = new Partition(); - _elem1377.read(iprot); - struct.success.add(_elem1377); + _elem1351 = new Partition(); + _elem1351.read(iprot); + struct.success.add(_elem1351); } iprot.readListEnd(); } @@ -122095,9 +121991,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 _iter1379 : struct.success) + for (Partition _iter1353 : struct.success) { - _iter1379.write(oprot); + _iter1353.write(oprot); } oprot.writeListEnd(); } @@ -122144,9 +122040,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1380 : struct.success) + for (Partition _iter1354 : struct.success) { - _iter1380.write(oprot); + _iter1354.write(oprot); } } } @@ -122164,14 +122060,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 _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1381.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1355.size); + Partition _elem1356; + for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) { - _elem1382 = new Partition(); - _elem1382.read(iprot); - struct.success.add(_elem1382); + _elem1356 = new Partition(); + _elem1356.read(iprot); + struct.success.add(_elem1356); } } struct.setSuccessIsSet(true); @@ -123721,14 +123617,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 _list1384 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1384.size); - Partition _elem1385; - for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) + org.apache.thrift.protocol.TList _list1358 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1358.size); + Partition _elem1359; + for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) { - _elem1385 = new Partition(); - _elem1385.read(iprot); - struct.new_parts.add(_elem1385); + _elem1359 = new Partition(); + _elem1359.read(iprot); + struct.new_parts.add(_elem1359); } iprot.readListEnd(); } @@ -123764,9 +123660,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 _iter1387 : struct.new_parts) + for (Partition _iter1361 : struct.new_parts) { - _iter1387.write(oprot); + _iter1361.write(oprot); } oprot.writeListEnd(); } @@ -123809,9 +123705,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 _iter1388 : struct.new_parts) + for (Partition _iter1362 : struct.new_parts) { - _iter1388.write(oprot); + _iter1362.write(oprot); } } } @@ -123831,14 +123727,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1389.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1363.size); + Partition _elem1364; + for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) { - _elem1390 = new Partition(); - _elem1390.read(iprot); - struct.new_parts.add(_elem1390); + _elem1364 = new Partition(); + _elem1364.read(iprot); + struct.new_parts.add(_elem1364); } } struct.setNew_partsIsSet(true); @@ -124891,14 +124787,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 _list1392 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1392.size); - Partition _elem1393; - for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) + org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1366.size); + Partition _elem1367; + for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) { - _elem1393 = new Partition(); - _elem1393.read(iprot); - struct.new_parts.add(_elem1393); + _elem1367 = new Partition(); + _elem1367.read(iprot); + struct.new_parts.add(_elem1367); } iprot.readListEnd(); } @@ -124943,9 +124839,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 _iter1395 : struct.new_parts) + for (Partition _iter1369 : struct.new_parts) { - _iter1395.write(oprot); + _iter1369.write(oprot); } oprot.writeListEnd(); } @@ -124996,9 +124892,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 _iter1396 : struct.new_parts) + for (Partition _iter1370 : struct.new_parts) { - _iter1396.write(oprot); + _iter1370.write(oprot); } } } @@ -125021,14 +124917,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1397.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1371.size); + Partition _elem1372; + for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) { - _elem1398 = new Partition(); - _elem1398.read(iprot); - struct.new_parts.add(_elem1398); + _elem1372 = new Partition(); + _elem1372.read(iprot); + struct.new_parts.add(_elem1372); } } struct.setNew_partsIsSet(true); @@ -127229,13 +127125,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 _list1400 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1400.size); - String _elem1401; - for (int _i1402 = 0; _i1402 < _list1400.size; ++_i1402) + org.apache.thrift.protocol.TList _list1374 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1374.size); + String _elem1375; + for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) { - _elem1401 = iprot.readString(); - struct.part_vals.add(_elem1401); + _elem1375 = iprot.readString(); + struct.part_vals.add(_elem1375); } iprot.readListEnd(); } @@ -127280,9 +127176,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 _iter1403 : struct.part_vals) + for (String _iter1377 : struct.part_vals) { - oprot.writeString(_iter1403); + oprot.writeString(_iter1377); } oprot.writeListEnd(); } @@ -127333,9 +127229,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 _iter1404 : struct.part_vals) + for (String _iter1378 : struct.part_vals) { - oprot.writeString(_iter1404); + oprot.writeString(_iter1378); } } } @@ -127358,13 +127254,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1405.size); - String _elem1406; - for (int _i1407 = 0; _i1407 < _list1405.size; ++_i1407) + org.apache.thrift.protocol.TList _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1379.size); + String _elem1380; + for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) { - _elem1406 = iprot.readString(); - struct.part_vals.add(_elem1406); + _elem1380 = iprot.readString(); + struct.part_vals.add(_elem1380); } } struct.setPart_valsIsSet(true); @@ -128238,13 +128134,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 _list1408 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1408.size); - String _elem1409; - for (int _i1410 = 0; _i1410 < _list1408.size; ++_i1410) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1382.size); + String _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1409 = iprot.readString(); - struct.part_vals.add(_elem1409); + _elem1383 = iprot.readString(); + struct.part_vals.add(_elem1383); } iprot.readListEnd(); } @@ -128278,9 +128174,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 _iter1411 : struct.part_vals) + for (String _iter1385 : struct.part_vals) { - oprot.writeString(_iter1411); + oprot.writeString(_iter1385); } oprot.writeListEnd(); } @@ -128317,9 +128213,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 _iter1412 : struct.part_vals) + for (String _iter1386 : struct.part_vals) { - oprot.writeString(_iter1412); + oprot.writeString(_iter1386); } } } @@ -128334,13 +128230,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 _list1413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1413.size); - String _elem1414; - for (int _i1415 = 0; _i1415 < _list1413.size; ++_i1415) + org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1387.size); + String _elem1388; + for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) { - _elem1414 = iprot.readString(); - struct.part_vals.add(_elem1414); + _elem1388 = iprot.readString(); + struct.part_vals.add(_elem1388); } } struct.setPart_valsIsSet(true); @@ -130495,13 +130391,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 _list1416 = iprot.readListBegin(); - struct.success = new ArrayList(_list1416.size); - String _elem1417; - for (int _i1418 = 0; _i1418 < _list1416.size; ++_i1418) + org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); + struct.success = new ArrayList(_list1390.size); + String _elem1391; + for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) { - _elem1417 = iprot.readString(); - struct.success.add(_elem1417); + _elem1391 = iprot.readString(); + struct.success.add(_elem1391); } iprot.readListEnd(); } @@ -130536,9 +130432,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 _iter1419 : struct.success) + for (String _iter1393 : struct.success) { - oprot.writeString(_iter1419); + oprot.writeString(_iter1393); } oprot.writeListEnd(); } @@ -130577,9 +130473,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1420 : struct.success) + for (String _iter1394 : struct.success) { - oprot.writeString(_iter1420); + oprot.writeString(_iter1394); } } } @@ -130594,13 +130490,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 _list1421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1421.size); - String _elem1422; - for (int _i1423 = 0; _i1423 < _list1421.size; ++_i1423) + org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1395.size); + String _elem1396; + for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) { - _elem1422 = iprot.readString(); - struct.success.add(_elem1422); + _elem1396 = iprot.readString(); + struct.success.add(_elem1396); } } struct.setSuccessIsSet(true); @@ -131363,15 +131259,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 _map1424 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1424.size); - String _key1425; - String _val1426; - for (int _i1427 = 0; _i1427 < _map1424.size; ++_i1427) + org.apache.thrift.protocol.TMap _map1398 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1398.size); + String _key1399; + String _val1400; + for (int _i1401 = 0; _i1401 < _map1398.size; ++_i1401) { - _key1425 = iprot.readString(); - _val1426 = iprot.readString(); - struct.success.put(_key1425, _val1426); + _key1399 = iprot.readString(); + _val1400 = iprot.readString(); + struct.success.put(_key1399, _val1400); } iprot.readMapEnd(); } @@ -131406,10 +131302,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 _iter1428 : struct.success.entrySet()) + for (Map.Entry _iter1402 : struct.success.entrySet()) { - oprot.writeString(_iter1428.getKey()); - oprot.writeString(_iter1428.getValue()); + oprot.writeString(_iter1402.getKey()); + oprot.writeString(_iter1402.getValue()); } oprot.writeMapEnd(); } @@ -131448,10 +131344,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 _iter1429 : struct.success.entrySet()) + for (Map.Entry _iter1403 : struct.success.entrySet()) { - oprot.writeString(_iter1429.getKey()); - oprot.writeString(_iter1429.getValue()); + oprot.writeString(_iter1403.getKey()); + oprot.writeString(_iter1403.getValue()); } } } @@ -131466,15 +131362,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 _map1430 = 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*_map1430.size); - String _key1431; - String _val1432; - for (int _i1433 = 0; _i1433 < _map1430.size; ++_i1433) + org.apache.thrift.protocol.TMap _map1404 = 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*_map1404.size); + String _key1405; + String _val1406; + for (int _i1407 = 0; _i1407 < _map1404.size; ++_i1407) { - _key1431 = iprot.readString(); - _val1432 = iprot.readString(); - struct.success.put(_key1431, _val1432); + _key1405 = iprot.readString(); + _val1406 = iprot.readString(); + struct.success.put(_key1405, _val1406); } } struct.setSuccessIsSet(true); @@ -132069,15 +131965,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 _map1434 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1434.size); - String _key1435; - String _val1436; - for (int _i1437 = 0; _i1437 < _map1434.size; ++_i1437) + org.apache.thrift.protocol.TMap _map1408 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1408.size); + String _key1409; + String _val1410; + for (int _i1411 = 0; _i1411 < _map1408.size; ++_i1411) { - _key1435 = iprot.readString(); - _val1436 = iprot.readString(); - struct.part_vals.put(_key1435, _val1436); + _key1409 = iprot.readString(); + _val1410 = iprot.readString(); + struct.part_vals.put(_key1409, _val1410); } iprot.readMapEnd(); } @@ -132121,10 +132017,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 _iter1438 : struct.part_vals.entrySet()) + for (Map.Entry _iter1412 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1438.getKey()); - oprot.writeString(_iter1438.getValue()); + oprot.writeString(_iter1412.getKey()); + oprot.writeString(_iter1412.getValue()); } oprot.writeMapEnd(); } @@ -132175,10 +132071,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1439 : struct.part_vals.entrySet()) + for (Map.Entry _iter1413 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1439.getKey()); - oprot.writeString(_iter1439.getValue()); + oprot.writeString(_iter1413.getKey()); + oprot.writeString(_iter1413.getValue()); } } } @@ -132201,15 +132097,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1440 = 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*_map1440.size); - String _key1441; - String _val1442; - for (int _i1443 = 0; _i1443 < _map1440.size; ++_i1443) + org.apache.thrift.protocol.TMap _map1414 = 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*_map1414.size); + String _key1415; + String _val1416; + for (int _i1417 = 0; _i1417 < _map1414.size; ++_i1417) { - _key1441 = iprot.readString(); - _val1442 = iprot.readString(); - struct.part_vals.put(_key1441, _val1442); + _key1415 = iprot.readString(); + _val1416 = iprot.readString(); + struct.part_vals.put(_key1415, _val1416); } } struct.setPart_valsIsSet(true); @@ -133693,15 +133589,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 _map1444 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1444.size); - String _key1445; - String _val1446; - for (int _i1447 = 0; _i1447 < _map1444.size; ++_i1447) + org.apache.thrift.protocol.TMap _map1418 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1418.size); + String _key1419; + String _val1420; + for (int _i1421 = 0; _i1421 < _map1418.size; ++_i1421) { - _key1445 = iprot.readString(); - _val1446 = iprot.readString(); - struct.part_vals.put(_key1445, _val1446); + _key1419 = iprot.readString(); + _val1420 = iprot.readString(); + struct.part_vals.put(_key1419, _val1420); } iprot.readMapEnd(); } @@ -133745,10 +133641,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 _iter1448 : struct.part_vals.entrySet()) + for (Map.Entry _iter1422 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1448.getKey()); - oprot.writeString(_iter1448.getValue()); + oprot.writeString(_iter1422.getKey()); + oprot.writeString(_iter1422.getValue()); } oprot.writeMapEnd(); } @@ -133799,10 +133695,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1449 : struct.part_vals.entrySet()) + for (Map.Entry _iter1423 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1449.getKey()); - oprot.writeString(_iter1449.getValue()); + oprot.writeString(_iter1423.getKey()); + oprot.writeString(_iter1423.getValue()); } } } @@ -133825,15 +133721,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1450 = 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*_map1450.size); - String _key1451; - String _val1452; - for (int _i1453 = 0; _i1453 < _map1450.size; ++_i1453) + org.apache.thrift.protocol.TMap _map1424 = 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*_map1424.size); + String _key1425; + String _val1426; + for (int _i1427 = 0; _i1427 < _map1424.size; ++_i1427) { - _key1451 = iprot.readString(); - _val1452 = iprot.readString(); - struct.part_vals.put(_key1451, _val1452); + _key1425 = iprot.readString(); + _val1426 = iprot.readString(); + struct.part_vals.put(_key1425, _val1426); } } struct.setPart_valsIsSet(true); @@ -156189,13 +156085,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 _list1454 = iprot.readListBegin(); - struct.success = new ArrayList(_list1454.size); - String _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1428 = iprot.readListBegin(); + struct.success = new ArrayList(_list1428.size); + String _elem1429; + for (int _i1430 = 0; _i1430 < _list1428.size; ++_i1430) { - _elem1455 = iprot.readString(); - struct.success.add(_elem1455); + _elem1429 = iprot.readString(); + struct.success.add(_elem1429); } iprot.readListEnd(); } @@ -156230,9 +156126,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 _iter1457 : struct.success) + for (String _iter1431 : struct.success) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1431); } oprot.writeListEnd(); } @@ -156271,9 +156167,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1458 : struct.success) + for (String _iter1432 : struct.success) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1432); } } } @@ -156288,13 +156184,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 _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1433.size); + String _elem1434; + for (int _i1435 = 0; _i1435 < _list1433.size; ++_i1435) { - _elem1460 = iprot.readString(); - struct.success.add(_elem1460); + _elem1434 = iprot.readString(); + struct.success.add(_elem1434); } } struct.setSuccessIsSet(true); @@ -160349,13 +160245,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 _list1462 = iprot.readListBegin(); - struct.success = new ArrayList(_list1462.size); - String _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1436 = iprot.readListBegin(); + struct.success = new ArrayList(_list1436.size); + String _elem1437; + for (int _i1438 = 0; _i1438 < _list1436.size; ++_i1438) { - _elem1463 = iprot.readString(); - struct.success.add(_elem1463); + _elem1437 = iprot.readString(); + struct.success.add(_elem1437); } iprot.readListEnd(); } @@ -160390,9 +160286,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 _iter1465 : struct.success) + for (String _iter1439 : struct.success) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1439); } oprot.writeListEnd(); } @@ -160431,9 +160327,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1466 : struct.success) + for (String _iter1440 : struct.success) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1440); } } } @@ -160448,13 +160344,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 _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1467.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1441.size); + String _elem1442; + for (int _i1443 = 0; _i1443 < _list1441.size; ++_i1443) { - _elem1468 = iprot.readString(); - struct.success.add(_elem1468); + _elem1442 = iprot.readString(); + struct.success.add(_elem1442); } } struct.setSuccessIsSet(true); @@ -163745,14 +163641,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 _list1470 = iprot.readListBegin(); - struct.success = new ArrayList(_list1470.size); - Role _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1444 = iprot.readListBegin(); + struct.success = new ArrayList(_list1444.size); + Role _elem1445; + for (int _i1446 = 0; _i1446 < _list1444.size; ++_i1446) { - _elem1471 = new Role(); - _elem1471.read(iprot); - struct.success.add(_elem1471); + _elem1445 = new Role(); + _elem1445.read(iprot); + struct.success.add(_elem1445); } iprot.readListEnd(); } @@ -163787,9 +163683,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 _iter1473 : struct.success) + for (Role _iter1447 : struct.success) { - _iter1473.write(oprot); + _iter1447.write(oprot); } oprot.writeListEnd(); } @@ -163828,9 +163724,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1474 : struct.success) + for (Role _iter1448 : struct.success) { - _iter1474.write(oprot); + _iter1448.write(oprot); } } } @@ -163845,14 +163741,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 _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1475.size); - Role _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1449.size); + Role _elem1450; + for (int _i1451 = 0; _i1451 < _list1449.size; ++_i1451) { - _elem1476 = new Role(); - _elem1476.read(iprot); - struct.success.add(_elem1476); + _elem1450 = new Role(); + _elem1450.read(iprot); + struct.success.add(_elem1450); } } struct.setSuccessIsSet(true); @@ -166857,13 +166753,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 _list1478 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1478.size); - String _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1452 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1452.size); + String _elem1453; + for (int _i1454 = 0; _i1454 < _list1452.size; ++_i1454) { - _elem1479 = iprot.readString(); - struct.group_names.add(_elem1479); + _elem1453 = iprot.readString(); + struct.group_names.add(_elem1453); } iprot.readListEnd(); } @@ -166899,9 +166795,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 _iter1481 : struct.group_names) + for (String _iter1455 : struct.group_names) { - oprot.writeString(_iter1481); + oprot.writeString(_iter1455); } oprot.writeListEnd(); } @@ -166944,9 +166840,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 _iter1482 : struct.group_names) + for (String _iter1456 : struct.group_names) { - oprot.writeString(_iter1482); + oprot.writeString(_iter1456); } } } @@ -166967,13 +166863,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.group_names = new ArrayList(_list1457.size); + String _elem1458; + for (int _i1459 = 0; _i1459 < _list1457.size; ++_i1459) { - _elem1484 = iprot.readString(); - struct.group_names.add(_elem1484); + _elem1458 = iprot.readString(); + struct.group_names.add(_elem1458); } } struct.setGroup_namesIsSet(true); @@ -168431,14 +168327,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 _list1486 = iprot.readListBegin(); - struct.success = new ArrayList(_list1486.size); - HiveObjectPrivilege _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) + org.apache.thrift.protocol.TList _list1460 = iprot.readListBegin(); + struct.success = new ArrayList(_list1460.size); + HiveObjectPrivilege _elem1461; + for (int _i1462 = 0; _i1462 < _list1460.size; ++_i1462) { - _elem1487 = new HiveObjectPrivilege(); - _elem1487.read(iprot); - struct.success.add(_elem1487); + _elem1461 = new HiveObjectPrivilege(); + _elem1461.read(iprot); + struct.success.add(_elem1461); } iprot.readListEnd(); } @@ -168473,9 +168369,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 _iter1489 : struct.success) + for (HiveObjectPrivilege _iter1463 : struct.success) { - _iter1489.write(oprot); + _iter1463.write(oprot); } oprot.writeListEnd(); } @@ -168514,9 +168410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1490 : struct.success) + for (HiveObjectPrivilege _iter1464 : struct.success) { - _iter1490.write(oprot); + _iter1464.write(oprot); } } } @@ -168531,14 +168427,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 _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1491.size); - HiveObjectPrivilege _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1465.size); + HiveObjectPrivilege _elem1466; + for (int _i1467 = 0; _i1467 < _list1465.size; ++_i1467) { - _elem1492 = new HiveObjectPrivilege(); - _elem1492.read(iprot); - struct.success.add(_elem1492); + _elem1466 = new HiveObjectPrivilege(); + _elem1466.read(iprot); + struct.success.add(_elem1466); } } struct.setSuccessIsSet(true); @@ -172485,13 +172381,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 _list1494 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1494.size); - String _elem1495; - for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) + org.apache.thrift.protocol.TList _list1468 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1468.size); + String _elem1469; + for (int _i1470 = 0; _i1470 < _list1468.size; ++_i1470) { - _elem1495 = iprot.readString(); - struct.group_names.add(_elem1495); + _elem1469 = iprot.readString(); + struct.group_names.add(_elem1469); } iprot.readListEnd(); } @@ -172522,9 +172418,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 _iter1497 : struct.group_names) + for (String _iter1471 : struct.group_names) { - oprot.writeString(_iter1497); + oprot.writeString(_iter1471); } oprot.writeListEnd(); } @@ -172561,9 +172457,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 _iter1498 : struct.group_names) + for (String _iter1472 : struct.group_names) { - oprot.writeString(_iter1498); + oprot.writeString(_iter1472); } } } @@ -172579,13 +172475,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.group_names = new ArrayList(_list1473.size); + String _elem1474; + for (int _i1475 = 0; _i1475 < _list1473.size; ++_i1475) { - _elem1500 = iprot.readString(); - struct.group_names.add(_elem1500); + _elem1474 = iprot.readString(); + struct.group_names.add(_elem1474); } } struct.setGroup_namesIsSet(true); @@ -172988,13 +172884,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 _list1502 = iprot.readListBegin(); - struct.success = new ArrayList(_list1502.size); - String _elem1503; - for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) + org.apache.thrift.protocol.TList _list1476 = iprot.readListBegin(); + struct.success = new ArrayList(_list1476.size); + String _elem1477; + for (int _i1478 = 0; _i1478 < _list1476.size; ++_i1478) { - _elem1503 = iprot.readString(); - struct.success.add(_elem1503); + _elem1477 = iprot.readString(); + struct.success.add(_elem1477); } iprot.readListEnd(); } @@ -173029,9 +172925,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 _iter1505 : struct.success) + for (String _iter1479 : struct.success) { - oprot.writeString(_iter1505); + oprot.writeString(_iter1479); } oprot.writeListEnd(); } @@ -173070,9 +172966,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1506 : struct.success) + for (String _iter1480 : struct.success) { - oprot.writeString(_iter1506); + oprot.writeString(_iter1480); } } } @@ -173087,13 +172983,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 _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1507.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1481.size); + String _elem1482; + for (int _i1483 = 0; _i1483 < _list1481.size; ++_i1483) { - _elem1508 = iprot.readString(); - struct.success.add(_elem1508); + _elem1482 = iprot.readString(); + struct.success.add(_elem1482); } } struct.setSuccessIsSet(true); @@ -178384,13 +178280,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 _list1510 = iprot.readListBegin(); - struct.success = new ArrayList(_list1510.size); - String _elem1511; - for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) + org.apache.thrift.protocol.TList _list1484 = iprot.readListBegin(); + struct.success = new ArrayList(_list1484.size); + String _elem1485; + for (int _i1486 = 0; _i1486 < _list1484.size; ++_i1486) { - _elem1511 = iprot.readString(); - struct.success.add(_elem1511); + _elem1485 = iprot.readString(); + struct.success.add(_elem1485); } iprot.readListEnd(); } @@ -178416,9 +178312,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 _iter1513 : struct.success) + for (String _iter1487 : struct.success) { - oprot.writeString(_iter1513); + oprot.writeString(_iter1487); } oprot.writeListEnd(); } @@ -178449,9 +178345,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1514 : struct.success) + for (String _iter1488 : struct.success) { - oprot.writeString(_iter1514); + oprot.writeString(_iter1488); } } } @@ -178463,13 +178359,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 _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1515.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1489.size); + String _elem1490; + for (int _i1491 = 0; _i1491 < _list1489.size; ++_i1491) { - _elem1516 = iprot.readString(); - struct.success.add(_elem1516); + _elem1490 = iprot.readString(); + struct.success.add(_elem1490); } } struct.setSuccessIsSet(true); @@ -181499,13 +181395,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 _list1518 = iprot.readListBegin(); - struct.success = new ArrayList(_list1518.size); - String _elem1519; - for (int _i1520 = 0; _i1520 < _list1518.size; ++_i1520) + org.apache.thrift.protocol.TList _list1492 = iprot.readListBegin(); + struct.success = new ArrayList(_list1492.size); + String _elem1493; + for (int _i1494 = 0; _i1494 < _list1492.size; ++_i1494) { - _elem1519 = iprot.readString(); - struct.success.add(_elem1519); + _elem1493 = iprot.readString(); + struct.success.add(_elem1493); } iprot.readListEnd(); } @@ -181531,9 +181427,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 _iter1521 : struct.success) + for (String _iter1495 : struct.success) { - oprot.writeString(_iter1521); + oprot.writeString(_iter1495); } oprot.writeListEnd(); } @@ -181564,9 +181460,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1522 : struct.success) + for (String _iter1496 : struct.success) { - oprot.writeString(_iter1522); + oprot.writeString(_iter1496); } } } @@ -181578,13 +181474,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 _list1523 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1523.size); - String _elem1524; - for (int _i1525 = 0; _i1525 < _list1523.size; ++_i1525) + org.apache.thrift.protocol.TList _list1497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1497.size); + String _elem1498; + for (int _i1499 = 0; _i1499 < _list1497.size; ++_i1499) { - _elem1524 = iprot.readString(); - struct.success.add(_elem1524); + _elem1498 = iprot.readString(); + struct.success.add(_elem1498); } } struct.setSuccessIsSet(true); @@ -230493,14 +230389,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 _list1526 = iprot.readListBegin(); - struct.success = new ArrayList(_list1526.size); - SchemaVersion _elem1527; - for (int _i1528 = 0; _i1528 < _list1526.size; ++_i1528) + org.apache.thrift.protocol.TList _list1500 = iprot.readListBegin(); + struct.success = new ArrayList(_list1500.size); + SchemaVersion _elem1501; + for (int _i1502 = 0; _i1502 < _list1500.size; ++_i1502) { - _elem1527 = new SchemaVersion(); - _elem1527.read(iprot); - struct.success.add(_elem1527); + _elem1501 = new SchemaVersion(); + _elem1501.read(iprot); + struct.success.add(_elem1501); } iprot.readListEnd(); } @@ -230544,9 +230440,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 _iter1529 : struct.success) + for (SchemaVersion _iter1503 : struct.success) { - _iter1529.write(oprot); + _iter1503.write(oprot); } oprot.writeListEnd(); } @@ -230593,9 +230489,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1530 : struct.success) + for (SchemaVersion _iter1504 : struct.success) { - _iter1530.write(oprot); + _iter1504.write(oprot); } } } @@ -230613,14 +230509,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 _list1531 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1531.size); - SchemaVersion _elem1532; - for (int _i1533 = 0; _i1533 < _list1531.size; ++_i1533) + org.apache.thrift.protocol.TList _list1505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1505.size); + SchemaVersion _elem1506; + for (int _i1507 = 0; _i1507 < _list1505.size; ++_i1507) { - _elem1532 = new SchemaVersion(); - _elem1532.read(iprot); - struct.success.add(_elem1532); + _elem1506 = new SchemaVersion(); + _elem1506.read(iprot); + struct.success.add(_elem1506); } } struct.setSuccessIsSet(true); @@ -239163,14 +239059,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 _list1534 = iprot.readListBegin(); - struct.success = new ArrayList(_list1534.size); - RuntimeStat _elem1535; - for (int _i1536 = 0; _i1536 < _list1534.size; ++_i1536) + org.apache.thrift.protocol.TList _list1508 = iprot.readListBegin(); + struct.success = new ArrayList(_list1508.size); + RuntimeStat _elem1509; + for (int _i1510 = 0; _i1510 < _list1508.size; ++_i1510) { - _elem1535 = new RuntimeStat(); - _elem1535.read(iprot); - struct.success.add(_elem1535); + _elem1509 = new RuntimeStat(); + _elem1509.read(iprot); + struct.success.add(_elem1509); } iprot.readListEnd(); } @@ -239205,9 +239101,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 _iter1537 : struct.success) + for (RuntimeStat _iter1511 : struct.success) { - _iter1537.write(oprot); + _iter1511.write(oprot); } oprot.writeListEnd(); } @@ -239246,9 +239142,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1538 : struct.success) + for (RuntimeStat _iter1512 : struct.success) { - _iter1538.write(oprot); + _iter1512.write(oprot); } } } @@ -239263,14 +239159,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 _list1539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1539.size); - RuntimeStat _elem1540; - for (int _i1541 = 0; _i1541 < _list1539.size; ++_i1541) + org.apache.thrift.protocol.TList _list1513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1513.size); + RuntimeStat _elem1514; + for (int _i1515 = 0; _i1515 < _list1513.size; ++_i1515) { - _elem1540 = new RuntimeStat(); - _elem1540.read(iprot); - struct.success.add(_elem1540); + _elem1514 = new RuntimeStat(); + _elem1514.read(iprot); + struct.success.add(_elem1514); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index 44674798f7..f0c308d7a3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -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 _list872 = iprot.readListBegin(); - struct.pools = new ArrayList(_list872.size); - WMPool _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.pools = new ArrayList(_list864.size); + WMPool _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem873 = new WMPool(); - _elem873.read(iprot); - struct.pools.add(_elem873); + _elem865 = new WMPool(); + _elem865.read(iprot); + struct.pools.add(_elem865); } 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 _list875 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list875.size); - WMMapping _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list867 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list867.size); + WMMapping _elem868; + for (int _i869 = 0; _i869 < _list867.size; ++_i869) { - _elem876 = new WMMapping(); - _elem876.read(iprot); - struct.mappings.add(_elem876); + _elem868 = new WMMapping(); + _elem868.read(iprot); + struct.mappings.add(_elem868); } 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 _list878 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list878.size); - WMTrigger _elem879; - for (int _i880 = 0; _i880 < _list878.size; ++_i880) + org.apache.thrift.protocol.TList _list870 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list870.size); + WMTrigger _elem871; + for (int _i872 = 0; _i872 < _list870.size; ++_i872) { - _elem879 = new WMTrigger(); - _elem879.read(iprot); - struct.triggers.add(_elem879); + _elem871 = new WMTrigger(); + _elem871.read(iprot); + struct.triggers.add(_elem871); } 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 _list881 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list881.size); - WMPoolTrigger _elem882; - for (int _i883 = 0; _i883 < _list881.size; ++_i883) + org.apache.thrift.protocol.TList _list873 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list873.size); + WMPoolTrigger _elem874; + for (int _i875 = 0; _i875 < _list873.size; ++_i875) { - _elem882 = new WMPoolTrigger(); - _elem882.read(iprot); - struct.poolTriggers.add(_elem882); + _elem874 = new WMPoolTrigger(); + _elem874.read(iprot); + struct.poolTriggers.add(_elem874); } 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 _iter884 : struct.pools) + for (WMPool _iter876 : struct.pools) { - _iter884.write(oprot); + _iter876.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 _iter885 : struct.mappings) + for (WMMapping _iter877 : struct.mappings) { - _iter885.write(oprot); + _iter877.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 _iter886 : struct.triggers) + for (WMTrigger _iter878 : struct.triggers) { - _iter886.write(oprot); + _iter878.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 _iter887 : struct.poolTriggers) + for (WMPoolTrigger _iter879 : struct.poolTriggers) { - _iter887.write(oprot); + _iter879.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 _iter888 : struct.pools) + for (WMPool _iter880 : struct.pools) { - _iter888.write(oprot); + _iter880.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 _iter889 : struct.mappings) + for (WMMapping _iter881 : struct.mappings) { - _iter889.write(oprot); + _iter881.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter890 : struct.triggers) + for (WMTrigger _iter882 : struct.triggers) { - _iter890.write(oprot); + _iter882.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter891 : struct.poolTriggers) + for (WMPoolTrigger _iter883 : struct.poolTriggers) { - _iter891.write(oprot); + _iter883.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 _list892 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list892.size); - WMPool _elem893; - for (int _i894 = 0; _i894 < _list892.size; ++_i894) + org.apache.thrift.protocol.TList _list884 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list884.size); + WMPool _elem885; + for (int _i886 = 0; _i886 < _list884.size; ++_i886) { - _elem893 = new WMPool(); - _elem893.read(iprot); - struct.pools.add(_elem893); + _elem885 = new WMPool(); + _elem885.read(iprot); + struct.pools.add(_elem885); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list895 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list895.size); - WMMapping _elem896; - for (int _i897 = 0; _i897 < _list895.size; ++_i897) + org.apache.thrift.protocol.TList _list887 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list887.size); + WMMapping _elem888; + for (int _i889 = 0; _i889 < _list887.size; ++_i889) { - _elem896 = new WMMapping(); - _elem896.read(iprot); - struct.mappings.add(_elem896); + _elem888 = new WMMapping(); + _elem888.read(iprot); + struct.mappings.add(_elem888); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list898 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list898.size); - WMTrigger _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.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list890.size); + WMTrigger _elem891; + for (int _i892 = 0; _i892 < _list890.size; ++_i892) { - _elem899 = new WMTrigger(); - _elem899.read(iprot); - struct.triggers.add(_elem899); + _elem891 = new WMTrigger(); + _elem891.read(iprot); + struct.triggers.add(_elem891); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list901.size); - WMPoolTrigger _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.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list893.size); + WMPoolTrigger _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem902 = new WMPoolTrigger(); - _elem902.read(iprot); - struct.poolTriggers.add(_elem902); + _elem894 = new WMPoolTrigger(); + _elem894.read(iprot); + struct.poolTriggers.add(_elem894); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index c6cb845585..6eed84b222 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -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 _list904 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list904.size); - WMResourcePlan _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list896.size); + WMResourcePlan _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem905 = new WMResourcePlan(); - _elem905.read(iprot); - struct.resourcePlans.add(_elem905); + _elem897 = new WMResourcePlan(); + _elem897.read(iprot); + struct.resourcePlans.add(_elem897); } 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 _iter907 : struct.resourcePlans) + for (WMResourcePlan _iter899 : struct.resourcePlans) { - _iter907.write(oprot); + _iter899.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 _iter908 : struct.resourcePlans) + for (WMResourcePlan _iter900 : struct.resourcePlans) { - _iter908.write(oprot); + _iter900.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 _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list909.size); - WMResourcePlan _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.resourcePlans = new ArrayList(_list901.size); + WMResourcePlan _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem910 = new WMResourcePlan(); - _elem910.read(iprot); - struct.resourcePlans.add(_elem910); + _elem902 = new WMResourcePlan(); + _elem902.read(iprot); + struct.resourcePlans.add(_elem902); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 9eed335cda..53ea5d56f3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -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 _list928 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list928.size); - WMTrigger _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list920.size); + WMTrigger _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem929 = new WMTrigger(); - _elem929.read(iprot); - struct.triggers.add(_elem929); + _elem921 = new WMTrigger(); + _elem921.read(iprot); + struct.triggers.add(_elem921); } 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 _iter931 : struct.triggers) + for (WMTrigger _iter923 : struct.triggers) { - _iter931.write(oprot); + _iter923.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 _iter932 : struct.triggers) + for (WMTrigger _iter924 : struct.triggers) { - _iter932.write(oprot); + _iter924.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 _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list933.size); - WMTrigger _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.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list925.size); + WMTrigger _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem934 = new WMTrigger(); - _elem934.read(iprot); - struct.triggers.add(_elem934); + _elem926 = new WMTrigger(); + _elem926.read(iprot); + struct.triggers.add(_elem926); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index ee9251c866..0dd8a5e191 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -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 _list912 = iprot.readListBegin(); - struct.errors = new ArrayList(_list912.size); - String _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.errors = new ArrayList(_list904.size); + String _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem913 = iprot.readString(); - struct.errors.add(_elem913); + _elem905 = iprot.readString(); + struct.errors.add(_elem905); } 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 _list915 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list915.size); - String _elem916; - for (int _i917 = 0; _i917 < _list915.size; ++_i917) + org.apache.thrift.protocol.TList _list907 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list907.size); + String _elem908; + for (int _i909 = 0; _i909 < _list907.size; ++_i909) { - _elem916 = iprot.readString(); - struct.warnings.add(_elem916); + _elem908 = iprot.readString(); + struct.warnings.add(_elem908); } 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 _iter918 : struct.errors) + for (String _iter910 : struct.errors) { - oprot.writeString(_iter918); + oprot.writeString(_iter910); } 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 _iter919 : struct.warnings) + for (String _iter911 : struct.warnings) { - oprot.writeString(_iter919); + oprot.writeString(_iter911); } 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 _iter920 : struct.errors) + for (String _iter912 : struct.errors) { - oprot.writeString(_iter920); + oprot.writeString(_iter912); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter921 : struct.warnings) + for (String _iter913 : struct.warnings) { - oprot.writeString(_iter921); + oprot.writeString(_iter913); } } } @@ -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 _list922 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list922.size); - String _elem923; - for (int _i924 = 0; _i924 < _list922.size; ++_i924) + org.apache.thrift.protocol.TList _list914 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list914.size); + String _elem915; + for (int _i916 = 0; _i916 < _list914.size; ++_i916) { - _elem923 = iprot.readString(); - struct.errors.add(_elem923); + _elem915 = iprot.readString(); + struct.errors.add(_elem915); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list925.size); - String _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.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list917.size); + String _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem926 = iprot.readString(); - struct.warnings.add(_elem926); + _elem918 = iprot.readString(); + struct.warnings.add(_elem918); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index a83017b9dd..29e787ba6e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/metastore-common/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 @@ -3999,17 +3999,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) { @@ -15496,14 +15496,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size841 = 0; - $_etype844 = 0; - $xfer += $input->readListBegin($_etype844, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size833 = 0; + $_etype836 = 0; + $xfer += $input->readListBegin($_etype836, $_size833); + for ($_i837 = 0; $_i837 < $_size833; ++$_i837) { - $elem846 = null; - $xfer += $input->readString($elem846); - $this->success []= $elem846; + $elem838 = null; + $xfer += $input->readString($elem838); + $this->success []= $elem838; } $xfer += $input->readListEnd(); } else { @@ -15539,9 +15539,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter847) + foreach ($this->success as $iter839) { - $xfer += $output->writeString($iter847); + $xfer += $output->writeString($iter839); } } $output->writeListEnd(); @@ -15672,14 +15672,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size848 = 0; - $_etype851 = 0; - $xfer += $input->readListBegin($_etype851, $_size848); - for ($_i852 = 0; $_i852 < $_size848; ++$_i852) + $_size840 = 0; + $_etype843 = 0; + $xfer += $input->readListBegin($_etype843, $_size840); + for ($_i844 = 0; $_i844 < $_size840; ++$_i844) { - $elem853 = null; - $xfer += $input->readString($elem853); - $this->success []= $elem853; + $elem845 = null; + $xfer += $input->readString($elem845); + $this->success []= $elem845; } $xfer += $input->readListEnd(); } else { @@ -15715,9 +15715,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter854) + foreach ($this->success as $iter846) { - $xfer += $output->writeString($iter854); + $xfer += $output->writeString($iter846); } } $output->writeListEnd(); @@ -16718,18 +16718,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size855 = 0; - $_ktype856 = 0; - $_vtype857 = 0; - $xfer += $input->readMapBegin($_ktype856, $_vtype857, $_size855); - for ($_i859 = 0; $_i859 < $_size855; ++$_i859) + $_size847 = 0; + $_ktype848 = 0; + $_vtype849 = 0; + $xfer += $input->readMapBegin($_ktype848, $_vtype849, $_size847); + for ($_i851 = 0; $_i851 < $_size847; ++$_i851) { - $key860 = ''; - $val861 = new \metastore\Type(); - $xfer += $input->readString($key860); - $val861 = new \metastore\Type(); - $xfer += $val861->read($input); - $this->success[$key860] = $val861; + $key852 = ''; + $val853 = new \metastore\Type(); + $xfer += $input->readString($key852); + $val853 = new \metastore\Type(); + $xfer += $val853->read($input); + $this->success[$key852] = $val853; } $xfer += $input->readMapEnd(); } else { @@ -16765,10 +16765,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter862 => $viter863) + foreach ($this->success as $kiter854 => $viter855) { - $xfer += $output->writeString($kiter862); - $xfer += $viter863->write($output); + $xfer += $output->writeString($kiter854); + $xfer += $viter855->write($output); } } $output->writeMapEnd(); @@ -16972,15 +16972,15 @@ class ThriftHiveMetastore_get_fields_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 { @@ -17032,9 +17032,9 @@ class ThriftHiveMetastore_get_fields_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(); @@ -17276,15 +17276,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = 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\FieldSchema(); - $xfer += $elem876->read($input); - $this->success []= $elem876; + $elem868 = null; + $elem868 = new \metastore\FieldSchema(); + $xfer += $elem868->read($input); + $this->success []= $elem868; } $xfer += $input->readListEnd(); } else { @@ -17336,9 +17336,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter877) + foreach ($this->success as $iter869) { - $xfer += $iter877->write($output); + $xfer += $iter869->write($output); } } $output->writeListEnd(); @@ -17552,15 +17552,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size878 = 0; - $_etype881 = 0; - $xfer += $input->readListBegin($_etype881, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size870 = 0; + $_etype873 = 0; + $xfer += $input->readListBegin($_etype873, $_size870); + for ($_i874 = 0; $_i874 < $_size870; ++$_i874) { - $elem883 = null; - $elem883 = new \metastore\FieldSchema(); - $xfer += $elem883->read($input); - $this->success []= $elem883; + $elem875 = null; + $elem875 = new \metastore\FieldSchema(); + $xfer += $elem875->read($input); + $this->success []= $elem875; } $xfer += $input->readListEnd(); } else { @@ -17612,9 +17612,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter884) + foreach ($this->success as $iter876) { - $xfer += $iter884->write($output); + $xfer += $iter876->write($output); } } $output->writeListEnd(); @@ -17856,15 +17856,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size885 = 0; - $_etype888 = 0; - $xfer += $input->readListBegin($_etype888, $_size885); - for ($_i889 = 0; $_i889 < $_size885; ++$_i889) + $_size877 = 0; + $_etype880 = 0; + $xfer += $input->readListBegin($_etype880, $_size877); + for ($_i881 = 0; $_i881 < $_size877; ++$_i881) { - $elem890 = null; - $elem890 = new \metastore\FieldSchema(); - $xfer += $elem890->read($input); - $this->success []= $elem890; + $elem882 = null; + $elem882 = new \metastore\FieldSchema(); + $xfer += $elem882->read($input); + $this->success []= $elem882; } $xfer += $input->readListEnd(); } else { @@ -17916,9 +17916,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter891) + foreach ($this->success as $iter883) { - $xfer += $iter891->write($output); + $xfer += $iter883->write($output); } } $output->writeListEnd(); @@ -18590,15 +18590,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size892 = 0; - $_etype895 = 0; - $xfer += $input->readListBegin($_etype895, $_size892); - for ($_i896 = 0; $_i896 < $_size892; ++$_i896) + $_size884 = 0; + $_etype887 = 0; + $xfer += $input->readListBegin($_etype887, $_size884); + for ($_i888 = 0; $_i888 < $_size884; ++$_i888) { - $elem897 = null; - $elem897 = new \metastore\SQLPrimaryKey(); - $xfer += $elem897->read($input); - $this->primaryKeys []= $elem897; + $elem889 = null; + $elem889 = new \metastore\SQLPrimaryKey(); + $xfer += $elem889->read($input); + $this->primaryKeys []= $elem889; } $xfer += $input->readListEnd(); } else { @@ -18608,15 +18608,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size898 = 0; - $_etype901 = 0; - $xfer += $input->readListBegin($_etype901, $_size898); - for ($_i902 = 0; $_i902 < $_size898; ++$_i902) + $_size890 = 0; + $_etype893 = 0; + $xfer += $input->readListBegin($_etype893, $_size890); + for ($_i894 = 0; $_i894 < $_size890; ++$_i894) { - $elem903 = null; - $elem903 = new \metastore\SQLForeignKey(); - $xfer += $elem903->read($input); - $this->foreignKeys []= $elem903; + $elem895 = null; + $elem895 = new \metastore\SQLForeignKey(); + $xfer += $elem895->read($input); + $this->foreignKeys []= $elem895; } $xfer += $input->readListEnd(); } else { @@ -18626,15 +18626,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size904 = 0; - $_etype907 = 0; - $xfer += $input->readListBegin($_etype907, $_size904); - for ($_i908 = 0; $_i908 < $_size904; ++$_i908) + $_size896 = 0; + $_etype899 = 0; + $xfer += $input->readListBegin($_etype899, $_size896); + for ($_i900 = 0; $_i900 < $_size896; ++$_i900) { - $elem909 = null; - $elem909 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem909->read($input); - $this->uniqueConstraints []= $elem909; + $elem901 = null; + $elem901 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem901->read($input); + $this->uniqueConstraints []= $elem901; } $xfer += $input->readListEnd(); } else { @@ -18644,15 +18644,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size910 = 0; - $_etype913 = 0; - $xfer += $input->readListBegin($_etype913, $_size910); - for ($_i914 = 0; $_i914 < $_size910; ++$_i914) + $_size902 = 0; + $_etype905 = 0; + $xfer += $input->readListBegin($_etype905, $_size902); + for ($_i906 = 0; $_i906 < $_size902; ++$_i906) { - $elem915 = null; - $elem915 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem915->read($input); - $this->notNullConstraints []= $elem915; + $elem907 = null; + $elem907 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem907->read($input); + $this->notNullConstraints []= $elem907; } $xfer += $input->readListEnd(); } else { @@ -18662,15 +18662,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size916 = 0; - $_etype919 = 0; - $xfer += $input->readListBegin($_etype919, $_size916); - for ($_i920 = 0; $_i920 < $_size916; ++$_i920) + $_size908 = 0; + $_etype911 = 0; + $xfer += $input->readListBegin($_etype911, $_size908); + for ($_i912 = 0; $_i912 < $_size908; ++$_i912) { - $elem921 = null; - $elem921 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem921->read($input); - $this->defaultConstraints []= $elem921; + $elem913 = null; + $elem913 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem913->read($input); + $this->defaultConstraints []= $elem913; } $xfer += $input->readListEnd(); } else { @@ -18680,15 +18680,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size922 = 0; - $_etype925 = 0; - $xfer += $input->readListBegin($_etype925, $_size922); - for ($_i926 = 0; $_i926 < $_size922; ++$_i926) + $_size914 = 0; + $_etype917 = 0; + $xfer += $input->readListBegin($_etype917, $_size914); + for ($_i918 = 0; $_i918 < $_size914; ++$_i918) { - $elem927 = null; - $elem927 = new \metastore\SQLCheckConstraint(); - $xfer += $elem927->read($input); - $this->checkConstraints []= $elem927; + $elem919 = null; + $elem919 = new \metastore\SQLCheckConstraint(); + $xfer += $elem919->read($input); + $this->checkConstraints []= $elem919; } $xfer += $input->readListEnd(); } else { @@ -18724,9 +18724,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter928) + foreach ($this->primaryKeys as $iter920) { - $xfer += $iter928->write($output); + $xfer += $iter920->write($output); } } $output->writeListEnd(); @@ -18741,9 +18741,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter929) + foreach ($this->foreignKeys as $iter921) { - $xfer += $iter929->write($output); + $xfer += $iter921->write($output); } } $output->writeListEnd(); @@ -18758,9 +18758,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter930) + foreach ($this->uniqueConstraints as $iter922) { - $xfer += $iter930->write($output); + $xfer += $iter922->write($output); } } $output->writeListEnd(); @@ -18775,9 +18775,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter931) + foreach ($this->notNullConstraints as $iter923) { - $xfer += $iter931->write($output); + $xfer += $iter923->write($output); } } $output->writeListEnd(); @@ -18792,9 +18792,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter932) + foreach ($this->defaultConstraints as $iter924) { - $xfer += $iter932->write($output); + $xfer += $iter924->write($output); } } $output->writeListEnd(); @@ -18809,9 +18809,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter933) + foreach ($this->checkConstraints as $iter925) { - $xfer += $iter933->write($output); + $xfer += $iter925->write($output); } } $output->writeListEnd(); @@ -20811,14 +20811,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = 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->partNames []= $elem939; + $elem931 = null; + $xfer += $input->readString($elem931); + $this->partNames []= $elem931; } $xfer += $input->readListEnd(); } else { @@ -20856,9 +20856,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter940) + foreach ($this->partNames as $iter932) { - $xfer += $output->writeString($iter940); + $xfer += $output->writeString($iter932); } } $output->writeListEnd(); @@ -21109,14 +21109,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem946; + $elem938 = null; + $xfer += $input->readString($elem938); + $this->success []= $elem938; } $xfer += $input->readListEnd(); } else { @@ -21152,9 +21152,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter947) + foreach ($this->success as $iter939) { - $xfer += $output->writeString($iter947); + $xfer += $output->writeString($iter939); } } $output->writeListEnd(); @@ -21356,14 +21356,14 @@ class ThriftHiveMetastore_get_tables_by_type_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; - $xfer += $input->readString($elem953); - $this->success []= $elem953; + $elem945 = null; + $xfer += $input->readString($elem945); + $this->success []= $elem945; } $xfer += $input->readListEnd(); } else { @@ -21399,9 +21399,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter954) + foreach ($this->success as $iter946) { - $xfer += $output->writeString($iter954); + $xfer += $output->writeString($iter946); } } $output->writeListEnd(); @@ -21557,14 +21557,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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 { @@ -21600,9 +21600,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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(); @@ -21707,14 +21707,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = 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_types []= $elem967; + $elem959 = null; + $xfer += $input->readString($elem959); + $this->tbl_types []= $elem959; } $xfer += $input->readListEnd(); } else { @@ -21752,9 +21752,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter968) + foreach ($this->tbl_types as $iter960) { - $xfer += $output->writeString($iter968); + $xfer += $output->writeString($iter960); } } $output->writeListEnd(); @@ -21831,15 +21831,15 @@ class ThriftHiveMetastore_get_table_meta_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\TableMeta(); - $xfer += $elem974->read($input); - $this->success []= $elem974; + $elem966 = null; + $elem966 = new \metastore\TableMeta(); + $xfer += $elem966->read($input); + $this->success []= $elem966; } $xfer += $input->readListEnd(); } else { @@ -21875,9 +21875,9 @@ class ThriftHiveMetastore_get_table_meta_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(); @@ -22033,14 +22033,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size976 = 0; - $_etype979 = 0; - $xfer += $input->readListBegin($_etype979, $_size976); - for ($_i980 = 0; $_i980 < $_size976; ++$_i980) + $_size968 = 0; + $_etype971 = 0; + $xfer += $input->readListBegin($_etype971, $_size968); + for ($_i972 = 0; $_i972 < $_size968; ++$_i972) { - $elem981 = null; - $xfer += $input->readString($elem981); - $this->success []= $elem981; + $elem973 = null; + $xfer += $input->readString($elem973); + $this->success []= $elem973; } $xfer += $input->readListEnd(); } else { @@ -22076,9 +22076,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter982) + foreach ($this->success as $iter974) { - $xfer += $output->writeString($iter982); + $xfer += $output->writeString($iter974); } } $output->writeListEnd(); @@ -22393,14 +22393,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size983 = 0; - $_etype986 = 0; - $xfer += $input->readListBegin($_etype986, $_size983); - for ($_i987 = 0; $_i987 < $_size983; ++$_i987) + $_size975 = 0; + $_etype978 = 0; + $xfer += $input->readListBegin($_etype978, $_size975); + for ($_i979 = 0; $_i979 < $_size975; ++$_i979) { - $elem988 = null; - $xfer += $input->readString($elem988); - $this->tbl_names []= $elem988; + $elem980 = null; + $xfer += $input->readString($elem980); + $this->tbl_names []= $elem980; } $xfer += $input->readListEnd(); } else { @@ -22433,9 +22433,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter989) + foreach ($this->tbl_names as $iter981) { - $xfer += $output->writeString($iter989); + $xfer += $output->writeString($iter981); } } $output->writeListEnd(); @@ -22500,15 +22500,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size990 = 0; - $_etype993 = 0; - $xfer += $input->readListBegin($_etype993, $_size990); - for ($_i994 = 0; $_i994 < $_size990; ++$_i994) + $_size982 = 0; + $_etype985 = 0; + $xfer += $input->readListBegin($_etype985, $_size982); + for ($_i986 = 0; $_i986 < $_size982; ++$_i986) { - $elem995 = null; - $elem995 = new \metastore\Table(); - $xfer += $elem995->read($input); - $this->success []= $elem995; + $elem987 = null; + $elem987 = new \metastore\Table(); + $xfer += $elem987->read($input); + $this->success []= $elem987; } $xfer += $input->readListEnd(); } else { @@ -22536,9 +22536,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter996) + foreach ($this->success as $iter988) { - $xfer += $iter996->write($output); + $xfer += $iter988->write($output); } } $output->writeListEnd(); @@ -23001,37 +23001,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']; } } } @@ -23056,25 +23053,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(); - $_size997 = 0; - $_etype1000 = 0; - $xfer += $input->readListBegin($_etype1000, $_size997); - for ($_i1001 = 0; $_i1001 < $_size997; ++$_i1001) - { - $elem1002 = null; - $xfer += $input->readString($elem1002); - $this->tbl_names []= $elem1002; - } - $xfer += $input->readListEnd(); + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validTxnList); } else { $xfer += $input->skip($ftype); } @@ -23092,26 +23080,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 $iter1003) - { - $xfer += $output->writeString($iter1003); - } - } - $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(); @@ -23125,7 +23104,7 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { static $_TSPEC; /** - * @var array + * @var \metastore\Materialization */ public $success = null; /** @@ -23146,16 +23125,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', @@ -23210,22 +23181,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { switch ($fid) { case 0: - if ($ftype == TType::MAP) { - $this->success = array(); - $_size1004 = 0; - $_ktype1005 = 0; - $_vtype1006 = 0; - $xfer += $input->readMapBegin($_ktype1005, $_vtype1006, $_size1004); - for ($_i1008 = 0; $_i1008 < $_size1004; ++$_i1008) - { - $key1009 = ''; - $val1010 = new \metastore\Materialization(); - $xfer += $input->readString($key1009); - $val1010 = new \metastore\Materialization(); - $xfer += $val1010->read($input); - $this->success[$key1009] = $val1010; - } - $xfer += $input->readMapEnd(); + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\Materialization(); + $xfer += $this->success->read($input); } else { $xfer += $input->skip($ftype); } @@ -23268,21 +23226,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 $kiter1011 => $viter1012) - { - $xfer += $output->writeString($kiter1011); - $xfer += $viter1012->write($output); - } - } - $output->writeMapEnd(); - } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); $xfer += $output->writeFieldEnd(); } if ($this->o1 !== null) { @@ -23790,14 +23738,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1018; + $elem994 = null; + $xfer += $input->readString($elem994); + $this->success []= $elem994; } $xfer += $input->readListEnd(); } else { @@ -23849,9 +23797,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1019) + foreach ($this->success as $iter995) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter995); } } $output->writeListEnd(); @@ -25164,15 +25112,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem1025 = new \metastore\Partition(); - $xfer += $elem1025->read($input); - $this->new_parts []= $elem1025; + $elem1001 = null; + $elem1001 = new \metastore\Partition(); + $xfer += $elem1001->read($input); + $this->new_parts []= $elem1001; } $xfer += $input->readListEnd(); } else { @@ -25200,9 +25148,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1026) + foreach ($this->new_parts as $iter1002) { - $xfer += $iter1026->write($output); + $xfer += $iter1002->write($output); } } $output->writeListEnd(); @@ -25417,15 +25365,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem1032 = new \metastore\PartitionSpec(); - $xfer += $elem1032->read($input); - $this->new_parts []= $elem1032; + $elem1008 = null; + $elem1008 = new \metastore\PartitionSpec(); + $xfer += $elem1008->read($input); + $this->new_parts []= $elem1008; } $xfer += $input->readListEnd(); } else { @@ -25453,9 +25401,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1033) + foreach ($this->new_parts as $iter1009) { - $xfer += $iter1033->write($output); + $xfer += $iter1009->write($output); } } $output->writeListEnd(); @@ -25705,14 +25653,14 @@ class ThriftHiveMetastore_append_partition_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 { @@ -25750,9 +25698,9 @@ class ThriftHiveMetastore_append_partition_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(); @@ -26254,14 +26202,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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 { @@ -26307,9 +26255,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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(); @@ -27163,14 +27111,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1048 = 0; - $_etype1051 = 0; - $xfer += $input->readListBegin($_etype1051, $_size1048); - for ($_i1052 = 0; $_i1052 < $_size1048; ++$_i1052) + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { - $elem1053 = null; - $xfer += $input->readString($elem1053); - $this->part_vals []= $elem1053; + $elem1029 = null; + $xfer += $input->readString($elem1029); + $this->part_vals []= $elem1029; } $xfer += $input->readListEnd(); } else { @@ -27215,9 +27163,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1054) + foreach ($this->part_vals as $iter1030) { - $xfer += $output->writeString($iter1054); + $xfer += $output->writeString($iter1030); } } $output->writeListEnd(); @@ -27470,14 +27418,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1055 = 0; - $_etype1058 = 0; - $xfer += $input->readListBegin($_etype1058, $_size1055); - for ($_i1059 = 0; $_i1059 < $_size1055; ++$_i1059) + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { - $elem1060 = null; - $xfer += $input->readString($elem1060); - $this->part_vals []= $elem1060; + $elem1036 = null; + $xfer += $input->readString($elem1036); + $this->part_vals []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -27530,9 +27478,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1061) + foreach ($this->part_vals as $iter1037) { - $xfer += $output->writeString($iter1061); + $xfer += $output->writeString($iter1037); } } $output->writeListEnd(); @@ -28546,14 +28494,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1062 = 0; - $_etype1065 = 0; - $xfer += $input->readListBegin($_etype1065, $_size1062); - for ($_i1066 = 0; $_i1066 < $_size1062; ++$_i1066) + $_size1038 = 0; + $_etype1041 = 0; + $xfer += $input->readListBegin($_etype1041, $_size1038); + for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) { - $elem1067 = null; - $xfer += $input->readString($elem1067); - $this->part_vals []= $elem1067; + $elem1043 = null; + $xfer += $input->readString($elem1043); + $this->part_vals []= $elem1043; } $xfer += $input->readListEnd(); } else { @@ -28591,9 +28539,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1068) + foreach ($this->part_vals as $iter1044) { - $xfer += $output->writeString($iter1068); + $xfer += $output->writeString($iter1044); } } $output->writeListEnd(); @@ -28835,17 +28783,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1069 = 0; - $_ktype1070 = 0; - $_vtype1071 = 0; - $xfer += $input->readMapBegin($_ktype1070, $_vtype1071, $_size1069); - for ($_i1073 = 0; $_i1073 < $_size1069; ++$_i1073) + $_size1045 = 0; + $_ktype1046 = 0; + $_vtype1047 = 0; + $xfer += $input->readMapBegin($_ktype1046, $_vtype1047, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $key1074 = ''; - $val1075 = ''; - $xfer += $input->readString($key1074); - $xfer += $input->readString($val1075); - $this->partitionSpecs[$key1074] = $val1075; + $key1050 = ''; + $val1051 = ''; + $xfer += $input->readString($key1050); + $xfer += $input->readString($val1051); + $this->partitionSpecs[$key1050] = $val1051; } $xfer += $input->readMapEnd(); } else { @@ -28901,10 +28849,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1076 => $viter1077) + foreach ($this->partitionSpecs as $kiter1052 => $viter1053) { - $xfer += $output->writeString($kiter1076); - $xfer += $output->writeString($viter1077); + $xfer += $output->writeString($kiter1052); + $xfer += $output->writeString($viter1053); } } $output->writeMapEnd(); @@ -29216,17 +29164,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1078 = 0; - $_ktype1079 = 0; - $_vtype1080 = 0; - $xfer += $input->readMapBegin($_ktype1079, $_vtype1080, $_size1078); - for ($_i1082 = 0; $_i1082 < $_size1078; ++$_i1082) + $_size1054 = 0; + $_ktype1055 = 0; + $_vtype1056 = 0; + $xfer += $input->readMapBegin($_ktype1055, $_vtype1056, $_size1054); + for ($_i1058 = 0; $_i1058 < $_size1054; ++$_i1058) { - $key1083 = ''; - $val1084 = ''; - $xfer += $input->readString($key1083); - $xfer += $input->readString($val1084); - $this->partitionSpecs[$key1083] = $val1084; + $key1059 = ''; + $val1060 = ''; + $xfer += $input->readString($key1059); + $xfer += $input->readString($val1060); + $this->partitionSpecs[$key1059] = $val1060; } $xfer += $input->readMapEnd(); } else { @@ -29282,10 +29230,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1085 => $viter1086) + foreach ($this->partitionSpecs as $kiter1061 => $viter1062) { - $xfer += $output->writeString($kiter1085); - $xfer += $output->writeString($viter1086); + $xfer += $output->writeString($kiter1061); + $xfer += $output->writeString($viter1062); } } $output->writeMapEnd(); @@ -29418,15 +29366,15 @@ class ThriftHiveMetastore_exchange_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 { @@ -29486,9 +29434,9 @@ class ThriftHiveMetastore_exchange_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(); @@ -29634,14 +29582,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem1099; + $elem1075 = null; + $xfer += $input->readString($elem1075); + $this->part_vals []= $elem1075; } $xfer += $input->readListEnd(); } else { @@ -29658,14 +29606,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1100 = 0; - $_etype1103 = 0; - $xfer += $input->readListBegin($_etype1103, $_size1100); - for ($_i1104 = 0; $_i1104 < $_size1100; ++$_i1104) + $_size1076 = 0; + $_etype1079 = 0; + $xfer += $input->readListBegin($_etype1079, $_size1076); + for ($_i1080 = 0; $_i1080 < $_size1076; ++$_i1080) { - $elem1105 = null; - $xfer += $input->readString($elem1105); - $this->group_names []= $elem1105; + $elem1081 = null; + $xfer += $input->readString($elem1081); + $this->group_names []= $elem1081; } $xfer += $input->readListEnd(); } else { @@ -29703,9 +29651,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1106) + foreach ($this->part_vals as $iter1082) { - $xfer += $output->writeString($iter1106); + $xfer += $output->writeString($iter1082); } } $output->writeListEnd(); @@ -29725,9 +29673,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1107) + foreach ($this->group_names as $iter1083) { - $xfer += $output->writeString($iter1107); + $xfer += $output->writeString($iter1083); } } $output->writeListEnd(); @@ -30318,15 +30266,15 @@ class ThriftHiveMetastore_get_partitions_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\Partition(); - $xfer += $elem1113->read($input); - $this->success []= $elem1113; + $elem1089 = null; + $elem1089 = new \metastore\Partition(); + $xfer += $elem1089->read($input); + $this->success []= $elem1089; } $xfer += $input->readListEnd(); } else { @@ -30370,9 +30318,9 @@ class ThriftHiveMetastore_get_partitions_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(); @@ -30518,14 +30466,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = 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->group_names []= $elem1120; + $elem1096 = null; + $xfer += $input->readString($elem1096); + $this->group_names []= $elem1096; } $xfer += $input->readListEnd(); } else { @@ -30573,9 +30521,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1121) + foreach ($this->group_names as $iter1097) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1097); } } $output->writeListEnd(); @@ -30664,15 +30612,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1127 = new \metastore\Partition(); - $xfer += $elem1127->read($input); - $this->success []= $elem1127; + $elem1103 = null; + $elem1103 = new \metastore\Partition(); + $xfer += $elem1103->read($input); + $this->success []= $elem1103; } $xfer += $input->readListEnd(); } else { @@ -30716,9 +30664,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1104) { - $xfer += $iter1128->write($output); + $xfer += $iter1104->write($output); } } $output->writeListEnd(); @@ -30938,15 +30886,15 @@ class ThriftHiveMetastore_get_partitions_pspec_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\PartitionSpec(); - $xfer += $elem1134->read($input); - $this->success []= $elem1134; + $elem1110 = null; + $elem1110 = new \metastore\PartitionSpec(); + $xfer += $elem1110->read($input); + $this->success []= $elem1110; } $xfer += $input->readListEnd(); } else { @@ -30990,9 +30938,9 @@ class ThriftHiveMetastore_get_partitions_pspec_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(); @@ -31211,14 +31159,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1141; + $elem1117 = null; + $xfer += $input->readString($elem1117); + $this->success []= $elem1117; } $xfer += $input->readListEnd(); } else { @@ -31262,9 +31210,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1142) + foreach ($this->success as $iter1118) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1118); } } $output->writeListEnd(); @@ -31595,14 +31543,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1119 = 0; + $_etype1122 = 0; + $xfer += $input->readListBegin($_etype1122, $_size1119); + for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123) { - $elem1148 = null; - $xfer += $input->readString($elem1148); - $this->part_vals []= $elem1148; + $elem1124 = null; + $xfer += $input->readString($elem1124); + $this->part_vals []= $elem1124; } $xfer += $input->readListEnd(); } else { @@ -31647,9 +31595,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1149) + foreach ($this->part_vals as $iter1125) { - $xfer += $output->writeString($iter1149); + $xfer += $output->writeString($iter1125); } } $output->writeListEnd(); @@ -31743,15 +31691,15 @@ class ThriftHiveMetastore_get_partitions_ps_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 { @@ -31795,9 +31743,9 @@ class ThriftHiveMetastore_get_partitions_ps_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(); @@ -31944,14 +31892,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_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 { @@ -31975,14 +31923,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1163 = 0; - $_etype1166 = 0; - $xfer += $input->readListBegin($_etype1166, $_size1163); - for ($_i1167 = 0; $_i1167 < $_size1163; ++$_i1167) + $_size1139 = 0; + $_etype1142 = 0; + $xfer += $input->readListBegin($_etype1142, $_size1139); + for ($_i1143 = 0; $_i1143 < $_size1139; ++$_i1143) { - $elem1168 = null; - $xfer += $input->readString($elem1168); - $this->group_names []= $elem1168; + $elem1144 = null; + $xfer += $input->readString($elem1144); + $this->group_names []= $elem1144; } $xfer += $input->readListEnd(); } else { @@ -32020,9 +31968,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1169) + foreach ($this->part_vals as $iter1145) { - $xfer += $output->writeString($iter1169); + $xfer += $output->writeString($iter1145); } } $output->writeListEnd(); @@ -32047,9 +31995,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1170) + foreach ($this->group_names as $iter1146) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1146); } } $output->writeListEnd(); @@ -32138,15 +32086,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_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 { @@ -32190,9 +32138,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_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(); @@ -32313,14 +32261,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1183); - $this->part_vals []= $elem1183; + $elem1159 = null; + $xfer += $input->readString($elem1159); + $this->part_vals []= $elem1159; } $xfer += $input->readListEnd(); } else { @@ -32365,9 +32313,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1184) + foreach ($this->part_vals as $iter1160) { - $xfer += $output->writeString($iter1184); + $xfer += $output->writeString($iter1160); } } $output->writeListEnd(); @@ -32460,14 +32408,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1190; + $elem1166 = null; + $xfer += $input->readString($elem1166); + $this->success []= $elem1166; } $xfer += $input->readListEnd(); } else { @@ -32511,9 +32459,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1191) + foreach ($this->success as $iter1167) { - $xfer += $output->writeString($iter1191); + $xfer += $output->writeString($iter1167); } } $output->writeListEnd(); @@ -32756,15 +32704,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_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 { @@ -32808,9 +32756,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_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(); @@ -33053,15 +33001,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = 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\PartitionSpec(); - $xfer += $elem1204->read($input); - $this->success []= $elem1204; + $elem1180 = null; + $elem1180 = new \metastore\PartitionSpec(); + $xfer += $elem1180->read($input); + $this->success []= $elem1180; } $xfer += $input->readListEnd(); } else { @@ -33105,9 +33053,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1205) + foreach ($this->success as $iter1181) { - $xfer += $iter1205->write($output); + $xfer += $iter1181->write($output); } } $output->writeListEnd(); @@ -33673,14 +33621,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = 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; - $xfer += $input->readString($elem1211); - $this->names []= $elem1211; + $elem1187 = null; + $xfer += $input->readString($elem1187); + $this->names []= $elem1187; } $xfer += $input->readListEnd(); } else { @@ -33718,9 +33666,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1212) + foreach ($this->names as $iter1188) { - $xfer += $output->writeString($iter1212); + $xfer += $output->writeString($iter1188); } } $output->writeListEnd(); @@ -33809,15 +33757,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1218 = new \metastore\Partition(); - $xfer += $elem1218->read($input); - $this->success []= $elem1218; + $elem1194 = null; + $elem1194 = new \metastore\Partition(); + $xfer += $elem1194->read($input); + $this->success []= $elem1194; } $xfer += $input->readListEnd(); } else { @@ -33861,9 +33809,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1219) + foreach ($this->success as $iter1195) { - $xfer += $iter1219->write($output); + $xfer += $iter1195->write($output); } } $output->writeListEnd(); @@ -34202,15 +34150,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem1225 = new \metastore\Partition(); - $xfer += $elem1225->read($input); - $this->new_parts []= $elem1225; + $elem1201 = null; + $elem1201 = new \metastore\Partition(); + $xfer += $elem1201->read($input); + $this->new_parts []= $elem1201; } $xfer += $input->readListEnd(); } else { @@ -34248,9 +34196,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1226) + foreach ($this->new_parts as $iter1202) { - $xfer += $iter1226->write($output); + $xfer += $iter1202->write($output); } } $output->writeListEnd(); @@ -34465,15 +34413,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem1232 = new \metastore\Partition(); - $xfer += $elem1232->read($input); - $this->new_parts []= $elem1232; + $elem1208 = null; + $elem1208 = new \metastore\Partition(); + $xfer += $elem1208->read($input); + $this->new_parts []= $elem1208; } $xfer += $input->readListEnd(); } else { @@ -34519,9 +34467,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1233) + foreach ($this->new_parts as $iter1209) { - $xfer += $iter1233->write($output); + $xfer += $iter1209->write($output); } } $output->writeListEnd(); @@ -34999,14 +34947,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1234 = 0; - $_etype1237 = 0; - $xfer += $input->readListBegin($_etype1237, $_size1234); - for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) + $_size1210 = 0; + $_etype1213 = 0; + $xfer += $input->readListBegin($_etype1213, $_size1210); + for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $elem1239 = null; - $xfer += $input->readString($elem1239); - $this->part_vals []= $elem1239; + $elem1215 = null; + $xfer += $input->readString($elem1215); + $this->part_vals []= $elem1215; } $xfer += $input->readListEnd(); } else { @@ -35052,9 +35000,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1240) + foreach ($this->part_vals as $iter1216) { - $xfer += $output->writeString($iter1240); + $xfer += $output->writeString($iter1216); } } $output->writeListEnd(); @@ -35239,14 +35187,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1241 = 0; - $_etype1244 = 0; - $xfer += $input->readListBegin($_etype1244, $_size1241); - for ($_i1245 = 0; $_i1245 < $_size1241; ++$_i1245) + $_size1217 = 0; + $_etype1220 = 0; + $xfer += $input->readListBegin($_etype1220, $_size1217); + for ($_i1221 = 0; $_i1221 < $_size1217; ++$_i1221) { - $elem1246 = null; - $xfer += $input->readString($elem1246); - $this->part_vals []= $elem1246; + $elem1222 = null; + $xfer += $input->readString($elem1222); + $this->part_vals []= $elem1222; } $xfer += $input->readListEnd(); } else { @@ -35281,9 +35229,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1247) + foreach ($this->part_vals as $iter1223) { - $xfer += $output->writeString($iter1247); + $xfer += $output->writeString($iter1223); } } $output->writeListEnd(); @@ -35737,14 +35685,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1248 = 0; - $_etype1251 = 0; - $xfer += $input->readListBegin($_etype1251, $_size1248); - for ($_i1252 = 0; $_i1252 < $_size1248; ++$_i1252) + $_size1224 = 0; + $_etype1227 = 0; + $xfer += $input->readListBegin($_etype1227, $_size1224); + for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) { - $elem1253 = null; - $xfer += $input->readString($elem1253); - $this->success []= $elem1253; + $elem1229 = null; + $xfer += $input->readString($elem1229); + $this->success []= $elem1229; } $xfer += $input->readListEnd(); } else { @@ -35780,9 +35728,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1254) + foreach ($this->success as $iter1230) { - $xfer += $output->writeString($iter1254); + $xfer += $output->writeString($iter1230); } } $output->writeListEnd(); @@ -35942,17 +35890,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1255 = 0; - $_ktype1256 = 0; - $_vtype1257 = 0; - $xfer += $input->readMapBegin($_ktype1256, $_vtype1257, $_size1255); - for ($_i1259 = 0; $_i1259 < $_size1255; ++$_i1259) + $_size1231 = 0; + $_ktype1232 = 0; + $_vtype1233 = 0; + $xfer += $input->readMapBegin($_ktype1232, $_vtype1233, $_size1231); + for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) { - $key1260 = ''; - $val1261 = ''; - $xfer += $input->readString($key1260); - $xfer += $input->readString($val1261); - $this->success[$key1260] = $val1261; + $key1236 = ''; + $val1237 = ''; + $xfer += $input->readString($key1236); + $xfer += $input->readString($val1237); + $this->success[$key1236] = $val1237; } $xfer += $input->readMapEnd(); } else { @@ -35988,10 +35936,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1262 => $viter1263) + foreach ($this->success as $kiter1238 => $viter1239) { - $xfer += $output->writeString($kiter1262); - $xfer += $output->writeString($viter1263); + $xfer += $output->writeString($kiter1238); + $xfer += $output->writeString($viter1239); } } $output->writeMapEnd(); @@ -36111,17 +36059,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1264 = 0; - $_ktype1265 = 0; - $_vtype1266 = 0; - $xfer += $input->readMapBegin($_ktype1265, $_vtype1266, $_size1264); - for ($_i1268 = 0; $_i1268 < $_size1264; ++$_i1268) + $_size1240 = 0; + $_ktype1241 = 0; + $_vtype1242 = 0; + $xfer += $input->readMapBegin($_ktype1241, $_vtype1242, $_size1240); + for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) { - $key1269 = ''; - $val1270 = ''; - $xfer += $input->readString($key1269); - $xfer += $input->readString($val1270); - $this->part_vals[$key1269] = $val1270; + $key1245 = ''; + $val1246 = ''; + $xfer += $input->readString($key1245); + $xfer += $input->readString($val1246); + $this->part_vals[$key1245] = $val1246; } $xfer += $input->readMapEnd(); } else { @@ -36166,10 +36114,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1271 => $viter1272) + foreach ($this->part_vals as $kiter1247 => $viter1248) { - $xfer += $output->writeString($kiter1271); - $xfer += $output->writeString($viter1272); + $xfer += $output->writeString($kiter1247); + $xfer += $output->writeString($viter1248); } } $output->writeMapEnd(); @@ -36491,17 +36439,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1273 = 0; - $_ktype1274 = 0; - $_vtype1275 = 0; - $xfer += $input->readMapBegin($_ktype1274, $_vtype1275, $_size1273); - for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) + $_size1249 = 0; + $_ktype1250 = 0; + $_vtype1251 = 0; + $xfer += $input->readMapBegin($_ktype1250, $_vtype1251, $_size1249); + for ($_i1253 = 0; $_i1253 < $_size1249; ++$_i1253) { - $key1278 = ''; - $val1279 = ''; - $xfer += $input->readString($key1278); - $xfer += $input->readString($val1279); - $this->part_vals[$key1278] = $val1279; + $key1254 = ''; + $val1255 = ''; + $xfer += $input->readString($key1254); + $xfer += $input->readString($val1255); + $this->part_vals[$key1254] = $val1255; } $xfer += $input->readMapEnd(); } else { @@ -36546,10 +36494,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1280 => $viter1281) + foreach ($this->part_vals as $kiter1256 => $viter1257) { - $xfer += $output->writeString($kiter1280); - $xfer += $output->writeString($viter1281); + $xfer += $output->writeString($kiter1256); + $xfer += $output->writeString($viter1257); } } $output->writeMapEnd(); @@ -41508,14 +41456,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1287; + $elem1263 = null; + $xfer += $input->readString($elem1263); + $this->success []= $elem1263; } $xfer += $input->readListEnd(); } else { @@ -41551,9 +41499,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1288) + foreach ($this->success as $iter1264) { - $xfer += $output->writeString($iter1288); + $xfer += $output->writeString($iter1264); } } $output->writeListEnd(); @@ -42422,14 +42370,14 @@ class ThriftHiveMetastore_get_role_names_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; - $xfer += $input->readString($elem1294); - $this->success []= $elem1294; + $elem1270 = null; + $xfer += $input->readString($elem1270); + $this->success []= $elem1270; } $xfer += $input->readListEnd(); } else { @@ -42465,9 +42413,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1295) + foreach ($this->success as $iter1271) { - $xfer += $output->writeString($iter1295); + $xfer += $output->writeString($iter1271); } } $output->writeListEnd(); @@ -43158,15 +43106,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1301 = new \metastore\Role(); - $xfer += $elem1301->read($input); - $this->success []= $elem1301; + $elem1277 = null; + $elem1277 = new \metastore\Role(); + $xfer += $elem1277->read($input); + $this->success []= $elem1277; } $xfer += $input->readListEnd(); } else { @@ -43202,9 +43150,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1302) + foreach ($this->success as $iter1278) { - $xfer += $iter1302->write($output); + $xfer += $iter1278->write($output); } } $output->writeListEnd(); @@ -43866,14 +43814,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = 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->group_names []= $elem1308; + $elem1284 = null; + $xfer += $input->readString($elem1284); + $this->group_names []= $elem1284; } $xfer += $input->readListEnd(); } else { @@ -43914,9 +43862,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1309) + foreach ($this->group_names as $iter1285) { - $xfer += $output->writeString($iter1309); + $xfer += $output->writeString($iter1285); } } $output->writeListEnd(); @@ -44224,15 +44172,15 @@ class ThriftHiveMetastore_list_privileges_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; - $elem1315 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1315->read($input); - $this->success []= $elem1315; + $elem1291 = null; + $elem1291 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1291->read($input); + $this->success []= $elem1291; } $xfer += $input->readListEnd(); } else { @@ -44268,9 +44216,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1316) + foreach ($this->success as $iter1292) { - $xfer += $iter1316->write($output); + $xfer += $iter1292->write($output); } } $output->writeListEnd(); @@ -45138,14 +45086,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = 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->group_names []= $elem1322; + $elem1298 = null; + $xfer += $input->readString($elem1298); + $this->group_names []= $elem1298; } $xfer += $input->readListEnd(); } else { @@ -45178,9 +45126,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1323) + foreach ($this->group_names as $iter1299) { - $xfer += $output->writeString($iter1323); + $xfer += $output->writeString($iter1299); } } $output->writeListEnd(); @@ -45256,14 +45204,14 @@ class ThriftHiveMetastore_set_ugi_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; - $xfer += $input->readString($elem1329); - $this->success []= $elem1329; + $elem1305 = null; + $xfer += $input->readString($elem1305); + $this->success []= $elem1305; } $xfer += $input->readListEnd(); } else { @@ -45299,9 +45247,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1330) + foreach ($this->success as $iter1306) { - $xfer += $output->writeString($iter1330); + $xfer += $output->writeString($iter1306); } } $output->writeListEnd(); @@ -46418,14 +46366,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_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; - $xfer += $input->readString($elem1336); - $this->success []= $elem1336; + $elem1312 = null; + $xfer += $input->readString($elem1312); + $this->success []= $elem1312; } $xfer += $input->readListEnd(); } else { @@ -46453,9 +46401,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1337) + foreach ($this->success as $iter1313) { - $xfer += $output->writeString($iter1337); + $xfer += $output->writeString($iter1313); } } $output->writeListEnd(); @@ -47094,14 +47042,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1338 = 0; - $_etype1341 = 0; - $xfer += $input->readListBegin($_etype1341, $_size1338); - for ($_i1342 = 0; $_i1342 < $_size1338; ++$_i1342) + $_size1314 = 0; + $_etype1317 = 0; + $xfer += $input->readListBegin($_etype1317, $_size1314); + for ($_i1318 = 0; $_i1318 < $_size1314; ++$_i1318) { - $elem1343 = null; - $xfer += $input->readString($elem1343); - $this->success []= $elem1343; + $elem1319 = null; + $xfer += $input->readString($elem1319); + $this->success []= $elem1319; } $xfer += $input->readListEnd(); } else { @@ -47129,9 +47077,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1344) + foreach ($this->success as $iter1320) { - $xfer += $output->writeString($iter1344); + $xfer += $output->writeString($iter1320); } } $output->writeListEnd(); @@ -57960,15 +57908,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1345 = 0; - $_etype1348 = 0; - $xfer += $input->readListBegin($_etype1348, $_size1345); - for ($_i1349 = 0; $_i1349 < $_size1345; ++$_i1349) + $_size1321 = 0; + $_etype1324 = 0; + $xfer += $input->readListBegin($_etype1324, $_size1321); + for ($_i1325 = 0; $_i1325 < $_size1321; ++$_i1325) { - $elem1350 = null; - $elem1350 = new \metastore\SchemaVersion(); - $xfer += $elem1350->read($input); - $this->success []= $elem1350; + $elem1326 = null; + $elem1326 = new \metastore\SchemaVersion(); + $xfer += $elem1326->read($input); + $this->success []= $elem1326; } $xfer += $input->readListEnd(); } else { @@ -58012,9 +57960,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1351) + foreach ($this->success as $iter1327) { - $xfer += $iter1351->write($output); + $xfer += $iter1327->write($output); } } $output->writeListEnd(); @@ -59883,15 +59831,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1352 = 0; - $_etype1355 = 0; - $xfer += $input->readListBegin($_etype1355, $_size1352); - for ($_i1356 = 0; $_i1356 < $_size1352; ++$_i1356) + $_size1328 = 0; + $_etype1331 = 0; + $xfer += $input->readListBegin($_etype1331, $_size1328); + for ($_i1332 = 0; $_i1332 < $_size1328; ++$_i1332) { - $elem1357 = null; - $elem1357 = new \metastore\RuntimeStat(); - $xfer += $elem1357->read($input); - $this->success []= $elem1357; + $elem1333 = null; + $elem1333 = new \metastore\RuntimeStat(); + $xfer += $elem1333->read($input); + $this->success []= $elem1333; } $xfer += $input->readListEnd(); } else { @@ -59927,9 +59875,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1358) + foreach ($this->success as $iter1334) { - $xfer += $iter1358->write($output); + $xfer += $iter1334->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php index 93b5780cb2..ae12471afe 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php @@ -20999,6 +20999,10 @@ class CreationMetadata { * @var string */ public $validTxnList = null; + /** + * @var int + */ + public $materializationTime = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -21027,6 +21031,10 @@ class CreationMetadata { 'var' => 'validTxnList', 'type' => TType::STRING, ), + 6 => array( + 'var' => 'materializationTime', + 'type' => TType::I64, + ), ); } if (is_array($vals)) { @@ -21045,6 +21053,9 @@ class CreationMetadata { if (isset($vals['validTxnList'])) { $this->validTxnList = $vals['validTxnList']; } + if (isset($vals['materializationTime'])) { + $this->materializationTime = $vals['materializationTime']; + } } } @@ -21116,6 +21127,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; @@ -21170,6 +21188,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; @@ -24986,18 +25009,6 @@ class TableMeta { class Materialization { static $_TSPEC; - /** - * @var string[] - */ - public $tablesUsed = null; - /** - * @var string - */ - public $validTxnList = null; - /** - * @var int - */ - public $invalidationTime = null; /** * @var bool */ @@ -25007,37 +25018,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']; } @@ -25064,41 +25050,6 @@ class Materialization { switch ($fid) { case 1: - if ($ftype == TType::SET) { - $this->tablesUsed = array(); - $_size763 = 0; - $_etype766 = 0; - $xfer += $input->readSetBegin($_etype766, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) - { - $elem768 = null; - $xfer += $input->readString($elem768); - if (is_scalar($elem768)) { - $this->tablesUsed[$elem768] = true; - } else { - $this->tablesUsed []= $elem768; - } - } - $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 { @@ -25118,39 +25069,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 $iter769 => $iter770) - { - if (is_scalar($iter770)) { - $xfer += $output->writeString($iter769); - } else { - $xfer += $output->writeString($iter770); - } - } - } - $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(); } @@ -26403,15 +26323,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size763 = 0; + $_etype766 = 0; + $xfer += $input->readListBegin($_etype766, $_size763); + for ($_i767 = 0; $_i767 < $_size763; ++$_i767) { - $elem776 = null; - $elem776 = new \metastore\WMPool(); - $xfer += $elem776->read($input); - $this->pools []= $elem776; + $elem768 = null; + $elem768 = new \metastore\WMPool(); + $xfer += $elem768->read($input); + $this->pools []= $elem768; } $xfer += $input->readListEnd(); } else { @@ -26421,15 +26341,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size777 = 0; - $_etype780 = 0; - $xfer += $input->readListBegin($_etype780, $_size777); - for ($_i781 = 0; $_i781 < $_size777; ++$_i781) + $_size769 = 0; + $_etype772 = 0; + $xfer += $input->readListBegin($_etype772, $_size769); + for ($_i773 = 0; $_i773 < $_size769; ++$_i773) { - $elem782 = null; - $elem782 = new \metastore\WMMapping(); - $xfer += $elem782->read($input); - $this->mappings []= $elem782; + $elem774 = null; + $elem774 = new \metastore\WMMapping(); + $xfer += $elem774->read($input); + $this->mappings []= $elem774; } $xfer += $input->readListEnd(); } else { @@ -26439,15 +26359,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size783 = 0; - $_etype786 = 0; - $xfer += $input->readListBegin($_etype786, $_size783); - for ($_i787 = 0; $_i787 < $_size783; ++$_i787) + $_size775 = 0; + $_etype778 = 0; + $xfer += $input->readListBegin($_etype778, $_size775); + for ($_i779 = 0; $_i779 < $_size775; ++$_i779) { - $elem788 = null; - $elem788 = new \metastore\WMTrigger(); - $xfer += $elem788->read($input); - $this->triggers []= $elem788; + $elem780 = null; + $elem780 = new \metastore\WMTrigger(); + $xfer += $elem780->read($input); + $this->triggers []= $elem780; } $xfer += $input->readListEnd(); } else { @@ -26457,15 +26377,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size789 = 0; - $_etype792 = 0; - $xfer += $input->readListBegin($_etype792, $_size789); - for ($_i793 = 0; $_i793 < $_size789; ++$_i793) + $_size781 = 0; + $_etype784 = 0; + $xfer += $input->readListBegin($_etype784, $_size781); + for ($_i785 = 0; $_i785 < $_size781; ++$_i785) { - $elem794 = null; - $elem794 = new \metastore\WMPoolTrigger(); - $xfer += $elem794->read($input); - $this->poolTriggers []= $elem794; + $elem786 = null; + $elem786 = new \metastore\WMPoolTrigger(); + $xfer += $elem786->read($input); + $this->poolTriggers []= $elem786; } $xfer += $input->readListEnd(); } else { @@ -26501,9 +26421,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter795) + foreach ($this->pools as $iter787) { - $xfer += $iter795->write($output); + $xfer += $iter787->write($output); } } $output->writeListEnd(); @@ -26518,9 +26438,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter796) + foreach ($this->mappings as $iter788) { - $xfer += $iter796->write($output); + $xfer += $iter788->write($output); } } $output->writeListEnd(); @@ -26535,9 +26455,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter797) + foreach ($this->triggers as $iter789) { - $xfer += $iter797->write($output); + $xfer += $iter789->write($output); } } $output->writeListEnd(); @@ -26552,9 +26472,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter798) + foreach ($this->poolTriggers as $iter790) { - $xfer += $iter798->write($output); + $xfer += $iter790->write($output); } } $output->writeListEnd(); @@ -27107,15 +27027,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = 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\WMResourcePlan(); - $xfer += $elem804->read($input); - $this->resourcePlans []= $elem804; + $elem796 = null; + $elem796 = new \metastore\WMResourcePlan(); + $xfer += $elem796->read($input); + $this->resourcePlans []= $elem796; } $xfer += $input->readListEnd(); } else { @@ -27143,9 +27063,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter805) + foreach ($this->resourcePlans as $iter797) { - $xfer += $iter805->write($output); + $xfer += $iter797->write($output); } } $output->writeListEnd(); @@ -27551,14 +27471,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = 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; - $xfer += $input->readString($elem811); - $this->errors []= $elem811; + $elem803 = null; + $xfer += $input->readString($elem803); + $this->errors []= $elem803; } $xfer += $input->readListEnd(); } else { @@ -27568,14 +27488,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size812 = 0; - $_etype815 = 0; - $xfer += $input->readListBegin($_etype815, $_size812); - for ($_i816 = 0; $_i816 < $_size812; ++$_i816) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem817 = null; - $xfer += $input->readString($elem817); - $this->warnings []= $elem817; + $elem809 = null; + $xfer += $input->readString($elem809); + $this->warnings []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -27603,9 +27523,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter818) + foreach ($this->errors as $iter810) { - $xfer += $output->writeString($iter818); + $xfer += $output->writeString($iter810); } } $output->writeListEnd(); @@ -27620,9 +27540,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter819) + foreach ($this->warnings as $iter811) { - $xfer += $output->writeString($iter819); + $xfer += $output->writeString($iter811); } } $output->writeListEnd(); @@ -28295,15 +28215,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = 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; - $elem825 = new \metastore\WMTrigger(); - $xfer += $elem825->read($input); - $this->triggers []= $elem825; + $elem817 = null; + $elem817 = new \metastore\WMTrigger(); + $xfer += $elem817->read($input); + $this->triggers []= $elem817; } $xfer += $input->readListEnd(); } else { @@ -28331,9 +28251,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter826) + foreach ($this->triggers as $iter818) { - $xfer += $iter826->write($output); + $xfer += $iter818->write($output); } } $output->writeListEnd(); @@ -29917,15 +29837,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = 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; - $elem832 = new \metastore\FieldSchema(); - $xfer += $elem832->read($input); - $this->cols []= $elem832; + $elem824 = null; + $elem824 = new \metastore\FieldSchema(); + $xfer += $elem824->read($input); + $this->cols []= $elem824; } $xfer += $input->readListEnd(); } else { @@ -30014,9 +29934,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter833) + foreach ($this->cols as $iter825) { - $xfer += $iter833->write($output); + $xfer += $iter825->write($output); } } $output->writeListEnd(); @@ -30338,15 +30258,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size834 = 0; - $_etype837 = 0; - $xfer += $input->readListBegin($_etype837, $_size834); - for ($_i838 = 0; $_i838 < $_size834; ++$_i838) + $_size826 = 0; + $_etype829 = 0; + $xfer += $input->readListBegin($_etype829, $_size826); + for ($_i830 = 0; $_i830 < $_size826; ++$_i830) { - $elem839 = null; - $elem839 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem839->read($input); - $this->schemaVersions []= $elem839; + $elem831 = null; + $elem831 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem831->read($input); + $this->schemaVersions []= $elem831; } $xfer += $input->readListEnd(); } else { @@ -30374,9 +30294,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter840) + foreach ($this->schemaVersions as $iter832) { - $xfer += $iter840->write($output); + $xfer += $iter832->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index add9197c15..e5d943d5d8 100755 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/metastore-common/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)') @@ -563,7 +563,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/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index a5bcc10d5f..2ae6d9ab6f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -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 @@ -3141,20 +3141,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() @@ -10357,7 +10357,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 @@ -16045,10 +16045,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype840, _size837) = iprot.readListBegin() - for _i841 in xrange(_size837): - _elem842 = iprot.readString() - self.success.append(_elem842) + (_etype833, _size830) = iprot.readListBegin() + for _i834 in xrange(_size830): + _elem835 = iprot.readString() + self.success.append(_elem835) iprot.readListEnd() else: iprot.skip(ftype) @@ -16071,8 +16071,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 iter843 in self.success: - oprot.writeString(iter843) + for iter836 in self.success: + oprot.writeString(iter836) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16177,10 +16177,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype847, _size844) = iprot.readListBegin() - for _i848 in xrange(_size844): - _elem849 = iprot.readString() - self.success.append(_elem849) + (_etype840, _size837) = iprot.readListBegin() + for _i841 in xrange(_size837): + _elem842 = iprot.readString() + self.success.append(_elem842) iprot.readListEnd() else: iprot.skip(ftype) @@ -16203,8 +16203,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 iter850 in self.success: - oprot.writeString(iter850) + for iter843 in self.success: + oprot.writeString(iter843) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16974,12 +16974,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype852, _vtype853, _size851 ) = iprot.readMapBegin() - for _i855 in xrange(_size851): - _key856 = iprot.readString() - _val857 = Type() - _val857.read(iprot) - self.success[_key856] = _val857 + (_ktype845, _vtype846, _size844 ) = iprot.readMapBegin() + for _i848 in xrange(_size844): + _key849 = iprot.readString() + _val850 = Type() + _val850.read(iprot) + self.success[_key849] = _val850 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17002,9 +17002,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 kiter858,viter859 in self.success.items(): - oprot.writeString(kiter858) - viter859.write(oprot) + for kiter851,viter852 in self.success.items(): + oprot.writeString(kiter851) + viter852.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -17147,11 +17147,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) @@ -17186,8 +17186,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: @@ -17354,11 +17354,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype870, _size867) = iprot.readListBegin() - for _i871 in xrange(_size867): - _elem872 = FieldSchema() - _elem872.read(iprot) - self.success.append(_elem872) + (_etype863, _size860) = iprot.readListBegin() + for _i864 in xrange(_size860): + _elem865 = FieldSchema() + _elem865.read(iprot) + self.success.append(_elem865) iprot.readListEnd() else: iprot.skip(ftype) @@ -17393,8 +17393,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 iter873 in self.success: - iter873.write(oprot) + for iter866 in self.success: + iter866.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17547,11 +17547,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype877, _size874) = iprot.readListBegin() - for _i878 in xrange(_size874): - _elem879 = FieldSchema() - _elem879.read(iprot) - self.success.append(_elem879) + (_etype870, _size867) = iprot.readListBegin() + for _i871 in xrange(_size867): + _elem872 = FieldSchema() + _elem872.read(iprot) + self.success.append(_elem872) iprot.readListEnd() else: iprot.skip(ftype) @@ -17586,8 +17586,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 iter880 in self.success: - iter880.write(oprot) + for iter873 in self.success: + iter873.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17754,11 +17754,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype884, _size881) = iprot.readListBegin() - for _i885 in xrange(_size881): - _elem886 = FieldSchema() - _elem886.read(iprot) - self.success.append(_elem886) + (_etype877, _size874) = iprot.readListBegin() + for _i878 in xrange(_size874): + _elem879 = FieldSchema() + _elem879.read(iprot) + self.success.append(_elem879) iprot.readListEnd() else: iprot.skip(ftype) @@ -17793,8 +17793,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 iter887 in self.success: - iter887.write(oprot) + for iter880 in self.success: + iter880.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18247,66 +18247,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype891, _size888) = iprot.readListBegin() - for _i892 in xrange(_size888): - _elem893 = SQLPrimaryKey() - _elem893.read(iprot) - self.primaryKeys.append(_elem893) + (_etype884, _size881) = iprot.readListBegin() + for _i885 in xrange(_size881): + _elem886 = SQLPrimaryKey() + _elem886.read(iprot) + self.primaryKeys.append(_elem886) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype897, _size894) = iprot.readListBegin() - for _i898 in xrange(_size894): - _elem899 = SQLForeignKey() - _elem899.read(iprot) - self.foreignKeys.append(_elem899) + (_etype890, _size887) = iprot.readListBegin() + for _i891 in xrange(_size887): + _elem892 = SQLForeignKey() + _elem892.read(iprot) + self.foreignKeys.append(_elem892) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype903, _size900) = iprot.readListBegin() - for _i904 in xrange(_size900): - _elem905 = SQLUniqueConstraint() - _elem905.read(iprot) - self.uniqueConstraints.append(_elem905) + (_etype896, _size893) = iprot.readListBegin() + for _i897 in xrange(_size893): + _elem898 = SQLUniqueConstraint() + _elem898.read(iprot) + self.uniqueConstraints.append(_elem898) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype909, _size906) = iprot.readListBegin() - for _i910 in xrange(_size906): - _elem911 = SQLNotNullConstraint() - _elem911.read(iprot) - self.notNullConstraints.append(_elem911) + (_etype902, _size899) = iprot.readListBegin() + for _i903 in xrange(_size899): + _elem904 = SQLNotNullConstraint() + _elem904.read(iprot) + self.notNullConstraints.append(_elem904) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype915, _size912) = iprot.readListBegin() - for _i916 in xrange(_size912): - _elem917 = SQLDefaultConstraint() - _elem917.read(iprot) - self.defaultConstraints.append(_elem917) + (_etype908, _size905) = iprot.readListBegin() + for _i909 in xrange(_size905): + _elem910 = SQLDefaultConstraint() + _elem910.read(iprot) + self.defaultConstraints.append(_elem910) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype921, _size918) = iprot.readListBegin() - for _i922 in xrange(_size918): - _elem923 = SQLCheckConstraint() - _elem923.read(iprot) - self.checkConstraints.append(_elem923) + (_etype914, _size911) = iprot.readListBegin() + for _i915 in xrange(_size911): + _elem916 = SQLCheckConstraint() + _elem916.read(iprot) + self.checkConstraints.append(_elem916) iprot.readListEnd() else: iprot.skip(ftype) @@ -18327,43 +18327,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 iter924 in self.primaryKeys: - iter924.write(oprot) + for iter917 in self.primaryKeys: + iter917.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 iter925 in self.foreignKeys: - iter925.write(oprot) + for iter918 in self.foreignKeys: + iter918.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 iter926 in self.uniqueConstraints: - iter926.write(oprot) + for iter919 in self.uniqueConstraints: + iter919.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 iter927 in self.notNullConstraints: - iter927.write(oprot) + for iter920 in self.notNullConstraints: + iter920.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 iter928 in self.defaultConstraints: - iter928.write(oprot) + for iter921 in self.defaultConstraints: + iter921.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 iter929 in self.checkConstraints: - iter929.write(oprot) + for iter922 in self.checkConstraints: + iter922.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19923,10 +19923,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = iprot.readString() - self.partNames.append(_elem935) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = iprot.readString() + self.partNames.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19951,8 +19951,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 iter936 in self.partNames: - oprot.writeString(iter936) + for iter929 in self.partNames: + oprot.writeString(iter929) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20152,10 +20152,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = iprot.readString() - self.success.append(_elem942) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -20178,8 +20178,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 iter943 in self.success: - oprot.writeString(iter943) + for iter936 in self.success: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20329,10 +20329,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = iprot.readString() - self.success.append(_elem949) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = iprot.readString() + self.success.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -20355,8 +20355,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 iter950 in self.success: - oprot.writeString(iter950) + for iter943 in self.success: + oprot.writeString(iter943) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20480,10 +20480,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) @@ -20506,8 +20506,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: @@ -20580,10 +20580,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype961, _size958) = iprot.readListBegin() - for _i962 in xrange(_size958): - _elem963 = iprot.readString() - self.tbl_types.append(_elem963) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.tbl_types.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -20608,8 +20608,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 iter964 in self.tbl_types: - oprot.writeString(iter964) + for iter957 in self.tbl_types: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20665,11 +20665,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype968, _size965) = iprot.readListBegin() - for _i969 in xrange(_size965): - _elem970 = TableMeta() - _elem970.read(iprot) - self.success.append(_elem970) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = TableMeta() + _elem963.read(iprot) + self.success.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -20692,8 +20692,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() if self.o1 is not None: @@ -20817,10 +20817,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype975, _size972) = iprot.readListBegin() - for _i976 in xrange(_size972): - _elem977 = iprot.readString() - self.success.append(_elem977) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = iprot.readString() + self.success.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -20843,8 +20843,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 iter978 in self.success: - oprot.writeString(iter978) + for iter971 in self.success: + oprot.writeString(iter971) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21080,10 +21080,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype982, _size979) = iprot.readListBegin() - for _i983 in xrange(_size979): - _elem984 = iprot.readString() - self.tbl_names.append(_elem984) + (_etype975, _size972) = iprot.readListBegin() + for _i976 in xrange(_size972): + _elem977 = iprot.readString() + self.tbl_names.append(_elem977) iprot.readListEnd() else: iprot.skip(ftype) @@ -21104,8 +21104,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 iter985 in self.tbl_names: - oprot.writeString(iter985) + for iter978 in self.tbl_names: + oprot.writeString(iter978) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21157,11 +21157,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype989, _size986) = iprot.readListBegin() - for _i990 in xrange(_size986): - _elem991 = Table() - _elem991.read(iprot) - self.success.append(_elem991) + (_etype982, _size979) = iprot.readListBegin() + for _i983 in xrange(_size979): + _elem984 = Table() + _elem984.read(iprot) + self.success.append(_elem984) iprot.readListEnd() else: iprot.skip(ftype) @@ -21178,8 +21178,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 iter992 in self.success: - iter992.write(oprot) + for iter985 in self.success: + iter985.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21540,19 +21540,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: @@ -21564,18 +21564,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 = [] - (_etype996, _size993) = iprot.readListBegin() - for _i997 in xrange(_size993): - _elem998 = iprot.readString() - self.tbl_names.append(_elem998) - iprot.readListEnd() + if ftype == TType.STRING: + self.validTxnList = iprot.readString() else: iprot.skip(ftype) else: @@ -21588,16 +21584,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 iter999 in self.tbl_names: - oprot.writeString(iter999) - oprot.writeListEnd() + if self.validTxnList is not None: + oprot.writeFieldBegin('validTxnList', TType.STRING, 2) + oprot.writeString(self.validTxnList) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -21608,8 +21601,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): @@ -21633,7 +21626,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 @@ -21655,15 +21648,9 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 0: - if ftype == TType.MAP: - self.success = {} - (_ktype1001, _vtype1002, _size1000 ) = iprot.readMapBegin() - for _i1004 in xrange(_size1000): - _key1005 = iprot.readString() - _val1006 = Materialization() - _val1006.read(iprot) - self.success[_key1005] = _val1006 - iprot.readMapEnd() + if ftype == TType.STRUCT: + self.success = Materialization() + self.success.read(iprot) else: iprot.skip(ftype) elif fid == 1: @@ -21695,12 +21682,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 kiter1007,viter1008 in self.success.items(): - oprot.writeString(kiter1007) - viter1008.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) @@ -22064,10 +22047,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1012, _size1009) = iprot.readListBegin() - for _i1013 in xrange(_size1009): - _elem1014 = iprot.readString() - self.success.append(_elem1014) + (_etype989, _size986) = iprot.readListBegin() + for _i990 in xrange(_size986): + _elem991 = iprot.readString() + self.success.append(_elem991) iprot.readListEnd() else: iprot.skip(ftype) @@ -22102,8 +22085,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 iter1015 in self.success: - oprot.writeString(iter1015) + for iter992 in self.success: + oprot.writeString(iter992) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23073,11 +23056,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1019, _size1016) = iprot.readListBegin() - for _i1020 in xrange(_size1016): - _elem1021 = Partition() - _elem1021.read(iprot) - self.new_parts.append(_elem1021) + (_etype996, _size993) = iprot.readListBegin() + for _i997 in xrange(_size993): + _elem998 = Partition() + _elem998.read(iprot) + self.new_parts.append(_elem998) iprot.readListEnd() else: iprot.skip(ftype) @@ -23094,8 +23077,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 iter1022 in self.new_parts: - iter1022.write(oprot) + for iter999 in self.new_parts: + iter999.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23253,11 +23236,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1026, _size1023) = iprot.readListBegin() - for _i1027 in xrange(_size1023): - _elem1028 = PartitionSpec() - _elem1028.read(iprot) - self.new_parts.append(_elem1028) + (_etype1003, _size1000) = iprot.readListBegin() + for _i1004 in xrange(_size1000): + _elem1005 = PartitionSpec() + _elem1005.read(iprot) + self.new_parts.append(_elem1005) iprot.readListEnd() else: iprot.skip(ftype) @@ -23274,8 +23257,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 iter1029 in self.new_parts: - iter1029.write(oprot) + for iter1006 in self.new_parts: + iter1006.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23449,10 +23432,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) @@ -23477,8 +23460,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() oprot.writeFieldStop() @@ -23831,10 +23814,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) @@ -23865,8 +23848,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() if self.environment_context is not None: @@ -24461,10 +24444,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1047, _size1044) = iprot.readListBegin() - for _i1048 in xrange(_size1044): - _elem1049 = iprot.readString() - self.part_vals.append(_elem1049) + (_etype1024, _size1021) = iprot.readListBegin() + for _i1025 in xrange(_size1021): + _elem1026 = iprot.readString() + self.part_vals.append(_elem1026) iprot.readListEnd() else: iprot.skip(ftype) @@ -24494,8 +24477,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 iter1050 in self.part_vals: - oprot.writeString(iter1050) + for iter1027 in self.part_vals: + oprot.writeString(iter1027) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -24668,10 +24651,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1054, _size1051) = iprot.readListBegin() - for _i1055 in xrange(_size1051): - _elem1056 = iprot.readString() - self.part_vals.append(_elem1056) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in xrange(_size1028): + _elem1033 = iprot.readString() + self.part_vals.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) @@ -24707,8 +24690,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 iter1057 in self.part_vals: - oprot.writeString(iter1057) + for iter1034 in self.part_vals: + oprot.writeString(iter1034) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -25445,10 +25428,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1061, _size1058) = iprot.readListBegin() - for _i1062 in xrange(_size1058): - _elem1063 = iprot.readString() - self.part_vals.append(_elem1063) + (_etype1038, _size1035) = iprot.readListBegin() + for _i1039 in xrange(_size1035): + _elem1040 = iprot.readString() + self.part_vals.append(_elem1040) iprot.readListEnd() else: iprot.skip(ftype) @@ -25473,8 +25456,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 iter1064 in self.part_vals: - oprot.writeString(iter1064) + for iter1041 in self.part_vals: + oprot.writeString(iter1041) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25633,11 +25616,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1066, _vtype1067, _size1065 ) = iprot.readMapBegin() - for _i1069 in xrange(_size1065): - _key1070 = iprot.readString() - _val1071 = iprot.readString() - self.partitionSpecs[_key1070] = _val1071 + (_ktype1043, _vtype1044, _size1042 ) = iprot.readMapBegin() + for _i1046 in xrange(_size1042): + _key1047 = iprot.readString() + _val1048 = iprot.readString() + self.partitionSpecs[_key1047] = _val1048 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25674,9 +25657,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 kiter1072,viter1073 in self.partitionSpecs.items(): - oprot.writeString(kiter1072) - oprot.writeString(viter1073) + for kiter1049,viter1050 in self.partitionSpecs.items(): + oprot.writeString(kiter1049) + oprot.writeString(viter1050) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25881,11 +25864,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1075, _vtype1076, _size1074 ) = iprot.readMapBegin() - for _i1078 in xrange(_size1074): - _key1079 = iprot.readString() - _val1080 = iprot.readString() - self.partitionSpecs[_key1079] = _val1080 + (_ktype1052, _vtype1053, _size1051 ) = iprot.readMapBegin() + for _i1055 in xrange(_size1051): + _key1056 = iprot.readString() + _val1057 = iprot.readString() + self.partitionSpecs[_key1056] = _val1057 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25922,9 +25905,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 kiter1081,viter1082 in self.partitionSpecs.items(): - oprot.writeString(kiter1081) - oprot.writeString(viter1082) + for kiter1058,viter1059 in self.partitionSpecs.items(): + oprot.writeString(kiter1058) + oprot.writeString(viter1059) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -26007,11 +25990,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) @@ -26052,8 +26035,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: @@ -26147,10 +26130,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = iprot.readString() - self.part_vals.append(_elem1095) + (_etype1070, _size1067) = iprot.readListBegin() + for _i1071 in xrange(_size1067): + _elem1072 = iprot.readString() + self.part_vals.append(_elem1072) iprot.readListEnd() else: iprot.skip(ftype) @@ -26162,10 +26145,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1099, _size1096) = iprot.readListBegin() - for _i1100 in xrange(_size1096): - _elem1101 = iprot.readString() - self.group_names.append(_elem1101) + (_etype1076, _size1073) = iprot.readListBegin() + for _i1077 in xrange(_size1073): + _elem1078 = iprot.readString() + self.group_names.append(_elem1078) iprot.readListEnd() else: iprot.skip(ftype) @@ -26190,8 +26173,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 iter1102 in self.part_vals: - oprot.writeString(iter1102) + for iter1079 in self.part_vals: + oprot.writeString(iter1079) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -26201,8 +26184,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 iter1103 in self.group_names: - oprot.writeString(iter1103) + for iter1080 in self.group_names: + oprot.writeString(iter1080) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26631,11 +26614,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = Partition() - _elem1109.read(iprot) - self.success.append(_elem1109) + (_etype1084, _size1081) = iprot.readListBegin() + for _i1085 in xrange(_size1081): + _elem1086 = Partition() + _elem1086.read(iprot) + self.success.append(_elem1086) iprot.readListEnd() else: iprot.skip(ftype) @@ -26664,8 +26647,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: @@ -26759,10 +26742,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.group_names.append(_elem1116) + (_etype1091, _size1088) = iprot.readListBegin() + for _i1092 in xrange(_size1088): + _elem1093 = iprot.readString() + self.group_names.append(_elem1093) iprot.readListEnd() else: iprot.skip(ftype) @@ -26795,8 +26778,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 iter1117 in self.group_names: - oprot.writeString(iter1117) + for iter1094 in self.group_names: + oprot.writeString(iter1094) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26857,11 +26840,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = Partition() - _elem1123.read(iprot) - self.success.append(_elem1123) + (_etype1098, _size1095) = iprot.readListBegin() + for _i1099 in xrange(_size1095): + _elem1100 = Partition() + _elem1100.read(iprot) + self.success.append(_elem1100) iprot.readListEnd() else: iprot.skip(ftype) @@ -26890,8 +26873,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 iter1124 in self.success: - iter1124.write(oprot) + for iter1101 in self.success: + iter1101.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27049,11 +27032,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = PartitionSpec() - _elem1130.read(iprot) - self.success.append(_elem1130) + (_etype1105, _size1102) = iprot.readListBegin() + for _i1106 in xrange(_size1102): + _elem1107 = PartitionSpec() + _elem1107.read(iprot) + self.success.append(_elem1107) iprot.readListEnd() else: iprot.skip(ftype) @@ -27082,8 +27065,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: @@ -27241,10 +27224,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.success.append(_elem1137) + (_etype1112, _size1109) = iprot.readListBegin() + for _i1113 in xrange(_size1109): + _elem1114 = iprot.readString() + self.success.append(_elem1114) iprot.readListEnd() else: iprot.skip(ftype) @@ -27273,8 +27256,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 iter1138 in self.success: - oprot.writeString(iter1138) + for iter1115 in self.success: + oprot.writeString(iter1115) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27514,10 +27497,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = iprot.readString() - self.part_vals.append(_elem1144) + (_etype1119, _size1116) = iprot.readListBegin() + for _i1120 in xrange(_size1116): + _elem1121 = iprot.readString() + self.part_vals.append(_elem1121) iprot.readListEnd() else: iprot.skip(ftype) @@ -27547,8 +27530,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 iter1145 in self.part_vals: - oprot.writeString(iter1145) + for iter1122 in self.part_vals: + oprot.writeString(iter1122) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27612,11 +27595,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) @@ -27645,8 +27628,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: @@ -27733,10 +27716,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) @@ -27753,10 +27736,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1162, _size1159) = iprot.readListBegin() - for _i1163 in xrange(_size1159): - _elem1164 = iprot.readString() - self.group_names.append(_elem1164) + (_etype1139, _size1136) = iprot.readListBegin() + for _i1140 in xrange(_size1136): + _elem1141 = iprot.readString() + self.group_names.append(_elem1141) iprot.readListEnd() else: iprot.skip(ftype) @@ -27781,8 +27764,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 iter1165 in self.part_vals: - oprot.writeString(iter1165) + for iter1142 in self.part_vals: + oprot.writeString(iter1142) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27796,8 +27779,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 iter1166 in self.group_names: - oprot.writeString(iter1166) + for iter1143 in self.group_names: + oprot.writeString(iter1143) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27859,11 +27842,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) @@ -27892,8 +27875,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: @@ -27974,10 +27957,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = iprot.readString() - self.part_vals.append(_elem1179) + (_etype1154, _size1151) = iprot.readListBegin() + for _i1155 in xrange(_size1151): + _elem1156 = iprot.readString() + self.part_vals.append(_elem1156) iprot.readListEnd() else: iprot.skip(ftype) @@ -28007,8 +27990,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 iter1180 in self.part_vals: - oprot.writeString(iter1180) + for iter1157 in self.part_vals: + oprot.writeString(iter1157) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28072,10 +28055,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1184, _size1181) = iprot.readListBegin() - for _i1185 in xrange(_size1181): - _elem1186 = iprot.readString() - self.success.append(_elem1186) + (_etype1161, _size1158) = iprot.readListBegin() + for _i1162 in xrange(_size1158): + _elem1163 = iprot.readString() + self.success.append(_elem1163) iprot.readListEnd() else: iprot.skip(ftype) @@ -28104,8 +28087,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 iter1187 in self.success: - oprot.writeString(iter1187) + for iter1164 in self.success: + oprot.writeString(iter1164) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28276,11 +28259,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) @@ -28309,8 +28292,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: @@ -28481,11 +28464,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1198, _size1195) = iprot.readListBegin() - for _i1199 in xrange(_size1195): - _elem1200 = PartitionSpec() - _elem1200.read(iprot) - self.success.append(_elem1200) + (_etype1175, _size1172) = iprot.readListBegin() + for _i1176 in xrange(_size1172): + _elem1177 = PartitionSpec() + _elem1177.read(iprot) + self.success.append(_elem1177) iprot.readListEnd() else: iprot.skip(ftype) @@ -28514,8 +28497,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 iter1201 in self.success: - iter1201.write(oprot) + for iter1178 in self.success: + iter1178.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28935,10 +28918,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1205, _size1202) = iprot.readListBegin() - for _i1206 in xrange(_size1202): - _elem1207 = iprot.readString() - self.names.append(_elem1207) + (_etype1182, _size1179) = iprot.readListBegin() + for _i1183 in xrange(_size1179): + _elem1184 = iprot.readString() + self.names.append(_elem1184) iprot.readListEnd() else: iprot.skip(ftype) @@ -28963,8 +28946,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 iter1208 in self.names: - oprot.writeString(iter1208) + for iter1185 in self.names: + oprot.writeString(iter1185) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29023,11 +29006,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1212, _size1209) = iprot.readListBegin() - for _i1213 in xrange(_size1209): - _elem1214 = Partition() - _elem1214.read(iprot) - self.success.append(_elem1214) + (_etype1189, _size1186) = iprot.readListBegin() + for _i1190 in xrange(_size1186): + _elem1191 = Partition() + _elem1191.read(iprot) + self.success.append(_elem1191) iprot.readListEnd() else: iprot.skip(ftype) @@ -29056,8 +29039,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 iter1215 in self.success: - iter1215.write(oprot) + for iter1192 in self.success: + iter1192.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29307,11 +29290,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1219, _size1216) = iprot.readListBegin() - for _i1220 in xrange(_size1216): - _elem1221 = Partition() - _elem1221.read(iprot) - self.new_parts.append(_elem1221) + (_etype1196, _size1193) = iprot.readListBegin() + for _i1197 in xrange(_size1193): + _elem1198 = Partition() + _elem1198.read(iprot) + self.new_parts.append(_elem1198) iprot.readListEnd() else: iprot.skip(ftype) @@ -29336,8 +29319,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 iter1222 in self.new_parts: - iter1222.write(oprot) + for iter1199 in self.new_parts: + iter1199.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29490,11 +29473,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1226, _size1223) = iprot.readListBegin() - for _i1227 in xrange(_size1223): - _elem1228 = Partition() - _elem1228.read(iprot) - self.new_parts.append(_elem1228) + (_etype1203, _size1200) = iprot.readListBegin() + for _i1204 in xrange(_size1200): + _elem1205 = Partition() + _elem1205.read(iprot) + self.new_parts.append(_elem1205) iprot.readListEnd() else: iprot.skip(ftype) @@ -29525,8 +29508,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 iter1229 in self.new_parts: - iter1229.write(oprot) + for iter1206 in self.new_parts: + iter1206.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -29870,10 +29853,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1233, _size1230) = iprot.readListBegin() - for _i1234 in xrange(_size1230): - _elem1235 = iprot.readString() - self.part_vals.append(_elem1235) + (_etype1210, _size1207) = iprot.readListBegin() + for _i1211 in xrange(_size1207): + _elem1212 = iprot.readString() + self.part_vals.append(_elem1212) iprot.readListEnd() else: iprot.skip(ftype) @@ -29904,8 +29887,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 iter1236 in self.part_vals: - oprot.writeString(iter1236) + for iter1213 in self.part_vals: + oprot.writeString(iter1213) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -30047,10 +30030,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1240, _size1237) = iprot.readListBegin() - for _i1241 in xrange(_size1237): - _elem1242 = iprot.readString() - self.part_vals.append(_elem1242) + (_etype1217, _size1214) = iprot.readListBegin() + for _i1218 in xrange(_size1214): + _elem1219 = iprot.readString() + self.part_vals.append(_elem1219) iprot.readListEnd() else: iprot.skip(ftype) @@ -30072,8 +30055,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 iter1243 in self.part_vals: - oprot.writeString(iter1243) + for iter1220 in self.part_vals: + oprot.writeString(iter1220) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -30431,10 +30414,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1247, _size1244) = iprot.readListBegin() - for _i1248 in xrange(_size1244): - _elem1249 = iprot.readString() - self.success.append(_elem1249) + (_etype1224, _size1221) = iprot.readListBegin() + for _i1225 in xrange(_size1221): + _elem1226 = iprot.readString() + self.success.append(_elem1226) iprot.readListEnd() else: iprot.skip(ftype) @@ -30457,8 +30440,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 iter1250 in self.success: - oprot.writeString(iter1250) + for iter1227 in self.success: + oprot.writeString(iter1227) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30582,11 +30565,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1252, _vtype1253, _size1251 ) = iprot.readMapBegin() - for _i1255 in xrange(_size1251): - _key1256 = iprot.readString() - _val1257 = iprot.readString() - self.success[_key1256] = _val1257 + (_ktype1229, _vtype1230, _size1228 ) = iprot.readMapBegin() + for _i1232 in xrange(_size1228): + _key1233 = iprot.readString() + _val1234 = iprot.readString() + self.success[_key1233] = _val1234 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30609,9 +30592,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 kiter1258,viter1259 in self.success.items(): - oprot.writeString(kiter1258) - oprot.writeString(viter1259) + for kiter1235,viter1236 in self.success.items(): + oprot.writeString(kiter1235) + oprot.writeString(viter1236) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30687,11 +30670,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1261, _vtype1262, _size1260 ) = iprot.readMapBegin() - for _i1264 in xrange(_size1260): - _key1265 = iprot.readString() - _val1266 = iprot.readString() - self.part_vals[_key1265] = _val1266 + (_ktype1238, _vtype1239, _size1237 ) = iprot.readMapBegin() + for _i1241 in xrange(_size1237): + _key1242 = iprot.readString() + _val1243 = iprot.readString() + self.part_vals[_key1242] = _val1243 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30721,9 +30704,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 kiter1267,viter1268 in self.part_vals.items(): - oprot.writeString(kiter1267) - oprot.writeString(viter1268) + for kiter1244,viter1245 in self.part_vals.items(): + oprot.writeString(kiter1244) + oprot.writeString(viter1245) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -30937,11 +30920,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1270, _vtype1271, _size1269 ) = iprot.readMapBegin() - for _i1273 in xrange(_size1269): - _key1274 = iprot.readString() - _val1275 = iprot.readString() - self.part_vals[_key1274] = _val1275 + (_ktype1247, _vtype1248, _size1246 ) = iprot.readMapBegin() + for _i1250 in xrange(_size1246): + _key1251 = iprot.readString() + _val1252 = iprot.readString() + self.part_vals[_key1251] = _val1252 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30971,9 +30954,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 kiter1276,viter1277 in self.part_vals.items(): - oprot.writeString(kiter1276) - oprot.writeString(viter1277) + for kiter1253,viter1254 in self.part_vals.items(): + oprot.writeString(kiter1253) + oprot.writeString(viter1254) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -34625,10 +34608,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1281, _size1278) = iprot.readListBegin() - for _i1282 in xrange(_size1278): - _elem1283 = iprot.readString() - self.success.append(_elem1283) + (_etype1258, _size1255) = iprot.readListBegin() + for _i1259 in xrange(_size1255): + _elem1260 = iprot.readString() + self.success.append(_elem1260) iprot.readListEnd() else: iprot.skip(ftype) @@ -34651,8 +34634,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 iter1284 in self.success: - oprot.writeString(iter1284) + for iter1261 in self.success: + oprot.writeString(iter1261) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35340,10 +35323,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1288, _size1285) = iprot.readListBegin() - for _i1289 in xrange(_size1285): - _elem1290 = iprot.readString() - self.success.append(_elem1290) + (_etype1265, _size1262) = iprot.readListBegin() + for _i1266 in xrange(_size1262): + _elem1267 = iprot.readString() + self.success.append(_elem1267) iprot.readListEnd() else: iprot.skip(ftype) @@ -35366,8 +35349,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 iter1291 in self.success: - oprot.writeString(iter1291) + for iter1268 in self.success: + oprot.writeString(iter1268) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35881,11 +35864,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1295, _size1292) = iprot.readListBegin() - for _i1296 in xrange(_size1292): - _elem1297 = Role() - _elem1297.read(iprot) - self.success.append(_elem1297) + (_etype1272, _size1269) = iprot.readListBegin() + for _i1273 in xrange(_size1269): + _elem1274 = Role() + _elem1274.read(iprot) + self.success.append(_elem1274) iprot.readListEnd() else: iprot.skip(ftype) @@ -35908,8 +35891,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 iter1298 in self.success: - iter1298.write(oprot) + for iter1275 in self.success: + iter1275.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36418,10 +36401,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1302, _size1299) = iprot.readListBegin() - for _i1303 in xrange(_size1299): - _elem1304 = iprot.readString() - self.group_names.append(_elem1304) + (_etype1279, _size1276) = iprot.readListBegin() + for _i1280 in xrange(_size1276): + _elem1281 = iprot.readString() + self.group_names.append(_elem1281) iprot.readListEnd() else: iprot.skip(ftype) @@ -36446,8 +36429,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 iter1305 in self.group_names: - oprot.writeString(iter1305) + for iter1282 in self.group_names: + oprot.writeString(iter1282) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36674,11 +36657,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1309, _size1306) = iprot.readListBegin() - for _i1310 in xrange(_size1306): - _elem1311 = HiveObjectPrivilege() - _elem1311.read(iprot) - self.success.append(_elem1311) + (_etype1286, _size1283) = iprot.readListBegin() + for _i1287 in xrange(_size1283): + _elem1288 = HiveObjectPrivilege() + _elem1288.read(iprot) + self.success.append(_elem1288) iprot.readListEnd() else: iprot.skip(ftype) @@ -36701,8 +36684,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 iter1312 in self.success: - iter1312.write(oprot) + for iter1289 in self.success: + iter1289.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37372,10 +37355,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1316, _size1313) = iprot.readListBegin() - for _i1317 in xrange(_size1313): - _elem1318 = iprot.readString() - self.group_names.append(_elem1318) + (_etype1293, _size1290) = iprot.readListBegin() + for _i1294 in xrange(_size1290): + _elem1295 = iprot.readString() + self.group_names.append(_elem1295) iprot.readListEnd() else: iprot.skip(ftype) @@ -37396,8 +37379,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 iter1319 in self.group_names: - oprot.writeString(iter1319) + for iter1296 in self.group_names: + oprot.writeString(iter1296) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -37452,10 +37435,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1323, _size1320) = iprot.readListBegin() - for _i1324 in xrange(_size1320): - _elem1325 = iprot.readString() - self.success.append(_elem1325) + (_etype1300, _size1297) = iprot.readListBegin() + for _i1301 in xrange(_size1297): + _elem1302 = iprot.readString() + self.success.append(_elem1302) iprot.readListEnd() else: iprot.skip(ftype) @@ -37478,8 +37461,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 iter1326 in self.success: - oprot.writeString(iter1326) + for iter1303 in self.success: + oprot.writeString(iter1303) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38411,10 +38394,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1330, _size1327) = iprot.readListBegin() - for _i1331 in xrange(_size1327): - _elem1332 = iprot.readString() - self.success.append(_elem1332) + (_etype1307, _size1304) = iprot.readListBegin() + for _i1308 in xrange(_size1304): + _elem1309 = iprot.readString() + self.success.append(_elem1309) iprot.readListEnd() else: iprot.skip(ftype) @@ -38431,8 +38414,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 iter1333 in self.success: - oprot.writeString(iter1333) + for iter1310 in self.success: + oprot.writeString(iter1310) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38959,10 +38942,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1337, _size1334) = iprot.readListBegin() - for _i1338 in xrange(_size1334): - _elem1339 = iprot.readString() - self.success.append(_elem1339) + (_etype1314, _size1311) = iprot.readListBegin() + for _i1315 in xrange(_size1311): + _elem1316 = iprot.readString() + self.success.append(_elem1316) iprot.readListEnd() else: iprot.skip(ftype) @@ -38979,8 +38962,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 iter1340 in self.success: - oprot.writeString(iter1340) + for iter1317 in self.success: + oprot.writeString(iter1317) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -47387,11 +47370,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1344, _size1341) = iprot.readListBegin() - for _i1345 in xrange(_size1341): - _elem1346 = SchemaVersion() - _elem1346.read(iprot) - self.success.append(_elem1346) + (_etype1321, _size1318) = iprot.readListBegin() + for _i1322 in xrange(_size1318): + _elem1323 = SchemaVersion() + _elem1323.read(iprot) + self.success.append(_elem1323) iprot.readListEnd() else: iprot.skip(ftype) @@ -47420,8 +47403,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 iter1347 in self.success: - iter1347.write(oprot) + for iter1324 in self.success: + iter1324.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -48896,11 +48879,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1351, _size1348) = iprot.readListBegin() - for _i1352 in xrange(_size1348): - _elem1353 = RuntimeStat() - _elem1353.read(iprot) - self.success.append(_elem1353) + (_etype1328, _size1325) = iprot.readListBegin() + for _i1329 in xrange(_size1325): + _elem1330 = RuntimeStat() + _elem1330.read(iprot) + self.success.append(_elem1330) iprot.readListEnd() else: iprot.skip(ftype) @@ -48923,8 +48906,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 iter1354 in self.success: - iter1354.write(oprot) + for iter1331 in self.success: + iter1331.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 031e72b3c9..1285c086c9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -14681,6 +14681,7 @@ class CreationMetadata: - tblName - tablesUsed - validTxnList + - materializationTime """ thrift_spec = ( @@ -14690,14 +14691,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: @@ -14738,6 +14741,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() @@ -14771,6 +14779,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() @@ -14793,6 +14805,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): @@ -17613,24 +17626,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): @@ -17643,26 +17647,6 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: - if ftype == TType.SET: - self.tablesUsed = set() - (_etype763, _size760) = iprot.readSetBegin() - for _i764 in xrange(_size760): - _elem765 = iprot.readString() - self.tablesUsed.add(_elem765) - 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: @@ -17677,39 +17661,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 iter766 in self.tablesUsed: - oprot.writeString(iter766) - 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 @@ -18586,44 +18552,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = WMPool() - _elem772.read(iprot) - self.pools.append(_elem772) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = WMPool() + _elem765.read(iprot) + self.pools.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = WMMapping() - _elem778.read(iprot) - self.mappings.append(_elem778) + (_etype769, _size766) = iprot.readListBegin() + for _i770 in xrange(_size766): + _elem771 = WMMapping() + _elem771.read(iprot) + self.mappings.append(_elem771) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype782, _size779) = iprot.readListBegin() - for _i783 in xrange(_size779): - _elem784 = WMTrigger() - _elem784.read(iprot) - self.triggers.append(_elem784) + (_etype775, _size772) = iprot.readListBegin() + for _i776 in xrange(_size772): + _elem777 = WMTrigger() + _elem777.read(iprot) + self.triggers.append(_elem777) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype788, _size785) = iprot.readListBegin() - for _i789 in xrange(_size785): - _elem790 = WMPoolTrigger() - _elem790.read(iprot) - self.poolTriggers.append(_elem790) + (_etype781, _size778) = iprot.readListBegin() + for _i782 in xrange(_size778): + _elem783 = WMPoolTrigger() + _elem783.read(iprot) + self.poolTriggers.append(_elem783) iprot.readListEnd() else: iprot.skip(ftype) @@ -18644,29 +18610,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 iter791 in self.pools: - iter791.write(oprot) + for iter784 in self.pools: + iter784.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 iter792 in self.mappings: - iter792.write(oprot) + for iter785 in self.mappings: + iter785.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 iter793 in self.triggers: - iter793.write(oprot) + for iter786 in self.triggers: + iter786.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 iter794 in self.poolTriggers: - iter794.write(oprot) + for iter787 in self.poolTriggers: + iter787.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19140,11 +19106,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = WMResourcePlan() - _elem800.read(iprot) - self.resourcePlans.append(_elem800) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = WMResourcePlan() + _elem793.read(iprot) + self.resourcePlans.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -19161,8 +19127,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 iter801 in self.resourcePlans: - iter801.write(oprot) + for iter794 in self.resourcePlans: + iter794.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19466,20 +19432,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = iprot.readString() - self.errors.append(_elem807) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = iprot.readString() + self.errors.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString() - self.warnings.append(_elem813) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = iprot.readString() + self.warnings.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -19496,15 +19462,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 iter814 in self.errors: - oprot.writeString(iter814) + for iter807 in self.errors: + oprot.writeString(iter807) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter815 in self.warnings: - oprot.writeString(iter815) + for iter808 in self.warnings: + oprot.writeString(iter808) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20081,11 +20047,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype819, _size816) = iprot.readListBegin() - for _i820 in xrange(_size816): - _elem821 = WMTrigger() - _elem821.read(iprot) - self.triggers.append(_elem821) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = WMTrigger() + _elem814.read(iprot) + self.triggers.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) @@ -20102,8 +20068,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 iter822 in self.triggers: - iter822.write(oprot) + for iter815 in self.triggers: + iter815.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21287,11 +21253,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype826, _size823) = iprot.readListBegin() - for _i827 in xrange(_size823): - _elem828 = FieldSchema() - _elem828.read(iprot) - self.cols.append(_elem828) + (_etype819, _size816) = iprot.readListBegin() + for _i820 in xrange(_size816): + _elem821 = FieldSchema() + _elem821.read(iprot) + self.cols.append(_elem821) iprot.readListEnd() else: iprot.skip(ftype) @@ -21351,8 +21317,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 iter829 in self.cols: - iter829.write(oprot) + for iter822 in self.cols: + iter822.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -21607,11 +21573,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype833, _size830) = iprot.readListBegin() - for _i834 in xrange(_size830): - _elem835 = SchemaVersionDescriptor() - _elem835.read(iprot) - self.schemaVersions.append(_elem835) + (_etype826, _size823) = iprot.readListBegin() + for _i827 in xrange(_size823): + _elem828 = SchemaVersionDescriptor() + _elem828.read(iprot) + self.schemaVersions.append(_elem828) iprot.readListEnd() else: iprot.skip(ftype) @@ -21628,8 +21594,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 iter836 in self.schemaVersions: - iter836.write(oprot) + for iter829 in self.schemaVersions: + iter829.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb index 0348ff263e..a0fabfe781 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -3277,13 +3277,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 @@ -3952,22 +3954,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/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 2bd958ed16..5ecfbeda64 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/metastore-common/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() @@ -4043,7 +4043,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 @@ -7654,12 +7654,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 @@ -7678,7 +7678,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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 8d88749eff..e6f7333acf 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -3009,8 +3009,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 @@ -8670,13 +8670,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 @@ -8992,8 +8992,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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index bfd7141a8b..acdb73bdd5 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index b5d147bcf7..9661bebc13 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -775,7 +775,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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java deleted file mode 100644 index cc168a913b..0000000000 --- a/standalone-metastore/metastore-common/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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java deleted file mode 100644 index fc644f0b63..0000000000 --- a/standalone-metastore/metastore-common/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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java index 8ca9ede074..9ce7d6db49 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockCleanerTask.java +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 8721022282..bdcbf41e6a 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -1335,13 +1335,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()); - } } } } @@ -1439,10 +1432,6 @@ public boolean dropTable(String catName, String dbName, String tableName) } finally { if (!success) { rollbackTransaction(); - } else { - if (materializedView) { - MaterializationsInvalidationCache.get().dropMaterializedView(dbName, tableName); - } } } return success; @@ -2285,13 +2274,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( @@ -2307,6 +2297,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()); } @@ -4210,16 +4201,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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index 74a301fce6..c2bbba5813 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java +++ b/standalone-metastore/metastore-common/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; @@ -762,8 +761,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() + "," + "org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask", "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 " + @@ -772,7 +769,8 @@ public static ConfVars getMetaConf(String name) { AcidHouseKeeperService.class.getName() + "," + AcidOpenTxnsCounterService.class.getName() + "," + AcidCompactionHistoryService.class.getName() + "," + - AcidWriteSetService.class.getName(), + AcidWriteSetService.class.getName() + "," + + MaterializationsRebuildLockCleanerTask.class.getName(), "Command separated list of tasks that will be started in separate threads. These will be" + " started only when the metastore is running as a separate service. They must " + "implement " + MetastoreTaskThread.class.getName()), diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java index 66b5d48e90..2d65126e91 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java index f8c2ca2ea2..2bae133552 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java +++ b/standalone-metastore/metastore-common/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 " + @@ -336,6 +344,7 @@ public static void cleanDb(Configuration conf) throws Exception { success &= dropTable(stmt, "AUX_TABLE", retryCount); success &= dropTable(stmt, "WRITE_SET", retryCount); success &= dropTable(stmt, "REPL_TXN_MAP", retryCount); + success &= dropTable(stmt, "MATERIALIZATION_REBUILD_LOCKS", retryCount); /* * Don't drop NOTIFICATION_LOG, SEQUENCE_TABLE and NOTIFICATION_SEQUENCE as its used by other * table which are not txn related to generate primary key. So if these tables are dropped diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index 3785f89f2d..9dd3787482 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ b/standalone-metastore/metastore-common/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; @@ -869,10 +867,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; @@ -936,7 +931,7 @@ public void commitTxn(CommitTxnRequest rqst) "tc_operation_type " + conflictSQLSuffix)); } if (rs != null && rs.next()) { - isUpdateDelete = true; + isUpdateDelete = 'Y'; close(rs); //if here it means currently committing txn performed update/delete and we should check WW conflict /** @@ -1033,8 +1028,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. 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 + ">"); if ((stmt.executeUpdate(s)) < 1) { @@ -1050,10 +1045,11 @@ public void commitTxn(CommitTxnRequest rqst) rows.add(txnid + "," + quoteString(writeEventInfo.getDatabase()) + "," + quoteString(writeEventInfo.getTable()) + "," + quoteString(writeEventInfo.getPartition()) + "," + - writeEventInfo.getWriteId()); + writeEventInfo.getWriteId() + "," + + "'" + isUpdateDelete + "'"); } List queries = sqlGenerator.createInsertValuesStmt("COMPLETED_TXN_COMPONENTS " + - "(ctc_txnid," + " ctc_database, ctc_table, ctc_partition, ctc_writeid)", rows); + "(ctc_txnid," + " ctc_database, ctc_table, ctc_partition, ctc_writeid, ctc_update_delete)", rows); for (String q : queries) { LOG.debug("Going to execute insert <" + q + "> "); stmt.execute(q); @@ -1066,18 +1062,6 @@ public void commitTxn(CommitTxnRequest rqst) stmt.executeUpdate(s); } - // 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())); - } - // cleanup all txn related metadata s = "delete from TXN_COMPONENTS where tc_txnid = " + txnid; LOG.debug("Going to execute update <" + s + ">"); @@ -1092,29 +1076,19 @@ public void commitTxn(CommitTxnRequest rqst) LOG.debug("Going to execute update <" + s + ">"); 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 + ">"); + stmt.executeUpdate(s); + if (transactionalListeners != null) { MetaStoreListenerNotifier.notifyEventWithDirectSql(transactionalListeners, 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); @@ -1125,9 +1099,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); @@ -1694,16 +1665,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; @@ -1711,32 +1696,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); } } @@ -2009,6 +2169,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 { @@ -4887,20 +5048,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/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index d972d10dfc..33f24fbba6 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ b/standalone-metastore/metastore-common/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.*; @@ -29,6 +30,7 @@ import java.sql.SQLException; import java.util.Iterator; import java.util.List; +import java.util.Map; import java.util.Set; /** @@ -41,7 +43,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"; @@ -128,21 +130,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/metastore-common/src/main/sql/derby/hive-schema-3.1.0.derby.sql b/standalone-metastore/metastore-common/src/main/sql/derby/hive-schema-3.1.0.derby.sql index a696d06177..5e8693e128 100644 --- a/standalone-metastore/metastore-common/src/main/sql/derby/hive-schema-3.1.0.derby.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/derby/hive-schema-4.0.0.derby.sql b/standalone-metastore/metastore-common/src/main/sql/derby/hive-schema-4.0.0.derby.sql index 7cab4fb663..5ba71c40bd 100644 --- a/standalone-metastore/metastore-common/src/main/sql/derby/hive-schema-4.0.0.derby.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql b/standalone-metastore/metastore-common/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql index 7058ab08bf..2b200f2184 100644 --- a/standalone-metastore/metastore-common/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql +++ b/standalone-metastore/metastore-common/src/main/sql/derby/upgrade-3.0.0-to-3.1.0.derby.sql @@ -45,5 +45,24 @@ CREATE TABLE TXN_WRITE_NOTIFICATION_LOG ( ); INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) VALUES ('org.apache.hadoop.hive.metastore.model.MTxnWriteNotificationLog', 1); +-- 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/metastore-common/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql b/standalone-metastore/metastore-common/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql index d7722dc72a..446ee6e819 100644 --- a/standalone-metastore/metastore-common/src/main/sql/mssql/hive-schema-3.1.0.mssql.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql b/standalone-metastore/metastore-common/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql index a81fc40959..bbc8ea22a2 100644 --- a/standalone-metastore/metastore-common/src/main/sql/mssql/hive-schema-4.0.0.mssql.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql b/standalone-metastore/metastore-common/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql index 41f23f7a7c..d44cfdb179 100644 --- a/standalone-metastore/metastore-common/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql +++ b/standalone-metastore/metastore-common/src/main/sql/mssql/upgrade-3.0.0-to-3.1.0.mssql.sql @@ -46,6 +46,25 @@ CREATE TABLE TXN_WRITE_NOTIFICATION_LOG ( ALTER TABLE TXN_WRITE_NOTIFICATION_LOG ADD CONSTRAINT TXN_WRITE_NOTIFICATION_LOG_PK PRIMARY KEY (WNL_TXNID, WNL_DATABASE, WNL_TABLE, WNL_PARTITION); INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) VALUES ('org.apache.hadoop.hive.metastore.model.MTxnWriteNotificationLog', 1); +-- 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/metastore-common/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql b/standalone-metastore/metastore-common/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql index 29d4a43a97..75612a7143 100644 --- a/standalone-metastore/metastore-common/src/main/sql/mysql/hive-schema-3.1.0.mysql.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql b/standalone-metastore/metastore-common/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql index 968f4a4a26..d53e7fc240 100644 --- a/standalone-metastore/metastore-common/src/main/sql/mysql/hive-schema-4.0.0.mysql.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql b/standalone-metastore/metastore-common/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql index e103bef80c..7752e891a8 100644 --- a/standalone-metastore/metastore-common/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql +++ b/standalone-metastore/metastore-common/src/main/sql/mysql/upgrade-3.0.0-to-3.1.0.mysql.sql @@ -46,6 +46,26 @@ CREATE TABLE TXN_WRITE_NOTIFICATION_LOG ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO `SEQUENCE_TABLE` (`SEQUENCE_NAME`, `NEXT_VAL`) VALUES ('org.apache.hadoop.hive.metastore.model.MTxnWriteNotificationLog', 1); +-- 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/metastore-common/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql b/standalone-metastore/metastore-common/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql index 9adea31829..a4720c865e 100644 --- a/standalone-metastore/metastore-common/src/main/sql/oracle/hive-schema-3.1.0.oracle.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql b/standalone-metastore/metastore-common/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql index faca66944e..e58ee330d7 100644 --- a/standalone-metastore/metastore-common/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql b/standalone-metastore/metastore-common/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql index cf8699b62a..e4efe4d12d 100644 --- a/standalone-metastore/metastore-common/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql +++ b/standalone-metastore/metastore-common/src/main/sql/oracle/upgrade-3.0.0-to-3.1.0.oracle.sql @@ -46,6 +46,25 @@ CREATE TABLE TXN_WRITE_NOTIFICATION_LOG ( ); INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) VALUES ('org.apache.hadoop.hive.metastore.model.MTxnWriteNotificationLog', 1); +-- 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/metastore-common/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql b/standalone-metastore/metastore-common/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql index 7a8a4196e2..a74c388d12 100644 --- a/standalone-metastore/metastore-common/src/main/sql/postgres/hive-schema-3.1.0.postgres.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql b/standalone-metastore/metastore-common/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql index 2e7ac5af79..5d1a5258fb 100644 --- a/standalone-metastore/metastore-common/src/main/sql/postgres/hive-schema-4.0.0.postgres.sql +++ b/standalone-metastore/metastore-common/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/metastore-common/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql b/standalone-metastore/metastore-common/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql index 445c3a2705..dadf065819 100644 --- a/standalone-metastore/metastore-common/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql +++ b/standalone-metastore/metastore-common/src/main/sql/postgres/upgrade-3.0.0-to-3.1.0.postgres.sql @@ -48,6 +48,25 @@ CREATE TABLE "TXN_WRITE_NOTIFICATION_LOG" ( ); INSERT INTO "SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") VALUES ('org.apache.hadoop.hive.metastore.model.MTxnWriteNotificationLog', 1); +-- 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/metastore-common/src/main/thrift/hive_metastore.thrift b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 1ca6454776..8965059cf6 100644 --- a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -1073,6 +1073,7 @@ struct CreationMetadata { 3: required string tblName, 4: required set tablesUsed, 5: optional string validTxnList, + 6: optional i64 materializationTime } struct NotificationEventRequest { @@ -1273,10 +1274,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. @@ -1728,7 +1726,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/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index 53c4d24ae0..d91f737450 100644 --- a/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/metastore-common/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/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java b/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java deleted file mode 100644 index 8debccefb3..0000000000 --- a/standalone-metastore/metastore-common/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; - } -} diff --git a/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java b/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java index efa3e7c8b4..816a7358b2 100644 --- a/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java +++ b/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java @@ -1211,6 +1211,7 @@ public void tablesInOtherCatalogs() throws TException, URISyntaxException { // Update the metadata for the materialized view CreationMetadata cm = client.getTable(catName, dbName, tableNames[3]).getCreationMetadata(); cm.addToTablesUsed(dbName + "." + tableNames[1]); + cm.unsetMaterializationTime(); client.updateCreationMetadata(catName, dbName, tableNames[3], cm); List partNames = new ArrayList<>();