diff --git itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java index 2b22a62cd9..1d15787832 100644 --- itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java +++ itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java @@ -151,12 +151,14 @@ public void setup() throws Exception { hiveConf.setVar(HiveConf.ConfVars.HIVEINPUTFORMAT, HiveInputFormat.class.getName()); hiveConf.setVar(HiveConf.ConfVars.DYNAMICPARTITIONINGMODE, "nonstrict"); + TxnDbUtil.setConfValues(hiveConf); TxnDbUtil.cleanDb(hiveConf); TxnDbUtil.prepDb(hiveConf); conf = hiveConf; HiveConf.setBoolVar(conf, ConfVars.HIVE_MM_ALLOW_ORIGINALS, true); + HiveConf.setIntVar(conf, ConfVars.HIVE_COMPACTOR_ABORTEDTXN_THRESHOLD, 0); msClient = new HiveMetaStoreClient(conf); driver = DriverFactory.newDriver(hiveConf); SessionState.start(new CliSessionState(hiveConf)); @@ -781,6 +783,230 @@ public void majorCompactAfterAbort() throws Exception { checkExpectedTxnsPresent(stat[0].getPath(), null, columnNamesProperty, columnTypesProperty, 0, 1L, 4L, 1); } + @Test + public void testCleanAbortCompactAfterAbort() throws Exception { + String dbName = "default"; + String tblName = "cws"; + + // Create three folders with two different transactions + HiveStreamingConnection connection1 = prepareTableAndConnection(dbName, tblName, 1); + HiveStreamingConnection connection2 = prepareTableAndConnection(dbName, tblName, 1); + + connection1.beginTransaction(); + connection1.write("1,1".getBytes()); + connection1.write("2,2".getBytes()); + connection1.abortTransaction(); + + connection2.beginTransaction(); + connection2.write("1,3".getBytes()); + connection2.write("2,3".getBytes()); + connection2.write("3,3".getBytes()); + connection2.abortTransaction(); + + IMetaStoreClient msClient = new HiveMetaStoreClient(conf); + TxnStore txnHandler = TxnUtils.getTxnStore(conf); + Table table = msClient.getTable(dbName, tblName); + FileSystem fs = FileSystem.get(conf); + FileStatus[] stat = + fs.listStatus(new Path(table.getSd().getLocation())); + if (3 != stat.length) { + Assert.fail("Expecting three directories corresponding to two partitions, FileStatus[] stat " + Arrays.toString(stat)); + } + + int count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS where TC_OPERATION_TYPE='p'"); + // We should have two rows corresponding to the two aborted transactions + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 2, count); + + runInitiator(conf); + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from COMPACTION_QUEUE where CQ_TYPE='p'"); + // Only one job is added to the queue per table. This job corresponds to all the entries for a particular table + // with rows in TXN_COMPONENTS + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from COMPACTION_QUEUE"), 1, count); + + ShowCompactResponse rsp = txnHandler.showCompact(new ShowCompactRequest()); + Assert.assertEquals(1, rsp.getCompacts().size()); + Assert.assertEquals(TxnStore.CLEANING_RESPONSE, rsp.getCompacts().get(0).getState()); + Assert.assertEquals("cws", rsp.getCompacts().get(0).getTablename()); + Assert.assertEquals(CompactionType.CLEAN_ABORTED, + rsp.getCompacts().get(0).getType()); + + runCleaner(conf); + + // After the cleaner runs TXN_COMPONENTS and COMPACTION_QUEUE should have zero rows, also the folders should have been deleted. + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 0, count); + + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from COMPACTION_QUEUE"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from COMPACTION_QUEUE"), 0, count); + + stat = + fs.listStatus(new Path(table.getSd().getLocation())); + if (0 != stat.length) { + Assert.fail("Expecting compaction to have cleaned the directories, FileStatus[] stat " + Arrays.toString(stat)); + } + + rsp = txnHandler.showCompact(new ShowCompactRequest()); + Assert.assertEquals(1, rsp.getCompacts().size()); + Assert.assertEquals(TxnStore.SUCCEEDED_RESPONSE, rsp.getCompacts().get(0).getState()); + Assert.assertEquals("cws", rsp.getCompacts().get(0).getTablename()); + Assert.assertEquals(CompactionType.CLEAN_ABORTED, + rsp.getCompacts().get(0).getType()); + + connection1.close(); + connection2.close(); + } + + @Test + public void testCleanAbortCompactSeveralTables() throws Exception { + String dbName = "default"; + String tblName1 = "cws1"; + String tblName2 = "cws2"; + + HiveStreamingConnection connection1 = prepareTableAndConnection(dbName, tblName1, 1); + HiveStreamingConnection connection2 = prepareTableAndConnection(dbName, tblName2, 1); + + connection1.beginTransaction(); + connection1.write("1,1".getBytes()); + connection1.write("2,2".getBytes()); + connection1.abortTransaction(); + + connection2.beginTransaction(); + connection2.write("1,1".getBytes()); + connection2.write("2,2".getBytes()); + connection2.abortTransaction(); + + IMetaStoreClient msClient = new HiveMetaStoreClient(conf); + FileSystem fs = FileSystem.get(conf); + Table table1 = msClient.getTable(dbName, tblName1); + FileStatus[] stat = + fs.listStatus(new Path(table1.getSd().getLocation())); + if (2 != stat.length) { + Assert.fail("Expecting two directories corresponding to two partitions, FileStatus[] stat " + Arrays.toString(stat)); + } + Table table2 = msClient.getTable(dbName, tblName2); + stat = fs.listStatus(new Path(table2.getSd().getLocation())); + if (2 != stat.length) { + Assert.fail("Expecting two directories corresponding to two partitions, FileStatus[] stat " + Arrays.toString(stat)); + } + + int count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS where TC_OPERATION_TYPE='p'"); + // We should have two rows corresponding to the two aborted transactions + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 2, count); + + runInitiator(conf); + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from COMPACTION_QUEUE where CQ_TYPE='p'"); + // Only one job is added to the queue per table. This job corresponds to all the entries for a particular table + // with rows in TXN_COMPONENTS + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from COMPACTION_QUEUE"), 2, count); + + runCleaner(conf); + + // After the cleaner runs TXN_COMPONENTS and COMPACTION_QUEUE should have zero rows, also the folders should have been deleted. + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 0, count); + + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from COMPACTION_QUEUE"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from COMPACTION_QUEUE"), 0, count); + + stat = + fs.listStatus(new Path(table1.getSd().getLocation())); + if (0 != stat.length) { + Assert.fail("Expecting compaction to have cleaned the directories, FileStatus[] stat " + Arrays.toString(stat)); + } + + connection1.close(); + connection2.close(); + } + + @Test + public void testCleanAbortCorrectlyCleaned() throws Exception { + // Test that at commit the tables are cleaned properly + String dbName = "default"; + String tblName = "cws"; + HiveStreamingConnection connection = prepareTableAndConnection(dbName, tblName, 1); + connection.beginTransaction(); + connection.write("1,1".getBytes()); + connection.write("2,2".getBytes()); + + int count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS where TC_OPERATION_TYPE='p'"); + // We should have two rows corresponding to the two aborted transactions + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 1, count); + + connection.commitTransaction(); + + // After commit the row should have been deleted + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS where TC_OPERATION_TYPE='p'"); + // We should have two rows corresponding to the two aborted transactions + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 0, count); + } + + @Test + public void testCleanAbortAndMinorCompact() throws Exception { + String dbName = "default"; + String tblName = "cws"; + + HiveStreamingConnection connection = prepareTableAndConnection(dbName, tblName, 1); + + connection.beginTransaction(); + connection.write("1,1".getBytes()); + connection.write("2,2".getBytes()); + connection.abortTransaction(); + + executeStatementOnDriver("insert into " + tblName + " partition (a) values (1, '1')", driver); + + conf.setIntVar(HiveConf.ConfVars.HIVE_COMPACTOR_DELTA_NUM_THRESHOLD, 0); + runInitiator(conf); + runWorker(conf); + + int count = TxnDbUtil.countQueryAgent(conf, "select count(*) from COMPACTION_QUEUE"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from COMPACTION_QUEUE"), 2, count); + // Cleaning should happen in threads concurrently for the minor compaction and the clean abort one. + runCleaner(conf); + + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from TXN_COMPONENTS"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from TXN_COMPONENTS"), 0, count); + + count = TxnDbUtil.countQueryAgent(conf, "select count(*) from COMPACTION_QUEUE"); + Assert.assertEquals(TxnDbUtil.queryToString(conf, "select * from COMPACTION_QUEUE"), 0, count); + } + + @Test + public void testCleanAbortedBatchSize() throws Exception { + String dbName = "default"; + String tblName = "cws"; + HiveStreamingConnection connection = prepareTableAndConnection(dbName, tblName, 2); + try { + connection.beginTransaction(); + Assert.fail("Should have thrown an exception because if the table" + + " is dynamic only batch size 1 can be used"); + } catch (StreamingException e) {} + } + + private HiveStreamingConnection prepareTableAndConnection(String dbName, String tblName, int batchSize) throws Exception { + String agentInfo = "UT_" + Thread.currentThread().getName(); + + executeStatementOnDriver("drop table if exists " + tblName, driver); + executeStatementOnDriver("CREATE TABLE " + tblName + "(b STRING) " + + " PARTITIONED BY (a INT)" + //currently ACID requires table to be bucketed + " STORED AS ORC TBLPROPERTIES ('transactional'='true')", driver); + + StrictDelimitedInputWriter writer = StrictDelimitedInputWriter.newBuilder() + .withFieldDelimiter(',') + .build(); + + // Create three folders with two different transactions + return HiveStreamingConnection.newBuilder() + .withDatabase(dbName) + .withTable(tblName) + .withAgentInfo(agentInfo) + .withHiveConf(conf) + .withRecordWriter(writer) + .withStreamingOptimizations(true) + // Transaction size has to be one or exception should happen. + .withTransactionBatchSize(batchSize) + .connect(); + } + @Test public void mmTable() throws Exception { diff --git ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java index badcc55c91..8b871b3fbc 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java @@ -51,6 +51,7 @@ import org.apache.hadoop.hive.metastore.api.DataOperationType; import org.apache.hadoop.hive.metastore.api.LockComponent; import org.apache.hadoop.hive.metastore.api.LockType; +import org.apache.hadoop.hive.metastore.api.StorageDescriptor; import org.apache.hadoop.hive.metastore.api.hive_metastoreConstants; import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.ql.ErrorMsg; @@ -85,6 +86,7 @@ import com.google.common.annotations.VisibleForTesting; import java.nio.charset.Charset; +import java.util.stream.Collectors; /** * Utilities that are shared by all of the ACID input and output formats. They @@ -2536,4 +2538,49 @@ public static void validateAcidPartitionLocation(String location, Configuration throw new SemanticException(ErrorMsg.INVALID_PATH.getMsg(ex.getMessage()), ex); } } + + /** + * It's not enough with getting all the current partitions. It's possible + * that some partitions have been created and not yet committed so we have to scan + * all the folders and in the root directory of the table + * @param location path of the root location of the table. + * @return a set with all the partitions + */ + public static List listAllFiles(String location, Configuration conf) throws IOException { + Path rootTable = new Path(location); + FileSystem fs = rootTable.getFileSystem(conf); + return list(fs, rootTable, null); + } + + /** + * Returns the files that match a list of writeIds inside a particular partition + * @param rootPartition partition path + * @param conf conf + * @param writeIds list of writeIds + * @return the list of paths that have matched + * @throws IOException + */ + public static List getDeltaDirectories(Path rootPartition, + Configuration conf, List writeIds) throws IOException { + FileSystem fs = rootPartition.getFileSystem(conf); + return list(fs, rootPartition, (p) -> { + String name = p.getName(); + for (Long wId: writeIds) { + if (name.startsWith(deltaSubdir(wId, wId))) { + return true; + } + } + return false; + } + ); + } + + private static List list(FileSystem fs, Path path, PathFilter filter) + throws IOException { + try { + return SHIMS.listLocatedHdfsStatus(fs, path, filter).stream().map((flst) -> flst.getFileStatus()).collect(Collectors.toList()); + } catch (Throwable t) { + return HdfsUtils.listLocatedStatus(fs, path, filter); + } + } } diff --git ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java index 06b0209aa0..e78f09aa54 100644 --- ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java +++ ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java @@ -25,6 +25,7 @@ import org.apache.hadoop.hive.metastore.api.GetValidWriteIdsRequest; import org.apache.hadoop.hive.metastore.api.GetValidWriteIdsResponse; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; +import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.txn.TxnCommonUtils; import org.apache.hadoop.hive.metastore.txn.TxnStore; import org.apache.hadoop.hive.metastore.txn.TxnUtils; @@ -49,10 +50,19 @@ import java.io.IOException; import java.security.PrivilegedExceptionAction; import java.util.ArrayList; +import java.util.Collection; import java.util.Collections; +import java.util.Comparator; import java.util.List; +import java.util.concurrent.BlockingQueue; +import java.util.concurrent.Callable; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.PriorityBlockingQueue; +import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.locks.Lock; +import java.util.concurrent.locks.ReentrantLock; import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultCatalog; @@ -65,11 +75,25 @@ private long cleanerCheckInterval = 0; private ReplChangeManager replChangeManager; + private ExecutorService executorService; + + private final int KEEPALIVE_SECONDS = 60; + private Lock rsLock = new ReentrantLock(); @Override public void init(AtomicBoolean stop, AtomicBoolean looped) throws Exception { super.init(stop, looped); replChangeManager = ReplChangeManager.getInstance(conf); + int coreThreads = MetastoreConf.getIntVar(conf, + MetastoreConf.ConfVars.COMPACTOR_CORE_CLEANER_THREADS); + int maxThreads = MetastoreConf.getIntVar(conf, + MetastoreConf.ConfVars.COMPACTOR_MAX_CLEANER_THREADS); + assert coreThreads > 0; + assert maxThreads > 0; + assert maxThreads >= coreThreads; + BlockingQueue cleanTaks = new PriorityBlockingQueue<>(coreThreads, + Comparator.comparing((cw) -> ((CleanWork)cw).getPriority())); + executorService = new ThreadPoolExecutor(coreThreads, maxThreads, KEEPALIVE_SECONDS, TimeUnit.SECONDS, cleanTaks); } @Override @@ -92,9 +116,18 @@ public void run() { handle = txnHandler.getMutexAPI().acquireLock(TxnStore.MUTEX_KEY.Cleaner.name()); startedAt = System.currentTimeMillis(); long minOpenTxnId = txnHandler.findMinOpenTxnId(); + Collection> calls = new ArrayList<>(); for(CompactionInfo compactionInfo : txnHandler.findReadyToClean()) { - clean(compactionInfo, minOpenTxnId); + calls.add(new CleanWork(compactionInfo, minOpenTxnId, rsLock)); } + // We have to wait now for all the Callables to finish before proceeding + // because otherwise we could start again the same cleaning work. When the + // cleaning work finishes markCleaned will be called and rows will be removed + // from TXN_COMPONENTS that should prevent this. + // TODO: optimize this so we don't have this constraint. + // Maybe adding a new state besides READY_FOR_CLEANING, like CLEANING_RUNNING + executorService.invokeAll(calls); + } catch (Throwable t) { LOG.error("Caught an exception in the main loop of compactor cleaner, " + StringUtils.stringifyException(t)); @@ -121,150 +154,323 @@ public void run() { } while (!stop.get()); } - private void clean(CompactionInfo ci, long minOpenTxnGLB) throws MetaException { - LOG.info("Starting cleaning for " + ci); - try { - Table t = resolveTable(ci); - if (t == null) { - // The table was dropped before we got around to cleaning it. - LOG.info("Unable to find table " + ci.getFullTableName() + ", assuming it was dropped." + - idWatermark(ci)); - txnHandler.markCleaned(ci); + private static String idWatermark(CompactionInfo ci) { + return " id=" + ci.id; + } + + /** + * In the first one we scan all the directories and delete files of + * transaction that were aborted before addDynamicPartitions is called. + * The second one does the "regular" clean and removes files as a result + * of compaction and other kinds of aborted transactions. + */ + private class CleanWork implements Callable { + final CompactionInfo ci; + final long minOpenTxnGLB; + final Lock rsLock; + /** + * Contructor that corresponds to the second kind of clean work + * @param ci compaction info. + */ + CleanWork(CompactionInfo ci, long minOpenTxnGLB, Lock rsLock) { + this.ci = ci; + this.minOpenTxnGLB = minOpenTxnGLB; + this.rsLock = rsLock; + } + + @Override + public Void call() { + try { + clean(); + } catch (Throwable t) { + LOG.error("Caught an exception in the main loop of compactor cleaner, " + + StringUtils.stringifyException(t)); + } + return null; + } + + void clean() throws MetaException { + if (ci.isCleanAbortedCompaction()) { + cleanAborted(); + } else { + cleanRegular(); + } + } + + private void cleanAborted() throws MetaException { + if (ci.writeIds == null || ci.writeIds.size() == 0) { + LOG.warn("Attempted cleaning aborted transaction with empty writeId list"); return; } - Partition p = null; - if (ci.partName != null) { - p = resolvePartition(ci); - if (p == null) { - // The partition was dropped before we got around to cleaning it. - LOG.info("Unable to find partition " + ci.getFullPartitionName() + - ", assuming it was dropped." + idWatermark(ci)); - txnHandler.markCleaned(ci); + LOG.info("Starting abort cleaning for table " + ci.getFullTableName() + + ". This will scan all the partition directories."); + try { + Table t = syncResolveTable(); + if (t == null) { + // The table was dropped before we got around to cleaning it. + LOG.info("Unable to find table " + ci.getFullTableName() + ", assuming it was dropped." + + idWatermark(ci)); + txnHandler.markCleaned(ci); return; } - } - StorageDescriptor sd = resolveStorageDescriptor(t, p); - final String location = sd.getLocation(); - ValidTxnList validTxnList = - TxnUtils.createValidTxnListForCleaner(txnHandler.getOpenTxns(), minOpenTxnGLB); - //save it so that getAcidState() sees it - conf.set(ValidTxnList.VALID_TXNS_KEY, validTxnList.writeToString()); - /** - * {@code validTxnList} is capped by minOpenTxnGLB so if - * {@link AcidUtils#getAcidState(Path, Configuration, ValidWriteIdList)} sees a base/delta - * produced by a compactor, that means every reader that could be active right now see it - * as well. That means if this base/delta shadows some earlier base/delta, the it will be - * used in favor of any files that it shadows. Thus the shadowed files are safe to delete. - * - * - * The metadata about aborted writeIds (and consequently aborted txn IDs) cannot be deleted - * above COMPACTION_QUEUE.CQ_HIGHEST_WRITE_ID. - * See {@link TxnStore#markCleaned(CompactionInfo)} for details. - * For example given partition P1, txnid:150 starts and sees txnid:149 as open. - * Say compactor runs in txnid:160, but 149 is still open and P1 has the largest resolved - * writeId:17. Compactor will produce base_17_c160. - * Suppose txnid:149 writes delta_18_18 - * to P1 and aborts. Compactor can only remove TXN_COMPONENTS entries - * up to (inclusive) writeId:17 since delta_18_18 may be on disk (and perhaps corrupted) but - * not visible based on 'validTxnList' capped at minOpenTxn so it will not not be cleaned by - * {@link #removeFiles(String, ValidWriteIdList, CompactionInfo)} and so we must keep the - * metadata that says that 18 is aborted. - * In a slightly different case, whatever txn created delta_18 (and all other txn) may have - * committed by the time cleaner runs and so cleaner will indeed see delta_18_18 and remove - * it (since it has nothing but aborted data). But we can't tell which actually happened - * in markCleaned() so make sure it doesn't delete meta above CG_CQ_HIGHEST_WRITE_ID. - * - * We could perhaps make cleaning of aborted and obsolete and remove all aborted files up - * to the current Min Open Write Id, this way aborted TXN_COMPONENTS meta can be removed - * as well up to that point which may be higher than CQ_HIGHEST_WRITE_ID. This could be - * useful if there is all of a sudden a flood of aborted txns. (For another day). - */ - List tblNames = Collections.singletonList( - TableName.getDbTable(t.getDbName(), t.getTableName())); - GetValidWriteIdsRequest rqst = new GetValidWriteIdsRequest(tblNames); - rqst.setValidTxnList(validTxnList.writeToString()); - GetValidWriteIdsResponse rsp = txnHandler.getValidWriteIds(rqst); - //we could have no write IDs for a table if it was never written to but - // since we are in the Cleaner phase of compactions, there must have - // been some delta/base dirs - assert rsp != null && rsp.getTblValidWriteIdsSize() == 1; - //Creating 'reader' list since we are interested in the set of 'obsolete' files - ValidReaderWriteIdList validWriteIdList = - TxnCommonUtils.createValidReaderWriteIdList(rsp.getTblValidWriteIds().get(0)); - - if (runJobAsSelf(ci.runAs)) { - removeFiles(location, validWriteIdList, ci); - } else { - LOG.info("Cleaning as user " + ci.runAs + " for " + ci.getFullPartitionName()); - UserGroupInformation ugi = UserGroupInformation.createProxyUser(ci.runAs, - UserGroupInformation.getLoginUser()); - ugi.doAs(new PrivilegedExceptionAction() { - @Override - public Object run() throws Exception { - removeFiles(location, validWriteIdList, ci); - return null; + + StorageDescriptor sd = resolveStorageDescriptor(t, null); + + if (runJobAsSelf(ci.runAs)) { + rmFilesClean(sd.getLocation(), ci); + } else { + LOG.info("Cleaning as user " + ci.runAs + " for " + ci.getFullPartitionName()); + UserGroupInformation ugi = UserGroupInformation.createProxyUser(ci.runAs, + UserGroupInformation.getLoginUser()); + ugi.doAs(new PrivilegedExceptionAction() { + @Override + public Object run() throws Exception { + rmFilesClean(sd.getLocation(), ci); + return null; + } + }); + try { + FileSystem.closeAllForUGI(ugi); + } catch (IOException exception) { + LOG.error("Could not clean up file-system handles for UGI: " + ugi + " for " + + ci.getFullPartitionName() + idWatermark(ci), exception); } - }); - try { - FileSystem.closeAllForUGI(ugi); - } catch (IOException exception) { - LOG.error("Could not clean up file-system handles for UGI: " + ugi + " for " + - ci.getFullPartitionName() + idWatermark(ci), exception); } + txnHandler.markCleaned(ci); + } catch (Exception e) { + LOG.error("Caught exception when cleaning, unable to complete cleaning of " + ci + " " + + StringUtils.stringifyException(e)); + txnHandler.markFailed(ci); } - txnHandler.markCleaned(ci); - } catch (Exception e) { - LOG.error("Caught exception when cleaning, unable to complete cleaning of " + ci + " " + - StringUtils.stringifyException(e)); - txnHandler.markFailed(ci); } - } - private static String idWatermark(CompactionInfo ci) { - return " id=" + ci.id; - } - private void removeFiles(String location, ValidWriteIdList writeIdList, CompactionInfo ci) - throws IOException, NoSuchObjectException { - Path locPath = new Path(location); - AcidUtils.Directory dir = AcidUtils.getAcidState(locPath, conf, writeIdList); - List obsoleteDirs = dir.getObsolete(); - /** - * add anything in 'dir' that only has data from aborted transactions - no one should be - * trying to read anything in that dir (except getAcidState() that only reads the name of - * this dir itself) - * So this may run ahead of {@link CompactionInfo#highestWriteId} but it's ok (suppose there - * are no active txns when cleaner runs). The key is to not delete metadata about aborted - * txns with write IDs > {@link CompactionInfo#highestWriteId}. - * See {@link TxnStore#markCleaned(CompactionInfo)} - */ - obsoleteDirs.addAll(dir.getAbortedDirectories()); - List filesToDelete = new ArrayList<>(obsoleteDirs.size()); - StringBuilder extraDebugInfo = new StringBuilder("["); - for (FileStatus stat : obsoleteDirs) { - filesToDelete.add(stat.getPath()); - extraDebugInfo.append(stat.getPath().getName()).append(","); - if(!FileUtils.isPathWithinSubtree(stat.getPath(), locPath)) { - LOG.info(idWatermark(ci) + " found unexpected file: " + stat.getPath()); + + private Table syncResolveTable() throws MetaException { + try { + rsLock.lock(); + return resolveTable(ci); + } finally { + rsLock.unlock(); + } + } + + private Database syncGetDatabase() throws NoSuchObjectException { + try { + rsLock.lock(); + return rs.getDatabase(getDefaultCatalog(conf), ci.dbname); + } finally { + rsLock.unlock(); + } + } + + private Partition syncResolvePartition() throws Exception { + try { + rsLock.lock(); + return resolvePartition(ci); + } finally { + rsLock.unlock(); } } - extraDebugInfo.setCharAt(extraDebugInfo.length() - 1, ']'); - LOG.info(idWatermark(ci) + " About to remove " + filesToDelete.size() + - " obsolete directories from " + location + ". " + extraDebugInfo.toString()); - if (filesToDelete.size() < 1) { - LOG.warn("Hmm, nothing to delete in the cleaner for directory " + location + - ", that hardly seems right."); - return; + + private void cleanRegular() throws MetaException { + LOG.info("Starting cleaning for " + ci); + try { + Table t = syncResolveTable(); + if (t == null) { + // The table was dropped before we got around to cleaning it. + LOG.info("Unable to find table " + ci.getFullTableName() + ", assuming it was dropped." + + idWatermark(ci)); + txnHandler.markCleaned(ci); + return; + } + Partition p = null; + if (ci.partName != null) { + p = syncResolvePartition(); + if (p == null) { + // The partition was dropped before we got around to cleaning it. + LOG.info("Unable to find partition " + ci.getFullPartitionName() + + ", assuming it was dropped." + idWatermark(ci)); + txnHandler.markCleaned(ci); + return; + } + } + StorageDescriptor sd = resolveStorageDescriptor(t, p); + final String location = sd.getLocation(); + ValidTxnList validTxnList = + TxnUtils.createValidTxnListForCleaner(txnHandler.getOpenTxns(), minOpenTxnGLB); + //save it so that getAcidState() sees it + conf.set(ValidTxnList.VALID_TXNS_KEY, validTxnList.writeToString()); + /** + * {@code validTxnList} is capped by minOpenTxnGLB so if + * {@link AcidUtils#getAcidState(Path, Configuration, ValidWriteIdList)} sees a base/delta + * produced by a compactor, that means every reader that could be active right now see it + * as well. That means if this base/delta shadows some earlier base/delta, the it will be + * used in favor of any files that it shadows. Thus the shadowed files are safe to delete. + * + * + * The metadata about aborted writeIds (and consequently aborted txn IDs) cannot be deleted + * above COMPACTION_QUEUE.CQ_HIGHEST_WRITE_ID. + * See {@link TxnStore#markCleaned(CompactionInfo)} for details. + * For example given partition P1, txnid:150 starts and sees txnid:149 as open. + * Say compactor runs in txnid:160, but 149 is still open and P1 has the largest resolved + * writeId:17. Compactor will produce base_17_c160. + * Suppose txnid:149 writes delta_18_18 + * to P1 and aborts. Compactor can only remove TXN_COMPONENTS entries + * up to (inclusive) writeId:17 since delta_18_18 may be on disk (and perhaps corrupted) but + * not visible based on 'validTxnList' capped at minOpenTxn so it will not not be cleaned by + * {@link #removeFiles(String, ValidWriteIdList, CompactionInfo)} and so we must keep the + * metadata that says that 18 is aborted. + * In a slightly different case, whatever txn created delta_18 (and all other txn) may have + * committed by the time cleaner runs and so cleaner will indeed see delta_18_18 and remove + * it (since it has nothing but aborted data). But we can't tell which actually happened + * in markCleaned() so make sure it doesn't delete meta above CG_CQ_HIGHEST_WRITE_ID. + * + * We could perhaps make cleaning of aborted and obsolete and remove all aborted files up + * to the current Min Open Write Id, this way aborted TXN_COMPONENTS meta can be removed + * as well up to that point which may be higher than CQ_HIGHEST_WRITE_ID. This could be + * useful if there is all of a sudden a flood of aborted txns. (For another day). + */ + List tblNames = Collections.singletonList( + TableName.getDbTable(t.getDbName(), t.getTableName())); + GetValidWriteIdsRequest rqst = new GetValidWriteIdsRequest(tblNames); + rqst.setValidTxnList(validTxnList.writeToString()); + GetValidWriteIdsResponse rsp = txnHandler.getValidWriteIds(rqst); + //we could have no write IDs for a table if it was never written to but + // since we are in the Cleaner phase of compactions, there must have + // been some delta/base dirs + assert rsp != null && rsp.getTblValidWriteIdsSize() == 1; + //Creating 'reader' list since we are interested in the set of 'obsolete' files + ValidReaderWriteIdList validWriteIdList = + TxnCommonUtils.createValidReaderWriteIdList(rsp.getTblValidWriteIds().get(0)); + + if (runJobAsSelf(ci.runAs)) { + rmFilesRegular(location, validWriteIdList, ci); + } else { + LOG.info("Cleaning as user " + ci.runAs + " for " + ci.getFullPartitionName()); + UserGroupInformation ugi = UserGroupInformation.createProxyUser(ci.runAs, + UserGroupInformation.getLoginUser()); + ugi.doAs(new PrivilegedExceptionAction() { + @Override + public Object run() throws Exception { + rmFilesRegular(location, validWriteIdList, ci); + return null; + } + }); + try { + FileSystem.closeAllForUGI(ugi); + } catch (IOException exception) { + LOG.error("Could not clean up file-system handles for UGI: " + ugi + " for " + + ci.getFullPartitionName() + idWatermark(ci), exception); + } + } + txnHandler.markCleaned(ci); + } catch (Exception e) { + LOG.error("Caught exception when cleaning, unable to complete cleaning of " + ci + " " + + StringUtils.stringifyException(e)); + txnHandler.markFailed(ci); + } } - FileSystem fs = filesToDelete.get(0).getFileSystem(conf); - Database db = rs.getDatabase(getDefaultCatalog(conf), ci.dbname); - Boolean isSourceOfRepl = ReplChangeManager.isSourceOfReplication(db); + private void rmFilesClean(String rootLocation, CompactionInfo ci) throws IOException, NoSuchObjectException { + List possiblePartitions = AcidUtils.listAllFiles(rootLocation, conf); + List filesToDelete = new ArrayList<>(); + for (FileStatus fsId: possiblePartitions) { + filesToDelete.addAll(AcidUtils.getDeltaDirectories(fsId.getPath(), conf, ci.writeIds)); + } + + if (filesToDelete.size() == 0) { + LOG.debug("No dirty delta files where found in the clean abort compaction"); + return; + } + + FileSystem fs = filesToDelete.get(0).getPath().getFileSystem(conf); + Database db = syncGetDatabase(); + Boolean isSourceOfRepl = ReplChangeManager.isSourceOfReplication(db); + + for (FileStatus dead : filesToDelete) { + Path deadPath = dead.getPath(); + LOG.debug("Going to delete path " + deadPath.toString()); + if (isSourceOfRepl) { + replChangeManager.recycle(deadPath, ReplChangeManager.RecycleType.MOVE, true); + } + fs.delete(deadPath, true); + } - for (Path dead : filesToDelete) { - LOG.debug("Going to delete path " + dead.toString()); - if (isSourceOfRepl) { - replChangeManager.recycle(dead, ReplChangeManager.RecycleType.MOVE, true); + // Delete the directories in case they are empty + // TODO this second scan can be done in the first + filesToDelete = new ArrayList<>(); + for (FileStatus partition: possiblePartitions) { + if (AcidUtils.listAllFiles(partition.getPath().toString(), conf).size() == 0) { + filesToDelete.add(partition); + } + } + + for (FileStatus dead : filesToDelete) { + Path deadPath = dead.getPath(); + LOG.debug("Going to delete path " + deadPath.toString()); + if (isSourceOfRepl) { + replChangeManager.recycle(deadPath, ReplChangeManager.RecycleType.MOVE, true); + } + fs.delete(deadPath, true); + } + } + + private void rmFilesRegular(String location, ValidWriteIdList writeIdList, CompactionInfo ci) + throws IOException, NoSuchObjectException { + Path locPath = new Path(location); + AcidUtils.Directory dir = AcidUtils.getAcidState(locPath, conf, writeIdList); + List obsoleteDirs = dir.getObsolete(); + /** + * add anything in 'dir' that only has data from aborted transactions - no one should be + * trying to read anything in that dir (except getAcidState() that only reads the name of + * this dir itself) + * So this may run ahead of {@link CompactionInfo#highestWriteId} but it's ok (suppose there + * are no active txns when cleaner runs). The key is to not delete metadata about aborted + * txns with write IDs > {@link CompactionInfo#highestWriteId}. + * See {@link TxnStore#markCleaned(CompactionInfo)} + */ + obsoleteDirs.addAll(dir.getAbortedDirectories()); + List filesToDelete = new ArrayList<>(obsoleteDirs.size()); + StringBuilder extraDebugInfo = new StringBuilder("["); + for (FileStatus stat : obsoleteDirs) { + filesToDelete.add(stat.getPath()); + extraDebugInfo.append(stat.getPath().getName()).append(","); + if(!FileUtils.isPathWithinSubtree(stat.getPath(), locPath)) { + LOG.info(idWatermark(ci) + " found unexpected file: " + stat.getPath()); + } + } + extraDebugInfo.setCharAt(extraDebugInfo.length() - 1, ']'); + LOG.info(idWatermark(ci) + " About to remove " + filesToDelete.size() + + " obsolete directories from " + location + ". " + extraDebugInfo.toString()); + if (filesToDelete.size() < 1) { + LOG.warn("Hmm, nothing to delete in the cleaner for directory " + location + + ", that hardly seems right."); + return; + } + + FileSystem fs = filesToDelete.get(0).getFileSystem(conf); + Database db = syncGetDatabase(); + Boolean isSourceOfRepl = ReplChangeManager.isSourceOfReplication(db); + + for (Path dead : filesToDelete) { + LOG.debug("Going to delete path " + dead.toString()); + if (isSourceOfRepl) { + replChangeManager.recycle(dead, ReplChangeManager.RecycleType.MOVE, true); + } + fs.delete(dead, true); + } + } + + /** + * Gives higher priority to regular clean tasks. Lower value + * means more priority + * @return priority. + */ + int getPriority() { + if (ci.isCleanAbortedCompaction()) { + return 1; + } else { + return 2; } - fs.delete(dead, true); } } } diff --git ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java index a0df82cb20..d73ccfa953 100644 --- ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java +++ ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java @@ -140,7 +140,7 @@ public void run() { // Figure out who we should run the file operations as Partition p = resolvePartition(ci); - if (p == null && ci.partName != null) { + if (!ci.isCleanAbortedCompaction() && p == null && ci.partName != null) { LOG.info("Can't find partition " + ci.getFullPartitionName() + ", assuming it has been dropped and moving on."); continue; @@ -241,7 +241,11 @@ private CompactionType checkForCompaction(final CompactionInfo ci, if (ci.tooManyAborts) { LOG.debug("Found too many aborted transactions for " + ci.getFullPartitionName() + ", " + "initiating major compaction"); - return CompactionType.MAJOR; + if (ci.isCleanAbortedCompaction()) { + return CompactionType.CLEAN_ABORTED; + } else { + return CompactionType.MAJOR; + } } if (runJobAsSelf(runAs)) { @@ -270,6 +274,10 @@ private CompactionType determineCompactionType(CompactionInfo ci, ValidWriteIdLi StorageDescriptor sd, Map tblproperties) throws IOException, InterruptedException { + if (ci.isCleanAbortedCompaction()) { + return CompactionType.CLEAN_ABORTED; + } + boolean noBase = false; Path location = new Path(sd.getLocation()); FileSystem fs = location.getFileSystem(conf); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 9c33229270..af94d64d7a 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -816,13 +816,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list724.size); - String _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list732.size); + String _elem733; + for (int _i734 = 0; _i734 < _list732.size; ++_i734) { - _elem725 = iprot.readString(); - struct.partitionnames.add(_elem725); + _elem733 = iprot.readString(); + struct.partitionnames.add(_elem733); } iprot.readListEnd(); } @@ -872,9 +872,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter727 : struct.partitionnames) + for (String _iter735 : struct.partitionnames) { - oprot.writeString(_iter727); + oprot.writeString(_iter735); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter728 : struct.partitionnames) + for (String _iter736 : struct.partitionnames) { - oprot.writeString(_iter728); + oprot.writeString(_iter736); } } BitSet optionals = new BitSet(); @@ -937,13 +937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list729.size); - String _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem730 = iprot.readString(); - struct.partitionnames.add(_elem730); + _elem738 = iprot.readString(); + struct.partitionnames.add(_elem738); } } struct.setPartitionnamesIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java index d05e7bac8a..d505ee13d1 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java @@ -43,6 +43,7 @@ private static final org.apache.thrift.protocol.TField TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("txnIds", org.apache.thrift.protocol.TType.LIST, (short)3); private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)4); private static final org.apache.thrift.protocol.TField SRC_TXN_TO_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("srcTxnToWriteIdList", org.apache.thrift.protocol.TType.LIST, (short)5); + private static final org.apache.thrift.protocol.TField DYNAMIC_PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("dynamicPartitions", org.apache.thrift.protocol.TType.BOOL, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -55,6 +56,7 @@ private List txnIds; // optional private String replPolicy; // optional private List srcTxnToWriteIdList; // optional + private boolean dynamicPartitions; // 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 @@ TABLE_NAME((short)2, "tableName"), TXN_IDS((short)3, "txnIds"), REPL_POLICY((short)4, "replPolicy"), - SRC_TXN_TO_WRITE_ID_LIST((short)5, "srcTxnToWriteIdList"); + SRC_TXN_TO_WRITE_ID_LIST((short)5, "srcTxnToWriteIdList"), + DYNAMIC_PARTITIONS((short)6, "dynamicPartitions"); private static final Map byName = new HashMap(); @@ -87,6 +90,8 @@ public static _Fields findByThriftId(int fieldId) { return REPL_POLICY; case 5: // SRC_TXN_TO_WRITE_ID_LIST return SRC_TXN_TO_WRITE_ID_LIST; + case 6: // DYNAMIC_PARTITIONS + return DYNAMIC_PARTITIONS; default: return null; } @@ -127,7 +132,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.TXN_IDS,_Fields.REPL_POLICY,_Fields.SRC_TXN_TO_WRITE_ID_LIST}; + private static final int __DYNAMICPARTITIONS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.TXN_IDS,_Fields.REPL_POLICY,_Fields.SRC_TXN_TO_WRITE_ID_LIST,_Fields.DYNAMIC_PARTITIONS}; 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); @@ -143,6 +150,8 @@ public String getFieldName() { tmpMap.put(_Fields.SRC_TXN_TO_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("srcTxnToWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "TxnToWriteId")))); + tmpMap.put(_Fields.DYNAMIC_PARTITIONS, new org.apache.thrift.meta_data.FieldMetaData("dynamicPartitions", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AllocateTableWriteIdsRequest.class, metaDataMap); } @@ -163,6 +172,7 @@ public AllocateTableWriteIdsRequest( * Performs a deep copy on other. */ public AllocateTableWriteIdsRequest(AllocateTableWriteIdsRequest other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -183,6 +193,7 @@ public AllocateTableWriteIdsRequest(AllocateTableWriteIdsRequest other) { } this.srcTxnToWriteIdList = __this__srcTxnToWriteIdList; } + this.dynamicPartitions = other.dynamicPartitions; } public AllocateTableWriteIdsRequest deepCopy() { @@ -196,6 +207,8 @@ public void clear() { this.txnIds = null; this.replPolicy = null; this.srcTxnToWriteIdList = null; + setDynamicPartitionsIsSet(false); + this.dynamicPartitions = false; } public String getDbName() { @@ -343,6 +356,28 @@ public void setSrcTxnToWriteIdListIsSet(boolean value) { } } + public boolean isDynamicPartitions() { + return this.dynamicPartitions; + } + + public void setDynamicPartitions(boolean dynamicPartitions) { + this.dynamicPartitions = dynamicPartitions; + setDynamicPartitionsIsSet(true); + } + + public void unsetDynamicPartitions() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DYNAMICPARTITIONS_ISSET_ID); + } + + /** Returns true if field dynamicPartitions is set (has been assigned a value) and false otherwise */ + public boolean isSetDynamicPartitions() { + return EncodingUtils.testBit(__isset_bitfield, __DYNAMICPARTITIONS_ISSET_ID); + } + + public void setDynamicPartitionsIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DYNAMICPARTITIONS_ISSET_ID, value); + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -385,6 +420,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case DYNAMIC_PARTITIONS: + if (value == null) { + unsetDynamicPartitions(); + } else { + setDynamicPartitions((Boolean)value); + } + break; + } } @@ -405,6 +448,9 @@ public Object getFieldValue(_Fields field) { case SRC_TXN_TO_WRITE_ID_LIST: return getSrcTxnToWriteIdList(); + case DYNAMIC_PARTITIONS: + return isDynamicPartitions(); + } throw new IllegalStateException(); } @@ -426,6 +472,8 @@ public boolean isSet(_Fields field) { return isSetReplPolicy(); case SRC_TXN_TO_WRITE_ID_LIST: return isSetSrcTxnToWriteIdList(); + case DYNAMIC_PARTITIONS: + return isSetDynamicPartitions(); } throw new IllegalStateException(); } @@ -488,6 +536,15 @@ public boolean equals(AllocateTableWriteIdsRequest that) { return false; } + boolean this_present_dynamicPartitions = true && this.isSetDynamicPartitions(); + boolean that_present_dynamicPartitions = true && that.isSetDynamicPartitions(); + if (this_present_dynamicPartitions || that_present_dynamicPartitions) { + if (!(this_present_dynamicPartitions && that_present_dynamicPartitions)) + return false; + if (this.dynamicPartitions != that.dynamicPartitions) + return false; + } + return true; } @@ -520,6 +577,11 @@ public int hashCode() { if (present_srcTxnToWriteIdList) list.add(srcTxnToWriteIdList); + boolean present_dynamicPartitions = true && (isSetDynamicPartitions()); + list.add(present_dynamicPartitions); + if (present_dynamicPartitions) + list.add(dynamicPartitions); + return list.hashCode(); } @@ -581,6 +643,16 @@ public int compareTo(AllocateTableWriteIdsRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetDynamicPartitions()).compareTo(other.isSetDynamicPartitions()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDynamicPartitions()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dynamicPartitions, other.dynamicPartitions); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -646,6 +718,12 @@ public String toString() { } first = false; } + if (isSetDynamicPartitions()) { + if (!first) sb.append(", "); + sb.append("dynamicPartitions:"); + sb.append(this.dynamicPartitions); + first = false; + } sb.append(")"); return sb.toString(); } @@ -673,6 +751,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); @@ -758,6 +838,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 6: // DYNAMIC_PARTITIONS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.dynamicPartitions = iprot.readBool(); + struct.setDynamicPartitionsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -816,6 +904,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldEnd(); } } + if (struct.isSetDynamicPartitions()) { + oprot.writeFieldBegin(DYNAMIC_PARTITIONS_FIELD_DESC); + oprot.writeBool(struct.dynamicPartitions); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -845,7 +938,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetSrcTxnToWriteIdList()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if (struct.isSetDynamicPartitions()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); if (struct.isSetTxnIds()) { { oprot.writeI32(struct.txnIds.size()); @@ -867,6 +963,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI } } } + if (struct.isSetDynamicPartitions()) { + oprot.writeBool(struct.dynamicPartitions); + } } @Override @@ -876,7 +975,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId struct.setDbNameIsSet(true); struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list660 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); @@ -908,6 +1007,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId } struct.setSrcTxnToWriteIdListIsSet(true); } + if (incoming.get(3)) { + struct.dynamicPartitions = iprot.readBool(); + struct.setDynamicPartitionsIsSet(true); + } } } diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java index f7d9ed2e2e..3d8314542a 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java @@ -877,14 +877,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterPartitionsRequ case 4: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list968.size); - Partition _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list976.size); + Partition _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem969 = new Partition(); - _elem969.read(iprot); - struct.partitions.add(_elem969); + _elem977 = new Partition(); + _elem977.read(iprot); + struct.partitions.add(_elem977); } iprot.readListEnd(); } @@ -952,9 +952,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterPartitionsReq oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter971 : struct.partitions) + for (Partition _iter979 : struct.partitions) { - _iter971.write(oprot); + _iter979.write(oprot); } oprot.writeListEnd(); } @@ -1000,9 +1000,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partitions.size()); - for (Partition _iter972 : struct.partitions) + for (Partition _iter980 : struct.partitions) { - _iter972.write(oprot); + _iter980.write(oprot); } } BitSet optionals = new BitSet(); @@ -1041,14 +1041,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list973.size); - Partition _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list981.size); + Partition _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem974 = new Partition(); - _elem974.read(iprot); - struct.partitions.add(_elem974); + _elem982 = new Partition(); + _elem982.read(iprot); + struct.partitions.add(_elem982); } } struct.setPartitionsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index f4e3d6bd71..fbe6184c4a 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list848.size); - long _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list856.size); + long _elem857; + for (int _i858 = 0; _i858 < _list856.size; ++_i858) { - _elem849 = iprot.readI64(); - struct.fileIds.add(_elem849); + _elem857 = iprot.readI64(); + struct.fileIds.add(_elem857); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter851 : struct.fileIds) + for (long _iter859 : struct.fileIds) { - oprot.writeI64(_iter851); + oprot.writeI64(_iter859); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter852 : struct.fileIds) + for (long _iter860 : struct.fileIds) { - oprot.writeI64(_iter852); + oprot.writeI64(_iter860); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list853.size); - long _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list861.size); + long _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = iprot.readI64(); - struct.fileIds.add(_elem854); + _elem862 = iprot.readI64(); + struct.fileIds.add(_elem862); } } struct.setFileIdsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index 2b394449a3..db88f0f62e 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -354,13 +354,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); - struct.values = new ArrayList(_list864.size); - ClientCapability _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.values = new ArrayList(_list872.size); + ClientCapability _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem865 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem865); + _elem873 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem873); } iprot.readListEnd(); } @@ -386,9 +386,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter867 : struct.values) + for (ClientCapability _iter875 : struct.values) { - oprot.writeI32(_iter867.getValue()); + oprot.writeI32(_iter875.getValue()); } oprot.writeListEnd(); } @@ -413,9 +413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter868 : struct.values) + for (ClientCapability _iter876 : struct.values) { - oprot.writeI32(_iter868.getValue()); + oprot.writeI32(_iter876.getValue()); } } } @@ -424,13 +424,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list869.size); - ClientCapability _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list877.size); + ClientCapability _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem870); + _elem878 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem878); } } struct.setValuesIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionInfoStruct.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionInfoStruct.java index 4aee45ce5f..f660bbe1af 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionInfoStruct.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionInfoStruct.java @@ -50,6 +50,7 @@ private static final org.apache.thrift.protocol.TField WORKER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("workerId", org.apache.thrift.protocol.TType.STRING, (short)10); private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField("start", org.apache.thrift.protocol.TType.I64, (short)11); private static final org.apache.thrift.protocol.TField HIGHEST_WRITE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("highestWriteId", org.apache.thrift.protocol.TType.I64, (short)12); + private static final org.apache.thrift.protocol.TField WRITE_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("writeIds", org.apache.thrift.protocol.TType.LIST, (short)13); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -69,6 +70,7 @@ private String workerId; // optional private long start; // optional private long highestWriteId; // optional + private List writeIds; // 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 { @@ -87,7 +89,8 @@ STATE((short)9, "state"), WORKER_ID((short)10, "workerId"), START((short)11, "start"), - HIGHEST_WRITE_ID((short)12, "highestWriteId"); + HIGHEST_WRITE_ID((short)12, "highestWriteId"), + WRITE_IDS((short)13, "writeIds"); private static final Map byName = new HashMap(); @@ -126,6 +129,8 @@ public static _Fields findByThriftId(int fieldId) { return START; case 12: // HIGHEST_WRITE_ID return HIGHEST_WRITE_ID; + case 13: // WRITE_IDS + return WRITE_IDS; default: return null; } @@ -171,7 +176,7 @@ public String getFieldName() { private static final int __START_ISSET_ID = 2; private static final int __HIGHESTWRITEID_ISSET_ID = 3; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.RUNAS,_Fields.PROPERTIES,_Fields.TOOMANYABORTS,_Fields.STATE,_Fields.WORKER_ID,_Fields.START,_Fields.HIGHEST_WRITE_ID}; + private static final _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.RUNAS,_Fields.PROPERTIES,_Fields.TOOMANYABORTS,_Fields.STATE,_Fields.WORKER_ID,_Fields.START,_Fields.HIGHEST_WRITE_ID,_Fields.WRITE_IDS}; 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); @@ -199,6 +204,9 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.HIGHEST_WRITE_ID, new org.apache.thrift.meta_data.FieldMetaData("highestWriteId", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.WRITE_IDS, new org.apache.thrift.meta_data.FieldMetaData("writeIds", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CompactionInfoStruct.class, metaDataMap); } @@ -253,6 +261,10 @@ public CompactionInfoStruct(CompactionInfoStruct other) { } this.start = other.start; this.highestWriteId = other.highestWriteId; + if (other.isSetWriteIds()) { + List __this__writeIds = new ArrayList(other.writeIds); + this.writeIds = __this__writeIds; + } } public CompactionInfoStruct deepCopy() { @@ -277,6 +289,7 @@ public void clear() { this.start = 0; setHighestWriteIdIsSet(false); this.highestWriteId = 0; + this.writeIds = null; } public long getId() { @@ -559,6 +572,44 @@ public void setHighestWriteIdIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HIGHESTWRITEID_ISSET_ID, value); } + public int getWriteIdsSize() { + return (this.writeIds == null) ? 0 : this.writeIds.size(); + } + + public java.util.Iterator getWriteIdsIterator() { + return (this.writeIds == null) ? null : this.writeIds.iterator(); + } + + public void addToWriteIds(long elem) { + if (this.writeIds == null) { + this.writeIds = new ArrayList(); + } + this.writeIds.add(elem); + } + + public List getWriteIds() { + return this.writeIds; + } + + public void setWriteIds(List writeIds) { + this.writeIds = writeIds; + } + + public void unsetWriteIds() { + this.writeIds = null; + } + + /** Returns true if field writeIds is set (has been assigned a value) and false otherwise */ + public boolean isSetWriteIds() { + return this.writeIds != null; + } + + public void setWriteIdsIsSet(boolean value) { + if (!value) { + this.writeIds = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case ID: @@ -657,6 +708,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case WRITE_IDS: + if (value == null) { + unsetWriteIds(); + } else { + setWriteIds((List)value); + } + break; + } } @@ -698,6 +757,9 @@ public Object getFieldValue(_Fields field) { case HIGHEST_WRITE_ID: return getHighestWriteId(); + case WRITE_IDS: + return getWriteIds(); + } throw new IllegalStateException(); } @@ -733,6 +795,8 @@ public boolean isSet(_Fields field) { return isSetStart(); case HIGHEST_WRITE_ID: return isSetHighestWriteId(); + case WRITE_IDS: + return isSetWriteIds(); } throw new IllegalStateException(); } @@ -858,6 +922,15 @@ public boolean equals(CompactionInfoStruct that) { return false; } + boolean this_present_writeIds = true && this.isSetWriteIds(); + boolean that_present_writeIds = true && that.isSetWriteIds(); + if (this_present_writeIds || that_present_writeIds) { + if (!(this_present_writeIds && that_present_writeIds)) + return false; + if (!this.writeIds.equals(that.writeIds)) + return false; + } + return true; } @@ -925,6 +998,11 @@ public int hashCode() { if (present_highestWriteId) list.add(highestWriteId); + boolean present_writeIds = true && (isSetWriteIds()); + list.add(present_writeIds); + if (present_writeIds) + list.add(writeIds); + return list.hashCode(); } @@ -1056,6 +1134,16 @@ public int compareTo(CompactionInfoStruct other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetWriteIds()).compareTo(other.isSetWriteIds()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetWriteIds()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.writeIds, other.writeIds); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -1171,6 +1259,16 @@ public String toString() { sb.append(this.highestWriteId); first = false; } + if (isSetWriteIds()) { + if (!first) sb.append(", "); + sb.append("writeIds:"); + if (this.writeIds == null) { + sb.append("null"); + } else { + sb.append(this.writeIds); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -1328,6 +1426,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionInfoStruc org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 13: // WRITE_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.writeIds = new ArrayList(_list716.size); + long _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) + { + _elem717 = iprot.readI64(); + struct.writeIds.add(_elem717); + } + iprot.readListEnd(); + } + struct.setWriteIdsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -1409,6 +1525,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionInfoStru oprot.writeI64(struct.highestWriteId); oprot.writeFieldEnd(); } + if (struct.writeIds != null) { + if (struct.isSetWriteIds()) { + oprot.writeFieldBegin(WRITE_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.writeIds.size())); + for (long _iter719 : struct.writeIds) + { + oprot.writeI64(_iter719); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1455,7 +1585,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionInfoStruc if (struct.isSetHighestWriteId()) { optionals.set(7); } - oprot.writeBitSet(optionals, 8); + if (struct.isSetWriteIds()) { + optionals.set(8); + } + oprot.writeBitSet(optionals, 9); if (struct.isSetPartitionname()) { oprot.writeString(struct.partitionname); } @@ -1480,6 +1613,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionInfoStruc if (struct.isSetHighestWriteId()) { oprot.writeI64(struct.highestWriteId); } + if (struct.isSetWriteIds()) { + { + oprot.writeI32(struct.writeIds.size()); + for (long _iter720 : struct.writeIds) + { + oprot.writeI64(_iter720); + } + } + } } @Override @@ -1493,7 +1635,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionInfoStruct struct.setTablenameIsSet(true); struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); - BitSet incoming = iprot.readBitSet(8); + BitSet incoming = iprot.readBitSet(9); if (incoming.get(0)) { struct.partitionname = iprot.readString(); struct.setPartitionnameIsSet(true); @@ -1526,6 +1668,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionInfoStruct struct.highestWriteId = iprot.readI64(); struct.setHighestWriteIdIsSet(true); } + if (incoming.get(8)) { + { + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.writeIds = new ArrayList(_list721.size); + long _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) + { + _elem722 = iprot.readI64(); + struct.writeIds.add(_elem722); + } + } + struct.setWriteIdsIsSet(true); + } } } diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java index 7450b27cf3..b9b4e5d0ba 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java @@ -13,7 +13,8 @@ public enum CompactionType implements org.apache.thrift.TEnum { MINOR(1), - MAJOR(2); + MAJOR(2), + CLEAN_ABORTED(3); private final int value; @@ -38,6 +39,8 @@ public static CompactionType findByValue(int value) { return MINOR; case 2: return MAJOR; + case 3: + return CLEAN_ABORTED; default: return null; } diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java index 9595a5dc10..a4058d770a 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java @@ -792,13 +792,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 4: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set732 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set732.size); - String _elem733; - for (int _i734 = 0; _i734 < _set732.size; ++_i734) + org.apache.thrift.protocol.TSet _set740 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set740.size); + String _elem741; + for (int _i742 = 0; _i742 < _set740.size; ++_i742) { - _elem733 = iprot.readString(); - struct.tablesUsed.add(_elem733); + _elem741 = iprot.readString(); + struct.tablesUsed.add(_elem741); } iprot.readSetEnd(); } @@ -855,9 +855,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s 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 _iter735 : struct.tablesUsed) + for (String _iter743 : struct.tablesUsed) { - oprot.writeString(_iter735); + oprot.writeString(_iter743); } oprot.writeSetEnd(); } @@ -897,9 +897,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter736 : struct.tablesUsed) + for (String _iter744 : struct.tablesUsed) { - oprot.writeString(_iter736); + oprot.writeString(_iter744); } } BitSet optionals = new BitSet(); @@ -928,13 +928,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set737 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set737.size); - String _elem738; - for (int _i739 = 0; _i739 < _set737.size; ++_i739) + org.apache.thrift.protocol.TSet _set745 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set745.size); + String _elem746; + for (int _i747 = 0; _i747 < _set745.size; ++_i747) { - _elem738 = iprot.readString(); - struct.tablesUsed.add(_elem738); + _elem746 = iprot.readString(); + struct.tablesUsed.add(_elem746); } } struct.setTablesUsedIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 42073db544..3fa764bb29 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ 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 _list960 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list960.size); - SchemaVersionDescriptor _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list968.size); + SchemaVersionDescriptor _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem961 = new SchemaVersionDescriptor(); - _elem961.read(iprot); - struct.schemaVersions.add(_elem961); + _elem969 = new SchemaVersionDescriptor(); + _elem969.read(iprot); + struct.schemaVersions.add(_elem969); } 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 _iter963 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter971 : struct.schemaVersions) { - _iter963.write(oprot); + _iter971.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 _iter964 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter972 : struct.schemaVersions) { - _iter964.write(oprot); + _iter972.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 _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list965.size); - SchemaVersionDescriptor _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list973.size); + SchemaVersionDescriptor _elem974; + for (int _i975 = 0; _i975 < _list973.size; ++_i975) { - _elem966 = new SchemaVersionDescriptor(); - _elem966.read(iprot); - struct.schemaVersions.add(_elem966); + _elem974 = new SchemaVersionDescriptor(); + _elem974.read(iprot); + struct.schemaVersions.add(_elem974); } } struct.setSchemaVersionsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index dd6658d636..bb79057cf2 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -794,13 +794,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list780.size); - String _elem781; - for (int _i782 = 0; _i782 < _list780.size; ++_i782) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list788.size); + String _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) { - _elem781 = iprot.readString(); - struct.partitionVals.add(_elem781); + _elem789 = iprot.readString(); + struct.partitionVals.add(_elem789); } iprot.readListEnd(); } @@ -857,9 +857,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter783 : struct.partitionVals) + for (String _iter791 : struct.partitionVals) { - oprot.writeString(_iter783); + oprot.writeString(_iter791); } oprot.writeListEnd(); } @@ -915,9 +915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter784 : struct.partitionVals) + for (String _iter792 : struct.partitionVals) { - oprot.writeString(_iter784); + oprot.writeString(_iter792); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list785.size); - String _elem786; - for (int _i787 = 0; _i787 < _list785.size; ++_i787) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list793.size); + String _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) { - _elem786 = iprot.readString(); - struct.partitionVals.add(_elem786); + _elem794 = iprot.readString(); + struct.partitionVals.add(_elem794); } } struct.setPartitionValsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index 68146e4561..22ec476ad8 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); - struct.functions = new ArrayList(_list856.size); - Function _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.functions = new ArrayList(_list864.size); + Function _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = new Function(); - _elem857.read(iprot); - struct.functions.add(_elem857); + _elem865 = new Function(); + _elem865.read(iprot); + struct.functions.add(_elem865); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter859 : struct.functions) + for (Function _iter867 : struct.functions) { - _iter859.write(oprot); + _iter867.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter860 : struct.functions) + for (Function _iter868 : struct.functions) { - _iter860.write(oprot); + _iter868.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list861.size); - Function _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list869.size); + Function _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem862 = new Function(); - _elem862.read(iprot); - struct.functions.add(_elem862); + _elem870 = new Function(); + _elem870.read(iprot); + struct.functions.add(_elem870); } } struct.setFunctionsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index ee535a0c80..f23838c3c9 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list806 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list806.size); - long _elem807; - for (int _i808 = 0; _i808 < _list806.size; ++_i808) + org.apache.thrift.protocol.TList _list814 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list814.size); + long _elem815; + for (int _i816 = 0; _i816 < _list814.size; ++_i816) { - _elem807 = iprot.readI64(); - struct.fileIds.add(_elem807); + _elem815 = iprot.readI64(); + struct.fileIds.add(_elem815); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter809 : struct.fileIds) + for (long _iter817 : struct.fileIds) { - oprot.writeI64(_iter809); + oprot.writeI64(_iter817); } oprot.writeListEnd(); } @@ -719,9 +719,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter810 : struct.fileIds) + for (long _iter818 : struct.fileIds) { - oprot.writeI64(_iter810); + oprot.writeI64(_iter818); } } oprot.writeBinary(struct.expr); @@ -745,13 +745,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list811 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list811.size); - long _elem812; - for (int _i813 = 0; _i813 < _list811.size; ++_i813) + org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list819.size); + long _elem820; + for (int _i821 = 0; _i821 < _list819.size; ++_i821) { - _elem812 = iprot.readI64(); - struct.fileIds.add(_elem812); + _elem820 = iprot.readI64(); + struct.fileIds.add(_elem820); } } struct.setFileIdsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 71e92b6c03..5a662bb959 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -444,16 +444,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map796 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map796.size); - long _key797; - MetadataPpdResult _val798; - for (int _i799 = 0; _i799 < _map796.size; ++_i799) + org.apache.thrift.protocol.TMap _map804 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map804.size); + long _key805; + MetadataPpdResult _val806; + for (int _i807 = 0; _i807 < _map804.size; ++_i807) { - _key797 = iprot.readI64(); - _val798 = new MetadataPpdResult(); - _val798.read(iprot); - struct.metadata.put(_key797, _val798); + _key805 = iprot.readI64(); + _val806 = new MetadataPpdResult(); + _val806.read(iprot); + struct.metadata.put(_key805, _val806); } iprot.readMapEnd(); } @@ -487,10 +487,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (Map.Entry _iter800 : struct.metadata.entrySet()) + for (Map.Entry _iter808 : struct.metadata.entrySet()) { - oprot.writeI64(_iter800.getKey()); - _iter800.getValue().write(oprot); + oprot.writeI64(_iter808.getKey()); + _iter808.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -518,10 +518,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter801 : struct.metadata.entrySet()) + for (Map.Entry _iter809 : struct.metadata.entrySet()) { - oprot.writeI64(_iter801.getKey()); - _iter801.getValue().write(oprot); + oprot.writeI64(_iter809.getKey()); + _iter809.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -531,16 +531,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map802 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.metadata = new HashMap(2*_map802.size); - long _key803; - MetadataPpdResult _val804; - for (int _i805 = 0; _i805 < _map802.size; ++_i805) + org.apache.thrift.protocol.TMap _map810 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.metadata = new HashMap(2*_map810.size); + long _key811; + MetadataPpdResult _val812; + for (int _i813 = 0; _i813 < _map810.size; ++_i813) { - _key803 = iprot.readI64(); - _val804 = new MetadataPpdResult(); - _val804.read(iprot); - struct.metadata.put(_key803, _val804); + _key811 = iprot.readI64(); + _val812 = new MetadataPpdResult(); + _val812.read(iprot); + struct.metadata.put(_key811, _val812); } } struct.setMetadataIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 0ea6ef5fb3..378e87756e 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list824.size); - long _elem825; - for (int _i826 = 0; _i826 < _list824.size; ++_i826) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list832.size); + long _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem825 = iprot.readI64(); - struct.fileIds.add(_elem825); + _elem833 = iprot.readI64(); + struct.fileIds.add(_elem833); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter827 : struct.fileIds) + for (long _iter835 : struct.fileIds) { - oprot.writeI64(_iter827); + oprot.writeI64(_iter835); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter828 : struct.fileIds) + for (long _iter836 : struct.fileIds) { - oprot.writeI64(_iter828); + oprot.writeI64(_iter836); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list829.size); - long _elem830; - for (int _i831 = 0; _i831 < _list829.size; ++_i831) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list837.size); + long _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem830 = iprot.readI64(); - struct.fileIds.add(_elem830); + _elem838 = iprot.readI64(); + struct.fileIds.add(_elem838); } } struct.setFileIdsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 759b495bf6..1892bf9261 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -433,15 +433,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map814 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map814.size); - long _key815; - ByteBuffer _val816; - for (int _i817 = 0; _i817 < _map814.size; ++_i817) + org.apache.thrift.protocol.TMap _map822 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map822.size); + long _key823; + ByteBuffer _val824; + for (int _i825 = 0; _i825 < _map822.size; ++_i825) { - _key815 = iprot.readI64(); - _val816 = iprot.readBinary(); - struct.metadata.put(_key815, _val816); + _key823 = iprot.readI64(); + _val824 = iprot.readBinary(); + struct.metadata.put(_key823, _val824); } iprot.readMapEnd(); } @@ -475,10 +475,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (Map.Entry _iter818 : struct.metadata.entrySet()) + for (Map.Entry _iter826 : struct.metadata.entrySet()) { - oprot.writeI64(_iter818.getKey()); - oprot.writeBinary(_iter818.getValue()); + oprot.writeI64(_iter826.getKey()); + oprot.writeBinary(_iter826.getValue()); } oprot.writeMapEnd(); } @@ -506,10 +506,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter819 : struct.metadata.entrySet()) + for (Map.Entry _iter827 : struct.metadata.entrySet()) { - oprot.writeI64(_iter819.getKey()); - oprot.writeBinary(_iter819.getValue()); + oprot.writeI64(_iter827.getKey()); + oprot.writeBinary(_iter827.getValue()); } } oprot.writeBool(struct.isSupported); @@ -519,15 +519,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map820 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new HashMap(2*_map820.size); - long _key821; - ByteBuffer _val822; - for (int _i823 = 0; _i823 < _map820.size; ++_i823) + org.apache.thrift.protocol.TMap _map828 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new HashMap(2*_map828.size); + long _key829; + ByteBuffer _val830; + for (int _i831 = 0; _i831 < _map828.size; ++_i831) { - _key821 = iprot.readI64(); - _val822 = iprot.readBinary(); - struct.metadata.put(_key821, _val822); + _key829 = iprot.readI64(); + _val830 = iprot.readBinary(); + struct.metadata.put(_key829, _val830); } } struct.setMetadataIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java index b5a2b68efd..d64ab62234 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java @@ -444,13 +444,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsFilter case 8: // FILTERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); - struct.filters = new ArrayList(_list992.size); - String _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.filters = new ArrayList(_list1000.size); + String _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) { - _elem993 = iprot.readString(); - struct.filters.add(_elem993); + _elem1001 = iprot.readString(); + struct.filters.add(_elem1001); } iprot.readListEnd(); } @@ -484,9 +484,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsFilte oprot.writeFieldBegin(FILTERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filters.size())); - for (String _iter995 : struct.filters) + for (String _iter1003 : struct.filters) { - oprot.writeString(_iter995); + oprot.writeString(_iter1003); } oprot.writeListEnd(); } @@ -524,9 +524,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilter if (struct.isSetFilters()) { { oprot.writeI32(struct.filters.size()); - for (String _iter996 : struct.filters) + for (String _iter1004 : struct.filters) { - oprot.writeString(_iter996); + oprot.writeString(_iter1004); } } } @@ -542,13 +542,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilterS } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filters = new ArrayList(_list997.size); - String _elem998; - for (int _i999 = 0; _i999 < _list997.size; ++_i999) + org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filters = new ArrayList(_list1005.size); + String _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) { - _elem998 = iprot.readString(); - struct.filters.add(_elem998); + _elem1006 = iprot.readString(); + struct.filters.add(_elem1006); } } struct.setFiltersIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java index e6c9c06beb..844e17e49f 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java @@ -509,13 +509,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsProjec case 1: // FIELD_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); - struct.fieldList = new ArrayList(_list984.size); - String _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); + struct.fieldList = new ArrayList(_list992.size); + String _elem993; + for (int _i994 = 0; _i994 < _list992.size; ++_i994) { - _elem985 = iprot.readString(); - struct.fieldList.add(_elem985); + _elem993 = iprot.readString(); + struct.fieldList.add(_elem993); } iprot.readListEnd(); } @@ -557,9 +557,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsProje oprot.writeFieldBegin(FIELD_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fieldList.size())); - for (String _iter987 : struct.fieldList) + for (String _iter995 : struct.fieldList) { - oprot.writeString(_iter987); + oprot.writeString(_iter995); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsProjec if (struct.isSetFieldList()) { { oprot.writeI32(struct.fieldList.size()); - for (String _iter988 : struct.fieldList) + for (String _iter996 : struct.fieldList) { - oprot.writeString(_iter988); + oprot.writeString(_iter996); } } } @@ -626,13 +626,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsProject BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fieldList = new ArrayList(_list989.size); - String _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fieldList = new ArrayList(_list997.size); + String _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) { - _elem990 = iprot.readString(); - struct.fieldList.add(_elem990); + _elem998 = iprot.readString(); + struct.fieldList.add(_elem998); } } struct.setFieldListIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java index 7ec107ea6c..54b77be98e 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java @@ -960,13 +960,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsReques case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); - struct.groupNames = new ArrayList(_list1008.size); - String _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1016 = iprot.readListBegin(); + struct.groupNames = new ArrayList(_list1016.size); + String _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem1009 = iprot.readString(); - struct.groupNames.add(_elem1009); + _elem1017 = iprot.readString(); + struct.groupNames.add(_elem1017); } iprot.readListEnd(); } @@ -1040,9 +1040,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsReque oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.groupNames.size())); - for (String _iter1011 : struct.groupNames) + for (String _iter1019 : struct.groupNames) { - oprot.writeString(_iter1011); + oprot.writeString(_iter1019); } oprot.writeListEnd(); } @@ -1120,9 +1120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsReques if (struct.isSetGroupNames()) { { oprot.writeI32(struct.groupNames.size()); - for (String _iter1012 : struct.groupNames) + for (String _iter1020 : struct.groupNames) { - oprot.writeString(_iter1012); + oprot.writeString(_iter1020); } } } @@ -1160,13 +1160,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRequest } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.groupNames = new ArrayList(_list1013.size); - String _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.groupNames = new ArrayList(_list1021.size); + String _elem1022; + for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) { - _elem1014 = iprot.readString(); - struct.groupNames.add(_elem1014); + _elem1022 = iprot.readString(); + struct.groupNames.add(_elem1022); } } struct.setGroupNamesIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java index faac848991..fbbc627f8c 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsRespon case 1: // PARTITION_SPEC if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); - struct.partitionSpec = new ArrayList(_list1000.size); - PartitionSpec _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.partitionSpec = new ArrayList(_list1008.size); + PartitionSpec _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem1001 = new PartitionSpec(); - _elem1001.read(iprot); - struct.partitionSpec.add(_elem1001); + _elem1009 = new PartitionSpec(); + _elem1009.read(iprot); + struct.partitionSpec.add(_elem1009); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsRespo oprot.writeFieldBegin(PARTITION_SPEC_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionSpec.size())); - for (PartitionSpec _iter1003 : struct.partitionSpec) + for (PartitionSpec _iter1011 : struct.partitionSpec) { - _iter1003.write(oprot); + _iter1011.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespon if (struct.isSetPartitionSpec()) { { oprot.writeI32(struct.partitionSpec.size()); - for (PartitionSpec _iter1004 : struct.partitionSpec) + for (PartitionSpec _iter1012 : struct.partitionSpec) { - _iter1004.write(oprot); + _iter1012.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespons BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionSpec = new ArrayList(_list1005.size); - PartitionSpec _elem1006; - for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) + org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionSpec = new ArrayList(_list1013.size); + PartitionSpec _elem1014; + for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) { - _elem1006 = new PartitionSpec(); - _elem1006.read(iprot); - struct.partitionSpec.add(_elem1006); + _elem1014 = new PartitionSpec(); + _elem1014.read(iprot); + struct.partitionSpec.add(_elem1014); } } struct.setPartitionSpecIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index da361572e5..4989d0bdca 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -606,13 +606,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list872.size); - String _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list880.size); + String _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = iprot.readString(); - struct.tblNames.add(_elem873); + _elem881 = iprot.readString(); + struct.tblNames.add(_elem881); } iprot.readListEnd(); } @@ -661,9 +661,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter875 : struct.tblNames) + for (String _iter883 : struct.tblNames) { - oprot.writeString(_iter875); + oprot.writeString(_iter883); } oprot.writeListEnd(); } @@ -716,9 +716,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter876 : struct.tblNames) + for (String _iter884 : struct.tblNames) { - oprot.writeString(_iter876); + oprot.writeString(_iter884); } } } @@ -738,13 +738,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list877.size); - String _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list885.size); + String _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = iprot.readString(); - struct.tblNames.add(_elem878); + _elem886 = iprot.readString(); + struct.tblNames.add(_elem886); } } struct.setTblNamesIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index b3cfc88b34..1e5cb8c03a 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); - struct.tables = new ArrayList(_list880.size); - Table _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list888.size); + Table _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = new Table(); - _elem881.read(iprot); - struct.tables.add(_elem881); + _elem889 = new Table(); + _elem889.read(iprot); + struct.tables.add(_elem889); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter883 : struct.tables) + for (Table _iter891 : struct.tables) { - _iter883.write(oprot); + _iter891.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter884 : struct.tables) + for (Table _iter892 : struct.tables) { - _iter884.write(oprot); + _iter892.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list885.size); - Table _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list893.size); + Table _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem886 = new Table(); - _elem886.read(iprot); - struct.tables.add(_elem886); + _elem894 = new Table(); + _elem894.read(iprot); + struct.tables.add(_elem894); } } struct.setTablesIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index f1ba64348e..a4f4be472c 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list756.size); - String _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list764.size); + String _elem765; + for (int _i766 = 0; _i766 < _list764.size; ++_i766) { - _elem757 = iprot.readString(); - struct.filesAdded.add(_elem757); + _elem765 = iprot.readString(); + struct.filesAdded.add(_elem765); } iprot.readListEnd(); } @@ -654,13 +654,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list759 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list759.size); - String _elem760; - for (int _i761 = 0; _i761 < _list759.size; ++_i761) + org.apache.thrift.protocol.TList _list767 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list767.size); + String _elem768; + for (int _i769 = 0; _i769 < _list767.size; ++_i769) { - _elem760 = iprot.readString(); - struct.filesAddedChecksum.add(_elem760); + _elem768 = iprot.readString(); + struct.filesAddedChecksum.add(_elem768); } iprot.readListEnd(); } @@ -672,13 +672,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 4: // SUB_DIRECTORY_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list762 = iprot.readListBegin(); - struct.subDirectoryList = new ArrayList(_list762.size); - String _elem763; - for (int _i764 = 0; _i764 < _list762.size; ++_i764) + org.apache.thrift.protocol.TList _list770 = iprot.readListBegin(); + struct.subDirectoryList = new ArrayList(_list770.size); + String _elem771; + for (int _i772 = 0; _i772 < _list770.size; ++_i772) { - _elem763 = iprot.readString(); - struct.subDirectoryList.add(_elem763); + _elem771 = iprot.readString(); + struct.subDirectoryList.add(_elem771); } iprot.readListEnd(); } @@ -709,9 +709,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter765 : struct.filesAdded) + for (String _iter773 : struct.filesAdded) { - oprot.writeString(_iter765); + oprot.writeString(_iter773); } oprot.writeListEnd(); } @@ -722,9 +722,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (String _iter766 : struct.filesAddedChecksum) + for (String _iter774 : struct.filesAddedChecksum) { - oprot.writeString(_iter766); + oprot.writeString(_iter774); } oprot.writeListEnd(); } @@ -736,9 +736,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(SUB_DIRECTORY_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.subDirectoryList.size())); - for (String _iter767 : struct.subDirectoryList) + for (String _iter775 : struct.subDirectoryList) { - oprot.writeString(_iter767); + oprot.writeString(_iter775); } oprot.writeListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter768 : struct.filesAdded) + for (String _iter776 : struct.filesAdded) { - oprot.writeString(_iter768); + oprot.writeString(_iter776); } } BitSet optionals = new BitSet(); @@ -786,18 +786,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter769 : struct.filesAddedChecksum) + for (String _iter777 : struct.filesAddedChecksum) { - oprot.writeString(_iter769); + oprot.writeString(_iter777); } } } if (struct.isSetSubDirectoryList()) { { oprot.writeI32(struct.subDirectoryList.size()); - for (String _iter770 : struct.subDirectoryList) + for (String _iter778 : struct.subDirectoryList) { - oprot.writeString(_iter770); + oprot.writeString(_iter778); } } } @@ -807,13 +807,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list771 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list771.size); - String _elem772; - for (int _i773 = 0; _i773 < _list771.size; ++_i773) + org.apache.thrift.protocol.TList _list779 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list779.size); + String _elem780; + for (int _i781 = 0; _i781 < _list779.size; ++_i781) { - _elem772 = iprot.readString(); - struct.filesAdded.add(_elem772); + _elem780 = iprot.readString(); + struct.filesAdded.add(_elem780); } } struct.setFilesAddedIsSet(true); @@ -824,26 +824,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list774 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list774.size); - String _elem775; - for (int _i776 = 0; _i776 < _list774.size; ++_i776) + org.apache.thrift.protocol.TList _list782 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list782.size); + String _elem783; + for (int _i784 = 0; _i784 < _list782.size; ++_i784) { - _elem775 = iprot.readString(); - struct.filesAddedChecksum.add(_elem775); + _elem783 = iprot.readString(); + struct.filesAddedChecksum.add(_elem783); } } struct.setFilesAddedChecksumIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.subDirectoryList = new ArrayList(_list777.size); - String _elem778; - for (int _i779 = 0; _i779 < _list777.size; ++_i779) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.subDirectoryList = new ArrayList(_list785.size); + String _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem778 = iprot.readString(); - struct.subDirectoryList.add(_elem778); + _elem786 = iprot.readString(); + struct.subDirectoryList.add(_elem786); } } struct.setSubDirectoryListIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java index 288c365950..420ed6dedb 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 3: // EVENT_TYPE_SKIP_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); - struct.eventTypeSkipList = new ArrayList(_list740.size); - String _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); + struct.eventTypeSkipList = new ArrayList(_list748.size); + String _elem749; + for (int _i750 = 0; _i750 < _list748.size; ++_i750) { - _elem741 = iprot.readString(); - struct.eventTypeSkipList.add(_elem741); + _elem749 = iprot.readString(); + struct.eventTypeSkipList.add(_elem749); } iprot.readListEnd(); } @@ -566,9 +566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENT_TYPE_SKIP_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.eventTypeSkipList.size())); - for (String _iter743 : struct.eventTypeSkipList) + for (String _iter751 : struct.eventTypeSkipList) { - oprot.writeString(_iter743); + oprot.writeString(_iter751); } oprot.writeListEnd(); } @@ -607,9 +607,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe if (struct.isSetEventTypeSkipList()) { { oprot.writeI32(struct.eventTypeSkipList.size()); - for (String _iter744 : struct.eventTypeSkipList) + for (String _iter752 : struct.eventTypeSkipList) { - oprot.writeString(_iter744); + oprot.writeString(_iter752); } } } @@ -627,13 +627,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventReq } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.eventTypeSkipList = new ArrayList(_list745.size); - String _elem746; - for (int _i747 = 0; _i747 < _list745.size; ++_i747) + org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.eventTypeSkipList = new ArrayList(_list753.size); + String _elem754; + for (int _i755 = 0; _i755 < _list753.size; ++_i755) { - _elem746 = iprot.readString(); - struct.eventTypeSkipList.add(_elem746); + _elem754 = iprot.readString(); + struct.eventTypeSkipList.add(_elem754); } } struct.setEventTypeSkipListIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index b86f038c1e..f924d820ea 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); - struct.events = new ArrayList(_list748.size); - NotificationEvent _elem749; - for (int _i750 = 0; _i750 < _list748.size; ++_i750) + org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); + struct.events = new ArrayList(_list756.size); + NotificationEvent _elem757; + for (int _i758 = 0; _i758 < _list756.size; ++_i758) { - _elem749 = new NotificationEvent(); - _elem749.read(iprot); - struct.events.add(_elem749); + _elem757 = new NotificationEvent(); + _elem757.read(iprot); + struct.events.add(_elem757); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter751 : struct.events) + for (NotificationEvent _iter759 : struct.events) { - _iter751.write(oprot); + _iter759.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter752 : struct.events) + for (NotificationEvent _iter760 : struct.events) { - _iter752.write(oprot); + _iter760.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list753.size); - NotificationEvent _elem754; - for (int _i755 = 0; _i755 < _list753.size; ++_i755) + org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list761.size); + NotificationEvent _elem762; + for (int _i763 = 0; _i763 < _list761.size; ++_i763) { - _elem754 = new NotificationEvent(); - _elem754.read(iprot); - struct.events.add(_elem754); + _elem762 = new NotificationEvent(); + _elem762.read(iprot); + struct.events.add(_elem762); } } struct.setEventsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 5cbfe64945..d9df4ff993 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -547,13 +547,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list832.size); - long _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list840.size); + long _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = iprot.readI64(); - struct.fileIds.add(_elem833); + _elem841 = iprot.readI64(); + struct.fileIds.add(_elem841); } iprot.readListEnd(); } @@ -565,13 +565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list835 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list835.size); - ByteBuffer _elem836; - for (int _i837 = 0; _i837 < _list835.size; ++_i837) + org.apache.thrift.protocol.TList _list843 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list843.size); + ByteBuffer _elem844; + for (int _i845 = 0; _i845 < _list843.size; ++_i845) { - _elem836 = iprot.readBinary(); - struct.metadata.add(_elem836); + _elem844 = iprot.readBinary(); + struct.metadata.add(_elem844); } iprot.readListEnd(); } @@ -605,9 +605,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter838 : struct.fileIds) + for (long _iter846 : struct.fileIds) { - oprot.writeI64(_iter838); + oprot.writeI64(_iter846); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (ByteBuffer _iter839 : struct.metadata) + for (ByteBuffer _iter847 : struct.metadata) { - oprot.writeBinary(_iter839); + oprot.writeBinary(_iter847); } oprot.writeListEnd(); } @@ -651,16 +651,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter840 : struct.fileIds) + for (long _iter848 : struct.fileIds) { - oprot.writeI64(_iter840); + oprot.writeI64(_iter848); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter841 : struct.metadata) + for (ByteBuffer _iter849 : struct.metadata) { - oprot.writeBinary(_iter841); + oprot.writeBinary(_iter849); } } BitSet optionals = new BitSet(); @@ -677,24 +677,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list842 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list842.size); - long _elem843; - for (int _i844 = 0; _i844 < _list842.size; ++_i844) + org.apache.thrift.protocol.TList _list850 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list850.size); + long _elem851; + for (int _i852 = 0; _i852 < _list850.size; ++_i852) { - _elem843 = iprot.readI64(); - struct.fileIds.add(_elem843); + _elem851 = iprot.readI64(); + struct.fileIds.add(_elem851); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list845.size); - ByteBuffer _elem846; - for (int _i847 = 0; _i847 < _list845.size; ++_i847) + org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list853.size); + ByteBuffer _elem854; + for (int _i855 = 0; _i855 < _list853.size; ++_i855) { - _elem846 = iprot.readBinary(); - struct.metadata.add(_elem846); + _elem854 = iprot.readBinary(); + struct.metadata.add(_elem854); } } struct.setMetadataIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java index ea4cc16af5..8364142090 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java @@ -796,13 +796,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, RenamePartitionRequ case 4: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); - struct.partVals = new ArrayList(_list976.size); - String _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.partVals = new ArrayList(_list984.size); + String _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem977 = iprot.readString(); - struct.partVals.add(_elem977); + _elem985 = iprot.readString(); + struct.partVals.add(_elem985); } iprot.readListEnd(); } @@ -862,9 +862,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, RenamePartitionReq oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (String _iter979 : struct.partVals) + for (String _iter987 : struct.partVals) { - oprot.writeString(_iter979); + oprot.writeString(_iter987); } oprot.writeListEnd(); } @@ -903,9 +903,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, RenamePartitionRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partVals.size()); - for (String _iter980 : struct.partVals) + for (String _iter988 : struct.partVals) { - oprot.writeString(_iter980); + oprot.writeString(_iter988); } } struct.newPart.write(oprot); @@ -933,13 +933,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RenamePartitionReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partVals = new ArrayList(_list981.size); - String _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) + org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partVals = new ArrayList(_list989.size); + String _elem990; + for (int _i991 = 0; _i991 < _list989.size; ++_i991) { - _elem982 = iprot.readString(); - struct.partVals.add(_elem982); + _elem990 = iprot.readString(); + struct.partVals.add(_elem990); } } struct.setPartValsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index b87f65f524..fca11df041 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ 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 _list952 = iprot.readListBegin(); - struct.cols = new ArrayList(_list952.size); - FieldSchema _elem953; - for (int _i954 = 0; _i954 < _list952.size; ++_i954) + org.apache.thrift.protocol.TList _list960 = iprot.readListBegin(); + struct.cols = new ArrayList(_list960.size); + FieldSchema _elem961; + for (int _i962 = 0; _i962 < _list960.size; ++_i962) { - _elem953 = new FieldSchema(); - _elem953.read(iprot); - struct.cols.add(_elem953); + _elem961 = new FieldSchema(); + _elem961.read(iprot); + struct.cols.add(_elem961); } 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 _iter955 : struct.cols) + for (FieldSchema _iter963 : struct.cols) { - _iter955.write(oprot); + _iter963.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 _iter956 : struct.cols) + for (FieldSchema _iter964 : struct.cols) { - _iter956.write(oprot); + _iter964.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 _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list957.size); - FieldSchema _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list965.size); + FieldSchema _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem958 = new FieldSchema(); - _elem958.read(iprot); - struct.cols.add(_elem958); + _elem966 = new FieldSchema(); + _elem966.read(iprot); + struct.cols.add(_elem966); } } struct.setColsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index 2a7b3eba2a..b97e3e3a6b 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list716.size); - ShowCompactResponseElement _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list724.size); + ShowCompactResponseElement _elem725; + for (int _i726 = 0; _i726 < _list724.size; ++_i726) { - _elem717 = new ShowCompactResponseElement(); - _elem717.read(iprot); - struct.compacts.add(_elem717); + _elem725 = new ShowCompactResponseElement(); + _elem725.read(iprot); + struct.compacts.add(_elem725); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter719 : struct.compacts) + for (ShowCompactResponseElement _iter727 : struct.compacts) { - _iter719.write(oprot); + _iter727.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter720 : struct.compacts) + for (ShowCompactResponseElement _iter728 : struct.compacts) { - _iter720.write(oprot); + _iter728.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list721.size); - ShowCompactResponseElement _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list729.size); + ShowCompactResponseElement _elem730; + for (int _i731 = 0; _i731 < _list729.size; ++_i731) { - _elem722 = new ShowCompactResponseElement(); - _elem722.read(iprot); - struct.compacts.add(_elem722); + _elem730 = new ShowCompactResponseElement(); + _elem730.read(iprot); + struct.compacts.add(_elem730); } } struct.setCompactsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 1bdbbbf363..fad060ec38 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -44453,13 +44453,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 _list1016 = iprot.readListBegin(); - struct.success = new ArrayList(_list1016.size); - String _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1024 = iprot.readListBegin(); + struct.success = new ArrayList(_list1024.size); + String _elem1025; + for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) { - _elem1017 = iprot.readString(); - struct.success.add(_elem1017); + _elem1025 = iprot.readString(); + struct.success.add(_elem1025); } iprot.readListEnd(); } @@ -44494,9 +44494,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 _iter1019 : struct.success) + for (String _iter1027 : struct.success) { - oprot.writeString(_iter1019); + oprot.writeString(_iter1027); } oprot.writeListEnd(); } @@ -44535,9 +44535,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1020 : struct.success) + for (String _iter1028 : struct.success) { - oprot.writeString(_iter1020); + oprot.writeString(_iter1028); } } } @@ -44552,13 +44552,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 _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1021.size); - String _elem1022; - for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) + org.apache.thrift.protocol.TList _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1029.size); + String _elem1030; + for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) { - _elem1022 = iprot.readString(); - struct.success.add(_elem1022); + _elem1030 = iprot.readString(); + struct.success.add(_elem1030); } } struct.setSuccessIsSet(true); @@ -45212,13 +45212,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 _list1024 = iprot.readListBegin(); - struct.success = new ArrayList(_list1024.size); - String _elem1025; - for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) + org.apache.thrift.protocol.TList _list1032 = iprot.readListBegin(); + struct.success = new ArrayList(_list1032.size); + String _elem1033; + for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) { - _elem1025 = iprot.readString(); - struct.success.add(_elem1025); + _elem1033 = iprot.readString(); + struct.success.add(_elem1033); } iprot.readListEnd(); } @@ -45253,9 +45253,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 _iter1027 : struct.success) + for (String _iter1035 : struct.success) { - oprot.writeString(_iter1027); + oprot.writeString(_iter1035); } oprot.writeListEnd(); } @@ -45294,9 +45294,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1028 : struct.success) + for (String _iter1036 : struct.success) { - oprot.writeString(_iter1028); + oprot.writeString(_iter1036); } } } @@ -45311,13 +45311,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 _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1029.size); - String _elem1030; - for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) + org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1037.size); + String _elem1038; + for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) { - _elem1030 = iprot.readString(); - struct.success.add(_elem1030); + _elem1038 = iprot.readString(); + struct.success.add(_elem1038); } } struct.setSuccessIsSet(true); @@ -49924,16 +49924,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 _map1032 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1032.size); - String _key1033; - Type _val1034; - for (int _i1035 = 0; _i1035 < _map1032.size; ++_i1035) + org.apache.thrift.protocol.TMap _map1040 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1040.size); + String _key1041; + Type _val1042; + for (int _i1043 = 0; _i1043 < _map1040.size; ++_i1043) { - _key1033 = iprot.readString(); - _val1034 = new Type(); - _val1034.read(iprot); - struct.success.put(_key1033, _val1034); + _key1041 = iprot.readString(); + _val1042 = new Type(); + _val1042.read(iprot); + struct.success.put(_key1041, _val1042); } iprot.readMapEnd(); } @@ -49968,10 +49968,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 _iter1036 : struct.success.entrySet()) + for (Map.Entry _iter1044 : struct.success.entrySet()) { - oprot.writeString(_iter1036.getKey()); - _iter1036.getValue().write(oprot); + oprot.writeString(_iter1044.getKey()); + _iter1044.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -50010,10 +50010,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 _iter1037 : struct.success.entrySet()) + for (Map.Entry _iter1045 : struct.success.entrySet()) { - oprot.writeString(_iter1037.getKey()); - _iter1037.getValue().write(oprot); + oprot.writeString(_iter1045.getKey()); + _iter1045.getValue().write(oprot); } } } @@ -50028,16 +50028,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 _map1038 = 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*_map1038.size); - String _key1039; - Type _val1040; - for (int _i1041 = 0; _i1041 < _map1038.size; ++_i1041) + org.apache.thrift.protocol.TMap _map1046 = 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*_map1046.size); + String _key1047; + Type _val1048; + for (int _i1049 = 0; _i1049 < _map1046.size; ++_i1049) { - _key1039 = iprot.readString(); - _val1040 = new Type(); - _val1040.read(iprot); - struct.success.put(_key1039, _val1040); + _key1047 = iprot.readString(); + _val1048 = new Type(); + _val1048.read(iprot); + struct.success.put(_key1047, _val1048); } } struct.setSuccessIsSet(true); @@ -51072,14 +51072,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 _list1042 = iprot.readListBegin(); - struct.success = new ArrayList(_list1042.size); - FieldSchema _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList(_list1050.size); + FieldSchema _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1043 = new FieldSchema(); - _elem1043.read(iprot); - struct.success.add(_elem1043); + _elem1051 = new FieldSchema(); + _elem1051.read(iprot); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -51132,9 +51132,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 _iter1045 : struct.success) + for (FieldSchema _iter1053 : struct.success) { - _iter1045.write(oprot); + _iter1053.write(oprot); } oprot.writeListEnd(); } @@ -51189,9 +51189,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1046 : struct.success) + for (FieldSchema _iter1054 : struct.success) { - _iter1046.write(oprot); + _iter1054.write(oprot); } } } @@ -51212,14 +51212,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 _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1047.size); - FieldSchema _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1055.size); + FieldSchema _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = new FieldSchema(); - _elem1048.read(iprot); - struct.success.add(_elem1048); + _elem1056 = new FieldSchema(); + _elem1056.read(iprot); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -52373,14 +52373,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 _list1050 = iprot.readListBegin(); - struct.success = new ArrayList(_list1050.size); - FieldSchema _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + FieldSchema _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = new FieldSchema(); - _elem1051.read(iprot); - struct.success.add(_elem1051); + _elem1059 = new FieldSchema(); + _elem1059.read(iprot); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -52433,9 +52433,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 _iter1053 : struct.success) + for (FieldSchema _iter1061 : struct.success) { - _iter1053.write(oprot); + _iter1061.write(oprot); } oprot.writeListEnd(); } @@ -52490,9 +52490,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1054 : struct.success) + for (FieldSchema _iter1062 : struct.success) { - _iter1054.write(oprot); + _iter1062.write(oprot); } } } @@ -52513,14 +52513,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 _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1055.size); - FieldSchema _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1063.size); + FieldSchema _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = new FieldSchema(); - _elem1056.read(iprot); - struct.success.add(_elem1056); + _elem1064 = new FieldSchema(); + _elem1064.read(iprot); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -53565,14 +53565,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 _list1058 = iprot.readListBegin(); - struct.success = new ArrayList(_list1058.size); - FieldSchema _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.success = new ArrayList(_list1066.size); + FieldSchema _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1059 = new FieldSchema(); - _elem1059.read(iprot); - struct.success.add(_elem1059); + _elem1067 = new FieldSchema(); + _elem1067.read(iprot); + struct.success.add(_elem1067); } iprot.readListEnd(); } @@ -53625,9 +53625,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 _iter1061 : struct.success) + for (FieldSchema _iter1069 : struct.success) { - _iter1061.write(oprot); + _iter1069.write(oprot); } oprot.writeListEnd(); } @@ -53682,9 +53682,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1062 : struct.success) + for (FieldSchema _iter1070 : struct.success) { - _iter1062.write(oprot); + _iter1070.write(oprot); } } } @@ -53705,14 +53705,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 _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1063.size); - FieldSchema _elem1064; - for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1071.size); + FieldSchema _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1064 = new FieldSchema(); - _elem1064.read(iprot); - struct.success.add(_elem1064); + _elem1072 = new FieldSchema(); + _elem1072.read(iprot); + struct.success.add(_elem1072); } } struct.setSuccessIsSet(true); @@ -54866,14 +54866,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 _list1066 = iprot.readListBegin(); - struct.success = new ArrayList(_list1066.size); - FieldSchema _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.success = new ArrayList(_list1074.size); + FieldSchema _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1067 = new FieldSchema(); - _elem1067.read(iprot); - struct.success.add(_elem1067); + _elem1075 = new FieldSchema(); + _elem1075.read(iprot); + struct.success.add(_elem1075); } iprot.readListEnd(); } @@ -54926,9 +54926,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 _iter1069 : struct.success) + for (FieldSchema _iter1077 : struct.success) { - _iter1069.write(oprot); + _iter1077.write(oprot); } oprot.writeListEnd(); } @@ -54983,9 +54983,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1070 : struct.success) + for (FieldSchema _iter1078 : struct.success) { - _iter1070.write(oprot); + _iter1078.write(oprot); } } } @@ -55006,14 +55006,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 _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1071.size); - FieldSchema _elem1072; - for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) + org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1079.size); + FieldSchema _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1072 = new FieldSchema(); - _elem1072.read(iprot); - struct.success.add(_elem1072); + _elem1080 = new FieldSchema(); + _elem1080.read(iprot); + struct.success.add(_elem1080); } } struct.setSuccessIsSet(true); @@ -58142,14 +58142,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 _list1074 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list1074.size); - SQLPrimaryKey _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list1082.size); + SQLPrimaryKey _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1075 = new SQLPrimaryKey(); - _elem1075.read(iprot); - struct.primaryKeys.add(_elem1075); + _elem1083 = new SQLPrimaryKey(); + _elem1083.read(iprot); + struct.primaryKeys.add(_elem1083); } iprot.readListEnd(); } @@ -58161,14 +58161,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 _list1077 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list1077.size); - SQLForeignKey _elem1078; - for (int _i1079 = 0; _i1079 < _list1077.size; ++_i1079) + org.apache.thrift.protocol.TList _list1085 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list1085.size); + SQLForeignKey _elem1086; + for (int _i1087 = 0; _i1087 < _list1085.size; ++_i1087) { - _elem1078 = new SQLForeignKey(); - _elem1078.read(iprot); - struct.foreignKeys.add(_elem1078); + _elem1086 = new SQLForeignKey(); + _elem1086.read(iprot); + struct.foreignKeys.add(_elem1086); } iprot.readListEnd(); } @@ -58180,14 +58180,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 _list1080 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list1080.size); - SQLUniqueConstraint _elem1081; - for (int _i1082 = 0; _i1082 < _list1080.size; ++_i1082) + org.apache.thrift.protocol.TList _list1088 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list1088.size); + SQLUniqueConstraint _elem1089; + for (int _i1090 = 0; _i1090 < _list1088.size; ++_i1090) { - _elem1081 = new SQLUniqueConstraint(); - _elem1081.read(iprot); - struct.uniqueConstraints.add(_elem1081); + _elem1089 = new SQLUniqueConstraint(); + _elem1089.read(iprot); + struct.uniqueConstraints.add(_elem1089); } iprot.readListEnd(); } @@ -58199,14 +58199,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 _list1083 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list1083.size); - SQLNotNullConstraint _elem1084; - for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) + org.apache.thrift.protocol.TList _list1091 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list1091.size); + SQLNotNullConstraint _elem1092; + for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) { - _elem1084 = new SQLNotNullConstraint(); - _elem1084.read(iprot); - struct.notNullConstraints.add(_elem1084); + _elem1092 = new SQLNotNullConstraint(); + _elem1092.read(iprot); + struct.notNullConstraints.add(_elem1092); } iprot.readListEnd(); } @@ -58218,14 +58218,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 _list1086 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list1086.size); - SQLDefaultConstraint _elem1087; - for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) + org.apache.thrift.protocol.TList _list1094 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list1094.size); + SQLDefaultConstraint _elem1095; + for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) { - _elem1087 = new SQLDefaultConstraint(); - _elem1087.read(iprot); - struct.defaultConstraints.add(_elem1087); + _elem1095 = new SQLDefaultConstraint(); + _elem1095.read(iprot); + struct.defaultConstraints.add(_elem1095); } iprot.readListEnd(); } @@ -58237,14 +58237,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 _list1089 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1089.size); - SQLCheckConstraint _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1097 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1097.size); + SQLCheckConstraint _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) { - _elem1090 = new SQLCheckConstraint(); - _elem1090.read(iprot); - struct.checkConstraints.add(_elem1090); + _elem1098 = new SQLCheckConstraint(); + _elem1098.read(iprot); + struct.checkConstraints.add(_elem1098); } iprot.readListEnd(); } @@ -58275,9 +58275,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 _iter1092 : struct.primaryKeys) + for (SQLPrimaryKey _iter1100 : struct.primaryKeys) { - _iter1092.write(oprot); + _iter1100.write(oprot); } oprot.writeListEnd(); } @@ -58287,9 +58287,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 _iter1093 : struct.foreignKeys) + for (SQLForeignKey _iter1101 : struct.foreignKeys) { - _iter1093.write(oprot); + _iter1101.write(oprot); } oprot.writeListEnd(); } @@ -58299,9 +58299,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 _iter1094 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1102 : struct.uniqueConstraints) { - _iter1094.write(oprot); + _iter1102.write(oprot); } oprot.writeListEnd(); } @@ -58311,9 +58311,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 _iter1095 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1103 : struct.notNullConstraints) { - _iter1095.write(oprot); + _iter1103.write(oprot); } oprot.writeListEnd(); } @@ -58323,9 +58323,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 _iter1096 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1104 : struct.defaultConstraints) { - _iter1096.write(oprot); + _iter1104.write(oprot); } oprot.writeListEnd(); } @@ -58335,9 +58335,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 _iter1097 : struct.checkConstraints) + for (SQLCheckConstraint _iter1105 : struct.checkConstraints) { - _iter1097.write(oprot); + _iter1105.write(oprot); } oprot.writeListEnd(); } @@ -58389,54 +58389,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1098 : struct.primaryKeys) + for (SQLPrimaryKey _iter1106 : struct.primaryKeys) { - _iter1098.write(oprot); + _iter1106.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1099 : struct.foreignKeys) + for (SQLForeignKey _iter1107 : struct.foreignKeys) { - _iter1099.write(oprot); + _iter1107.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1100 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1108 : struct.uniqueConstraints) { - _iter1100.write(oprot); + _iter1108.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1101 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1109 : struct.notNullConstraints) { - _iter1101.write(oprot); + _iter1109.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1102 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1110 : struct.defaultConstraints) { - _iter1102.write(oprot); + _iter1110.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1103 : struct.checkConstraints) + for (SQLCheckConstraint _iter1111 : struct.checkConstraints) { - _iter1103.write(oprot); + _iter1111.write(oprot); } } } @@ -58453,84 +58453,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1104 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1104.size); - SQLPrimaryKey _elem1105; - for (int _i1106 = 0; _i1106 < _list1104.size; ++_i1106) + org.apache.thrift.protocol.TList _list1112 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1112.size); + SQLPrimaryKey _elem1113; + for (int _i1114 = 0; _i1114 < _list1112.size; ++_i1114) { - _elem1105 = new SQLPrimaryKey(); - _elem1105.read(iprot); - struct.primaryKeys.add(_elem1105); + _elem1113 = new SQLPrimaryKey(); + _elem1113.read(iprot); + struct.primaryKeys.add(_elem1113); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1107.size); - SQLForeignKey _elem1108; - for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) + org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1115.size); + SQLForeignKey _elem1116; + for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) { - _elem1108 = new SQLForeignKey(); - _elem1108.read(iprot); - struct.foreignKeys.add(_elem1108); + _elem1116 = new SQLForeignKey(); + _elem1116.read(iprot); + struct.foreignKeys.add(_elem1116); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1110 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1110.size); - SQLUniqueConstraint _elem1111; - for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) + org.apache.thrift.protocol.TList _list1118 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1118.size); + SQLUniqueConstraint _elem1119; + for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) { - _elem1111 = new SQLUniqueConstraint(); - _elem1111.read(iprot); - struct.uniqueConstraints.add(_elem1111); + _elem1119 = new SQLUniqueConstraint(); + _elem1119.read(iprot); + struct.uniqueConstraints.add(_elem1119); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1113.size); - SQLNotNullConstraint _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1121.size); + SQLNotNullConstraint _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1114 = new SQLNotNullConstraint(); - _elem1114.read(iprot); - struct.notNullConstraints.add(_elem1114); + _elem1122 = new SQLNotNullConstraint(); + _elem1122.read(iprot); + struct.notNullConstraints.add(_elem1122); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1116 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1116.size); - SQLDefaultConstraint _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1124 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1124.size); + SQLDefaultConstraint _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) { - _elem1117 = new SQLDefaultConstraint(); - _elem1117.read(iprot); - struct.defaultConstraints.add(_elem1117); + _elem1125 = new SQLDefaultConstraint(); + _elem1125.read(iprot); + struct.defaultConstraints.add(_elem1125); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1119.size); - SQLCheckConstraint _elem1120; - for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) + org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1127.size); + SQLCheckConstraint _elem1128; + for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) { - _elem1120 = new SQLCheckConstraint(); - _elem1120.read(iprot); - struct.checkConstraints.add(_elem1120); + _elem1128 = new SQLCheckConstraint(); + _elem1128.read(iprot); + struct.checkConstraints.add(_elem1128); } } struct.setCheckConstraintsIsSet(true); @@ -67680,13 +67680,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 _list1122 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1122.size); - String _elem1123; - for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) + org.apache.thrift.protocol.TList _list1130 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1130.size); + String _elem1131; + for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) { - _elem1123 = iprot.readString(); - struct.partNames.add(_elem1123); + _elem1131 = iprot.readString(); + struct.partNames.add(_elem1131); } iprot.readListEnd(); } @@ -67722,9 +67722,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 _iter1125 : struct.partNames) + for (String _iter1133 : struct.partNames) { - oprot.writeString(_iter1125); + oprot.writeString(_iter1133); } oprot.writeListEnd(); } @@ -67767,9 +67767,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1126 : struct.partNames) + for (String _iter1134 : struct.partNames) { - oprot.writeString(_iter1126); + oprot.writeString(_iter1134); } } } @@ -67789,13 +67789,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1127.size); - String _elem1128; - for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) + org.apache.thrift.protocol.TList _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1135.size); + String _elem1136; + for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) { - _elem1128 = iprot.readString(); - struct.partNames.add(_elem1128); + _elem1136 = iprot.readString(); + struct.partNames.add(_elem1136); } } struct.setPartNamesIsSet(true); @@ -69852,13 +69852,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 _list1130 = iprot.readListBegin(); - struct.success = new ArrayList(_list1130.size); - String _elem1131; - for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) + org.apache.thrift.protocol.TList _list1138 = iprot.readListBegin(); + struct.success = new ArrayList(_list1138.size); + String _elem1139; + for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) { - _elem1131 = iprot.readString(); - struct.success.add(_elem1131); + _elem1139 = iprot.readString(); + struct.success.add(_elem1139); } iprot.readListEnd(); } @@ -69893,9 +69893,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 _iter1133 : struct.success) + for (String _iter1141 : struct.success) { - oprot.writeString(_iter1133); + oprot.writeString(_iter1141); } oprot.writeListEnd(); } @@ -69934,9 +69934,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1134 : struct.success) + for (String _iter1142 : struct.success) { - oprot.writeString(_iter1134); + oprot.writeString(_iter1142); } } } @@ -69951,13 +69951,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 _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1135.size); - String _elem1136; - for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) + org.apache.thrift.protocol.TList _list1143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1143.size); + String _elem1144; + for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) { - _elem1136 = iprot.readString(); - struct.success.add(_elem1136); + _elem1144 = iprot.readString(); + struct.success.add(_elem1144); } } struct.setSuccessIsSet(true); @@ -70931,13 +70931,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 _list1138 = iprot.readListBegin(); - struct.success = new ArrayList(_list1138.size); - String _elem1139; - for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) + org.apache.thrift.protocol.TList _list1146 = iprot.readListBegin(); + struct.success = new ArrayList(_list1146.size); + String _elem1147; + for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) { - _elem1139 = iprot.readString(); - struct.success.add(_elem1139); + _elem1147 = iprot.readString(); + struct.success.add(_elem1147); } iprot.readListEnd(); } @@ -70972,9 +70972,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 _iter1141 : struct.success) + for (String _iter1149 : struct.success) { - oprot.writeString(_iter1141); + oprot.writeString(_iter1149); } oprot.writeListEnd(); } @@ -71013,9 +71013,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1142 : struct.success) + for (String _iter1150 : struct.success) { - oprot.writeString(_iter1142); + oprot.writeString(_iter1150); } } } @@ -71030,13 +71030,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 _list1143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1143.size); - String _elem1144; - for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) + org.apache.thrift.protocol.TList _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1151.size); + String _elem1152; + for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) { - _elem1144 = iprot.readString(); - struct.success.add(_elem1144); + _elem1152 = iprot.readString(); + struct.success.add(_elem1152); } } struct.setSuccessIsSet(true); @@ -71802,13 +71802,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 _list1146 = iprot.readListBegin(); - struct.success = new ArrayList(_list1146.size); - String _elem1147; - for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) + org.apache.thrift.protocol.TList _list1154 = iprot.readListBegin(); + struct.success = new ArrayList(_list1154.size); + String _elem1155; + for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) { - _elem1147 = iprot.readString(); - struct.success.add(_elem1147); + _elem1155 = iprot.readString(); + struct.success.add(_elem1155); } iprot.readListEnd(); } @@ -71843,9 +71843,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 _iter1149 : struct.success) + for (String _iter1157 : struct.success) { - oprot.writeString(_iter1149); + oprot.writeString(_iter1157); } oprot.writeListEnd(); } @@ -71884,9 +71884,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1150 : struct.success) + for (String _iter1158 : struct.success) { - oprot.writeString(_iter1150); + oprot.writeString(_iter1158); } } } @@ -71901,13 +71901,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 _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1151.size); - String _elem1152; - for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) + org.apache.thrift.protocol.TList _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1159.size); + String _elem1160; + for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) { - _elem1152 = iprot.readString(); - struct.success.add(_elem1152); + _elem1160 = iprot.readString(); + struct.success.add(_elem1160); } } struct.setSuccessIsSet(true); @@ -72412,13 +72412,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 _list1154 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1154.size); - String _elem1155; - for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) + org.apache.thrift.protocol.TList _list1162 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1162.size); + String _elem1163; + for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) { - _elem1155 = iprot.readString(); - struct.tbl_types.add(_elem1155); + _elem1163 = iprot.readString(); + struct.tbl_types.add(_elem1163); } iprot.readListEnd(); } @@ -72454,9 +72454,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 _iter1157 : struct.tbl_types) + for (String _iter1165 : struct.tbl_types) { - oprot.writeString(_iter1157); + oprot.writeString(_iter1165); } oprot.writeListEnd(); } @@ -72499,9 +72499,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 _iter1158 : struct.tbl_types) + for (String _iter1166 : struct.tbl_types) { - oprot.writeString(_iter1158); + oprot.writeString(_iter1166); } } } @@ -72521,13 +72521,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1159.size); - String _elem1160; - for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) + org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1167.size); + String _elem1168; + for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) { - _elem1160 = iprot.readString(); - struct.tbl_types.add(_elem1160); + _elem1168 = iprot.readString(); + struct.tbl_types.add(_elem1168); } } struct.setTbl_typesIsSet(true); @@ -72933,14 +72933,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 _list1162 = iprot.readListBegin(); - struct.success = new ArrayList(_list1162.size); - TableMeta _elem1163; - for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) + org.apache.thrift.protocol.TList _list1170 = iprot.readListBegin(); + struct.success = new ArrayList(_list1170.size); + TableMeta _elem1171; + for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) { - _elem1163 = new TableMeta(); - _elem1163.read(iprot); - struct.success.add(_elem1163); + _elem1171 = new TableMeta(); + _elem1171.read(iprot); + struct.success.add(_elem1171); } iprot.readListEnd(); } @@ -72975,9 +72975,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 _iter1165 : struct.success) + for (TableMeta _iter1173 : struct.success) { - _iter1165.write(oprot); + _iter1173.write(oprot); } oprot.writeListEnd(); } @@ -73016,9 +73016,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1166 : struct.success) + for (TableMeta _iter1174 : struct.success) { - _iter1166.write(oprot); + _iter1174.write(oprot); } } } @@ -73033,14 +73033,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 _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1167.size); - TableMeta _elem1168; - for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) + org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1175.size); + TableMeta _elem1176; + for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) { - _elem1168 = new TableMeta(); - _elem1168.read(iprot); - struct.success.add(_elem1168); + _elem1176 = new TableMeta(); + _elem1176.read(iprot); + struct.success.add(_elem1176); } } struct.setSuccessIsSet(true); @@ -73806,13 +73806,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 _list1170 = iprot.readListBegin(); - struct.success = new ArrayList(_list1170.size); - String _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); + struct.success = new ArrayList(_list1178.size); + String _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1171 = iprot.readString(); - struct.success.add(_elem1171); + _elem1179 = iprot.readString(); + struct.success.add(_elem1179); } iprot.readListEnd(); } @@ -73847,9 +73847,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 _iter1173 : struct.success) + for (String _iter1181 : struct.success) { - oprot.writeString(_iter1173); + oprot.writeString(_iter1181); } oprot.writeListEnd(); } @@ -73888,9 +73888,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1174 : struct.success) + for (String _iter1182 : struct.success) { - oprot.writeString(_iter1174); + oprot.writeString(_iter1182); } } } @@ -73905,13 +73905,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 _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1175.size); - String _elem1176; - for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) + org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1183.size); + String _elem1184; + for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) { - _elem1176 = iprot.readString(); - struct.success.add(_elem1176); + _elem1184 = iprot.readString(); + struct.success.add(_elem1184); } } struct.setSuccessIsSet(true); @@ -75364,13 +75364,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 _list1178 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1178.size); - String _elem1179; - for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) + org.apache.thrift.protocol.TList _list1186 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1186.size); + String _elem1187; + for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) { - _elem1179 = iprot.readString(); - struct.tbl_names.add(_elem1179); + _elem1187 = iprot.readString(); + struct.tbl_names.add(_elem1187); } iprot.readListEnd(); } @@ -75401,9 +75401,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 _iter1181 : struct.tbl_names) + for (String _iter1189 : struct.tbl_names) { - oprot.writeString(_iter1181); + oprot.writeString(_iter1189); } oprot.writeListEnd(); } @@ -75440,9 +75440,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 _iter1182 : struct.tbl_names) + for (String _iter1190 : struct.tbl_names) { - oprot.writeString(_iter1182); + oprot.writeString(_iter1190); } } } @@ -75458,13 +75458,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1183.size); - String _elem1184; - for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) + org.apache.thrift.protocol.TList _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1191.size); + String _elem1192; + for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) { - _elem1184 = iprot.readString(); - struct.tbl_names.add(_elem1184); + _elem1192 = iprot.readString(); + struct.tbl_names.add(_elem1192); } } struct.setTbl_namesIsSet(true); @@ -75789,14 +75789,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 _list1186 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1186.size); - Table _elem1187; - for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) + org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1194.size); + Table _elem1195; + for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) { - _elem1187 = new Table(); - _elem1187.read(iprot); - struct.success.add(_elem1187); + _elem1195 = new Table(); + _elem1195.read(iprot); + struct.success.add(_elem1195); } iprot.readListEnd(); } @@ -75822,9 +75822,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 _iter1189 : struct.success) + for (Table _iter1197 : struct.success) { - _iter1189.write(oprot); + _iter1197.write(oprot); } oprot.writeListEnd(); } @@ -75855,9 +75855,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1190 : struct.success) + for (Table _iter1198 : struct.success) { - _iter1190.write(oprot); + _iter1198.write(oprot); } } } @@ -75869,14 +75869,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 _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1191.size); - Table _elem1192; - for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) + org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1199.size); + Table _elem1200; + for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) { - _elem1192 = new Table(); - _elem1192.read(iprot); - struct.success.add(_elem1192); + _elem1200 = new Table(); + _elem1200.read(iprot); + struct.success.add(_elem1200); } } struct.setSuccessIsSet(true); @@ -81384,13 +81384,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 _list1194 = iprot.readListBegin(); - struct.success = new ArrayList(_list1194.size); - String _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); + struct.success = new ArrayList(_list1202.size); + String _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1195 = iprot.readString(); - struct.success.add(_elem1195); + _elem1203 = iprot.readString(); + struct.success.add(_elem1203); } iprot.readListEnd(); } @@ -81443,9 +81443,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 _iter1197 : struct.success) + for (String _iter1205 : struct.success) { - oprot.writeString(_iter1197); + oprot.writeString(_iter1205); } oprot.writeListEnd(); } @@ -81500,9 +81500,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1198 : struct.success) + for (String _iter1206 : struct.success) { - oprot.writeString(_iter1198); + oprot.writeString(_iter1206); } } } @@ -81523,13 +81523,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 _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1199.size); - String _elem1200; - for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1207.size); + String _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { - _elem1200 = iprot.readString(); - struct.success.add(_elem1200); + _elem1208 = iprot.readString(); + struct.success.add(_elem1208); } } struct.setSuccessIsSet(true); @@ -88326,14 +88326,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 _list1202 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1202.size); - Partition _elem1203; - for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) + org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1210.size); + Partition _elem1211; + for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) { - _elem1203 = new Partition(); - _elem1203.read(iprot); - struct.new_parts.add(_elem1203); + _elem1211 = new Partition(); + _elem1211.read(iprot); + struct.new_parts.add(_elem1211); } iprot.readListEnd(); } @@ -88359,9 +88359,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 _iter1205 : struct.new_parts) + for (Partition _iter1213 : struct.new_parts) { - _iter1205.write(oprot); + _iter1213.write(oprot); } oprot.writeListEnd(); } @@ -88392,9 +88392,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 _iter1206 : struct.new_parts) + for (Partition _iter1214 : struct.new_parts) { - _iter1206.write(oprot); + _iter1214.write(oprot); } } } @@ -88406,14 +88406,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 _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1207.size); - Partition _elem1208; - for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) + org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1215.size); + Partition _elem1216; + for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) { - _elem1208 = new Partition(); - _elem1208.read(iprot); - struct.new_parts.add(_elem1208); + _elem1216 = new Partition(); + _elem1216.read(iprot); + struct.new_parts.add(_elem1216); } } struct.setNew_partsIsSet(true); @@ -89414,14 +89414,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 _list1210 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1210.size); - PartitionSpec _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1218.size); + PartitionSpec _elem1219; + for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) { - _elem1211 = new PartitionSpec(); - _elem1211.read(iprot); - struct.new_parts.add(_elem1211); + _elem1219 = new PartitionSpec(); + _elem1219.read(iprot); + struct.new_parts.add(_elem1219); } iprot.readListEnd(); } @@ -89447,9 +89447,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 _iter1213 : struct.new_parts) + for (PartitionSpec _iter1221 : struct.new_parts) { - _iter1213.write(oprot); + _iter1221.write(oprot); } oprot.writeListEnd(); } @@ -89480,9 +89480,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 _iter1214 : struct.new_parts) + for (PartitionSpec _iter1222 : struct.new_parts) { - _iter1214.write(oprot); + _iter1222.write(oprot); } } } @@ -89494,14 +89494,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 _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1215.size); - PartitionSpec _elem1216; - for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) + org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1223.size); + PartitionSpec _elem1224; + for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) { - _elem1216 = new PartitionSpec(); - _elem1216.read(iprot); - struct.new_parts.add(_elem1216); + _elem1224 = new PartitionSpec(); + _elem1224.read(iprot); + struct.new_parts.add(_elem1224); } } struct.setNew_partsIsSet(true); @@ -90677,13 +90677,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 _list1218 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1218.size); - String _elem1219; - for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) + org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1226.size); + String _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1219 = iprot.readString(); - struct.part_vals.add(_elem1219); + _elem1227 = iprot.readString(); + struct.part_vals.add(_elem1227); } iprot.readListEnd(); } @@ -90719,9 +90719,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 _iter1221 : struct.part_vals) + for (String _iter1229 : struct.part_vals) { - oprot.writeString(_iter1221); + oprot.writeString(_iter1229); } oprot.writeListEnd(); } @@ -90764,9 +90764,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 _iter1222 : struct.part_vals) + for (String _iter1230 : struct.part_vals) { - oprot.writeString(_iter1222); + oprot.writeString(_iter1230); } } } @@ -90786,13 +90786,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1223.size); - String _elem1224; - for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) + org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1231.size); + String _elem1232; + for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) { - _elem1224 = iprot.readString(); - struct.part_vals.add(_elem1224); + _elem1232 = iprot.readString(); + struct.part_vals.add(_elem1232); } } struct.setPart_valsIsSet(true); @@ -93101,13 +93101,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 _list1226 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1226.size); - String _elem1227; - for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1234.size); + String _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1227 = iprot.readString(); - struct.part_vals.add(_elem1227); + _elem1235 = iprot.readString(); + struct.part_vals.add(_elem1235); } iprot.readListEnd(); } @@ -93152,9 +93152,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 _iter1229 : struct.part_vals) + for (String _iter1237 : struct.part_vals) { - oprot.writeString(_iter1229); + oprot.writeString(_iter1237); } oprot.writeListEnd(); } @@ -93205,9 +93205,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 _iter1230 : struct.part_vals) + for (String _iter1238 : struct.part_vals) { - oprot.writeString(_iter1230); + oprot.writeString(_iter1238); } } } @@ -93230,13 +93230,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1231.size); - String _elem1232; - for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) + org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1239.size); + String _elem1240; + for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) { - _elem1232 = iprot.readString(); - struct.part_vals.add(_elem1232); + _elem1240 = iprot.readString(); + struct.part_vals.add(_elem1240); } } struct.setPart_valsIsSet(true); @@ -97106,13 +97106,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 _list1234 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1234.size); - String _elem1235; - for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) + org.apache.thrift.protocol.TList _list1242 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1242.size); + String _elem1243; + for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) { - _elem1235 = iprot.readString(); - struct.part_vals.add(_elem1235); + _elem1243 = iprot.readString(); + struct.part_vals.add(_elem1243); } iprot.readListEnd(); } @@ -97156,9 +97156,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 _iter1237 : struct.part_vals) + for (String _iter1245 : struct.part_vals) { - oprot.writeString(_iter1237); + oprot.writeString(_iter1245); } oprot.writeListEnd(); } @@ -97207,9 +97207,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 _iter1238 : struct.part_vals) + for (String _iter1246 : struct.part_vals) { - oprot.writeString(_iter1238); + oprot.writeString(_iter1246); } } } @@ -97232,13 +97232,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1239.size); - String _elem1240; - for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) + org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1247.size); + String _elem1248; + for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1240 = iprot.readString(); - struct.part_vals.add(_elem1240); + _elem1248 = iprot.readString(); + struct.part_vals.add(_elem1248); } } struct.setPart_valsIsSet(true); @@ -98477,13 +98477,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 _list1242 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1242.size); - String _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1250 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1250.size); + String _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1243 = iprot.readString(); - struct.part_vals.add(_elem1243); + _elem1251 = iprot.readString(); + struct.part_vals.add(_elem1251); } iprot.readListEnd(); } @@ -98536,9 +98536,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 _iter1245 : struct.part_vals) + for (String _iter1253 : struct.part_vals) { - oprot.writeString(_iter1245); + oprot.writeString(_iter1253); } oprot.writeListEnd(); } @@ -98595,9 +98595,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 _iter1246 : struct.part_vals) + for (String _iter1254 : struct.part_vals) { - oprot.writeString(_iter1246); + oprot.writeString(_iter1254); } } } @@ -98623,13 +98623,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1247.size); - String _elem1248; - for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) + org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1255.size); + String _elem1256; + for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) { - _elem1248 = iprot.readString(); - struct.part_vals.add(_elem1248); + _elem1256 = iprot.readString(); + struct.part_vals.add(_elem1256); } } struct.setPart_valsIsSet(true); @@ -103231,13 +103231,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 _list1250 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1250.size); - String _elem1251; - for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) + org.apache.thrift.protocol.TList _list1258 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1258.size); + String _elem1259; + for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) { - _elem1251 = iprot.readString(); - struct.part_vals.add(_elem1251); + _elem1259 = iprot.readString(); + struct.part_vals.add(_elem1259); } iprot.readListEnd(); } @@ -103273,9 +103273,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 _iter1253 : struct.part_vals) + for (String _iter1261 : struct.part_vals) { - oprot.writeString(_iter1253); + oprot.writeString(_iter1261); } oprot.writeListEnd(); } @@ -103318,9 +103318,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 _iter1254 : struct.part_vals) + for (String _iter1262 : struct.part_vals) { - oprot.writeString(_iter1254); + oprot.writeString(_iter1262); } } } @@ -103340,13 +103340,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1255.size); - String _elem1256; - for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) + org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1263.size); + String _elem1264; + for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) { - _elem1256 = iprot.readString(); - struct.part_vals.add(_elem1256); + _elem1264 = iprot.readString(); + struct.part_vals.add(_elem1264); } } struct.setPart_valsIsSet(true); @@ -104564,15 +104564,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 _map1258 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1258.size); - String _key1259; - String _val1260; - for (int _i1261 = 0; _i1261 < _map1258.size; ++_i1261) + org.apache.thrift.protocol.TMap _map1266 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1266.size); + String _key1267; + String _val1268; + for (int _i1269 = 0; _i1269 < _map1266.size; ++_i1269) { - _key1259 = iprot.readString(); - _val1260 = iprot.readString(); - struct.partitionSpecs.put(_key1259, _val1260); + _key1267 = iprot.readString(); + _val1268 = iprot.readString(); + struct.partitionSpecs.put(_key1267, _val1268); } iprot.readMapEnd(); } @@ -104630,10 +104630,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 _iter1262 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1270 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1262.getKey()); - oprot.writeString(_iter1262.getValue()); + oprot.writeString(_iter1270.getKey()); + oprot.writeString(_iter1270.getValue()); } oprot.writeMapEnd(); } @@ -104696,10 +104696,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1263 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1271 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1263.getKey()); - oprot.writeString(_iter1263.getValue()); + oprot.writeString(_iter1271.getKey()); + oprot.writeString(_iter1271.getValue()); } } } @@ -104723,15 +104723,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 _map1264 = 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*_map1264.size); - String _key1265; - String _val1266; - for (int _i1267 = 0; _i1267 < _map1264.size; ++_i1267) + org.apache.thrift.protocol.TMap _map1272 = 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*_map1272.size); + String _key1273; + String _val1274; + for (int _i1275 = 0; _i1275 < _map1272.size; ++_i1275) { - _key1265 = iprot.readString(); - _val1266 = iprot.readString(); - struct.partitionSpecs.put(_key1265, _val1266); + _key1273 = iprot.readString(); + _val1274 = iprot.readString(); + struct.partitionSpecs.put(_key1273, _val1274); } } struct.setPartitionSpecsIsSet(true); @@ -106177,15 +106177,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 _map1268 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1268.size); - String _key1269; - String _val1270; - for (int _i1271 = 0; _i1271 < _map1268.size; ++_i1271) + org.apache.thrift.protocol.TMap _map1276 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1276.size); + String _key1277; + String _val1278; + for (int _i1279 = 0; _i1279 < _map1276.size; ++_i1279) { - _key1269 = iprot.readString(); - _val1270 = iprot.readString(); - struct.partitionSpecs.put(_key1269, _val1270); + _key1277 = iprot.readString(); + _val1278 = iprot.readString(); + struct.partitionSpecs.put(_key1277, _val1278); } iprot.readMapEnd(); } @@ -106243,10 +106243,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 _iter1272 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1280 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1272.getKey()); - oprot.writeString(_iter1272.getValue()); + oprot.writeString(_iter1280.getKey()); + oprot.writeString(_iter1280.getValue()); } oprot.writeMapEnd(); } @@ -106309,10 +106309,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1273 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1281 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1273.getKey()); - oprot.writeString(_iter1273.getValue()); + oprot.writeString(_iter1281.getKey()); + oprot.writeString(_iter1281.getValue()); } } } @@ -106336,15 +106336,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 _map1274 = 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*_map1274.size); - String _key1275; - String _val1276; - for (int _i1277 = 0; _i1277 < _map1274.size; ++_i1277) + org.apache.thrift.protocol.TMap _map1282 = 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*_map1282.size); + String _key1283; + String _val1284; + for (int _i1285 = 0; _i1285 < _map1282.size; ++_i1285) { - _key1275 = iprot.readString(); - _val1276 = iprot.readString(); - struct.partitionSpecs.put(_key1275, _val1276); + _key1283 = iprot.readString(); + _val1284 = iprot.readString(); + struct.partitionSpecs.put(_key1283, _val1284); } } struct.setPartitionSpecsIsSet(true); @@ -107009,14 +107009,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 _list1278 = iprot.readListBegin(); - struct.success = new ArrayList(_list1278.size); - Partition _elem1279; - for (int _i1280 = 0; _i1280 < _list1278.size; ++_i1280) + org.apache.thrift.protocol.TList _list1286 = iprot.readListBegin(); + struct.success = new ArrayList(_list1286.size); + Partition _elem1287; + for (int _i1288 = 0; _i1288 < _list1286.size; ++_i1288) { - _elem1279 = new Partition(); - _elem1279.read(iprot); - struct.success.add(_elem1279); + _elem1287 = new Partition(); + _elem1287.read(iprot); + struct.success.add(_elem1287); } iprot.readListEnd(); } @@ -107078,9 +107078,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 _iter1281 : struct.success) + for (Partition _iter1289 : struct.success) { - _iter1281.write(oprot); + _iter1289.write(oprot); } oprot.writeListEnd(); } @@ -107143,9 +107143,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1282 : struct.success) + for (Partition _iter1290 : struct.success) { - _iter1282.write(oprot); + _iter1290.write(oprot); } } } @@ -107169,14 +107169,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 _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) + org.apache.thrift.protocol.TList _list1291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1291.size); + Partition _elem1292; + for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) { - _elem1284 = new Partition(); - _elem1284.read(iprot); - struct.success.add(_elem1284); + _elem1292 = new Partition(); + _elem1292.read(iprot); + struct.success.add(_elem1292); } } struct.setSuccessIsSet(true); @@ -107875,13 +107875,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 _list1286 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1286.size); - String _elem1287; - for (int _i1288 = 0; _i1288 < _list1286.size; ++_i1288) + org.apache.thrift.protocol.TList _list1294 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1294.size); + String _elem1295; + for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) { - _elem1287 = iprot.readString(); - struct.part_vals.add(_elem1287); + _elem1295 = iprot.readString(); + struct.part_vals.add(_elem1295); } iprot.readListEnd(); } @@ -107901,13 +107901,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 _list1289 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1289.size); - String _elem1290; - for (int _i1291 = 0; _i1291 < _list1289.size; ++_i1291) + org.apache.thrift.protocol.TList _list1297 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1297.size); + String _elem1298; + for (int _i1299 = 0; _i1299 < _list1297.size; ++_i1299) { - _elem1290 = iprot.readString(); - struct.group_names.add(_elem1290); + _elem1298 = iprot.readString(); + struct.group_names.add(_elem1298); } iprot.readListEnd(); } @@ -107943,9 +107943,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 _iter1292 : struct.part_vals) + for (String _iter1300 : struct.part_vals) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1300); } oprot.writeListEnd(); } @@ -107960,9 +107960,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 _iter1293 : struct.group_names) + for (String _iter1301 : struct.group_names) { - oprot.writeString(_iter1293); + oprot.writeString(_iter1301); } oprot.writeListEnd(); } @@ -108011,9 +108011,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 _iter1294 : struct.part_vals) + for (String _iter1302 : struct.part_vals) { - oprot.writeString(_iter1294); + oprot.writeString(_iter1302); } } } @@ -108023,9 +108023,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 _iter1295 : struct.group_names) + for (String _iter1303 : struct.group_names) { - oprot.writeString(_iter1295); + oprot.writeString(_iter1303); } } } @@ -108045,13 +108045,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - 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) + org.apache.thrift.protocol.TList _list1304 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1304.size); + String _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1297 = iprot.readString(); - struct.part_vals.add(_elem1297); + _elem1305 = iprot.readString(); + struct.part_vals.add(_elem1305); } } struct.setPart_valsIsSet(true); @@ -108062,13 +108062,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - 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) + org.apache.thrift.protocol.TList _list1307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1307.size); + String _elem1308; + for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) { - _elem1300 = iprot.readString(); - struct.group_names.add(_elem1300); + _elem1308 = iprot.readString(); + struct.group_names.add(_elem1308); } } struct.setGroup_namesIsSet(true); @@ -110837,14 +110837,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 _list1302 = iprot.readListBegin(); - struct.success = new ArrayList(_list1302.size); - Partition _elem1303; - for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) + org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin(); + struct.success = new ArrayList(_list1310.size); + Partition _elem1311; + for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) { - _elem1303 = new Partition(); - _elem1303.read(iprot); - struct.success.add(_elem1303); + _elem1311 = new Partition(); + _elem1311.read(iprot); + struct.success.add(_elem1311); } iprot.readListEnd(); } @@ -110888,9 +110888,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 _iter1305 : struct.success) + for (Partition _iter1313 : struct.success) { - _iter1305.write(oprot); + _iter1313.write(oprot); } oprot.writeListEnd(); } @@ -110937,9 +110937,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1306 : struct.success) + for (Partition _iter1314 : struct.success) { - _iter1306.write(oprot); + _iter1314.write(oprot); } } } @@ -110957,14 +110957,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 _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) + org.apache.thrift.protocol.TList _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1315.size); + Partition _elem1316; + for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) { - _elem1308 = new Partition(); - _elem1308.read(iprot); - struct.success.add(_elem1308); + _elem1316 = new Partition(); + _elem1316.read(iprot); + struct.success.add(_elem1316); } } struct.setSuccessIsSet(true); @@ -111654,13 +111654,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 _list1310 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1310.size); - String _elem1311; - for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) + org.apache.thrift.protocol.TList _list1318 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1318.size); + String _elem1319; + for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) { - _elem1311 = iprot.readString(); - struct.group_names.add(_elem1311); + _elem1319 = iprot.readString(); + struct.group_names.add(_elem1319); } iprot.readListEnd(); } @@ -111704,9 +111704,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 _iter1313 : struct.group_names) + for (String _iter1321 : struct.group_names) { - oprot.writeString(_iter1313); + oprot.writeString(_iter1321); } oprot.writeListEnd(); } @@ -111761,9 +111761,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 _iter1314 : struct.group_names) + for (String _iter1322 : struct.group_names) { - oprot.writeString(_iter1314); + oprot.writeString(_iter1322); } } } @@ -111791,13 +111791,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1315.size); - String _elem1316; - for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) + org.apache.thrift.protocol.TList _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1323.size); + String _elem1324; + for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) { - _elem1316 = iprot.readString(); - struct.group_names.add(_elem1316); + _elem1324 = iprot.readString(); + struct.group_names.add(_elem1324); } } struct.setGroup_namesIsSet(true); @@ -112284,14 +112284,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 _list1318 = iprot.readListBegin(); - struct.success = new ArrayList(_list1318.size); - Partition _elem1319; - for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) + org.apache.thrift.protocol.TList _list1326 = iprot.readListBegin(); + struct.success = new ArrayList(_list1326.size); + Partition _elem1327; + for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) { - _elem1319 = new Partition(); - _elem1319.read(iprot); - struct.success.add(_elem1319); + _elem1327 = new Partition(); + _elem1327.read(iprot); + struct.success.add(_elem1327); } iprot.readListEnd(); } @@ -112335,9 +112335,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 _iter1321 : struct.success) + for (Partition _iter1329 : struct.success) { - _iter1321.write(oprot); + _iter1329.write(oprot); } oprot.writeListEnd(); } @@ -112384,9 +112384,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1322 : struct.success) + for (Partition _iter1330 : struct.success) { - _iter1322.write(oprot); + _iter1330.write(oprot); } } } @@ -112404,14 +112404,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 _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1323.size); - Partition _elem1324; - for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) + 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) { - _elem1324 = new Partition(); - _elem1324.read(iprot); - struct.success.add(_elem1324); + _elem1332 = new Partition(); + _elem1332.read(iprot); + struct.success.add(_elem1332); } } struct.setSuccessIsSet(true); @@ -113474,14 +113474,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 _list1326 = iprot.readListBegin(); - struct.success = new ArrayList(_list1326.size); - PartitionSpec _elem1327; - for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) + org.apache.thrift.protocol.TList _list1334 = iprot.readListBegin(); + struct.success = new ArrayList(_list1334.size); + PartitionSpec _elem1335; + for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) { - _elem1327 = new PartitionSpec(); - _elem1327.read(iprot); - struct.success.add(_elem1327); + _elem1335 = new PartitionSpec(); + _elem1335.read(iprot); + struct.success.add(_elem1335); } iprot.readListEnd(); } @@ -113525,9 +113525,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 _iter1329 : struct.success) + for (PartitionSpec _iter1337 : struct.success) { - _iter1329.write(oprot); + _iter1337.write(oprot); } oprot.writeListEnd(); } @@ -113574,9 +113574,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1330 : struct.success) + for (PartitionSpec _iter1338 : struct.success) { - _iter1330.write(oprot); + _iter1338.write(oprot); } } } @@ -113594,14 +113594,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 _list1331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1331.size); - PartitionSpec _elem1332; - for (int _i1333 = 0; _i1333 < _list1331.size; ++_i1333) + 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) { - _elem1332 = new PartitionSpec(); - _elem1332.read(iprot); - struct.success.add(_elem1332); + _elem1340 = new PartitionSpec(); + _elem1340.read(iprot); + struct.success.add(_elem1340); } } struct.setSuccessIsSet(true); @@ -114661,13 +114661,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 _list1334 = iprot.readListBegin(); - struct.success = new ArrayList(_list1334.size); - String _elem1335; - for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) + org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); + struct.success = new ArrayList(_list1342.size); + String _elem1343; + for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) { - _elem1335 = iprot.readString(); - struct.success.add(_elem1335); + _elem1343 = iprot.readString(); + struct.success.add(_elem1343); } iprot.readListEnd(); } @@ -114711,9 +114711,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 _iter1337 : struct.success) + for (String _iter1345 : struct.success) { - oprot.writeString(_iter1337); + oprot.writeString(_iter1345); } oprot.writeListEnd(); } @@ -114760,9 +114760,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1338 : struct.success) + for (String _iter1346 : struct.success) { - oprot.writeString(_iter1338); + oprot.writeString(_iter1346); } } } @@ -114780,13 +114780,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 _list1339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1339.size); - String _elem1340; - for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) + org.apache.thrift.protocol.TList _list1347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1347.size); + String _elem1348; + for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) { - _elem1340 = iprot.readString(); - struct.success.add(_elem1340); + _elem1348 = iprot.readString(); + struct.success.add(_elem1348); } } struct.setSuccessIsSet(true); @@ -116317,13 +116317,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 _list1342 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1342.size); - String _elem1343; - for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) + org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1350.size); + String _elem1351; + for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) { - _elem1343 = iprot.readString(); - struct.part_vals.add(_elem1343); + _elem1351 = iprot.readString(); + struct.part_vals.add(_elem1351); } iprot.readListEnd(); } @@ -116367,9 +116367,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 _iter1345 : struct.part_vals) + for (String _iter1353 : struct.part_vals) { - oprot.writeString(_iter1345); + oprot.writeString(_iter1353); } oprot.writeListEnd(); } @@ -116418,9 +116418,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 _iter1346 : struct.part_vals) + for (String _iter1354 : struct.part_vals) { - oprot.writeString(_iter1346); + oprot.writeString(_iter1354); } } } @@ -116443,13 +116443,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1347.size); - String _elem1348; - for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) + org.apache.thrift.protocol.TList _list1355 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1355.size); + String _elem1356; + for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) { - _elem1348 = iprot.readString(); - struct.part_vals.add(_elem1348); + _elem1356 = iprot.readString(); + struct.part_vals.add(_elem1356); } } struct.setPart_valsIsSet(true); @@ -116940,14 +116940,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 _list1350 = iprot.readListBegin(); - struct.success = new ArrayList(_list1350.size); - Partition _elem1351; - for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) + org.apache.thrift.protocol.TList _list1358 = iprot.readListBegin(); + struct.success = new ArrayList(_list1358.size); + Partition _elem1359; + for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) { - _elem1351 = new Partition(); - _elem1351.read(iprot); - struct.success.add(_elem1351); + _elem1359 = new Partition(); + _elem1359.read(iprot); + struct.success.add(_elem1359); } iprot.readListEnd(); } @@ -116991,9 +116991,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 _iter1353 : struct.success) + for (Partition _iter1361 : struct.success) { - _iter1353.write(oprot); + _iter1361.write(oprot); } oprot.writeListEnd(); } @@ -117040,9 +117040,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1354 : struct.success) + for (Partition _iter1362 : struct.success) { - _iter1354.write(oprot); + _iter1362.write(oprot); } } } @@ -117060,14 +117060,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 _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) + org.apache.thrift.protocol.TList _list1363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1363.size); + Partition _elem1364; + for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) { - _elem1356 = new Partition(); - _elem1356.read(iprot); - struct.success.add(_elem1356); + _elem1364 = new Partition(); + _elem1364.read(iprot); + struct.success.add(_elem1364); } } struct.setSuccessIsSet(true); @@ -117839,13 +117839,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 _list1358 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1358.size); - String _elem1359; - for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) + org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1366.size); + String _elem1367; + for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) { - _elem1359 = iprot.readString(); - struct.part_vals.add(_elem1359); + _elem1367 = iprot.readString(); + struct.part_vals.add(_elem1367); } iprot.readListEnd(); } @@ -117873,13 +117873,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 _list1361 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1361.size); - String _elem1362; - for (int _i1363 = 0; _i1363 < _list1361.size; ++_i1363) + org.apache.thrift.protocol.TList _list1369 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1369.size); + String _elem1370; + for (int _i1371 = 0; _i1371 < _list1369.size; ++_i1371) { - _elem1362 = iprot.readString(); - struct.group_names.add(_elem1362); + _elem1370 = iprot.readString(); + struct.group_names.add(_elem1370); } iprot.readListEnd(); } @@ -117915,9 +117915,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 _iter1364 : struct.part_vals) + for (String _iter1372 : struct.part_vals) { - oprot.writeString(_iter1364); + oprot.writeString(_iter1372); } oprot.writeListEnd(); } @@ -117935,9 +117935,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 _iter1365 : struct.group_names) + for (String _iter1373 : struct.group_names) { - oprot.writeString(_iter1365); + oprot.writeString(_iter1373); } oprot.writeListEnd(); } @@ -117989,9 +117989,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 _iter1366 : struct.part_vals) + for (String _iter1374 : struct.part_vals) { - oprot.writeString(_iter1366); + oprot.writeString(_iter1374); } } } @@ -118004,9 +118004,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 _iter1367 : struct.group_names) + for (String _iter1375 : struct.group_names) { - oprot.writeString(_iter1367); + oprot.writeString(_iter1375); } } } @@ -118026,13 +118026,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1368 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1368.size); - String _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1376 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1376.size); + String _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1369 = iprot.readString(); - struct.part_vals.add(_elem1369); + _elem1377 = iprot.readString(); + struct.part_vals.add(_elem1377); } } struct.setPart_valsIsSet(true); @@ -118047,13 +118047,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1371 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1371.size); - String _elem1372; - for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) + org.apache.thrift.protocol.TList _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1379.size); + String _elem1380; + for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) { - _elem1372 = iprot.readString(); - struct.group_names.add(_elem1372); + _elem1380 = iprot.readString(); + struct.group_names.add(_elem1380); } } struct.setGroup_namesIsSet(true); @@ -118540,14 +118540,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 _list1374 = iprot.readListBegin(); - struct.success = new ArrayList(_list1374.size); - Partition _elem1375; - for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.success = new ArrayList(_list1382.size); + Partition _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1375 = new Partition(); - _elem1375.read(iprot); - struct.success.add(_elem1375); + _elem1383 = new Partition(); + _elem1383.read(iprot); + struct.success.add(_elem1383); } iprot.readListEnd(); } @@ -118591,9 +118591,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 _iter1377 : struct.success) + for (Partition _iter1385 : struct.success) { - _iter1377.write(oprot); + _iter1385.write(oprot); } oprot.writeListEnd(); } @@ -118640,9 +118640,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1378 : struct.success) + for (Partition _iter1386 : struct.success) { - _iter1378.write(oprot); + _iter1386.write(oprot); } } } @@ -118660,14 +118660,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 _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1379.size); - Partition _elem1380; - for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) + org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1387.size); + Partition _elem1388; + for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) { - _elem1380 = new Partition(); - _elem1380.read(iprot); - struct.success.add(_elem1380); + _elem1388 = new Partition(); + _elem1388.read(iprot); + struct.success.add(_elem1388); } } struct.setSuccessIsSet(true); @@ -119260,13 +119260,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 _list1382 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1382.size); - String _elem1383; - for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) + org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1390.size); + String _elem1391; + for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) { - _elem1383 = iprot.readString(); - struct.part_vals.add(_elem1383); + _elem1391 = iprot.readString(); + struct.part_vals.add(_elem1391); } iprot.readListEnd(); } @@ -119310,9 +119310,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 _iter1385 : struct.part_vals) + for (String _iter1393 : struct.part_vals) { - oprot.writeString(_iter1385); + oprot.writeString(_iter1393); } oprot.writeListEnd(); } @@ -119361,9 +119361,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 _iter1386 : struct.part_vals) + for (String _iter1394 : struct.part_vals) { - oprot.writeString(_iter1386); + oprot.writeString(_iter1394); } } } @@ -119386,13 +119386,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - 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) + org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1395.size); + String _elem1396; + for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) { - _elem1388 = iprot.readString(); - struct.part_vals.add(_elem1388); + _elem1396 = iprot.readString(); + struct.part_vals.add(_elem1396); } } struct.setPart_valsIsSet(true); @@ -119880,13 +119880,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 _list1390 = iprot.readListBegin(); - struct.success = new ArrayList(_list1390.size); - String _elem1391; - for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) + org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); + struct.success = new ArrayList(_list1398.size); + String _elem1399; + for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) { - _elem1391 = iprot.readString(); - struct.success.add(_elem1391); + _elem1399 = iprot.readString(); + struct.success.add(_elem1399); } iprot.readListEnd(); } @@ -119930,9 +119930,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 _iter1393 : struct.success) + for (String _iter1401 : struct.success) { - oprot.writeString(_iter1393); + oprot.writeString(_iter1401); } oprot.writeListEnd(); } @@ -119979,9 +119979,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1394 : struct.success) + for (String _iter1402 : struct.success) { - oprot.writeString(_iter1394); + oprot.writeString(_iter1402); } } } @@ -119999,13 +119999,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 _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) + org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1403.size); + String _elem1404; + for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) { - _elem1396 = iprot.readString(); - struct.success.add(_elem1396); + _elem1404 = iprot.readString(); + struct.success.add(_elem1404); } } struct.setSuccessIsSet(true); @@ -121172,14 +121172,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 _list1398 = iprot.readListBegin(); - struct.success = new ArrayList(_list1398.size); - Partition _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); + struct.success = new ArrayList(_list1406.size); + Partition _elem1407; + for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) { - _elem1399 = new Partition(); - _elem1399.read(iprot); - struct.success.add(_elem1399); + _elem1407 = new Partition(); + _elem1407.read(iprot); + struct.success.add(_elem1407); } iprot.readListEnd(); } @@ -121223,9 +121223,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 _iter1401 : struct.success) + for (Partition _iter1409 : struct.success) { - _iter1401.write(oprot); + _iter1409.write(oprot); } oprot.writeListEnd(); } @@ -121272,9 +121272,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1402 : struct.success) + for (Partition _iter1410 : struct.success) { - _iter1402.write(oprot); + _iter1410.write(oprot); } } } @@ -121292,14 +121292,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 _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1403.size); - Partition _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1411.size); + Partition _elem1412; + for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) { - _elem1404 = new Partition(); - _elem1404.read(iprot); - struct.success.add(_elem1404); + _elem1412 = new Partition(); + _elem1412.read(iprot); + struct.success.add(_elem1412); } } struct.setSuccessIsSet(true); @@ -122466,14 +122466,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 _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - PartitionSpec _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); + struct.success = new ArrayList(_list1414.size); + PartitionSpec _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1407 = new PartitionSpec(); - _elem1407.read(iprot); - struct.success.add(_elem1407); + _elem1415 = new PartitionSpec(); + _elem1415.read(iprot); + struct.success.add(_elem1415); } iprot.readListEnd(); } @@ -122517,9 +122517,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 _iter1409 : struct.success) + for (PartitionSpec _iter1417 : struct.success) { - _iter1409.write(oprot); + _iter1417.write(oprot); } oprot.writeListEnd(); } @@ -122566,9 +122566,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 _iter1410 : struct.success) + for (PartitionSpec _iter1418 : struct.success) { - _iter1410.write(oprot); + _iter1418.write(oprot); } } } @@ -122586,14 +122586,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 _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - PartitionSpec _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1419.size); + PartitionSpec _elem1420; + for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) { - _elem1412 = new PartitionSpec(); - _elem1412.read(iprot); - struct.success.add(_elem1412); + _elem1420 = new PartitionSpec(); + _elem1420.read(iprot); + struct.success.add(_elem1420); } } struct.setSuccessIsSet(true); @@ -125177,13 +125177,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 _list1414 = iprot.readListBegin(); - struct.names = new ArrayList(_list1414.size); - String _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.names = new ArrayList(_list1422.size); + String _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = iprot.readString(); - struct.names.add(_elem1415); + _elem1423 = iprot.readString(); + struct.names.add(_elem1423); } iprot.readListEnd(); } @@ -125219,9 +125219,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 _iter1417 : struct.names) + for (String _iter1425 : struct.names) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1425); } oprot.writeListEnd(); } @@ -125264,9 +125264,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1418 : struct.names) + for (String _iter1426 : struct.names) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1426); } } } @@ -125286,13 +125286,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1419.size); - String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1427.size); + String _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = iprot.readString(); - struct.names.add(_elem1420); + _elem1428 = iprot.readString(); + struct.names.add(_elem1428); } } struct.setNamesIsSet(true); @@ -125779,14 +125779,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 _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - Partition _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + Partition _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = new Partition(); - _elem1423.read(iprot); - struct.success.add(_elem1423); + _elem1431 = new Partition(); + _elem1431.read(iprot); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -125830,9 +125830,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 _iter1425 : struct.success) + for (Partition _iter1433 : struct.success) { - _iter1425.write(oprot); + _iter1433.write(oprot); } oprot.writeListEnd(); } @@ -125879,9 +125879,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1426 : struct.success) + for (Partition _iter1434 : struct.success) { - _iter1426.write(oprot); + _iter1434.write(oprot); } } } @@ -125899,14 +125899,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 _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - Partition _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1435.size); + Partition _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = new Partition(); - _elem1428.read(iprot); - struct.success.add(_elem1428); + _elem1436 = new Partition(); + _elem1436.read(iprot); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -127456,14 +127456,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 _list1430 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1430.size); - Partition _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1438.size); + Partition _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = new Partition(); - _elem1431.read(iprot); - struct.new_parts.add(_elem1431); + _elem1439 = new Partition(); + _elem1439.read(iprot); + struct.new_parts.add(_elem1439); } iprot.readListEnd(); } @@ -127499,9 +127499,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 _iter1433 : struct.new_parts) + for (Partition _iter1441 : struct.new_parts) { - _iter1433.write(oprot); + _iter1441.write(oprot); } oprot.writeListEnd(); } @@ -127544,9 +127544,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 _iter1434 : struct.new_parts) + for (Partition _iter1442 : struct.new_parts) { - _iter1434.write(oprot); + _iter1442.write(oprot); } } } @@ -127566,14 +127566,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1435.size); - Partition _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1443.size); + Partition _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = new Partition(); - _elem1436.read(iprot); - struct.new_parts.add(_elem1436); + _elem1444 = new Partition(); + _elem1444.read(iprot); + struct.new_parts.add(_elem1444); } } struct.setNew_partsIsSet(true); @@ -128626,14 +128626,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 _list1438 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1438.size); - Partition _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1446.size); + Partition _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = new Partition(); - _elem1439.read(iprot); - struct.new_parts.add(_elem1439); + _elem1447 = new Partition(); + _elem1447.read(iprot); + struct.new_parts.add(_elem1447); } iprot.readListEnd(); } @@ -128678,9 +128678,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 _iter1441 : struct.new_parts) + for (Partition _iter1449 : struct.new_parts) { - _iter1441.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -128731,9 +128731,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 _iter1442 : struct.new_parts) + for (Partition _iter1450 : struct.new_parts) { - _iter1442.write(oprot); + _iter1450.write(oprot); } } } @@ -128756,14 +128756,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1443.size); - Partition _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1451.size); + Partition _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = new Partition(); - _elem1444.read(iprot); - struct.new_parts.add(_elem1444); + _elem1452 = new Partition(); + _elem1452.read(iprot); + struct.new_parts.add(_elem1452); } } struct.setNew_partsIsSet(true); @@ -131902,13 +131902,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 _list1446 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1446.size); - String _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = iprot.readString(); - struct.part_vals.add(_elem1447); + _elem1455 = iprot.readString(); + struct.part_vals.add(_elem1455); } iprot.readListEnd(); } @@ -131953,9 +131953,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 _iter1449 : struct.part_vals) + for (String _iter1457 : struct.part_vals) { - oprot.writeString(_iter1449); + oprot.writeString(_iter1457); } oprot.writeListEnd(); } @@ -132006,9 +132006,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 _iter1450 : struct.part_vals) + for (String _iter1458 : struct.part_vals) { - oprot.writeString(_iter1450); + oprot.writeString(_iter1458); } } } @@ -132031,13 +132031,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1451.size); - String _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1459.size); + String _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = iprot.readString(); - struct.part_vals.add(_elem1452); + _elem1460 = iprot.readString(); + struct.part_vals.add(_elem1460); } } struct.setPart_valsIsSet(true); @@ -133849,13 +133849,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 _list1454 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1454.size); - String _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1462 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1462.size); + String _elem1463; + for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) { - _elem1455 = iprot.readString(); - struct.part_vals.add(_elem1455); + _elem1463 = iprot.readString(); + struct.part_vals.add(_elem1463); } iprot.readListEnd(); } @@ -133889,9 +133889,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 _iter1457 : struct.part_vals) + for (String _iter1465 : struct.part_vals) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1465); } oprot.writeListEnd(); } @@ -133928,9 +133928,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 _iter1458 : struct.part_vals) + for (String _iter1466 : struct.part_vals) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1466); } } } @@ -133945,13 +133945,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 _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1459.size); - String _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1467.size); + String _elem1468; + for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) { - _elem1460 = iprot.readString(); - struct.part_vals.add(_elem1460); + _elem1468 = iprot.readString(); + struct.part_vals.add(_elem1468); } } struct.setPart_valsIsSet(true); @@ -136106,13 +136106,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 _list1462 = iprot.readListBegin(); - struct.success = new ArrayList(_list1462.size); - String _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); + struct.success = new ArrayList(_list1470.size); + String _elem1471; + for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) { - _elem1463 = iprot.readString(); - struct.success.add(_elem1463); + _elem1471 = iprot.readString(); + struct.success.add(_elem1471); } iprot.readListEnd(); } @@ -136147,9 +136147,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 _iter1465 : struct.success) + for (String _iter1473 : struct.success) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -136188,9 +136188,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1466 : struct.success) + for (String _iter1474 : struct.success) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1474); } } } @@ -136205,13 +136205,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 _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 _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1475.size); + String _elem1476; + for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) { - _elem1468 = iprot.readString(); - struct.success.add(_elem1468); + _elem1476 = iprot.readString(); + struct.success.add(_elem1476); } } struct.setSuccessIsSet(true); @@ -136974,15 +136974,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 _map1470 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1470.size); - String _key1471; - String _val1472; - for (int _i1473 = 0; _i1473 < _map1470.size; ++_i1473) + org.apache.thrift.protocol.TMap _map1478 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1478.size); + String _key1479; + String _val1480; + for (int _i1481 = 0; _i1481 < _map1478.size; ++_i1481) { - _key1471 = iprot.readString(); - _val1472 = iprot.readString(); - struct.success.put(_key1471, _val1472); + _key1479 = iprot.readString(); + _val1480 = iprot.readString(); + struct.success.put(_key1479, _val1480); } iprot.readMapEnd(); } @@ -137017,10 +137017,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 _iter1474 : struct.success.entrySet()) + for (Map.Entry _iter1482 : struct.success.entrySet()) { - oprot.writeString(_iter1474.getKey()); - oprot.writeString(_iter1474.getValue()); + oprot.writeString(_iter1482.getKey()); + oprot.writeString(_iter1482.getValue()); } oprot.writeMapEnd(); } @@ -137059,10 +137059,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 _iter1475 : struct.success.entrySet()) + for (Map.Entry _iter1483 : struct.success.entrySet()) { - oprot.writeString(_iter1475.getKey()); - oprot.writeString(_iter1475.getValue()); + oprot.writeString(_iter1483.getKey()); + oprot.writeString(_iter1483.getValue()); } } } @@ -137077,15 +137077,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 _map1476 = 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*_map1476.size); - String _key1477; - String _val1478; - for (int _i1479 = 0; _i1479 < _map1476.size; ++_i1479) + org.apache.thrift.protocol.TMap _map1484 = 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*_map1484.size); + String _key1485; + String _val1486; + for (int _i1487 = 0; _i1487 < _map1484.size; ++_i1487) { - _key1477 = iprot.readString(); - _val1478 = iprot.readString(); - struct.success.put(_key1477, _val1478); + _key1485 = iprot.readString(); + _val1486 = iprot.readString(); + struct.success.put(_key1485, _val1486); } } struct.setSuccessIsSet(true); @@ -137680,15 +137680,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 _map1480 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1480.size); - String _key1481; - String _val1482; - for (int _i1483 = 0; _i1483 < _map1480.size; ++_i1483) + org.apache.thrift.protocol.TMap _map1488 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1488.size); + String _key1489; + String _val1490; + for (int _i1491 = 0; _i1491 < _map1488.size; ++_i1491) { - _key1481 = iprot.readString(); - _val1482 = iprot.readString(); - struct.part_vals.put(_key1481, _val1482); + _key1489 = iprot.readString(); + _val1490 = iprot.readString(); + struct.part_vals.put(_key1489, _val1490); } iprot.readMapEnd(); } @@ -137732,10 +137732,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 _iter1484 : struct.part_vals.entrySet()) + for (Map.Entry _iter1492 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1484.getKey()); - oprot.writeString(_iter1484.getValue()); + oprot.writeString(_iter1492.getKey()); + oprot.writeString(_iter1492.getValue()); } oprot.writeMapEnd(); } @@ -137786,10 +137786,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1485 : struct.part_vals.entrySet()) + for (Map.Entry _iter1493 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1485.getKey()); - oprot.writeString(_iter1485.getValue()); + oprot.writeString(_iter1493.getKey()); + oprot.writeString(_iter1493.getValue()); } } } @@ -137812,15 +137812,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1486 = 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*_map1486.size); - String _key1487; - String _val1488; - for (int _i1489 = 0; _i1489 < _map1486.size; ++_i1489) + org.apache.thrift.protocol.TMap _map1494 = 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*_map1494.size); + String _key1495; + String _val1496; + for (int _i1497 = 0; _i1497 < _map1494.size; ++_i1497) { - _key1487 = iprot.readString(); - _val1488 = iprot.readString(); - struct.part_vals.put(_key1487, _val1488); + _key1495 = iprot.readString(); + _val1496 = iprot.readString(); + struct.part_vals.put(_key1495, _val1496); } } struct.setPart_valsIsSet(true); @@ -139304,15 +139304,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 _map1490 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1490.size); - String _key1491; - String _val1492; - for (int _i1493 = 0; _i1493 < _map1490.size; ++_i1493) + org.apache.thrift.protocol.TMap _map1498 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1498.size); + String _key1499; + String _val1500; + for (int _i1501 = 0; _i1501 < _map1498.size; ++_i1501) { - _key1491 = iprot.readString(); - _val1492 = iprot.readString(); - struct.part_vals.put(_key1491, _val1492); + _key1499 = iprot.readString(); + _val1500 = iprot.readString(); + struct.part_vals.put(_key1499, _val1500); } iprot.readMapEnd(); } @@ -139356,10 +139356,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 _iter1494 : struct.part_vals.entrySet()) + for (Map.Entry _iter1502 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1494.getKey()); - oprot.writeString(_iter1494.getValue()); + oprot.writeString(_iter1502.getKey()); + oprot.writeString(_iter1502.getValue()); } oprot.writeMapEnd(); } @@ -139410,10 +139410,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1495 : struct.part_vals.entrySet()) + for (Map.Entry _iter1503 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1495.getKey()); - oprot.writeString(_iter1495.getValue()); + oprot.writeString(_iter1503.getKey()); + oprot.writeString(_iter1503.getValue()); } } } @@ -139436,15 +139436,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1496 = 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*_map1496.size); - String _key1497; - String _val1498; - for (int _i1499 = 0; _i1499 < _map1496.size; ++_i1499) + org.apache.thrift.protocol.TMap _map1504 = 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*_map1504.size); + String _key1505; + String _val1506; + for (int _i1507 = 0; _i1507 < _map1504.size; ++_i1507) { - _key1497 = iprot.readString(); - _val1498 = iprot.readString(); - struct.part_vals.put(_key1497, _val1498); + _key1505 = iprot.readString(); + _val1506 = iprot.readString(); + struct.part_vals.put(_key1505, _val1506); } } struct.setPart_valsIsSet(true); @@ -164100,13 +164100,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 _list1500 = iprot.readListBegin(); - struct.success = new ArrayList(_list1500.size); - String _elem1501; - for (int _i1502 = 0; _i1502 < _list1500.size; ++_i1502) + org.apache.thrift.protocol.TList _list1508 = iprot.readListBegin(); + struct.success = new ArrayList(_list1508.size); + String _elem1509; + for (int _i1510 = 0; _i1510 < _list1508.size; ++_i1510) { - _elem1501 = iprot.readString(); - struct.success.add(_elem1501); + _elem1509 = iprot.readString(); + struct.success.add(_elem1509); } iprot.readListEnd(); } @@ -164141,9 +164141,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 _iter1503 : struct.success) + for (String _iter1511 : struct.success) { - oprot.writeString(_iter1503); + oprot.writeString(_iter1511); } oprot.writeListEnd(); } @@ -164182,9 +164182,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1504 : struct.success) + for (String _iter1512 : struct.success) { - oprot.writeString(_iter1504); + oprot.writeString(_iter1512); } } } @@ -164199,13 +164199,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 _list1505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1505.size); - String _elem1506; - for (int _i1507 = 0; _i1507 < _list1505.size; ++_i1507) + org.apache.thrift.protocol.TList _list1513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1513.size); + String _elem1514; + for (int _i1515 = 0; _i1515 < _list1513.size; ++_i1515) { - _elem1506 = iprot.readString(); - struct.success.add(_elem1506); + _elem1514 = iprot.readString(); + struct.success.add(_elem1514); } } struct.setSuccessIsSet(true); @@ -168260,13 +168260,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 _list1508 = iprot.readListBegin(); - struct.success = new ArrayList(_list1508.size); - String _elem1509; - for (int _i1510 = 0; _i1510 < _list1508.size; ++_i1510) + org.apache.thrift.protocol.TList _list1516 = iprot.readListBegin(); + struct.success = new ArrayList(_list1516.size); + String _elem1517; + for (int _i1518 = 0; _i1518 < _list1516.size; ++_i1518) { - _elem1509 = iprot.readString(); - struct.success.add(_elem1509); + _elem1517 = iprot.readString(); + struct.success.add(_elem1517); } iprot.readListEnd(); } @@ -168301,9 +168301,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 _iter1511 : struct.success) + for (String _iter1519 : struct.success) { - oprot.writeString(_iter1511); + oprot.writeString(_iter1519); } oprot.writeListEnd(); } @@ -168342,9 +168342,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1512 : struct.success) + for (String _iter1520 : struct.success) { - oprot.writeString(_iter1512); + oprot.writeString(_iter1520); } } } @@ -168359,13 +168359,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 _list1513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1513.size); - String _elem1514; - for (int _i1515 = 0; _i1515 < _list1513.size; ++_i1515) + org.apache.thrift.protocol.TList _list1521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1521.size); + String _elem1522; + for (int _i1523 = 0; _i1523 < _list1521.size; ++_i1523) { - _elem1514 = iprot.readString(); - struct.success.add(_elem1514); + _elem1522 = iprot.readString(); + struct.success.add(_elem1522); } } struct.setSuccessIsSet(true); @@ -171656,14 +171656,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 _list1516 = iprot.readListBegin(); - struct.success = new ArrayList(_list1516.size); - Role _elem1517; - for (int _i1518 = 0; _i1518 < _list1516.size; ++_i1518) + org.apache.thrift.protocol.TList _list1524 = iprot.readListBegin(); + struct.success = new ArrayList(_list1524.size); + Role _elem1525; + for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) { - _elem1517 = new Role(); - _elem1517.read(iprot); - struct.success.add(_elem1517); + _elem1525 = new Role(); + _elem1525.read(iprot); + struct.success.add(_elem1525); } iprot.readListEnd(); } @@ -171698,9 +171698,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 _iter1519 : struct.success) + for (Role _iter1527 : struct.success) { - _iter1519.write(oprot); + _iter1527.write(oprot); } oprot.writeListEnd(); } @@ -171739,9 +171739,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1520 : struct.success) + for (Role _iter1528 : struct.success) { - _iter1520.write(oprot); + _iter1528.write(oprot); } } } @@ -171756,14 +171756,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 _list1521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1521.size); - Role _elem1522; - for (int _i1523 = 0; _i1523 < _list1521.size; ++_i1523) + org.apache.thrift.protocol.TList _list1529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1529.size); + Role _elem1530; + for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) { - _elem1522 = new Role(); - _elem1522.read(iprot); - struct.success.add(_elem1522); + _elem1530 = new Role(); + _elem1530.read(iprot); + struct.success.add(_elem1530); } } struct.setSuccessIsSet(true); @@ -174768,13 +174768,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 _list1524 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1524.size); - String _elem1525; - for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) + org.apache.thrift.protocol.TList _list1532 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1532.size); + String _elem1533; + for (int _i1534 = 0; _i1534 < _list1532.size; ++_i1534) { - _elem1525 = iprot.readString(); - struct.group_names.add(_elem1525); + _elem1533 = iprot.readString(); + struct.group_names.add(_elem1533); } iprot.readListEnd(); } @@ -174810,9 +174810,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 _iter1527 : struct.group_names) + for (String _iter1535 : struct.group_names) { - oprot.writeString(_iter1527); + oprot.writeString(_iter1535); } oprot.writeListEnd(); } @@ -174855,9 +174855,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 _iter1528 : struct.group_names) + for (String _iter1536 : struct.group_names) { - oprot.writeString(_iter1528); + oprot.writeString(_iter1536); } } } @@ -174878,13 +174878,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1529.size); - String _elem1530; - for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) + org.apache.thrift.protocol.TList _list1537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1537.size); + String _elem1538; + for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) { - _elem1530 = iprot.readString(); - struct.group_names.add(_elem1530); + _elem1538 = iprot.readString(); + struct.group_names.add(_elem1538); } } struct.setGroup_namesIsSet(true); @@ -176342,14 +176342,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 _list1532 = iprot.readListBegin(); - struct.success = new ArrayList(_list1532.size); - HiveObjectPrivilege _elem1533; - for (int _i1534 = 0; _i1534 < _list1532.size; ++_i1534) + org.apache.thrift.protocol.TList _list1540 = iprot.readListBegin(); + struct.success = new ArrayList(_list1540.size); + HiveObjectPrivilege _elem1541; + for (int _i1542 = 0; _i1542 < _list1540.size; ++_i1542) { - _elem1533 = new HiveObjectPrivilege(); - _elem1533.read(iprot); - struct.success.add(_elem1533); + _elem1541 = new HiveObjectPrivilege(); + _elem1541.read(iprot); + struct.success.add(_elem1541); } iprot.readListEnd(); } @@ -176384,9 +176384,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 _iter1535 : struct.success) + for (HiveObjectPrivilege _iter1543 : struct.success) { - _iter1535.write(oprot); + _iter1543.write(oprot); } oprot.writeListEnd(); } @@ -176425,9 +176425,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1536 : struct.success) + for (HiveObjectPrivilege _iter1544 : struct.success) { - _iter1536.write(oprot); + _iter1544.write(oprot); } } } @@ -176442,14 +176442,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 _list1537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1537.size); - HiveObjectPrivilege _elem1538; - for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) + org.apache.thrift.protocol.TList _list1545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1545.size); + HiveObjectPrivilege _elem1546; + for (int _i1547 = 0; _i1547 < _list1545.size; ++_i1547) { - _elem1538 = new HiveObjectPrivilege(); - _elem1538.read(iprot); - struct.success.add(_elem1538); + _elem1546 = new HiveObjectPrivilege(); + _elem1546.read(iprot); + struct.success.add(_elem1546); } } struct.setSuccessIsSet(true); @@ -180396,13 +180396,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 _list1540 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1540.size); - String _elem1541; - for (int _i1542 = 0; _i1542 < _list1540.size; ++_i1542) + org.apache.thrift.protocol.TList _list1548 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1548.size); + String _elem1549; + for (int _i1550 = 0; _i1550 < _list1548.size; ++_i1550) { - _elem1541 = iprot.readString(); - struct.group_names.add(_elem1541); + _elem1549 = iprot.readString(); + struct.group_names.add(_elem1549); } iprot.readListEnd(); } @@ -180433,9 +180433,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 _iter1543 : struct.group_names) + for (String _iter1551 : struct.group_names) { - oprot.writeString(_iter1543); + oprot.writeString(_iter1551); } oprot.writeListEnd(); } @@ -180472,9 +180472,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 _iter1544 : struct.group_names) + for (String _iter1552 : struct.group_names) { - oprot.writeString(_iter1544); + oprot.writeString(_iter1552); } } } @@ -180490,13 +180490,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1545.size); - String _elem1546; - for (int _i1547 = 0; _i1547 < _list1545.size; ++_i1547) + org.apache.thrift.protocol.TList _list1553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1553.size); + String _elem1554; + for (int _i1555 = 0; _i1555 < _list1553.size; ++_i1555) { - _elem1546 = iprot.readString(); - struct.group_names.add(_elem1546); + _elem1554 = iprot.readString(); + struct.group_names.add(_elem1554); } } struct.setGroup_namesIsSet(true); @@ -180899,13 +180899,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 _list1548 = iprot.readListBegin(); - struct.success = new ArrayList(_list1548.size); - String _elem1549; - for (int _i1550 = 0; _i1550 < _list1548.size; ++_i1550) + org.apache.thrift.protocol.TList _list1556 = iprot.readListBegin(); + struct.success = new ArrayList(_list1556.size); + String _elem1557; + for (int _i1558 = 0; _i1558 < _list1556.size; ++_i1558) { - _elem1549 = iprot.readString(); - struct.success.add(_elem1549); + _elem1557 = iprot.readString(); + struct.success.add(_elem1557); } iprot.readListEnd(); } @@ -180940,9 +180940,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 _iter1551 : struct.success) + for (String _iter1559 : struct.success) { - oprot.writeString(_iter1551); + oprot.writeString(_iter1559); } oprot.writeListEnd(); } @@ -180981,9 +180981,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1552 : struct.success) + for (String _iter1560 : struct.success) { - oprot.writeString(_iter1552); + oprot.writeString(_iter1560); } } } @@ -180998,13 +180998,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 _list1553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1553.size); - String _elem1554; - for (int _i1555 = 0; _i1555 < _list1553.size; ++_i1555) + org.apache.thrift.protocol.TList _list1561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1561.size); + String _elem1562; + for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) { - _elem1554 = iprot.readString(); - struct.success.add(_elem1554); + _elem1562 = iprot.readString(); + struct.success.add(_elem1562); } } struct.setSuccessIsSet(true); @@ -186295,13 +186295,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 _list1556 = iprot.readListBegin(); - struct.success = new ArrayList(_list1556.size); - String _elem1557; - for (int _i1558 = 0; _i1558 < _list1556.size; ++_i1558) + org.apache.thrift.protocol.TList _list1564 = iprot.readListBegin(); + struct.success = new ArrayList(_list1564.size); + String _elem1565; + for (int _i1566 = 0; _i1566 < _list1564.size; ++_i1566) { - _elem1557 = iprot.readString(); - struct.success.add(_elem1557); + _elem1565 = iprot.readString(); + struct.success.add(_elem1565); } iprot.readListEnd(); } @@ -186327,9 +186327,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 _iter1559 : struct.success) + for (String _iter1567 : struct.success) { - oprot.writeString(_iter1559); + oprot.writeString(_iter1567); } oprot.writeListEnd(); } @@ -186360,9 +186360,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1560 : struct.success) + for (String _iter1568 : struct.success) { - oprot.writeString(_iter1560); + oprot.writeString(_iter1568); } } } @@ -186374,13 +186374,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 _list1561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1561.size); - String _elem1562; - for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) + org.apache.thrift.protocol.TList _list1569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1569.size); + String _elem1570; + for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) { - _elem1562 = iprot.readString(); - struct.success.add(_elem1562); + _elem1570 = iprot.readString(); + struct.success.add(_elem1570); } } struct.setSuccessIsSet(true); @@ -189410,13 +189410,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 _list1564 = iprot.readListBegin(); - struct.success = new ArrayList(_list1564.size); - String _elem1565; - for (int _i1566 = 0; _i1566 < _list1564.size; ++_i1566) + org.apache.thrift.protocol.TList _list1572 = iprot.readListBegin(); + struct.success = new ArrayList(_list1572.size); + String _elem1573; + for (int _i1574 = 0; _i1574 < _list1572.size; ++_i1574) { - _elem1565 = iprot.readString(); - struct.success.add(_elem1565); + _elem1573 = iprot.readString(); + struct.success.add(_elem1573); } iprot.readListEnd(); } @@ -189442,9 +189442,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 _iter1567 : struct.success) + for (String _iter1575 : struct.success) { - oprot.writeString(_iter1567); + oprot.writeString(_iter1575); } oprot.writeListEnd(); } @@ -189475,9 +189475,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1568 : struct.success) + for (String _iter1576 : struct.success) { - oprot.writeString(_iter1568); + oprot.writeString(_iter1576); } } } @@ -189489,13 +189489,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 _list1569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1569.size); - String _elem1570; - for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) + org.apache.thrift.protocol.TList _list1577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1577.size); + String _elem1578; + for (int _i1579 = 0; _i1579 < _list1577.size; ++_i1579) { - _elem1570 = iprot.readString(); - struct.success.add(_elem1570); + _elem1578 = iprot.readString(); + struct.success.add(_elem1578); } } struct.setSuccessIsSet(true); @@ -206616,13 +206616,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, find_columns_with_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1572 = iprot.readListBegin(); - struct.success = new ArrayList(_list1572.size); - String _elem1573; - for (int _i1574 = 0; _i1574 < _list1572.size; ++_i1574) + org.apache.thrift.protocol.TList _list1580 = iprot.readListBegin(); + struct.success = new ArrayList(_list1580.size); + String _elem1581; + for (int _i1582 = 0; _i1582 < _list1580.size; ++_i1582) { - _elem1573 = iprot.readString(); - struct.success.add(_elem1573); + _elem1581 = iprot.readString(); + struct.success.add(_elem1581); } iprot.readListEnd(); } @@ -206648,9 +206648,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, find_columns_with_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1575 : struct.success) + for (String _iter1583 : struct.success) { - oprot.writeString(_iter1575); + oprot.writeString(_iter1583); } oprot.writeListEnd(); } @@ -206681,9 +206681,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, find_columns_with_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1576 : struct.success) + for (String _iter1584 : struct.success) { - oprot.writeString(_iter1576); + oprot.writeString(_iter1584); } } } @@ -206695,13 +206695,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, find_columns_with_st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1577.size); - String _elem1578; - for (int _i1579 = 0; _i1579 < _list1577.size; ++_i1579) + org.apache.thrift.protocol.TList _list1585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1585.size); + String _elem1586; + for (int _i1587 = 0; _i1587 < _list1585.size; ++_i1587) { - _elem1578 = iprot.readString(); - struct.success.add(_elem1578); + _elem1586 = iprot.readString(); + struct.success.add(_elem1586); } } struct.setSuccessIsSet(true); @@ -243587,14 +243587,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 _list1580 = iprot.readListBegin(); - struct.success = new ArrayList(_list1580.size); - SchemaVersion _elem1581; - for (int _i1582 = 0; _i1582 < _list1580.size; ++_i1582) + org.apache.thrift.protocol.TList _list1588 = iprot.readListBegin(); + struct.success = new ArrayList(_list1588.size); + SchemaVersion _elem1589; + for (int _i1590 = 0; _i1590 < _list1588.size; ++_i1590) { - _elem1581 = new SchemaVersion(); - _elem1581.read(iprot); - struct.success.add(_elem1581); + _elem1589 = new SchemaVersion(); + _elem1589.read(iprot); + struct.success.add(_elem1589); } iprot.readListEnd(); } @@ -243638,9 +243638,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 _iter1583 : struct.success) + for (SchemaVersion _iter1591 : struct.success) { - _iter1583.write(oprot); + _iter1591.write(oprot); } oprot.writeListEnd(); } @@ -243687,9 +243687,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1584 : struct.success) + for (SchemaVersion _iter1592 : struct.success) { - _iter1584.write(oprot); + _iter1592.write(oprot); } } } @@ -243707,14 +243707,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 _list1585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1585.size); - SchemaVersion _elem1586; - for (int _i1587 = 0; _i1587 < _list1585.size; ++_i1587) + org.apache.thrift.protocol.TList _list1593 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1593.size); + SchemaVersion _elem1594; + for (int _i1595 = 0; _i1595 < _list1593.size; ++_i1595) { - _elem1586 = new SchemaVersion(); - _elem1586.read(iprot); - struct.success.add(_elem1586); + _elem1594 = new SchemaVersion(); + _elem1594.read(iprot); + struct.success.add(_elem1594); } } struct.setSuccessIsSet(true); @@ -252257,14 +252257,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 _list1588 = iprot.readListBegin(); - struct.success = new ArrayList(_list1588.size); - RuntimeStat _elem1589; - for (int _i1590 = 0; _i1590 < _list1588.size; ++_i1590) + org.apache.thrift.protocol.TList _list1596 = iprot.readListBegin(); + struct.success = new ArrayList(_list1596.size); + RuntimeStat _elem1597; + for (int _i1598 = 0; _i1598 < _list1596.size; ++_i1598) { - _elem1589 = new RuntimeStat(); - _elem1589.read(iprot); - struct.success.add(_elem1589); + _elem1597 = new RuntimeStat(); + _elem1597.read(iprot); + struct.success.add(_elem1597); } iprot.readListEnd(); } @@ -252299,9 +252299,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 _iter1591 : struct.success) + for (RuntimeStat _iter1599 : struct.success) { - _iter1591.write(oprot); + _iter1599.write(oprot); } oprot.writeListEnd(); } @@ -252340,9 +252340,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1592 : struct.success) + for (RuntimeStat _iter1600 : struct.success) { - _iter1592.write(oprot); + _iter1600.write(oprot); } } } @@ -252357,14 +252357,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 _list1593 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1593.size); - RuntimeStat _elem1594; - for (int _i1595 = 0; _i1595 < _list1593.size; ++_i1595) + org.apache.thrift.protocol.TList _list1601 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1601.size); + RuntimeStat _elem1602; + for (int _i1603 = 0; _i1603 < _list1601.size; ++_i1603) { - _elem1594 = new RuntimeStat(); - _elem1594.read(iprot); - struct.success.add(_elem1594); + _elem1602 = new RuntimeStat(); + _elem1602.read(iprot); + struct.success.add(_elem1602); } } struct.setSuccessIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index f92e23ea20..30df6e6c18 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ 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 _list888 = iprot.readListBegin(); - struct.pools = new ArrayList(_list888.size); - WMPool _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.pools = new ArrayList(_list896.size); + WMPool _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = new WMPool(); - _elem889.read(iprot); - struct.pools.add(_elem889); + _elem897 = new WMPool(); + _elem897.read(iprot); + struct.pools.add(_elem897); } 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 _list891 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list891.size); - WMMapping _elem892; - for (int _i893 = 0; _i893 < _list891.size; ++_i893) + org.apache.thrift.protocol.TList _list899 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list899.size); + WMMapping _elem900; + for (int _i901 = 0; _i901 < _list899.size; ++_i901) { - _elem892 = new WMMapping(); - _elem892.read(iprot); - struct.mappings.add(_elem892); + _elem900 = new WMMapping(); + _elem900.read(iprot); + struct.mappings.add(_elem900); } 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 _list894 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list894.size); - WMTrigger _elem895; - for (int _i896 = 0; _i896 < _list894.size; ++_i896) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list902.size); + WMTrigger _elem903; + for (int _i904 = 0; _i904 < _list902.size; ++_i904) { - _elem895 = new WMTrigger(); - _elem895.read(iprot); - struct.triggers.add(_elem895); + _elem903 = new WMTrigger(); + _elem903.read(iprot); + struct.triggers.add(_elem903); } 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 _list897 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list897.size); - WMPoolTrigger _elem898; - for (int _i899 = 0; _i899 < _list897.size; ++_i899) + org.apache.thrift.protocol.TList _list905 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list905.size); + WMPoolTrigger _elem906; + for (int _i907 = 0; _i907 < _list905.size; ++_i907) { - _elem898 = new WMPoolTrigger(); - _elem898.read(iprot); - struct.poolTriggers.add(_elem898); + _elem906 = new WMPoolTrigger(); + _elem906.read(iprot); + struct.poolTriggers.add(_elem906); } 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 _iter900 : struct.pools) + for (WMPool _iter908 : struct.pools) { - _iter900.write(oprot); + _iter908.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 _iter901 : struct.mappings) + for (WMMapping _iter909 : struct.mappings) { - _iter901.write(oprot); + _iter909.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 _iter902 : struct.triggers) + for (WMTrigger _iter910 : struct.triggers) { - _iter902.write(oprot); + _iter910.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 _iter903 : struct.poolTriggers) + for (WMPoolTrigger _iter911 : struct.poolTriggers) { - _iter903.write(oprot); + _iter911.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 _iter904 : struct.pools) + for (WMPool _iter912 : struct.pools) { - _iter904.write(oprot); + _iter912.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 _iter905 : struct.mappings) + for (WMMapping _iter913 : struct.mappings) { - _iter905.write(oprot); + _iter913.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter906 : struct.triggers) + for (WMTrigger _iter914 : struct.triggers) { - _iter906.write(oprot); + _iter914.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter907 : struct.poolTriggers) + for (WMPoolTrigger _iter915 : struct.poolTriggers) { - _iter907.write(oprot); + _iter915.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 _list908 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list908.size); - WMPool _elem909; - for (int _i910 = 0; _i910 < _list908.size; ++_i910) + org.apache.thrift.protocol.TList _list916 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list916.size); + WMPool _elem917; + for (int _i918 = 0; _i918 < _list916.size; ++_i918) { - _elem909 = new WMPool(); - _elem909.read(iprot); - struct.pools.add(_elem909); + _elem917 = new WMPool(); + _elem917.read(iprot); + struct.pools.add(_elem917); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list911 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list911.size); - WMMapping _elem912; - for (int _i913 = 0; _i913 < _list911.size; ++_i913) + org.apache.thrift.protocol.TList _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list919.size); + WMMapping _elem920; + for (int _i921 = 0; _i921 < _list919.size; ++_i921) { - _elem912 = new WMMapping(); - _elem912.read(iprot); - struct.mappings.add(_elem912); + _elem920 = new WMMapping(); + _elem920.read(iprot); + struct.mappings.add(_elem920); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list914 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list914.size); - WMTrigger _elem915; - for (int _i916 = 0; _i916 < _list914.size; ++_i916) + org.apache.thrift.protocol.TList _list922 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list922.size); + WMTrigger _elem923; + for (int _i924 = 0; _i924 < _list922.size; ++_i924) { - _elem915 = new WMTrigger(); - _elem915.read(iprot); - struct.triggers.add(_elem915); + _elem923 = new WMTrigger(); + _elem923.read(iprot); + struct.triggers.add(_elem923); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list917.size); - WMPoolTrigger _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list925.size); + WMPoolTrigger _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem918 = new WMPoolTrigger(); - _elem918.read(iprot); - struct.poolTriggers.add(_elem918); + _elem926 = new WMPoolTrigger(); + _elem926.read(iprot); + struct.poolTriggers.add(_elem926); } } struct.setPoolTriggersIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index cd20b15be4..52e301a186 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ 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 _list920 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list920.size); - WMResourcePlan _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list928.size); + WMResourcePlan _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem921 = new WMResourcePlan(); - _elem921.read(iprot); - struct.resourcePlans.add(_elem921); + _elem929 = new WMResourcePlan(); + _elem929.read(iprot); + struct.resourcePlans.add(_elem929); } 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 _iter923 : struct.resourcePlans) + for (WMResourcePlan _iter931 : struct.resourcePlans) { - _iter923.write(oprot); + _iter931.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 _iter924 : struct.resourcePlans) + for (WMResourcePlan _iter932 : struct.resourcePlans) { - _iter924.write(oprot); + _iter932.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 _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list925.size); - WMResourcePlan _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list933.size); + WMResourcePlan _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem926 = new WMResourcePlan(); - _elem926.read(iprot); - struct.resourcePlans.add(_elem926); + _elem934 = new WMResourcePlan(); + _elem934.read(iprot); + struct.resourcePlans.add(_elem934); } } struct.setResourcePlansIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 0fc76b9ffc..fcad77ef53 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ 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 _list944 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list944.size); - WMTrigger _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list952.size); + WMTrigger _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = new WMTrigger(); - _elem945.read(iprot); - struct.triggers.add(_elem945); + _elem953 = new WMTrigger(); + _elem953.read(iprot); + struct.triggers.add(_elem953); } 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 _iter947 : struct.triggers) + for (WMTrigger _iter955 : struct.triggers) { - _iter947.write(oprot); + _iter955.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 _iter948 : struct.triggers) + for (WMTrigger _iter956 : struct.triggers) { - _iter948.write(oprot); + _iter956.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 _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list949.size); - WMTrigger _elem950; - for (int _i951 = 0; _i951 < _list949.size; ++_i951) + org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list957.size); + WMTrigger _elem958; + for (int _i959 = 0; _i959 < _list957.size; ++_i959) { - _elem950 = new WMTrigger(); - _elem950.read(iprot); - struct.triggers.add(_elem950); + _elem958 = new WMTrigger(); + _elem958.read(iprot); + struct.triggers.add(_elem958); } } struct.setTriggersIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index deb1569bb1..77452aeaaf 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ 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 _list928 = iprot.readListBegin(); - struct.errors = new ArrayList(_list928.size); - String _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.errors = new ArrayList(_list936.size); + String _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem929 = iprot.readString(); - struct.errors.add(_elem929); + _elem937 = iprot.readString(); + struct.errors.add(_elem937); } 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 _list931 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list931.size); - String _elem932; - for (int _i933 = 0; _i933 < _list931.size; ++_i933) + org.apache.thrift.protocol.TList _list939 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list939.size); + String _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - _elem932 = iprot.readString(); - struct.warnings.add(_elem932); + _elem940 = iprot.readString(); + struct.warnings.add(_elem940); } 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 _iter934 : struct.errors) + for (String _iter942 : struct.errors) { - oprot.writeString(_iter934); + oprot.writeString(_iter942); } 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 _iter935 : struct.warnings) + for (String _iter943 : struct.warnings) { - oprot.writeString(_iter935); + oprot.writeString(_iter943); } 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 _iter936 : struct.errors) + for (String _iter944 : struct.errors) { - oprot.writeString(_iter936); + oprot.writeString(_iter944); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter937 : struct.warnings) + for (String _iter945 : struct.warnings) { - oprot.writeString(_iter937); + oprot.writeString(_iter945); } } } @@ -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 _list938 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list938.size); - String _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list946 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list946.size); + String _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem939 = iprot.readString(); - struct.errors.add(_elem939); + _elem947 = iprot.readString(); + struct.errors.add(_elem947); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list941.size); - String _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list949.size); + String _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = iprot.readString(); - struct.warnings.add(_elem942); + _elem950 = iprot.readString(); + struct.warnings.add(_elem950); } } struct.setWarningsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java index 57f50b7dc8..a1412bd4cc 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java @@ -813,13 +813,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WriteNotificationLo case 6: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list788.size); - String _elem789; - for (int _i790 = 0; _i790 < _list788.size; ++_i790) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list796.size); + String _elem797; + for (int _i798 = 0; _i798 < _list796.size; ++_i798) { - _elem789 = iprot.readString(); - struct.partitionVals.add(_elem789); + _elem797 = iprot.readString(); + struct.partitionVals.add(_elem797); } iprot.readListEnd(); } @@ -867,9 +867,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WriteNotificationL oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter791 : struct.partitionVals) + for (String _iter799 : struct.partitionVals) { - oprot.writeString(_iter791); + oprot.writeString(_iter799); } oprot.writeListEnd(); } @@ -906,9 +906,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLo if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter792 : struct.partitionVals) + for (String _iter800 : struct.partitionVals) { - oprot.writeString(_iter792); + oprot.writeString(_iter800); } } } @@ -931,13 +931,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLog BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list793.size); - String _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list801.size); + String _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem794 = iprot.readString(); - struct.partitionVals.add(_elem794); + _elem802 = iprot.readString(); + struct.partitionVals.add(_elem802); } } struct.setPartitionValsIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index b94dd25b84..064fba0c8c 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -16344,14 +16344,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size896 = 0; - $_etype899 = 0; - $xfer += $input->readListBegin($_etype899, $_size896); - for ($_i900 = 0; $_i900 < $_size896; ++$_i900) + $_size903 = 0; + $_etype906 = 0; + $xfer += $input->readListBegin($_etype906, $_size903); + for ($_i907 = 0; $_i907 < $_size903; ++$_i907) { - $elem901 = null; - $xfer += $input->readString($elem901); - $this->success []= $elem901; + $elem908 = null; + $xfer += $input->readString($elem908); + $this->success []= $elem908; } $xfer += $input->readListEnd(); } else { @@ -16387,9 +16387,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter902) + foreach ($this->success as $iter909) { - $xfer += $output->writeString($iter902); + $xfer += $output->writeString($iter909); } } $output->writeListEnd(); @@ -16520,14 +16520,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size903 = 0; - $_etype906 = 0; - $xfer += $input->readListBegin($_etype906, $_size903); - for ($_i907 = 0; $_i907 < $_size903; ++$_i907) + $_size910 = 0; + $_etype913 = 0; + $xfer += $input->readListBegin($_etype913, $_size910); + for ($_i914 = 0; $_i914 < $_size910; ++$_i914) { - $elem908 = null; - $xfer += $input->readString($elem908); - $this->success []= $elem908; + $elem915 = null; + $xfer += $input->readString($elem915); + $this->success []= $elem915; } $xfer += $input->readListEnd(); } else { @@ -16563,9 +16563,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter909) + foreach ($this->success as $iter916) { - $xfer += $output->writeString($iter909); + $xfer += $output->writeString($iter916); } } $output->writeListEnd(); @@ -17566,18 +17566,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size910 = 0; - $_ktype911 = 0; - $_vtype912 = 0; - $xfer += $input->readMapBegin($_ktype911, $_vtype912, $_size910); - for ($_i914 = 0; $_i914 < $_size910; ++$_i914) + $_size917 = 0; + $_ktype918 = 0; + $_vtype919 = 0; + $xfer += $input->readMapBegin($_ktype918, $_vtype919, $_size917); + for ($_i921 = 0; $_i921 < $_size917; ++$_i921) { - $key915 = ''; - $val916 = new \metastore\Type(); - $xfer += $input->readString($key915); - $val916 = new \metastore\Type(); - $xfer += $val916->read($input); - $this->success[$key915] = $val916; + $key922 = ''; + $val923 = new \metastore\Type(); + $xfer += $input->readString($key922); + $val923 = new \metastore\Type(); + $xfer += $val923->read($input); + $this->success[$key922] = $val923; } $xfer += $input->readMapEnd(); } else { @@ -17613,10 +17613,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter917 => $viter918) + foreach ($this->success as $kiter924 => $viter925) { - $xfer += $output->writeString($kiter917); - $xfer += $viter918->write($output); + $xfer += $output->writeString($kiter924); + $xfer += $viter925->write($output); } } $output->writeMapEnd(); @@ -17820,15 +17820,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size919 = 0; - $_etype922 = 0; - $xfer += $input->readListBegin($_etype922, $_size919); - for ($_i923 = 0; $_i923 < $_size919; ++$_i923) + $_size926 = 0; + $_etype929 = 0; + $xfer += $input->readListBegin($_etype929, $_size926); + for ($_i930 = 0; $_i930 < $_size926; ++$_i930) { - $elem924 = null; - $elem924 = new \metastore\FieldSchema(); - $xfer += $elem924->read($input); - $this->success []= $elem924; + $elem931 = null; + $elem931 = new \metastore\FieldSchema(); + $xfer += $elem931->read($input); + $this->success []= $elem931; } $xfer += $input->readListEnd(); } else { @@ -17880,9 +17880,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter925) + foreach ($this->success as $iter932) { - $xfer += $iter925->write($output); + $xfer += $iter932->write($output); } } $output->writeListEnd(); @@ -18124,15 +18124,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size926 = 0; - $_etype929 = 0; - $xfer += $input->readListBegin($_etype929, $_size926); - for ($_i930 = 0; $_i930 < $_size926; ++$_i930) + $_size933 = 0; + $_etype936 = 0; + $xfer += $input->readListBegin($_etype936, $_size933); + for ($_i937 = 0; $_i937 < $_size933; ++$_i937) { - $elem931 = null; - $elem931 = new \metastore\FieldSchema(); - $xfer += $elem931->read($input); - $this->success []= $elem931; + $elem938 = null; + $elem938 = new \metastore\FieldSchema(); + $xfer += $elem938->read($input); + $this->success []= $elem938; } $xfer += $input->readListEnd(); } else { @@ -18184,9 +18184,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter932) + foreach ($this->success as $iter939) { - $xfer += $iter932->write($output); + $xfer += $iter939->write($output); } } $output->writeListEnd(); @@ -18400,15 +18400,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size933 = 0; - $_etype936 = 0; - $xfer += $input->readListBegin($_etype936, $_size933); - for ($_i937 = 0; $_i937 < $_size933; ++$_i937) + $_size940 = 0; + $_etype943 = 0; + $xfer += $input->readListBegin($_etype943, $_size940); + for ($_i944 = 0; $_i944 < $_size940; ++$_i944) { - $elem938 = null; - $elem938 = new \metastore\FieldSchema(); - $xfer += $elem938->read($input); - $this->success []= $elem938; + $elem945 = null; + $elem945 = new \metastore\FieldSchema(); + $xfer += $elem945->read($input); + $this->success []= $elem945; } $xfer += $input->readListEnd(); } else { @@ -18460,9 +18460,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter939) + foreach ($this->success as $iter946) { - $xfer += $iter939->write($output); + $xfer += $iter946->write($output); } } $output->writeListEnd(); @@ -18704,15 +18704,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size940 = 0; - $_etype943 = 0; - $xfer += $input->readListBegin($_etype943, $_size940); - for ($_i944 = 0; $_i944 < $_size940; ++$_i944) + $_size947 = 0; + $_etype950 = 0; + $xfer += $input->readListBegin($_etype950, $_size947); + for ($_i951 = 0; $_i951 < $_size947; ++$_i951) { - $elem945 = null; - $elem945 = new \metastore\FieldSchema(); - $xfer += $elem945->read($input); - $this->success []= $elem945; + $elem952 = null; + $elem952 = new \metastore\FieldSchema(); + $xfer += $elem952->read($input); + $this->success []= $elem952; } $xfer += $input->readListEnd(); } else { @@ -18764,9 +18764,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter946) + foreach ($this->success as $iter953) { - $xfer += $iter946->write($output); + $xfer += $iter953->write($output); } } $output->writeListEnd(); @@ -19438,15 +19438,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size947 = 0; - $_etype950 = 0; - $xfer += $input->readListBegin($_etype950, $_size947); - for ($_i951 = 0; $_i951 < $_size947; ++$_i951) + $_size954 = 0; + $_etype957 = 0; + $xfer += $input->readListBegin($_etype957, $_size954); + for ($_i958 = 0; $_i958 < $_size954; ++$_i958) { - $elem952 = null; - $elem952 = new \metastore\SQLPrimaryKey(); - $xfer += $elem952->read($input); - $this->primaryKeys []= $elem952; + $elem959 = null; + $elem959 = new \metastore\SQLPrimaryKey(); + $xfer += $elem959->read($input); + $this->primaryKeys []= $elem959; } $xfer += $input->readListEnd(); } else { @@ -19456,15 +19456,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size953 = 0; - $_etype956 = 0; - $xfer += $input->readListBegin($_etype956, $_size953); - for ($_i957 = 0; $_i957 < $_size953; ++$_i957) + $_size960 = 0; + $_etype963 = 0; + $xfer += $input->readListBegin($_etype963, $_size960); + for ($_i964 = 0; $_i964 < $_size960; ++$_i964) { - $elem958 = null; - $elem958 = new \metastore\SQLForeignKey(); - $xfer += $elem958->read($input); - $this->foreignKeys []= $elem958; + $elem965 = null; + $elem965 = new \metastore\SQLForeignKey(); + $xfer += $elem965->read($input); + $this->foreignKeys []= $elem965; } $xfer += $input->readListEnd(); } else { @@ -19474,15 +19474,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size959 = 0; - $_etype962 = 0; - $xfer += $input->readListBegin($_etype962, $_size959); - for ($_i963 = 0; $_i963 < $_size959; ++$_i963) + $_size966 = 0; + $_etype969 = 0; + $xfer += $input->readListBegin($_etype969, $_size966); + for ($_i970 = 0; $_i970 < $_size966; ++$_i970) { - $elem964 = null; - $elem964 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem964->read($input); - $this->uniqueConstraints []= $elem964; + $elem971 = null; + $elem971 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem971->read($input); + $this->uniqueConstraints []= $elem971; } $xfer += $input->readListEnd(); } else { @@ -19492,15 +19492,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size965 = 0; - $_etype968 = 0; - $xfer += $input->readListBegin($_etype968, $_size965); - for ($_i969 = 0; $_i969 < $_size965; ++$_i969) + $_size972 = 0; + $_etype975 = 0; + $xfer += $input->readListBegin($_etype975, $_size972); + for ($_i976 = 0; $_i976 < $_size972; ++$_i976) { - $elem970 = null; - $elem970 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem970->read($input); - $this->notNullConstraints []= $elem970; + $elem977 = null; + $elem977 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem977->read($input); + $this->notNullConstraints []= $elem977; } $xfer += $input->readListEnd(); } else { @@ -19510,15 +19510,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { - $elem976 = null; - $elem976 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem976->read($input); - $this->defaultConstraints []= $elem976; + $elem983 = null; + $elem983 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem983->read($input); + $this->defaultConstraints []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -19528,15 +19528,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size977 = 0; - $_etype980 = 0; - $xfer += $input->readListBegin($_etype980, $_size977); - for ($_i981 = 0; $_i981 < $_size977; ++$_i981) + $_size984 = 0; + $_etype987 = 0; + $xfer += $input->readListBegin($_etype987, $_size984); + for ($_i988 = 0; $_i988 < $_size984; ++$_i988) { - $elem982 = null; - $elem982 = new \metastore\SQLCheckConstraint(); - $xfer += $elem982->read($input); - $this->checkConstraints []= $elem982; + $elem989 = null; + $elem989 = new \metastore\SQLCheckConstraint(); + $xfer += $elem989->read($input); + $this->checkConstraints []= $elem989; } $xfer += $input->readListEnd(); } else { @@ -19572,9 +19572,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter983) + foreach ($this->primaryKeys as $iter990) { - $xfer += $iter983->write($output); + $xfer += $iter990->write($output); } } $output->writeListEnd(); @@ -19589,9 +19589,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter984) + foreach ($this->foreignKeys as $iter991) { - $xfer += $iter984->write($output); + $xfer += $iter991->write($output); } } $output->writeListEnd(); @@ -19606,9 +19606,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter985) + foreach ($this->uniqueConstraints as $iter992) { - $xfer += $iter985->write($output); + $xfer += $iter992->write($output); } } $output->writeListEnd(); @@ -19623,9 +19623,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter986) + foreach ($this->notNullConstraints as $iter993) { - $xfer += $iter986->write($output); + $xfer += $iter993->write($output); } } $output->writeListEnd(); @@ -19640,9 +19640,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter987) + foreach ($this->defaultConstraints as $iter994) { - $xfer += $iter987->write($output); + $xfer += $iter994->write($output); } } $output->writeListEnd(); @@ -19657,9 +19657,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter988) + foreach ($this->checkConstraints as $iter995) { - $xfer += $iter988->write($output); + $xfer += $iter995->write($output); } } $output->writeListEnd(); @@ -21659,14 +21659,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size989 = 0; - $_etype992 = 0; - $xfer += $input->readListBegin($_etype992, $_size989); - for ($_i993 = 0; $_i993 < $_size989; ++$_i993) + $_size996 = 0; + $_etype999 = 0; + $xfer += $input->readListBegin($_etype999, $_size996); + for ($_i1000 = 0; $_i1000 < $_size996; ++$_i1000) { - $elem994 = null; - $xfer += $input->readString($elem994); - $this->partNames []= $elem994; + $elem1001 = null; + $xfer += $input->readString($elem1001); + $this->partNames []= $elem1001; } $xfer += $input->readListEnd(); } else { @@ -21704,9 +21704,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter995) + foreach ($this->partNames as $iter1002) { - $xfer += $output->writeString($iter995); + $xfer += $output->writeString($iter1002); } } $output->writeListEnd(); @@ -22142,14 +22142,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size996 = 0; - $_etype999 = 0; - $xfer += $input->readListBegin($_etype999, $_size996); - for ($_i1000 = 0; $_i1000 < $_size996; ++$_i1000) + $_size1003 = 0; + $_etype1006 = 0; + $xfer += $input->readListBegin($_etype1006, $_size1003); + for ($_i1007 = 0; $_i1007 < $_size1003; ++$_i1007) { - $elem1001 = null; - $xfer += $input->readString($elem1001); - $this->success []= $elem1001; + $elem1008 = null; + $xfer += $input->readString($elem1008); + $this->success []= $elem1008; } $xfer += $input->readListEnd(); } else { @@ -22185,9 +22185,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1002) + foreach ($this->success as $iter1009) { - $xfer += $output->writeString($iter1002); + $xfer += $output->writeString($iter1009); } } $output->writeListEnd(); @@ -22389,14 +22389,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1003 = 0; - $_etype1006 = 0; - $xfer += $input->readListBegin($_etype1006, $_size1003); - for ($_i1007 = 0; $_i1007 < $_size1003; ++$_i1007) + $_size1010 = 0; + $_etype1013 = 0; + $xfer += $input->readListBegin($_etype1013, $_size1010); + for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) { - $elem1008 = null; - $xfer += $input->readString($elem1008); - $this->success []= $elem1008; + $elem1015 = null; + $xfer += $input->readString($elem1015); + $this->success []= $elem1015; } $xfer += $input->readListEnd(); } else { @@ -22432,9 +22432,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1009) + foreach ($this->success as $iter1016) { - $xfer += $output->writeString($iter1009); + $xfer += $output->writeString($iter1016); } } $output->writeListEnd(); @@ -22590,14 +22590,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1010 = 0; - $_etype1013 = 0; - $xfer += $input->readListBegin($_etype1013, $_size1010); - for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) + $_size1017 = 0; + $_etype1020 = 0; + $xfer += $input->readListBegin($_etype1020, $_size1017); + for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) { - $elem1015 = null; - $xfer += $input->readString($elem1015); - $this->success []= $elem1015; + $elem1022 = null; + $xfer += $input->readString($elem1022); + $this->success []= $elem1022; } $xfer += $input->readListEnd(); } else { @@ -22633,9 +22633,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1016) + foreach ($this->success as $iter1023) { - $xfer += $output->writeString($iter1016); + $xfer += $output->writeString($iter1023); } } $output->writeListEnd(); @@ -22740,14 +22740,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size1017 = 0; - $_etype1020 = 0; - $xfer += $input->readListBegin($_etype1020, $_size1017); - for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { - $elem1022 = null; - $xfer += $input->readString($elem1022); - $this->tbl_types []= $elem1022; + $elem1029 = null; + $xfer += $input->readString($elem1029); + $this->tbl_types []= $elem1029; } $xfer += $input->readListEnd(); } else { @@ -22785,9 +22785,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter1023) + foreach ($this->tbl_types as $iter1030) { - $xfer += $output->writeString($iter1023); + $xfer += $output->writeString($iter1030); } } $output->writeListEnd(); @@ -22864,15 +22864,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1024 = 0; - $_etype1027 = 0; - $xfer += $input->readListBegin($_etype1027, $_size1024); - for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { - $elem1029 = null; - $elem1029 = new \metastore\TableMeta(); - $xfer += $elem1029->read($input); - $this->success []= $elem1029; + $elem1036 = null; + $elem1036 = new \metastore\TableMeta(); + $xfer += $elem1036->read($input); + $this->success []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -22908,9 +22908,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1030) + foreach ($this->success as $iter1037) { - $xfer += $iter1030->write($output); + $xfer += $iter1037->write($output); } } $output->writeListEnd(); @@ -23066,14 +23066,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1031 = 0; - $_etype1034 = 0; - $xfer += $input->readListBegin($_etype1034, $_size1031); - for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) + $_size1038 = 0; + $_etype1041 = 0; + $xfer += $input->readListBegin($_etype1041, $_size1038); + for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) { - $elem1036 = null; - $xfer += $input->readString($elem1036); - $this->success []= $elem1036; + $elem1043 = null; + $xfer += $input->readString($elem1043); + $this->success []= $elem1043; } $xfer += $input->readListEnd(); } else { @@ -23109,9 +23109,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1037) + foreach ($this->success as $iter1044) { - $xfer += $output->writeString($iter1037); + $xfer += $output->writeString($iter1044); } } $output->writeListEnd(); @@ -23426,14 +23426,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $elem1043 = null; - $xfer += $input->readString($elem1043); - $this->tbl_names []= $elem1043; + $elem1050 = null; + $xfer += $input->readString($elem1050); + $this->tbl_names []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -23466,9 +23466,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter1044) + foreach ($this->tbl_names as $iter1051) { - $xfer += $output->writeString($iter1044); + $xfer += $output->writeString($iter1051); } } $output->writeListEnd(); @@ -23533,15 +23533,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $elem1050 = new \metastore\Table(); - $xfer += $elem1050->read($input); - $this->success []= $elem1050; + $elem1057 = null; + $elem1057 = new \metastore\Table(); + $xfer += $elem1057->read($input); + $this->success []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -23569,9 +23569,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1051) + foreach ($this->success as $iter1058) { - $xfer += $iter1051->write($output); + $xfer += $iter1058->write($output); } } $output->writeListEnd(); @@ -24771,14 +24771,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $xfer += $input->readString($elem1057); - $this->success []= $elem1057; + $elem1064 = null; + $xfer += $input->readString($elem1064); + $this->success []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -24830,9 +24830,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1065) { - $xfer += $output->writeString($iter1058); + $xfer += $output->writeString($iter1065); } } $output->writeListEnd(); @@ -26355,15 +26355,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\Partition(); - $xfer += $elem1064->read($input); - $this->new_parts []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\Partition(); + $xfer += $elem1071->read($input); + $this->new_parts []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -26391,9 +26391,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1065) + foreach ($this->new_parts as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -26608,15 +26608,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $elem1071 = new \metastore\PartitionSpec(); - $xfer += $elem1071->read($input); - $this->new_parts []= $elem1071; + $elem1078 = null; + $elem1078 = new \metastore\PartitionSpec(); + $xfer += $elem1078->read($input); + $this->new_parts []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -26644,9 +26644,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1072) + foreach ($this->new_parts as $iter1079) { - $xfer += $iter1072->write($output); + $xfer += $iter1079->write($output); } } $output->writeListEnd(); @@ -26896,14 +26896,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->part_vals []= $elem1078; + $elem1085 = null; + $xfer += $input->readString($elem1085); + $this->part_vals []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -26941,9 +26941,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1079) + foreach ($this->part_vals as $iter1086) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -27445,14 +27445,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $xfer += $input->readString($elem1085); - $this->part_vals []= $elem1085; + $elem1092 = null; + $xfer += $input->readString($elem1092); + $this->part_vals []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -27498,9 +27498,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1086) + foreach ($this->part_vals as $iter1093) { - $xfer += $output->writeString($iter1086); + $xfer += $output->writeString($iter1093); } } $output->writeListEnd(); @@ -28354,14 +28354,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->part_vals []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->part_vals []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -28406,9 +28406,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1093) + foreach ($this->part_vals as $iter1100) { - $xfer += $output->writeString($iter1093); + $xfer += $output->writeString($iter1100); } } $output->writeListEnd(); @@ -28661,14 +28661,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_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) + $_size1101 = 0; + $_etype1104 = 0; + $xfer += $input->readListBegin($_etype1104, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { - $elem1099 = null; - $xfer += $input->readString($elem1099); - $this->part_vals []= $elem1099; + $elem1106 = null; + $xfer += $input->readString($elem1106); + $this->part_vals []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -28721,9 +28721,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1100) + foreach ($this->part_vals as $iter1107) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1107); } } $output->writeListEnd(); @@ -29737,14 +29737,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $xfer += $input->readString($elem1106); - $this->part_vals []= $elem1106; + $elem1113 = null; + $xfer += $input->readString($elem1113); + $this->part_vals []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -29782,9 +29782,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1107) + foreach ($this->part_vals as $iter1114) { - $xfer += $output->writeString($iter1107); + $xfer += $output->writeString($iter1114); } } $output->writeListEnd(); @@ -30026,17 +30026,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1108 = 0; - $_ktype1109 = 0; - $_vtype1110 = 0; - $xfer += $input->readMapBegin($_ktype1109, $_vtype1110, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_ktype1116 = 0; + $_vtype1117 = 0; + $xfer += $input->readMapBegin($_ktype1116, $_vtype1117, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $key1113 = ''; - $val1114 = ''; - $xfer += $input->readString($key1113); - $xfer += $input->readString($val1114); - $this->partitionSpecs[$key1113] = $val1114; + $key1120 = ''; + $val1121 = ''; + $xfer += $input->readString($key1120); + $xfer += $input->readString($val1121); + $this->partitionSpecs[$key1120] = $val1121; } $xfer += $input->readMapEnd(); } else { @@ -30092,10 +30092,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1115 => $viter1116) + foreach ($this->partitionSpecs as $kiter1122 => $viter1123) { - $xfer += $output->writeString($kiter1115); - $xfer += $output->writeString($viter1116); + $xfer += $output->writeString($kiter1122); + $xfer += $output->writeString($viter1123); } } $output->writeMapEnd(); @@ -30407,17 +30407,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1117 = 0; - $_ktype1118 = 0; - $_vtype1119 = 0; - $xfer += $input->readMapBegin($_ktype1118, $_vtype1119, $_size1117); - for ($_i1121 = 0; $_i1121 < $_size1117; ++$_i1121) + $_size1124 = 0; + $_ktype1125 = 0; + $_vtype1126 = 0; + $xfer += $input->readMapBegin($_ktype1125, $_vtype1126, $_size1124); + for ($_i1128 = 0; $_i1128 < $_size1124; ++$_i1128) { - $key1122 = ''; - $val1123 = ''; - $xfer += $input->readString($key1122); - $xfer += $input->readString($val1123); - $this->partitionSpecs[$key1122] = $val1123; + $key1129 = ''; + $val1130 = ''; + $xfer += $input->readString($key1129); + $xfer += $input->readString($val1130); + $this->partitionSpecs[$key1129] = $val1130; } $xfer += $input->readMapEnd(); } else { @@ -30473,10 +30473,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1124 => $viter1125) + foreach ($this->partitionSpecs as $kiter1131 => $viter1132) { - $xfer += $output->writeString($kiter1124); - $xfer += $output->writeString($viter1125); + $xfer += $output->writeString($kiter1131); + $xfer += $output->writeString($viter1132); } } $output->writeMapEnd(); @@ -30609,15 +30609,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1126 = 0; - $_etype1129 = 0; - $xfer += $input->readListBegin($_etype1129, $_size1126); - for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) + $_size1133 = 0; + $_etype1136 = 0; + $xfer += $input->readListBegin($_etype1136, $_size1133); + for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) { - $elem1131 = null; - $elem1131 = new \metastore\Partition(); - $xfer += $elem1131->read($input); - $this->success []= $elem1131; + $elem1138 = null; + $elem1138 = new \metastore\Partition(); + $xfer += $elem1138->read($input); + $this->success []= $elem1138; } $xfer += $input->readListEnd(); } else { @@ -30677,9 +30677,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1132) + foreach ($this->success as $iter1139) { - $xfer += $iter1132->write($output); + $xfer += $iter1139->write($output); } } $output->writeListEnd(); @@ -30825,14 +30825,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1133 = 0; - $_etype1136 = 0; - $xfer += $input->readListBegin($_etype1136, $_size1133); - for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) + $_size1140 = 0; + $_etype1143 = 0; + $xfer += $input->readListBegin($_etype1143, $_size1140); + for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) { - $elem1138 = null; - $xfer += $input->readString($elem1138); - $this->part_vals []= $elem1138; + $elem1145 = null; + $xfer += $input->readString($elem1145); + $this->part_vals []= $elem1145; } $xfer += $input->readListEnd(); } else { @@ -30849,14 +30849,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1139 = 0; - $_etype1142 = 0; - $xfer += $input->readListBegin($_etype1142, $_size1139); - for ($_i1143 = 0; $_i1143 < $_size1139; ++$_i1143) + $_size1146 = 0; + $_etype1149 = 0; + $xfer += $input->readListBegin($_etype1149, $_size1146); + for ($_i1150 = 0; $_i1150 < $_size1146; ++$_i1150) { - $elem1144 = null; - $xfer += $input->readString($elem1144); - $this->group_names []= $elem1144; + $elem1151 = null; + $xfer += $input->readString($elem1151); + $this->group_names []= $elem1151; } $xfer += $input->readListEnd(); } else { @@ -30894,9 +30894,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1145) + foreach ($this->part_vals as $iter1152) { - $xfer += $output->writeString($iter1145); + $xfer += $output->writeString($iter1152); } } $output->writeListEnd(); @@ -30916,9 +30916,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1146) + foreach ($this->group_names as $iter1153) { - $xfer += $output->writeString($iter1146); + $xfer += $output->writeString($iter1153); } } $output->writeListEnd(); @@ -31509,15 +31509,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1147 = 0; - $_etype1150 = 0; - $xfer += $input->readListBegin($_etype1150, $_size1147); - for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) + $_size1154 = 0; + $_etype1157 = 0; + $xfer += $input->readListBegin($_etype1157, $_size1154); + for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) { - $elem1152 = null; - $elem1152 = new \metastore\Partition(); - $xfer += $elem1152->read($input); - $this->success []= $elem1152; + $elem1159 = null; + $elem1159 = new \metastore\Partition(); + $xfer += $elem1159->read($input); + $this->success []= $elem1159; } $xfer += $input->readListEnd(); } else { @@ -31561,9 +31561,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1153) + foreach ($this->success as $iter1160) { - $xfer += $iter1153->write($output); + $xfer += $iter1160->write($output); } } $output->writeListEnd(); @@ -31709,14 +31709,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1154 = 0; - $_etype1157 = 0; - $xfer += $input->readListBegin($_etype1157, $_size1154); - for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) + $_size1161 = 0; + $_etype1164 = 0; + $xfer += $input->readListBegin($_etype1164, $_size1161); + for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) { - $elem1159 = null; - $xfer += $input->readString($elem1159); - $this->group_names []= $elem1159; + $elem1166 = null; + $xfer += $input->readString($elem1166); + $this->group_names []= $elem1166; } $xfer += $input->readListEnd(); } else { @@ -31764,9 +31764,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1160) + foreach ($this->group_names as $iter1167) { - $xfer += $output->writeString($iter1160); + $xfer += $output->writeString($iter1167); } } $output->writeListEnd(); @@ -31855,15 +31855,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1161 = 0; - $_etype1164 = 0; - $xfer += $input->readListBegin($_etype1164, $_size1161); - for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) + $_size1168 = 0; + $_etype1171 = 0; + $xfer += $input->readListBegin($_etype1171, $_size1168); + for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) { - $elem1166 = null; - $elem1166 = new \metastore\Partition(); - $xfer += $elem1166->read($input); - $this->success []= $elem1166; + $elem1173 = null; + $elem1173 = new \metastore\Partition(); + $xfer += $elem1173->read($input); + $this->success []= $elem1173; } $xfer += $input->readListEnd(); } else { @@ -31907,9 +31907,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1167) + foreach ($this->success as $iter1174) { - $xfer += $iter1167->write($output); + $xfer += $iter1174->write($output); } } $output->writeListEnd(); @@ -32129,15 +32129,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1168 = 0; - $_etype1171 = 0; - $xfer += $input->readListBegin($_etype1171, $_size1168); - for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) + $_size1175 = 0; + $_etype1178 = 0; + $xfer += $input->readListBegin($_etype1178, $_size1175); + for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) { - $elem1173 = null; - $elem1173 = new \metastore\PartitionSpec(); - $xfer += $elem1173->read($input); - $this->success []= $elem1173; + $elem1180 = null; + $elem1180 = new \metastore\PartitionSpec(); + $xfer += $elem1180->read($input); + $this->success []= $elem1180; } $xfer += $input->readListEnd(); } else { @@ -32181,9 +32181,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1174) + foreach ($this->success as $iter1181) { - $xfer += $iter1174->write($output); + $xfer += $iter1181->write($output); } } $output->writeListEnd(); @@ -32402,14 +32402,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1175 = 0; - $_etype1178 = 0; - $xfer += $input->readListBegin($_etype1178, $_size1175); - for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) + $_size1182 = 0; + $_etype1185 = 0; + $xfer += $input->readListBegin($_etype1185, $_size1182); + for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) { - $elem1180 = null; - $xfer += $input->readString($elem1180); - $this->success []= $elem1180; + $elem1187 = null; + $xfer += $input->readString($elem1187); + $this->success []= $elem1187; } $xfer += $input->readListEnd(); } else { @@ -32453,9 +32453,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1181) + foreach ($this->success as $iter1188) { - $xfer += $output->writeString($iter1181); + $xfer += $output->writeString($iter1188); } } $output->writeListEnd(); @@ -32786,14 +32786,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1182 = 0; - $_etype1185 = 0; - $xfer += $input->readListBegin($_etype1185, $_size1182); - for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) + $_size1189 = 0; + $_etype1192 = 0; + $xfer += $input->readListBegin($_etype1192, $_size1189); + for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) { - $elem1187 = null; - $xfer += $input->readString($elem1187); - $this->part_vals []= $elem1187; + $elem1194 = null; + $xfer += $input->readString($elem1194); + $this->part_vals []= $elem1194; } $xfer += $input->readListEnd(); } else { @@ -32838,9 +32838,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1188) + foreach ($this->part_vals as $iter1195) { - $xfer += $output->writeString($iter1188); + $xfer += $output->writeString($iter1195); } } $output->writeListEnd(); @@ -32934,15 +32934,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1189 = 0; - $_etype1192 = 0; - $xfer += $input->readListBegin($_etype1192, $_size1189); - for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) + $_size1196 = 0; + $_etype1199 = 0; + $xfer += $input->readListBegin($_etype1199, $_size1196); + for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) { - $elem1194 = null; - $elem1194 = new \metastore\Partition(); - $xfer += $elem1194->read($input); - $this->success []= $elem1194; + $elem1201 = null; + $elem1201 = new \metastore\Partition(); + $xfer += $elem1201->read($input); + $this->success []= $elem1201; } $xfer += $input->readListEnd(); } else { @@ -32986,9 +32986,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1195) + foreach ($this->success as $iter1202) { - $xfer += $iter1195->write($output); + $xfer += $iter1202->write($output); } } $output->writeListEnd(); @@ -33135,14 +33135,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1196 = 0; - $_etype1199 = 0; - $xfer += $input->readListBegin($_etype1199, $_size1196); - for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) + $_size1203 = 0; + $_etype1206 = 0; + $xfer += $input->readListBegin($_etype1206, $_size1203); + for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) { - $elem1201 = null; - $xfer += $input->readString($elem1201); - $this->part_vals []= $elem1201; + $elem1208 = null; + $xfer += $input->readString($elem1208); + $this->part_vals []= $elem1208; } $xfer += $input->readListEnd(); } else { @@ -33166,14 +33166,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1202 = 0; - $_etype1205 = 0; - $xfer += $input->readListBegin($_etype1205, $_size1202); - for ($_i1206 = 0; $_i1206 < $_size1202; ++$_i1206) + $_size1209 = 0; + $_etype1212 = 0; + $xfer += $input->readListBegin($_etype1212, $_size1209); + for ($_i1213 = 0; $_i1213 < $_size1209; ++$_i1213) { - $elem1207 = null; - $xfer += $input->readString($elem1207); - $this->group_names []= $elem1207; + $elem1214 = null; + $xfer += $input->readString($elem1214); + $this->group_names []= $elem1214; } $xfer += $input->readListEnd(); } else { @@ -33211,9 +33211,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1208) + foreach ($this->part_vals as $iter1215) { - $xfer += $output->writeString($iter1208); + $xfer += $output->writeString($iter1215); } } $output->writeListEnd(); @@ -33238,9 +33238,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1209) + foreach ($this->group_names as $iter1216) { - $xfer += $output->writeString($iter1209); + $xfer += $output->writeString($iter1216); } } $output->writeListEnd(); @@ -33329,15 +33329,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1210 = 0; - $_etype1213 = 0; - $xfer += $input->readListBegin($_etype1213, $_size1210); - for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) + $_size1217 = 0; + $_etype1220 = 0; + $xfer += $input->readListBegin($_etype1220, $_size1217); + for ($_i1221 = 0; $_i1221 < $_size1217; ++$_i1221) { - $elem1215 = null; - $elem1215 = new \metastore\Partition(); - $xfer += $elem1215->read($input); - $this->success []= $elem1215; + $elem1222 = null; + $elem1222 = new \metastore\Partition(); + $xfer += $elem1222->read($input); + $this->success []= $elem1222; } $xfer += $input->readListEnd(); } else { @@ -33381,9 +33381,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1216) + foreach ($this->success as $iter1223) { - $xfer += $iter1216->write($output); + $xfer += $iter1223->write($output); } } $output->writeListEnd(); @@ -33504,14 +33504,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1217 = 0; - $_etype1220 = 0; - $xfer += $input->readListBegin($_etype1220, $_size1217); - for ($_i1221 = 0; $_i1221 < $_size1217; ++$_i1221) + $_size1224 = 0; + $_etype1227 = 0; + $xfer += $input->readListBegin($_etype1227, $_size1224); + for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) { - $elem1222 = null; - $xfer += $input->readString($elem1222); - $this->part_vals []= $elem1222; + $elem1229 = null; + $xfer += $input->readString($elem1229); + $this->part_vals []= $elem1229; } $xfer += $input->readListEnd(); } else { @@ -33556,9 +33556,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1223) + foreach ($this->part_vals as $iter1230) { - $xfer += $output->writeString($iter1223); + $xfer += $output->writeString($iter1230); } } $output->writeListEnd(); @@ -33651,14 +33651,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1224 = 0; - $_etype1227 = 0; - $xfer += $input->readListBegin($_etype1227, $_size1224); - for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) + $_size1231 = 0; + $_etype1234 = 0; + $xfer += $input->readListBegin($_etype1234, $_size1231); + for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) { - $elem1229 = null; - $xfer += $input->readString($elem1229); - $this->success []= $elem1229; + $elem1236 = null; + $xfer += $input->readString($elem1236); + $this->success []= $elem1236; } $xfer += $input->readListEnd(); } else { @@ -33702,9 +33702,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1230) + foreach ($this->success as $iter1237) { - $xfer += $output->writeString($iter1230); + $xfer += $output->writeString($iter1237); } } $output->writeListEnd(); @@ -33947,15 +33947,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1231 = 0; - $_etype1234 = 0; - $xfer += $input->readListBegin($_etype1234, $_size1231); - for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) + $_size1238 = 0; + $_etype1241 = 0; + $xfer += $input->readListBegin($_etype1241, $_size1238); + for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) { - $elem1236 = null; - $elem1236 = new \metastore\Partition(); - $xfer += $elem1236->read($input); - $this->success []= $elem1236; + $elem1243 = null; + $elem1243 = new \metastore\Partition(); + $xfer += $elem1243->read($input); + $this->success []= $elem1243; } $xfer += $input->readListEnd(); } else { @@ -33999,9 +33999,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1237) + foreach ($this->success as $iter1244) { - $xfer += $iter1237->write($output); + $xfer += $iter1244->write($output); } } $output->writeListEnd(); @@ -34244,15 +34244,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1238 = 0; - $_etype1241 = 0; - $xfer += $input->readListBegin($_etype1241, $_size1238); - for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) + $_size1245 = 0; + $_etype1248 = 0; + $xfer += $input->readListBegin($_etype1248, $_size1245); + for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) { - $elem1243 = null; - $elem1243 = new \metastore\PartitionSpec(); - $xfer += $elem1243->read($input); - $this->success []= $elem1243; + $elem1250 = null; + $elem1250 = new \metastore\PartitionSpec(); + $xfer += $elem1250->read($input); + $this->success []= $elem1250; } $xfer += $input->readListEnd(); } else { @@ -34296,9 +34296,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1244) + foreach ($this->success as $iter1251) { - $xfer += $iter1244->write($output); + $xfer += $iter1251->write($output); } } $output->writeListEnd(); @@ -34864,14 +34864,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1245 = 0; - $_etype1248 = 0; - $xfer += $input->readListBegin($_etype1248, $_size1245); - for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) + $_size1252 = 0; + $_etype1255 = 0; + $xfer += $input->readListBegin($_etype1255, $_size1252); + for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) { - $elem1250 = null; - $xfer += $input->readString($elem1250); - $this->names []= $elem1250; + $elem1257 = null; + $xfer += $input->readString($elem1257); + $this->names []= $elem1257; } $xfer += $input->readListEnd(); } else { @@ -34909,9 +34909,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1251) + foreach ($this->names as $iter1258) { - $xfer += $output->writeString($iter1251); + $xfer += $output->writeString($iter1258); } } $output->writeListEnd(); @@ -35000,15 +35000,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1252 = 0; - $_etype1255 = 0; - $xfer += $input->readListBegin($_etype1255, $_size1252); - for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) + $_size1259 = 0; + $_etype1262 = 0; + $xfer += $input->readListBegin($_etype1262, $_size1259); + for ($_i1263 = 0; $_i1263 < $_size1259; ++$_i1263) { - $elem1257 = null; - $elem1257 = new \metastore\Partition(); - $xfer += $elem1257->read($input); - $this->success []= $elem1257; + $elem1264 = null; + $elem1264 = new \metastore\Partition(); + $xfer += $elem1264->read($input); + $this->success []= $elem1264; } $xfer += $input->readListEnd(); } else { @@ -35052,9 +35052,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1258) + foreach ($this->success as $iter1265) { - $xfer += $iter1258->write($output); + $xfer += $iter1265->write($output); } } $output->writeListEnd(); @@ -35393,15 +35393,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1259 = 0; - $_etype1262 = 0; - $xfer += $input->readListBegin($_etype1262, $_size1259); - for ($_i1263 = 0; $_i1263 < $_size1259; ++$_i1263) + $_size1266 = 0; + $_etype1269 = 0; + $xfer += $input->readListBegin($_etype1269, $_size1266); + for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) { - $elem1264 = null; - $elem1264 = new \metastore\Partition(); - $xfer += $elem1264->read($input); - $this->new_parts []= $elem1264; + $elem1271 = null; + $elem1271 = new \metastore\Partition(); + $xfer += $elem1271->read($input); + $this->new_parts []= $elem1271; } $xfer += $input->readListEnd(); } else { @@ -35439,9 +35439,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1265) + foreach ($this->new_parts as $iter1272) { - $xfer += $iter1265->write($output); + $xfer += $iter1272->write($output); } } $output->writeListEnd(); @@ -35656,15 +35656,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1266 = 0; - $_etype1269 = 0; - $xfer += $input->readListBegin($_etype1269, $_size1266); - for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) + $_size1273 = 0; + $_etype1276 = 0; + $xfer += $input->readListBegin($_etype1276, $_size1273); + for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) { - $elem1271 = null; - $elem1271 = new \metastore\Partition(); - $xfer += $elem1271->read($input); - $this->new_parts []= $elem1271; + $elem1278 = null; + $elem1278 = new \metastore\Partition(); + $xfer += $elem1278->read($input); + $this->new_parts []= $elem1278; } $xfer += $input->readListEnd(); } else { @@ -35710,9 +35710,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1272) + foreach ($this->new_parts as $iter1279) { - $xfer += $iter1272->write($output); + $xfer += $iter1279->write($output); } } $output->writeListEnd(); @@ -36400,14 +36400,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1273 = 0; - $_etype1276 = 0; - $xfer += $input->readListBegin($_etype1276, $_size1273); - for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) + $_size1280 = 0; + $_etype1283 = 0; + $xfer += $input->readListBegin($_etype1283, $_size1280); + for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) { - $elem1278 = null; - $xfer += $input->readString($elem1278); - $this->part_vals []= $elem1278; + $elem1285 = null; + $xfer += $input->readString($elem1285); + $this->part_vals []= $elem1285; } $xfer += $input->readListEnd(); } else { @@ -36453,9 +36453,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1279) + foreach ($this->part_vals as $iter1286) { - $xfer += $output->writeString($iter1279); + $xfer += $output->writeString($iter1286); } } $output->writeListEnd(); @@ -36850,14 +36850,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1280 = 0; - $_etype1283 = 0; - $xfer += $input->readListBegin($_etype1283, $_size1280); - for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) + $_size1287 = 0; + $_etype1290 = 0; + $xfer += $input->readListBegin($_etype1290, $_size1287); + for ($_i1291 = 0; $_i1291 < $_size1287; ++$_i1291) { - $elem1285 = null; - $xfer += $input->readString($elem1285); - $this->part_vals []= $elem1285; + $elem1292 = null; + $xfer += $input->readString($elem1292); + $this->part_vals []= $elem1292; } $xfer += $input->readListEnd(); } else { @@ -36892,9 +36892,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1286) + foreach ($this->part_vals as $iter1293) { - $xfer += $output->writeString($iter1286); + $xfer += $output->writeString($iter1293); } } $output->writeListEnd(); @@ -37348,14 +37348,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1287 = 0; - $_etype1290 = 0; - $xfer += $input->readListBegin($_etype1290, $_size1287); - for ($_i1291 = 0; $_i1291 < $_size1287; ++$_i1291) + $_size1294 = 0; + $_etype1297 = 0; + $xfer += $input->readListBegin($_etype1297, $_size1294); + for ($_i1298 = 0; $_i1298 < $_size1294; ++$_i1298) { - $elem1292 = null; - $xfer += $input->readString($elem1292); - $this->success []= $elem1292; + $elem1299 = null; + $xfer += $input->readString($elem1299); + $this->success []= $elem1299; } $xfer += $input->readListEnd(); } else { @@ -37391,9 +37391,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1293) + foreach ($this->success as $iter1300) { - $xfer += $output->writeString($iter1293); + $xfer += $output->writeString($iter1300); } } $output->writeListEnd(); @@ -37553,17 +37553,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1294 = 0; - $_ktype1295 = 0; - $_vtype1296 = 0; - $xfer += $input->readMapBegin($_ktype1295, $_vtype1296, $_size1294); - for ($_i1298 = 0; $_i1298 < $_size1294; ++$_i1298) + $_size1301 = 0; + $_ktype1302 = 0; + $_vtype1303 = 0; + $xfer += $input->readMapBegin($_ktype1302, $_vtype1303, $_size1301); + for ($_i1305 = 0; $_i1305 < $_size1301; ++$_i1305) { - $key1299 = ''; - $val1300 = ''; - $xfer += $input->readString($key1299); - $xfer += $input->readString($val1300); - $this->success[$key1299] = $val1300; + $key1306 = ''; + $val1307 = ''; + $xfer += $input->readString($key1306); + $xfer += $input->readString($val1307); + $this->success[$key1306] = $val1307; } $xfer += $input->readMapEnd(); } else { @@ -37599,10 +37599,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1301 => $viter1302) + foreach ($this->success as $kiter1308 => $viter1309) { - $xfer += $output->writeString($kiter1301); - $xfer += $output->writeString($viter1302); + $xfer += $output->writeString($kiter1308); + $xfer += $output->writeString($viter1309); } } $output->writeMapEnd(); @@ -37722,17 +37722,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1303 = 0; - $_ktype1304 = 0; - $_vtype1305 = 0; - $xfer += $input->readMapBegin($_ktype1304, $_vtype1305, $_size1303); - for ($_i1307 = 0; $_i1307 < $_size1303; ++$_i1307) + $_size1310 = 0; + $_ktype1311 = 0; + $_vtype1312 = 0; + $xfer += $input->readMapBegin($_ktype1311, $_vtype1312, $_size1310); + for ($_i1314 = 0; $_i1314 < $_size1310; ++$_i1314) { - $key1308 = ''; - $val1309 = ''; - $xfer += $input->readString($key1308); - $xfer += $input->readString($val1309); - $this->part_vals[$key1308] = $val1309; + $key1315 = ''; + $val1316 = ''; + $xfer += $input->readString($key1315); + $xfer += $input->readString($val1316); + $this->part_vals[$key1315] = $val1316; } $xfer += $input->readMapEnd(); } else { @@ -37777,10 +37777,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1310 => $viter1311) + foreach ($this->part_vals as $kiter1317 => $viter1318) { - $xfer += $output->writeString($kiter1310); - $xfer += $output->writeString($viter1311); + $xfer += $output->writeString($kiter1317); + $xfer += $output->writeString($viter1318); } } $output->writeMapEnd(); @@ -38102,17 +38102,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1312 = 0; - $_ktype1313 = 0; - $_vtype1314 = 0; - $xfer += $input->readMapBegin($_ktype1313, $_vtype1314, $_size1312); - for ($_i1316 = 0; $_i1316 < $_size1312; ++$_i1316) + $_size1319 = 0; + $_ktype1320 = 0; + $_vtype1321 = 0; + $xfer += $input->readMapBegin($_ktype1320, $_vtype1321, $_size1319); + for ($_i1323 = 0; $_i1323 < $_size1319; ++$_i1323) { - $key1317 = ''; - $val1318 = ''; - $xfer += $input->readString($key1317); - $xfer += $input->readString($val1318); - $this->part_vals[$key1317] = $val1318; + $key1324 = ''; + $val1325 = ''; + $xfer += $input->readString($key1324); + $xfer += $input->readString($val1325); + $this->part_vals[$key1324] = $val1325; } $xfer += $input->readMapEnd(); } else { @@ -38157,10 +38157,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1319 => $viter1320) + foreach ($this->part_vals as $kiter1326 => $viter1327) { - $xfer += $output->writeString($kiter1319); - $xfer += $output->writeString($viter1320); + $xfer += $output->writeString($kiter1326); + $xfer += $output->writeString($viter1327); } } $output->writeMapEnd(); @@ -43639,14 +43639,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1321 = 0; - $_etype1324 = 0; - $xfer += $input->readListBegin($_etype1324, $_size1321); - for ($_i1325 = 0; $_i1325 < $_size1321; ++$_i1325) + $_size1328 = 0; + $_etype1331 = 0; + $xfer += $input->readListBegin($_etype1331, $_size1328); + for ($_i1332 = 0; $_i1332 < $_size1328; ++$_i1332) { - $elem1326 = null; - $xfer += $input->readString($elem1326); - $this->success []= $elem1326; + $elem1333 = null; + $xfer += $input->readString($elem1333); + $this->success []= $elem1333; } $xfer += $input->readListEnd(); } else { @@ -43682,9 +43682,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1327) + foreach ($this->success as $iter1334) { - $xfer += $output->writeString($iter1327); + $xfer += $output->writeString($iter1334); } } $output->writeListEnd(); @@ -44553,14 +44553,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1328 = 0; - $_etype1331 = 0; - $xfer += $input->readListBegin($_etype1331, $_size1328); - for ($_i1332 = 0; $_i1332 < $_size1328; ++$_i1332) + $_size1335 = 0; + $_etype1338 = 0; + $xfer += $input->readListBegin($_etype1338, $_size1335); + for ($_i1339 = 0; $_i1339 < $_size1335; ++$_i1339) { - $elem1333 = null; - $xfer += $input->readString($elem1333); - $this->success []= $elem1333; + $elem1340 = null; + $xfer += $input->readString($elem1340); + $this->success []= $elem1340; } $xfer += $input->readListEnd(); } else { @@ -44596,9 +44596,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1334) + foreach ($this->success as $iter1341) { - $xfer += $output->writeString($iter1334); + $xfer += $output->writeString($iter1341); } } $output->writeListEnd(); @@ -45289,15 +45289,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1335 = 0; - $_etype1338 = 0; - $xfer += $input->readListBegin($_etype1338, $_size1335); - for ($_i1339 = 0; $_i1339 < $_size1335; ++$_i1339) + $_size1342 = 0; + $_etype1345 = 0; + $xfer += $input->readListBegin($_etype1345, $_size1342); + for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) { - $elem1340 = null; - $elem1340 = new \metastore\Role(); - $xfer += $elem1340->read($input); - $this->success []= $elem1340; + $elem1347 = null; + $elem1347 = new \metastore\Role(); + $xfer += $elem1347->read($input); + $this->success []= $elem1347; } $xfer += $input->readListEnd(); } else { @@ -45333,9 +45333,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1341) + foreach ($this->success as $iter1348) { - $xfer += $iter1341->write($output); + $xfer += $iter1348->write($output); } } $output->writeListEnd(); @@ -45997,14 +45997,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1342 = 0; - $_etype1345 = 0; - $xfer += $input->readListBegin($_etype1345, $_size1342); - for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) + $_size1349 = 0; + $_etype1352 = 0; + $xfer += $input->readListBegin($_etype1352, $_size1349); + for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) { - $elem1347 = null; - $xfer += $input->readString($elem1347); - $this->group_names []= $elem1347; + $elem1354 = null; + $xfer += $input->readString($elem1354); + $this->group_names []= $elem1354; } $xfer += $input->readListEnd(); } else { @@ -46045,9 +46045,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1348) + foreach ($this->group_names as $iter1355) { - $xfer += $output->writeString($iter1348); + $xfer += $output->writeString($iter1355); } } $output->writeListEnd(); @@ -46355,15 +46355,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1349 = 0; - $_etype1352 = 0; - $xfer += $input->readListBegin($_etype1352, $_size1349); - for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) + $_size1356 = 0; + $_etype1359 = 0; + $xfer += $input->readListBegin($_etype1359, $_size1356); + for ($_i1360 = 0; $_i1360 < $_size1356; ++$_i1360) { - $elem1354 = null; - $elem1354 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1354->read($input); - $this->success []= $elem1354; + $elem1361 = null; + $elem1361 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1361->read($input); + $this->success []= $elem1361; } $xfer += $input->readListEnd(); } else { @@ -46399,9 +46399,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1355) + foreach ($this->success as $iter1362) { - $xfer += $iter1355->write($output); + $xfer += $iter1362->write($output); } } $output->writeListEnd(); @@ -47269,14 +47269,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1356 = 0; - $_etype1359 = 0; - $xfer += $input->readListBegin($_etype1359, $_size1356); - for ($_i1360 = 0; $_i1360 < $_size1356; ++$_i1360) + $_size1363 = 0; + $_etype1366 = 0; + $xfer += $input->readListBegin($_etype1366, $_size1363); + for ($_i1367 = 0; $_i1367 < $_size1363; ++$_i1367) { - $elem1361 = null; - $xfer += $input->readString($elem1361); - $this->group_names []= $elem1361; + $elem1368 = null; + $xfer += $input->readString($elem1368); + $this->group_names []= $elem1368; } $xfer += $input->readListEnd(); } else { @@ -47309,9 +47309,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1362) + foreach ($this->group_names as $iter1369) { - $xfer += $output->writeString($iter1362); + $xfer += $output->writeString($iter1369); } } $output->writeListEnd(); @@ -47387,14 +47387,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1363 = 0; - $_etype1366 = 0; - $xfer += $input->readListBegin($_etype1366, $_size1363); - for ($_i1367 = 0; $_i1367 < $_size1363; ++$_i1367) + $_size1370 = 0; + $_etype1373 = 0; + $xfer += $input->readListBegin($_etype1373, $_size1370); + for ($_i1374 = 0; $_i1374 < $_size1370; ++$_i1374) { - $elem1368 = null; - $xfer += $input->readString($elem1368); - $this->success []= $elem1368; + $elem1375 = null; + $xfer += $input->readString($elem1375); + $this->success []= $elem1375; } $xfer += $input->readListEnd(); } else { @@ -47430,9 +47430,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1369) + foreach ($this->success as $iter1376) { - $xfer += $output->writeString($iter1369); + $xfer += $output->writeString($iter1376); } } $output->writeListEnd(); @@ -48549,14 +48549,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1370 = 0; - $_etype1373 = 0; - $xfer += $input->readListBegin($_etype1373, $_size1370); - for ($_i1374 = 0; $_i1374 < $_size1370; ++$_i1374) + $_size1377 = 0; + $_etype1380 = 0; + $xfer += $input->readListBegin($_etype1380, $_size1377); + for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) { - $elem1375 = null; - $xfer += $input->readString($elem1375); - $this->success []= $elem1375; + $elem1382 = null; + $xfer += $input->readString($elem1382); + $this->success []= $elem1382; } $xfer += $input->readListEnd(); } else { @@ -48584,9 +48584,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1376) + foreach ($this->success as $iter1383) { - $xfer += $output->writeString($iter1376); + $xfer += $output->writeString($iter1383); } } $output->writeListEnd(); @@ -49225,14 +49225,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1377 = 0; - $_etype1380 = 0; - $xfer += $input->readListBegin($_etype1380, $_size1377); - for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) + $_size1384 = 0; + $_etype1387 = 0; + $xfer += $input->readListBegin($_etype1387, $_size1384); + for ($_i1388 = 0; $_i1388 < $_size1384; ++$_i1388) { - $elem1382 = null; - $xfer += $input->readString($elem1382); - $this->success []= $elem1382; + $elem1389 = null; + $xfer += $input->readString($elem1389); + $this->success []= $elem1389; } $xfer += $input->readListEnd(); } else { @@ -49260,9 +49260,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1383) + foreach ($this->success as $iter1390) { - $xfer += $output->writeString($iter1383); + $xfer += $output->writeString($iter1390); } } $output->writeListEnd(); @@ -53016,14 +53016,14 @@ class ThriftHiveMetastore_find_columns_with_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1384 = 0; - $_etype1387 = 0; - $xfer += $input->readListBegin($_etype1387, $_size1384); - for ($_i1388 = 0; $_i1388 < $_size1384; ++$_i1388) + $_size1391 = 0; + $_etype1394 = 0; + $xfer += $input->readListBegin($_etype1394, $_size1391); + for ($_i1395 = 0; $_i1395 < $_size1391; ++$_i1395) { - $elem1389 = null; - $xfer += $input->readString($elem1389); - $this->success []= $elem1389; + $elem1396 = null; + $xfer += $input->readString($elem1396); + $this->success []= $elem1396; } $xfer += $input->readListEnd(); } else { @@ -53051,9 +53051,9 @@ class ThriftHiveMetastore_find_columns_with_stats_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1390) + foreach ($this->success as $iter1397) { - $xfer += $output->writeString($iter1390); + $xfer += $output->writeString($iter1397); } } $output->writeListEnd(); @@ -61224,15 +61224,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1391 = 0; - $_etype1394 = 0; - $xfer += $input->readListBegin($_etype1394, $_size1391); - for ($_i1395 = 0; $_i1395 < $_size1391; ++$_i1395) + $_size1398 = 0; + $_etype1401 = 0; + $xfer += $input->readListBegin($_etype1401, $_size1398); + for ($_i1402 = 0; $_i1402 < $_size1398; ++$_i1402) { - $elem1396 = null; - $elem1396 = new \metastore\SchemaVersion(); - $xfer += $elem1396->read($input); - $this->success []= $elem1396; + $elem1403 = null; + $elem1403 = new \metastore\SchemaVersion(); + $xfer += $elem1403->read($input); + $this->success []= $elem1403; } $xfer += $input->readListEnd(); } else { @@ -61276,9 +61276,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1397) + foreach ($this->success as $iter1404) { - $xfer += $iter1397->write($output); + $xfer += $iter1404->write($output); } } $output->writeListEnd(); @@ -63147,15 +63147,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1398 = 0; - $_etype1401 = 0; - $xfer += $input->readListBegin($_etype1401, $_size1398); - for ($_i1402 = 0; $_i1402 < $_size1398; ++$_i1402) + $_size1405 = 0; + $_etype1408 = 0; + $xfer += $input->readListBegin($_etype1408, $_size1405); + for ($_i1409 = 0; $_i1409 < $_size1405; ++$_i1409) { - $elem1403 = null; - $elem1403 = new \metastore\RuntimeStat(); - $xfer += $elem1403->read($input); - $this->success []= $elem1403; + $elem1410 = null; + $elem1410 = new \metastore\RuntimeStat(); + $xfer += $elem1410->read($input); + $this->success []= $elem1410; } $xfer += $input->readListEnd(); } else { @@ -63191,9 +63191,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1404) + foreach ($this->success as $iter1411) { - $xfer += $iter1404->write($output); + $xfer += $iter1411->write($output); } } $output->writeListEnd(); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php index 2953a8f327..dc5f7ce844 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php +++ standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php @@ -99,9 +99,11 @@ final class LockType { final class CompactionType { const MINOR = 1; const MAJOR = 2; + const CLEAN_ABORTED = 3; static public $__names = array( 1 => 'MINOR', 2 => 'MAJOR', + 3 => 'CLEAN_ABORTED', ); } @@ -18704,6 +18706,10 @@ class AllocateTableWriteIdsRequest { * @var \metastore\TxnToWriteId[] */ public $srcTxnToWriteIdList = null; + /** + * @var bool + */ + public $dynamicPartitions = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -18737,6 +18743,10 @@ class AllocateTableWriteIdsRequest { 'class' => '\metastore\TxnToWriteId', ), ), + 6 => array( + 'var' => 'dynamicPartitions', + 'type' => TType::BOOL, + ), ); } if (is_array($vals)) { @@ -18755,6 +18765,9 @@ class AllocateTableWriteIdsRequest { if (isset($vals['srcTxnToWriteIdList'])) { $this->srcTxnToWriteIdList = $vals['srcTxnToWriteIdList']; } + if (isset($vals['dynamicPartitions'])) { + $this->dynamicPartitions = $vals['dynamicPartitions']; + } } } @@ -18833,6 +18846,13 @@ class AllocateTableWriteIdsRequest { $xfer += $input->skip($ftype); } break; + case 6: + if ($ftype == TType::BOOL) { + $xfer += $input->readBool($this->dynamicPartitions); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -18895,6 +18915,11 @@ class AllocateTableWriteIdsRequest { } $xfer += $output->writeFieldEnd(); } + if ($this->dynamicPartitions !== null) { + $xfer += $output->writeFieldBegin('dynamicPartitions', TType::BOOL, 6); + $xfer += $output->writeBool($this->dynamicPartitions); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -21212,6 +21237,10 @@ class CompactionInfoStruct { * @var int */ public $highestWriteId = null; + /** + * @var int[] + */ + public $writeIds = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -21264,6 +21293,14 @@ class CompactionInfoStruct { 'var' => 'highestWriteId', 'type' => TType::I64, ), + 13 => array( + 'var' => 'writeIds', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), ); } if (is_array($vals)) { @@ -21303,6 +21340,9 @@ class CompactionInfoStruct { if (isset($vals['highestWriteId'])) { $this->highestWriteId = $vals['highestWriteId']; } + if (isset($vals['writeIds'])) { + $this->writeIds = $vals['writeIds']; + } } } @@ -21409,6 +21449,23 @@ class CompactionInfoStruct { $xfer += $input->skip($ftype); } break; + case 13: + if ($ftype == TType::LST) { + $this->writeIds = array(); + $_size632 = 0; + $_etype635 = 0; + $xfer += $input->readListBegin($_etype635, $_size632); + for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + { + $elem637 = null; + $xfer += $input->readI64($elem637); + $this->writeIds []= $elem637; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -21482,6 +21539,23 @@ class CompactionInfoStruct { $xfer += $output->writeI64($this->highestWriteId); $xfer += $output->writeFieldEnd(); } + if ($this->writeIds !== null) { + if (!is_array($this->writeIds)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('writeIds', TType::LST, 13); + { + $output->writeListBegin(TType::I64, count($this->writeIds)); + { + foreach ($this->writeIds as $iter638) + { + $xfer += $output->writeI64($iter638); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -22062,15 +22136,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readListBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + $_size639 = 0; + $_etype642 = 0; + $xfer += $input->readListBegin($_etype642, $_size639); + for ($_i643 = 0; $_i643 < $_size639; ++$_i643) { - $elem637 = null; - $elem637 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem637->read($input); - $this->compacts []= $elem637; + $elem644 = null; + $elem644 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem644->read($input); + $this->compacts []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -22098,9 +22172,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter638) + foreach ($this->compacts as $iter645) { - $xfer += $iter638->write($output); + $xfer += $iter645->write($output); } } $output->writeListEnd(); @@ -22247,14 +22321,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size639 = 0; - $_etype642 = 0; - $xfer += $input->readListBegin($_etype642, $_size639); - for ($_i643 = 0; $_i643 < $_size639; ++$_i643) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem644 = null; - $xfer += $input->readString($elem644); - $this->partitionnames []= $elem644; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->partitionnames []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -22309,9 +22383,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter645) + foreach ($this->partitionnames as $iter652) { - $xfer += $output->writeString($iter645); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -22646,17 +22720,17 @@ class CreationMetadata { case 4: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size646 = 0; - $_etype649 = 0; - $xfer += $input->readSetBegin($_etype649, $_size646); - for ($_i650 = 0; $_i650 < $_size646; ++$_i650) + $_size653 = 0; + $_etype656 = 0; + $xfer += $input->readSetBegin($_etype656, $_size653); + for ($_i657 = 0; $_i657 < $_size653; ++$_i657) { - $elem651 = null; - $xfer += $input->readString($elem651); - if (is_scalar($elem651)) { - $this->tablesUsed[$elem651] = true; + $elem658 = null; + $xfer += $input->readString($elem658); + if (is_scalar($elem658)) { + $this->tablesUsed[$elem658] = true; } else { - $this->tablesUsed []= $elem651; + $this->tablesUsed []= $elem658; } } $xfer += $input->readSetEnd(); @@ -22714,12 +22788,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter652 => $iter653) + foreach ($this->tablesUsed as $iter659 => $iter660) { - if (is_scalar($iter653)) { - $xfer += $output->writeString($iter652); + if (is_scalar($iter660)) { + $xfer += $output->writeString($iter659); } else { - $xfer += $output->writeString($iter653); + $xfer += $output->writeString($iter660); } } } @@ -22830,14 +22904,14 @@ class NotificationEventRequest { case 3: if ($ftype == TType::LST) { $this->eventTypeSkipList = array(); - $_size654 = 0; - $_etype657 = 0; - $xfer += $input->readListBegin($_etype657, $_size654); - for ($_i658 = 0; $_i658 < $_size654; ++$_i658) + $_size661 = 0; + $_etype664 = 0; + $xfer += $input->readListBegin($_etype664, $_size661); + for ($_i665 = 0; $_i665 < $_size661; ++$_i665) { - $elem659 = null; - $xfer += $input->readString($elem659); - $this->eventTypeSkipList []= $elem659; + $elem666 = null; + $xfer += $input->readString($elem666); + $this->eventTypeSkipList []= $elem666; } $xfer += $input->readListEnd(); } else { @@ -22875,9 +22949,9 @@ class NotificationEventRequest { { $output->writeListBegin(TType::STRING, count($this->eventTypeSkipList)); { - foreach ($this->eventTypeSkipList as $iter660) + foreach ($this->eventTypeSkipList as $iter667) { - $xfer += $output->writeString($iter660); + $xfer += $output->writeString($iter667); } } $output->writeListEnd(); @@ -23178,15 +23252,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size661 = 0; - $_etype664 = 0; - $xfer += $input->readListBegin($_etype664, $_size661); - for ($_i665 = 0; $_i665 < $_size661; ++$_i665) + $_size668 = 0; + $_etype671 = 0; + $xfer += $input->readListBegin($_etype671, $_size668); + for ($_i672 = 0; $_i672 < $_size668; ++$_i672) { - $elem666 = null; - $elem666 = new \metastore\NotificationEvent(); - $xfer += $elem666->read($input); - $this->events []= $elem666; + $elem673 = null; + $elem673 = new \metastore\NotificationEvent(); + $xfer += $elem673->read($input); + $this->events []= $elem673; } $xfer += $input->readListEnd(); } else { @@ -23214,9 +23288,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter667) + foreach ($this->events as $iter674) { - $xfer += $iter667->write($output); + $xfer += $iter674->write($output); } } $output->writeListEnd(); @@ -23645,14 +23719,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size668 = 0; - $_etype671 = 0; - $xfer += $input->readListBegin($_etype671, $_size668); - for ($_i672 = 0; $_i672 < $_size668; ++$_i672) + $_size675 = 0; + $_etype678 = 0; + $xfer += $input->readListBegin($_etype678, $_size675); + for ($_i679 = 0; $_i679 < $_size675; ++$_i679) { - $elem673 = null; - $xfer += $input->readString($elem673); - $this->filesAdded []= $elem673; + $elem680 = null; + $xfer += $input->readString($elem680); + $this->filesAdded []= $elem680; } $xfer += $input->readListEnd(); } else { @@ -23662,14 +23736,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size674 = 0; - $_etype677 = 0; - $xfer += $input->readListBegin($_etype677, $_size674); - for ($_i678 = 0; $_i678 < $_size674; ++$_i678) + $_size681 = 0; + $_etype684 = 0; + $xfer += $input->readListBegin($_etype684, $_size681); + for ($_i685 = 0; $_i685 < $_size681; ++$_i685) { - $elem679 = null; - $xfer += $input->readString($elem679); - $this->filesAddedChecksum []= $elem679; + $elem686 = null; + $xfer += $input->readString($elem686); + $this->filesAddedChecksum []= $elem686; } $xfer += $input->readListEnd(); } else { @@ -23679,14 +23753,14 @@ class InsertEventRequestData { case 4: if ($ftype == TType::LST) { $this->subDirectoryList = array(); - $_size680 = 0; - $_etype683 = 0; - $xfer += $input->readListBegin($_etype683, $_size680); - for ($_i684 = 0; $_i684 < $_size680; ++$_i684) + $_size687 = 0; + $_etype690 = 0; + $xfer += $input->readListBegin($_etype690, $_size687); + for ($_i691 = 0; $_i691 < $_size687; ++$_i691) { - $elem685 = null; - $xfer += $input->readString($elem685); - $this->subDirectoryList []= $elem685; + $elem692 = null; + $xfer += $input->readString($elem692); + $this->subDirectoryList []= $elem692; } $xfer += $input->readListEnd(); } else { @@ -23719,9 +23793,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter686) + foreach ($this->filesAdded as $iter693) { - $xfer += $output->writeString($iter686); + $xfer += $output->writeString($iter693); } } $output->writeListEnd(); @@ -23736,9 +23810,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter687) + foreach ($this->filesAddedChecksum as $iter694) { - $xfer += $output->writeString($iter687); + $xfer += $output->writeString($iter694); } } $output->writeListEnd(); @@ -23753,9 +23827,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->subDirectoryList)); { - foreach ($this->subDirectoryList as $iter688) + foreach ($this->subDirectoryList as $iter695) { - $xfer += $output->writeString($iter688); + $xfer += $output->writeString($iter695); } } $output->writeListEnd(); @@ -23984,14 +24058,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size689 = 0; - $_etype692 = 0; - $xfer += $input->readListBegin($_etype692, $_size689); - for ($_i693 = 0; $_i693 < $_size689; ++$_i693) + $_size696 = 0; + $_etype699 = 0; + $xfer += $input->readListBegin($_etype699, $_size696); + for ($_i700 = 0; $_i700 < $_size696; ++$_i700) { - $elem694 = null; - $xfer += $input->readString($elem694); - $this->partitionVals []= $elem694; + $elem701 = null; + $xfer += $input->readString($elem701); + $this->partitionVals []= $elem701; } $xfer += $input->readListEnd(); } else { @@ -24049,9 +24123,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter695) + foreach ($this->partitionVals as $iter702) { - $xfer += $output->writeString($iter695); + $xfer += $output->writeString($iter702); } } $output->writeListEnd(); @@ -24262,14 +24336,14 @@ class WriteNotificationLogRequest { case 6: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size696 = 0; - $_etype699 = 0; - $xfer += $input->readListBegin($_etype699, $_size696); - for ($_i700 = 0; $_i700 < $_size696; ++$_i700) + $_size703 = 0; + $_etype706 = 0; + $xfer += $input->readListBegin($_etype706, $_size703); + for ($_i707 = 0; $_i707 < $_size703; ++$_i707) { - $elem701 = null; - $xfer += $input->readString($elem701); - $this->partitionVals []= $elem701; + $elem708 = null; + $xfer += $input->readString($elem708); + $this->partitionVals []= $elem708; } $xfer += $input->readListEnd(); } else { @@ -24325,9 +24399,9 @@ class WriteNotificationLogRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter702) + foreach ($this->partitionVals as $iter709) { - $xfer += $output->writeString($iter702); + $xfer += $output->writeString($iter709); } } $output->writeListEnd(); @@ -24555,18 +24629,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size703 = 0; - $_ktype704 = 0; - $_vtype705 = 0; - $xfer += $input->readMapBegin($_ktype704, $_vtype705, $_size703); - for ($_i707 = 0; $_i707 < $_size703; ++$_i707) + $_size710 = 0; + $_ktype711 = 0; + $_vtype712 = 0; + $xfer += $input->readMapBegin($_ktype711, $_vtype712, $_size710); + for ($_i714 = 0; $_i714 < $_size710; ++$_i714) { - $key708 = 0; - $val709 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key708); - $val709 = new \metastore\MetadataPpdResult(); - $xfer += $val709->read($input); - $this->metadata[$key708] = $val709; + $key715 = 0; + $val716 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key715); + $val716 = new \metastore\MetadataPpdResult(); + $xfer += $val716->read($input); + $this->metadata[$key715] = $val716; } $xfer += $input->readMapEnd(); } else { @@ -24601,10 +24675,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter710 => $viter711) + foreach ($this->metadata as $kiter717 => $viter718) { - $xfer += $output->writeI64($kiter710); - $xfer += $viter711->write($output); + $xfer += $output->writeI64($kiter717); + $xfer += $viter718->write($output); } } $output->writeMapEnd(); @@ -24706,14 +24780,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size712 = 0; - $_etype715 = 0; - $xfer += $input->readListBegin($_etype715, $_size712); - for ($_i716 = 0; $_i716 < $_size712; ++$_i716) + $_size719 = 0; + $_etype722 = 0; + $xfer += $input->readListBegin($_etype722, $_size719); + for ($_i723 = 0; $_i723 < $_size719; ++$_i723) { - $elem717 = null; - $xfer += $input->readI64($elem717); - $this->fileIds []= $elem717; + $elem724 = null; + $xfer += $input->readI64($elem724); + $this->fileIds []= $elem724; } $xfer += $input->readListEnd(); } else { @@ -24762,9 +24836,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter718) + foreach ($this->fileIds as $iter725) { - $xfer += $output->writeI64($iter718); + $xfer += $output->writeI64($iter725); } } $output->writeListEnd(); @@ -24858,17 +24932,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size719 = 0; - $_ktype720 = 0; - $_vtype721 = 0; - $xfer += $input->readMapBegin($_ktype720, $_vtype721, $_size719); - for ($_i723 = 0; $_i723 < $_size719; ++$_i723) + $_size726 = 0; + $_ktype727 = 0; + $_vtype728 = 0; + $xfer += $input->readMapBegin($_ktype727, $_vtype728, $_size726); + for ($_i730 = 0; $_i730 < $_size726; ++$_i730) { - $key724 = 0; - $val725 = ''; - $xfer += $input->readI64($key724); - $xfer += $input->readString($val725); - $this->metadata[$key724] = $val725; + $key731 = 0; + $val732 = ''; + $xfer += $input->readI64($key731); + $xfer += $input->readString($val732); + $this->metadata[$key731] = $val732; } $xfer += $input->readMapEnd(); } else { @@ -24903,10 +24977,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter726 => $viter727) + foreach ($this->metadata as $kiter733 => $viter734) { - $xfer += $output->writeI64($kiter726); - $xfer += $output->writeString($viter727); + $xfer += $output->writeI64($kiter733); + $xfer += $output->writeString($viter734); } } $output->writeMapEnd(); @@ -24975,14 +25049,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readListBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $xfer += $input->readI64($elem733); - $this->fileIds []= $elem733; + $elem740 = null; + $xfer += $input->readI64($elem740); + $this->fileIds []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -25010,9 +25084,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter734) + foreach ($this->fileIds as $iter741) { - $xfer += $output->writeI64($iter734); + $xfer += $output->writeI64($iter741); } } $output->writeListEnd(); @@ -25152,14 +25226,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readListBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $xfer += $input->readI64($elem740); - $this->fileIds []= $elem740; + $elem747 = null; + $xfer += $input->readI64($elem747); + $this->fileIds []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -25169,14 +25243,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size741 = 0; - $_etype744 = 0; - $xfer += $input->readListBegin($_etype744, $_size741); - for ($_i745 = 0; $_i745 < $_size741; ++$_i745) + $_size748 = 0; + $_etype751 = 0; + $xfer += $input->readListBegin($_etype751, $_size748); + for ($_i752 = 0; $_i752 < $_size748; ++$_i752) { - $elem746 = null; - $xfer += $input->readString($elem746); - $this->metadata []= $elem746; + $elem753 = null; + $xfer += $input->readString($elem753); + $this->metadata []= $elem753; } $xfer += $input->readListEnd(); } else { @@ -25211,9 +25285,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter747) + foreach ($this->fileIds as $iter754) { - $xfer += $output->writeI64($iter747); + $xfer += $output->writeI64($iter754); } } $output->writeListEnd(); @@ -25228,9 +25302,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter748) + foreach ($this->metadata as $iter755) { - $xfer += $output->writeString($iter748); + $xfer += $output->writeString($iter755); } } $output->writeListEnd(); @@ -25349,14 +25423,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $xfer += $input->readI64($elem754); - $this->fileIds []= $elem754; + $elem761 = null; + $xfer += $input->readI64($elem761); + $this->fileIds []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -25384,9 +25458,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter755) + foreach ($this->fileIds as $iter762) { - $xfer += $output->writeI64($iter755); + $xfer += $output->writeI64($iter762); } } $output->writeListEnd(); @@ -25670,15 +25744,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size756 = 0; - $_etype759 = 0; - $xfer += $input->readListBegin($_etype759, $_size756); - for ($_i760 = 0; $_i760 < $_size756; ++$_i760) + $_size763 = 0; + $_etype766 = 0; + $xfer += $input->readListBegin($_etype766, $_size763); + for ($_i767 = 0; $_i767 < $_size763; ++$_i767) { - $elem761 = null; - $elem761 = new \metastore\Function(); - $xfer += $elem761->read($input); - $this->functions []= $elem761; + $elem768 = null; + $elem768 = new \metastore\Function(); + $xfer += $elem768->read($input); + $this->functions []= $elem768; } $xfer += $input->readListEnd(); } else { @@ -25706,9 +25780,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter762) + foreach ($this->functions as $iter769) { - $xfer += $iter762->write($output); + $xfer += $iter769->write($output); } } $output->writeListEnd(); @@ -25772,14 +25846,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size763 = 0; - $_etype766 = 0; - $xfer += $input->readListBegin($_etype766, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) + $_size770 = 0; + $_etype773 = 0; + $xfer += $input->readListBegin($_etype773, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $elem768 = null; - $xfer += $input->readI32($elem768); - $this->values []= $elem768; + $elem775 = null; + $xfer += $input->readI32($elem775); + $this->values []= $elem775; } $xfer += $input->readListEnd(); } else { @@ -25807,9 +25881,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter769) + foreach ($this->values as $iter776) { - $xfer += $output->writeI32($iter769); + $xfer += $output->writeI32($iter776); } } $output->writeListEnd(); @@ -26189,14 +26263,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size770 = 0; - $_etype773 = 0; - $xfer += $input->readListBegin($_etype773, $_size770); - for ($_i774 = 0; $_i774 < $_size770; ++$_i774) + $_size777 = 0; + $_etype780 = 0; + $xfer += $input->readListBegin($_etype780, $_size777); + for ($_i781 = 0; $_i781 < $_size777; ++$_i781) { - $elem775 = null; - $xfer += $input->readString($elem775); - $this->tblNames []= $elem775; + $elem782 = null; + $xfer += $input->readString($elem782); + $this->tblNames []= $elem782; } $xfer += $input->readListEnd(); } else { @@ -26244,9 +26318,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter776) + foreach ($this->tblNames as $iter783) { - $xfer += $output->writeString($iter776); + $xfer += $output->writeString($iter783); } } $output->writeListEnd(); @@ -26324,15 +26398,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size777 = 0; - $_etype780 = 0; - $xfer += $input->readListBegin($_etype780, $_size777); - for ($_i781 = 0; $_i781 < $_size777; ++$_i781) + $_size784 = 0; + $_etype787 = 0; + $xfer += $input->readListBegin($_etype787, $_size784); + for ($_i788 = 0; $_i788 < $_size784; ++$_i788) { - $elem782 = null; - $elem782 = new \metastore\Table(); - $xfer += $elem782->read($input); - $this->tables []= $elem782; + $elem789 = null; + $elem789 = new \metastore\Table(); + $xfer += $elem789->read($input); + $this->tables []= $elem789; } $xfer += $input->readListEnd(); } else { @@ -26360,9 +26434,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter783) + foreach ($this->tables as $iter790) { - $xfer += $iter783->write($output); + $xfer += $iter790->write($output); } } $output->writeListEnd(); @@ -28169,15 +28243,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size784 = 0; - $_etype787 = 0; - $xfer += $input->readListBegin($_etype787, $_size784); - for ($_i788 = 0; $_i788 < $_size784; ++$_i788) + $_size791 = 0; + $_etype794 = 0; + $xfer += $input->readListBegin($_etype794, $_size791); + for ($_i795 = 0; $_i795 < $_size791; ++$_i795) { - $elem789 = null; - $elem789 = new \metastore\WMPool(); - $xfer += $elem789->read($input); - $this->pools []= $elem789; + $elem796 = null; + $elem796 = new \metastore\WMPool(); + $xfer += $elem796->read($input); + $this->pools []= $elem796; } $xfer += $input->readListEnd(); } else { @@ -28187,15 +28261,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size790 = 0; - $_etype793 = 0; - $xfer += $input->readListBegin($_etype793, $_size790); - for ($_i794 = 0; $_i794 < $_size790; ++$_i794) + $_size797 = 0; + $_etype800 = 0; + $xfer += $input->readListBegin($_etype800, $_size797); + for ($_i801 = 0; $_i801 < $_size797; ++$_i801) { - $elem795 = null; - $elem795 = new \metastore\WMMapping(); - $xfer += $elem795->read($input); - $this->mappings []= $elem795; + $elem802 = null; + $elem802 = new \metastore\WMMapping(); + $xfer += $elem802->read($input); + $this->mappings []= $elem802; } $xfer += $input->readListEnd(); } else { @@ -28205,15 +28279,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size796 = 0; - $_etype799 = 0; - $xfer += $input->readListBegin($_etype799, $_size796); - for ($_i800 = 0; $_i800 < $_size796; ++$_i800) + $_size803 = 0; + $_etype806 = 0; + $xfer += $input->readListBegin($_etype806, $_size803); + for ($_i807 = 0; $_i807 < $_size803; ++$_i807) { - $elem801 = null; - $elem801 = new \metastore\WMTrigger(); - $xfer += $elem801->read($input); - $this->triggers []= $elem801; + $elem808 = null; + $elem808 = new \metastore\WMTrigger(); + $xfer += $elem808->read($input); + $this->triggers []= $elem808; } $xfer += $input->readListEnd(); } else { @@ -28223,15 +28297,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size802 = 0; - $_etype805 = 0; - $xfer += $input->readListBegin($_etype805, $_size802); - for ($_i806 = 0; $_i806 < $_size802; ++$_i806) + $_size809 = 0; + $_etype812 = 0; + $xfer += $input->readListBegin($_etype812, $_size809); + for ($_i813 = 0; $_i813 < $_size809; ++$_i813) { - $elem807 = null; - $elem807 = new \metastore\WMPoolTrigger(); - $xfer += $elem807->read($input); - $this->poolTriggers []= $elem807; + $elem814 = null; + $elem814 = new \metastore\WMPoolTrigger(); + $xfer += $elem814->read($input); + $this->poolTriggers []= $elem814; } $xfer += $input->readListEnd(); } else { @@ -28267,9 +28341,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter808) + foreach ($this->pools as $iter815) { - $xfer += $iter808->write($output); + $xfer += $iter815->write($output); } } $output->writeListEnd(); @@ -28284,9 +28358,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter809) + foreach ($this->mappings as $iter816) { - $xfer += $iter809->write($output); + $xfer += $iter816->write($output); } } $output->writeListEnd(); @@ -28301,9 +28375,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter810) + foreach ($this->triggers as $iter817) { - $xfer += $iter810->write($output); + $xfer += $iter817->write($output); } } $output->writeListEnd(); @@ -28318,9 +28392,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter811) + foreach ($this->poolTriggers as $iter818) { - $xfer += $iter811->write($output); + $xfer += $iter818->write($output); } } $output->writeListEnd(); @@ -28946,15 +29020,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size812 = 0; - $_etype815 = 0; - $xfer += $input->readListBegin($_etype815, $_size812); - for ($_i816 = 0; $_i816 < $_size812; ++$_i816) + $_size819 = 0; + $_etype822 = 0; + $xfer += $input->readListBegin($_etype822, $_size819); + for ($_i823 = 0; $_i823 < $_size819; ++$_i823) { - $elem817 = null; - $elem817 = new \metastore\WMResourcePlan(); - $xfer += $elem817->read($input); - $this->resourcePlans []= $elem817; + $elem824 = null; + $elem824 = new \metastore\WMResourcePlan(); + $xfer += $elem824->read($input); + $this->resourcePlans []= $elem824; } $xfer += $input->readListEnd(); } else { @@ -28982,9 +29056,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter818) + foreach ($this->resourcePlans as $iter825) { - $xfer += $iter818->write($output); + $xfer += $iter825->write($output); } } $output->writeListEnd(); @@ -29436,14 +29510,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size819 = 0; - $_etype822 = 0; - $xfer += $input->readListBegin($_etype822, $_size819); - for ($_i823 = 0; $_i823 < $_size819; ++$_i823) + $_size826 = 0; + $_etype829 = 0; + $xfer += $input->readListBegin($_etype829, $_size826); + for ($_i830 = 0; $_i830 < $_size826; ++$_i830) { - $elem824 = null; - $xfer += $input->readString($elem824); - $this->errors []= $elem824; + $elem831 = null; + $xfer += $input->readString($elem831); + $this->errors []= $elem831; } $xfer += $input->readListEnd(); } else { @@ -29453,14 +29527,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) + $_size832 = 0; + $_etype835 = 0; + $xfer += $input->readListBegin($_etype835, $_size832); + for ($_i836 = 0; $_i836 < $_size832; ++$_i836) { - $elem830 = null; - $xfer += $input->readString($elem830); - $this->warnings []= $elem830; + $elem837 = null; + $xfer += $input->readString($elem837); + $this->warnings []= $elem837; } $xfer += $input->readListEnd(); } else { @@ -29488,9 +29562,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter831) + foreach ($this->errors as $iter838) { - $xfer += $output->writeString($iter831); + $xfer += $output->writeString($iter838); } } $output->writeListEnd(); @@ -29505,9 +29579,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter832) + foreach ($this->warnings as $iter839) { - $xfer += $output->writeString($iter832); + $xfer += $output->writeString($iter839); } } $output->writeListEnd(); @@ -30249,15 +30323,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size833 = 0; - $_etype836 = 0; - $xfer += $input->readListBegin($_etype836, $_size833); - for ($_i837 = 0; $_i837 < $_size833; ++$_i837) + $_size840 = 0; + $_etype843 = 0; + $xfer += $input->readListBegin($_etype843, $_size840); + for ($_i844 = 0; $_i844 < $_size840; ++$_i844) { - $elem838 = null; - $elem838 = new \metastore\WMTrigger(); - $xfer += $elem838->read($input); - $this->triggers []= $elem838; + $elem845 = null; + $elem845 = new \metastore\WMTrigger(); + $xfer += $elem845->read($input); + $this->triggers []= $elem845; } $xfer += $input->readListEnd(); } else { @@ -30285,9 +30359,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter839) + foreach ($this->triggers as $iter846) { - $xfer += $iter839->write($output); + $xfer += $iter846->write($output); } } $output->writeListEnd(); @@ -31917,15 +31991,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size840 = 0; - $_etype843 = 0; - $xfer += $input->readListBegin($_etype843, $_size840); - for ($_i844 = 0; $_i844 < $_size840; ++$_i844) + $_size847 = 0; + $_etype850 = 0; + $xfer += $input->readListBegin($_etype850, $_size847); + for ($_i851 = 0; $_i851 < $_size847; ++$_i851) { - $elem845 = null; - $elem845 = new \metastore\FieldSchema(); - $xfer += $elem845->read($input); - $this->cols []= $elem845; + $elem852 = null; + $elem852 = new \metastore\FieldSchema(); + $xfer += $elem852->read($input); + $this->cols []= $elem852; } $xfer += $input->readListEnd(); } else { @@ -32014,9 +32088,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter846) + foreach ($this->cols as $iter853) { - $xfer += $iter846->write($output); + $xfer += $iter853->write($output); } } $output->writeListEnd(); @@ -32338,15 +32412,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size847 = 0; - $_etype850 = 0; - $xfer += $input->readListBegin($_etype850, $_size847); - for ($_i851 = 0; $_i851 < $_size847; ++$_i851) + $_size854 = 0; + $_etype857 = 0; + $xfer += $input->readListBegin($_etype857, $_size854); + for ($_i858 = 0; $_i858 < $_size854; ++$_i858) { - $elem852 = null; - $elem852 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem852->read($input); - $this->schemaVersions []= $elem852; + $elem859 = null; + $elem859 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem859->read($input); + $this->schemaVersions []= $elem859; } $xfer += $input->readListEnd(); } else { @@ -32374,9 +32448,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter853) + foreach ($this->schemaVersions as $iter860) { - $xfer += $iter853->write($output); + $xfer += $iter860->write($output); } } $output->writeListEnd(); @@ -33029,15 +33103,15 @@ class AlterPartitionsRequest { case 4: if ($ftype == TType::LST) { $this->partitions = array(); - $_size854 = 0; - $_etype857 = 0; - $xfer += $input->readListBegin($_etype857, $_size854); - for ($_i858 = 0; $_i858 < $_size854; ++$_i858) + $_size861 = 0; + $_etype864 = 0; + $xfer += $input->readListBegin($_etype864, $_size861); + for ($_i865 = 0; $_i865 < $_size861; ++$_i865) { - $elem859 = null; - $elem859 = new \metastore\Partition(); - $xfer += $elem859->read($input); - $this->partitions []= $elem859; + $elem866 = null; + $elem866 = new \metastore\Partition(); + $xfer += $elem866->read($input); + $this->partitions []= $elem866; } $xfer += $input->readListEnd(); } else { @@ -33102,9 +33176,9 @@ class AlterPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter860) + foreach ($this->partitions as $iter867) { - $xfer += $iter860->write($output); + $xfer += $iter867->write($output); } } $output->writeListEnd(); @@ -33313,14 +33387,14 @@ class RenamePartitionRequest { case 4: if ($ftype == TType::LST) { $this->partVals = array(); - $_size861 = 0; - $_etype864 = 0; - $xfer += $input->readListBegin($_etype864, $_size861); - for ($_i865 = 0; $_i865 < $_size861; ++$_i865) + $_size868 = 0; + $_etype871 = 0; + $xfer += $input->readListBegin($_etype871, $_size868); + for ($_i872 = 0; $_i872 < $_size868; ++$_i872) { - $elem866 = null; - $xfer += $input->readString($elem866); - $this->partVals []= $elem866; + $elem873 = null; + $xfer += $input->readString($elem873); + $this->partVals []= $elem873; } $xfer += $input->readListEnd(); } else { @@ -33378,9 +33452,9 @@ class RenamePartitionRequest { { $output->writeListBegin(TType::STRING, count($this->partVals)); { - foreach ($this->partVals as $iter867) + foreach ($this->partVals as $iter874) { - $xfer += $output->writeString($iter867); + $xfer += $output->writeString($iter874); } } $output->writeListEnd(); @@ -33802,14 +33876,14 @@ class GetPartitionsProjectionSpec { case 1: if ($ftype == TType::LST) { $this->fieldList = array(); - $_size868 = 0; - $_etype871 = 0; - $xfer += $input->readListBegin($_etype871, $_size868); - for ($_i872 = 0; $_i872 < $_size868; ++$_i872) + $_size875 = 0; + $_etype878 = 0; + $xfer += $input->readListBegin($_etype878, $_size875); + for ($_i879 = 0; $_i879 < $_size875; ++$_i879) { - $elem873 = null; - $xfer += $input->readString($elem873); - $this->fieldList []= $elem873; + $elem880 = null; + $xfer += $input->readString($elem880); + $this->fieldList []= $elem880; } $xfer += $input->readListEnd(); } else { @@ -33851,9 +33925,9 @@ class GetPartitionsProjectionSpec { { $output->writeListBegin(TType::STRING, count($this->fieldList)); { - foreach ($this->fieldList as $iter874) + foreach ($this->fieldList as $iter881) { - $xfer += $output->writeString($iter874); + $xfer += $output->writeString($iter881); } } $output->writeListEnd(); @@ -33945,14 +34019,14 @@ class GetPartitionsFilterSpec { case 8: if ($ftype == TType::LST) { $this->filters = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) + $_size882 = 0; + $_etype885 = 0; + $xfer += $input->readListBegin($_etype885, $_size882); + for ($_i886 = 0; $_i886 < $_size882; ++$_i886) { - $elem880 = null; - $xfer += $input->readString($elem880); - $this->filters []= $elem880; + $elem887 = null; + $xfer += $input->readString($elem887); + $this->filters []= $elem887; } $xfer += $input->readListEnd(); } else { @@ -33985,9 +34059,9 @@ class GetPartitionsFilterSpec { { $output->writeListBegin(TType::STRING, count($this->filters)); { - foreach ($this->filters as $iter881) + foreach ($this->filters as $iter888) { - $xfer += $output->writeString($iter881); + $xfer += $output->writeString($iter888); } } $output->writeListEnd(); @@ -34052,15 +34126,15 @@ class GetPartitionsResponse { case 1: if ($ftype == TType::LST) { $this->partitionSpec = array(); - $_size882 = 0; - $_etype885 = 0; - $xfer += $input->readListBegin($_etype885, $_size882); - for ($_i886 = 0; $_i886 < $_size882; ++$_i886) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem887 = null; - $elem887 = new \metastore\PartitionSpec(); - $xfer += $elem887->read($input); - $this->partitionSpec []= $elem887; + $elem894 = null; + $elem894 = new \metastore\PartitionSpec(); + $xfer += $elem894->read($input); + $this->partitionSpec []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -34088,9 +34162,9 @@ class GetPartitionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->partitionSpec)); { - foreach ($this->partitionSpec as $iter888) + foreach ($this->partitionSpec as $iter895) { - $xfer += $iter888->write($output); + $xfer += $iter895->write($output); } } $output->writeListEnd(); @@ -34268,14 +34342,14 @@ class GetPartitionsRequest { case 6: if ($ftype == TType::LST) { $this->groupNames = array(); - $_size889 = 0; - $_etype892 = 0; - $xfer += $input->readListBegin($_etype892, $_size889); - for ($_i893 = 0; $_i893 < $_size889; ++$_i893) + $_size896 = 0; + $_etype899 = 0; + $xfer += $input->readListBegin($_etype899, $_size896); + for ($_i900 = 0; $_i900 < $_size896; ++$_i900) { - $elem894 = null; - $xfer += $input->readString($elem894); - $this->groupNames []= $elem894; + $elem901 = null; + $xfer += $input->readString($elem901); + $this->groupNames []= $elem901; } $xfer += $input->readListEnd(); } else { @@ -34344,9 +34418,9 @@ class GetPartitionsRequest { { $output->writeListBegin(TType::STRING, count($this->groupNames)); { - foreach ($this->groupNames as $iter895) + foreach ($this->groupNames as $iter902) { - $xfer += $output->writeString($iter895); + $xfer += $output->writeString($iter902); } } $output->writeListEnd(); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 37db81ff73..fb7a0e78ef 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -16953,10 +16953,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype896, _size893) = iprot.readListBegin() - for _i897 in xrange(_size893): - _elem898 = iprot.readString() - self.success.append(_elem898) + (_etype903, _size900) = iprot.readListBegin() + for _i904 in xrange(_size900): + _elem905 = iprot.readString() + self.success.append(_elem905) iprot.readListEnd() else: iprot.skip(ftype) @@ -16979,8 +16979,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 iter899 in self.success: - oprot.writeString(iter899) + for iter906 in self.success: + oprot.writeString(iter906) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17085,10 +17085,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype903, _size900) = iprot.readListBegin() - for _i904 in xrange(_size900): - _elem905 = iprot.readString() - self.success.append(_elem905) + (_etype910, _size907) = iprot.readListBegin() + for _i911 in xrange(_size907): + _elem912 = iprot.readString() + self.success.append(_elem912) iprot.readListEnd() else: iprot.skip(ftype) @@ -17111,8 +17111,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 iter906 in self.success: - oprot.writeString(iter906) + for iter913 in self.success: + oprot.writeString(iter913) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17882,12 +17882,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype908, _vtype909, _size907 ) = iprot.readMapBegin() - for _i911 in xrange(_size907): - _key912 = iprot.readString() - _val913 = Type() - _val913.read(iprot) - self.success[_key912] = _val913 + (_ktype915, _vtype916, _size914 ) = iprot.readMapBegin() + for _i918 in xrange(_size914): + _key919 = iprot.readString() + _val920 = Type() + _val920.read(iprot) + self.success[_key919] = _val920 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17910,9 +17910,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 kiter914,viter915 in self.success.items(): - oprot.writeString(kiter914) - viter915.write(oprot) + for kiter921,viter922 in self.success.items(): + oprot.writeString(kiter921) + viter922.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -18055,11 +18055,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = FieldSchema() - _elem921.read(iprot) - self.success.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = FieldSchema() + _elem928.read(iprot) + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -18094,8 +18094,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 iter922 in self.success: - iter922.write(oprot) + for iter929 in self.success: + iter929.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18262,11 +18262,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = FieldSchema() - _elem928.read(iprot) - self.success.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = FieldSchema() + _elem935.read(iprot) + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -18301,8 +18301,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 iter929 in self.success: - iter929.write(oprot) + for iter936 in self.success: + iter936.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18455,11 +18455,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = FieldSchema() - _elem935.read(iprot) - self.success.append(_elem935) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = FieldSchema() + _elem942.read(iprot) + self.success.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -18494,8 +18494,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 iter936 in self.success: - iter936.write(oprot) + for iter943 in self.success: + iter943.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18662,11 +18662,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = FieldSchema() - _elem942.read(iprot) - self.success.append(_elem942) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = FieldSchema() + _elem949.read(iprot) + self.success.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -18701,8 +18701,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 iter943 in self.success: - iter943.write(oprot) + for iter950 in self.success: + iter950.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19155,66 +19155,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = SQLPrimaryKey() - _elem949.read(iprot) - self.primaryKeys.append(_elem949) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = SQLPrimaryKey() + _elem956.read(iprot) + self.primaryKeys.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype953, _size950) = iprot.readListBegin() - for _i954 in xrange(_size950): - _elem955 = SQLForeignKey() - _elem955.read(iprot) - self.foreignKeys.append(_elem955) + (_etype960, _size957) = iprot.readListBegin() + for _i961 in xrange(_size957): + _elem962 = SQLForeignKey() + _elem962.read(iprot) + self.foreignKeys.append(_elem962) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype959, _size956) = iprot.readListBegin() - for _i960 in xrange(_size956): - _elem961 = SQLUniqueConstraint() - _elem961.read(iprot) - self.uniqueConstraints.append(_elem961) + (_etype966, _size963) = iprot.readListBegin() + for _i967 in xrange(_size963): + _elem968 = SQLUniqueConstraint() + _elem968.read(iprot) + self.uniqueConstraints.append(_elem968) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype965, _size962) = iprot.readListBegin() - for _i966 in xrange(_size962): - _elem967 = SQLNotNullConstraint() - _elem967.read(iprot) - self.notNullConstraints.append(_elem967) + (_etype972, _size969) = iprot.readListBegin() + for _i973 in xrange(_size969): + _elem974 = SQLNotNullConstraint() + _elem974.read(iprot) + self.notNullConstraints.append(_elem974) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype971, _size968) = iprot.readListBegin() - for _i972 in xrange(_size968): - _elem973 = SQLDefaultConstraint() - _elem973.read(iprot) - self.defaultConstraints.append(_elem973) + (_etype978, _size975) = iprot.readListBegin() + for _i979 in xrange(_size975): + _elem980 = SQLDefaultConstraint() + _elem980.read(iprot) + self.defaultConstraints.append(_elem980) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = SQLCheckConstraint() - _elem979.read(iprot) - self.checkConstraints.append(_elem979) + (_etype984, _size981) = iprot.readListBegin() + for _i985 in xrange(_size981): + _elem986 = SQLCheckConstraint() + _elem986.read(iprot) + self.checkConstraints.append(_elem986) iprot.readListEnd() else: iprot.skip(ftype) @@ -19235,43 +19235,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 iter980 in self.primaryKeys: - iter980.write(oprot) + for iter987 in self.primaryKeys: + iter987.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 iter981 in self.foreignKeys: - iter981.write(oprot) + for iter988 in self.foreignKeys: + iter988.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 iter982 in self.uniqueConstraints: - iter982.write(oprot) + for iter989 in self.uniqueConstraints: + iter989.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 iter983 in self.notNullConstraints: - iter983.write(oprot) + for iter990 in self.notNullConstraints: + iter990.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 iter984 in self.defaultConstraints: - iter984.write(oprot) + for iter991 in self.defaultConstraints: + iter991.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 iter985 in self.checkConstraints: - iter985.write(oprot) + for iter992 in self.checkConstraints: + iter992.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20831,10 +20831,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype989, _size986) = iprot.readListBegin() - for _i990 in xrange(_size986): - _elem991 = iprot.readString() - self.partNames.append(_elem991) + (_etype996, _size993) = iprot.readListBegin() + for _i997 in xrange(_size993): + _elem998 = iprot.readString() + self.partNames.append(_elem998) iprot.readListEnd() else: iprot.skip(ftype) @@ -20859,8 +20859,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 iter992 in self.partNames: - oprot.writeString(iter992) + for iter999 in self.partNames: + oprot.writeString(iter999) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21205,10 +21205,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype996, _size993) = iprot.readListBegin() - for _i997 in xrange(_size993): - _elem998 = iprot.readString() - self.success.append(_elem998) + (_etype1003, _size1000) = iprot.readListBegin() + for _i1004 in xrange(_size1000): + _elem1005 = iprot.readString() + self.success.append(_elem1005) iprot.readListEnd() else: iprot.skip(ftype) @@ -21231,8 +21231,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 iter999 in self.success: - oprot.writeString(iter999) + for iter1006 in self.success: + oprot.writeString(iter1006) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21382,10 +21382,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1003, _size1000) = iprot.readListBegin() - for _i1004 in xrange(_size1000): - _elem1005 = iprot.readString() - self.success.append(_elem1005) + (_etype1010, _size1007) = iprot.readListBegin() + for _i1011 in xrange(_size1007): + _elem1012 = iprot.readString() + self.success.append(_elem1012) iprot.readListEnd() else: iprot.skip(ftype) @@ -21408,8 +21408,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 iter1006 in self.success: - oprot.writeString(iter1006) + for iter1013 in self.success: + oprot.writeString(iter1013) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21533,10 +21533,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1010, _size1007) = iprot.readListBegin() - for _i1011 in xrange(_size1007): - _elem1012 = iprot.readString() - self.success.append(_elem1012) + (_etype1017, _size1014) = iprot.readListBegin() + for _i1018 in xrange(_size1014): + _elem1019 = iprot.readString() + self.success.append(_elem1019) iprot.readListEnd() else: iprot.skip(ftype) @@ -21559,8 +21559,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 iter1013 in self.success: - oprot.writeString(iter1013) + for iter1020 in self.success: + oprot.writeString(iter1020) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21633,10 +21633,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype1017, _size1014) = iprot.readListBegin() - for _i1018 in xrange(_size1014): - _elem1019 = iprot.readString() - self.tbl_types.append(_elem1019) + (_etype1024, _size1021) = iprot.readListBegin() + for _i1025 in xrange(_size1021): + _elem1026 = iprot.readString() + self.tbl_types.append(_elem1026) iprot.readListEnd() else: iprot.skip(ftype) @@ -21661,8 +21661,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 iter1020 in self.tbl_types: - oprot.writeString(iter1020) + for iter1027 in self.tbl_types: + oprot.writeString(iter1027) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21718,11 +21718,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1024, _size1021) = iprot.readListBegin() - for _i1025 in xrange(_size1021): - _elem1026 = TableMeta() - _elem1026.read(iprot) - self.success.append(_elem1026) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in xrange(_size1028): + _elem1033 = TableMeta() + _elem1033.read(iprot) + self.success.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) @@ -21745,8 +21745,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 iter1027 in self.success: - iter1027.write(oprot) + for iter1034 in self.success: + iter1034.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21870,10 +21870,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1031, _size1028) = iprot.readListBegin() - for _i1032 in xrange(_size1028): - _elem1033 = iprot.readString() - self.success.append(_elem1033) + (_etype1038, _size1035) = iprot.readListBegin() + for _i1039 in xrange(_size1035): + _elem1040 = iprot.readString() + self.success.append(_elem1040) iprot.readListEnd() else: iprot.skip(ftype) @@ -21896,8 +21896,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 iter1034 in self.success: - oprot.writeString(iter1034) + for iter1041 in self.success: + oprot.writeString(iter1041) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22133,10 +22133,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype1038, _size1035) = iprot.readListBegin() - for _i1039 in xrange(_size1035): - _elem1040 = iprot.readString() - self.tbl_names.append(_elem1040) + (_etype1045, _size1042) = iprot.readListBegin() + for _i1046 in xrange(_size1042): + _elem1047 = iprot.readString() + self.tbl_names.append(_elem1047) iprot.readListEnd() else: iprot.skip(ftype) @@ -22157,8 +22157,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 iter1041 in self.tbl_names: - oprot.writeString(iter1041) + for iter1048 in self.tbl_names: + oprot.writeString(iter1048) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22210,11 +22210,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1045, _size1042) = iprot.readListBegin() - for _i1046 in xrange(_size1042): - _elem1047 = Table() - _elem1047.read(iprot) - self.success.append(_elem1047) + (_etype1052, _size1049) = iprot.readListBegin() + for _i1053 in xrange(_size1049): + _elem1054 = Table() + _elem1054.read(iprot) + self.success.append(_elem1054) iprot.readListEnd() else: iprot.skip(ftype) @@ -22231,8 +22231,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 iter1048 in self.success: - iter1048.write(oprot) + for iter1055 in self.success: + iter1055.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23100,10 +23100,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1052, _size1049) = iprot.readListBegin() - for _i1053 in xrange(_size1049): - _elem1054 = iprot.readString() - self.success.append(_elem1054) + (_etype1059, _size1056) = iprot.readListBegin() + for _i1060 in xrange(_size1056): + _elem1061 = iprot.readString() + self.success.append(_elem1061) iprot.readListEnd() else: iprot.skip(ftype) @@ -23138,8 +23138,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 iter1055 in self.success: - oprot.writeString(iter1055) + for iter1062 in self.success: + oprot.writeString(iter1062) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24268,11 +24268,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1059, _size1056) = iprot.readListBegin() - for _i1060 in xrange(_size1056): - _elem1061 = Partition() - _elem1061.read(iprot) - self.new_parts.append(_elem1061) + (_etype1066, _size1063) = iprot.readListBegin() + for _i1067 in xrange(_size1063): + _elem1068 = Partition() + _elem1068.read(iprot) + self.new_parts.append(_elem1068) iprot.readListEnd() else: iprot.skip(ftype) @@ -24289,8 +24289,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 iter1062 in self.new_parts: - iter1062.write(oprot) + for iter1069 in self.new_parts: + iter1069.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24448,11 +24448,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1066, _size1063) = iprot.readListBegin() - for _i1067 in xrange(_size1063): - _elem1068 = PartitionSpec() - _elem1068.read(iprot) - self.new_parts.append(_elem1068) + (_etype1073, _size1070) = iprot.readListBegin() + for _i1074 in xrange(_size1070): + _elem1075 = PartitionSpec() + _elem1075.read(iprot) + self.new_parts.append(_elem1075) iprot.readListEnd() else: iprot.skip(ftype) @@ -24469,8 +24469,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 iter1069 in self.new_parts: - iter1069.write(oprot) + for iter1076 in self.new_parts: + iter1076.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24644,10 +24644,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1073, _size1070) = iprot.readListBegin() - for _i1074 in xrange(_size1070): - _elem1075 = iprot.readString() - self.part_vals.append(_elem1075) + (_etype1080, _size1077) = iprot.readListBegin() + for _i1081 in xrange(_size1077): + _elem1082 = iprot.readString() + self.part_vals.append(_elem1082) iprot.readListEnd() else: iprot.skip(ftype) @@ -24672,8 +24672,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 iter1076 in self.part_vals: - oprot.writeString(iter1076) + for iter1083 in self.part_vals: + oprot.writeString(iter1083) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25026,10 +25026,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1080, _size1077) = iprot.readListBegin() - for _i1081 in xrange(_size1077): - _elem1082 = iprot.readString() - self.part_vals.append(_elem1082) + (_etype1087, _size1084) = iprot.readListBegin() + for _i1088 in xrange(_size1084): + _elem1089 = iprot.readString() + self.part_vals.append(_elem1089) iprot.readListEnd() else: iprot.skip(ftype) @@ -25060,8 +25060,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 iter1083 in self.part_vals: - oprot.writeString(iter1083) + for iter1090 in self.part_vals: + oprot.writeString(iter1090) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -25656,10 +25656,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1087, _size1084) = iprot.readListBegin() - for _i1088 in xrange(_size1084): - _elem1089 = iprot.readString() - self.part_vals.append(_elem1089) + (_etype1094, _size1091) = iprot.readListBegin() + for _i1095 in xrange(_size1091): + _elem1096 = iprot.readString() + self.part_vals.append(_elem1096) iprot.readListEnd() else: iprot.skip(ftype) @@ -25689,8 +25689,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 iter1090 in self.part_vals: - oprot.writeString(iter1090) + for iter1097 in self.part_vals: + oprot.writeString(iter1097) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -25863,10 +25863,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1094, _size1091) = iprot.readListBegin() - for _i1095 in xrange(_size1091): - _elem1096 = iprot.readString() - self.part_vals.append(_elem1096) + (_etype1101, _size1098) = iprot.readListBegin() + for _i1102 in xrange(_size1098): + _elem1103 = iprot.readString() + self.part_vals.append(_elem1103) iprot.readListEnd() else: iprot.skip(ftype) @@ -25902,8 +25902,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 iter1097 in self.part_vals: - oprot.writeString(iter1097) + for iter1104 in self.part_vals: + oprot.writeString(iter1104) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -26640,10 +26640,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1101, _size1098) = iprot.readListBegin() - for _i1102 in xrange(_size1098): - _elem1103 = iprot.readString() - self.part_vals.append(_elem1103) + (_etype1108, _size1105) = iprot.readListBegin() + for _i1109 in xrange(_size1105): + _elem1110 = iprot.readString() + self.part_vals.append(_elem1110) iprot.readListEnd() else: iprot.skip(ftype) @@ -26668,8 +26668,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 iter1104 in self.part_vals: - oprot.writeString(iter1104) + for iter1111 in self.part_vals: + oprot.writeString(iter1111) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26828,11 +26828,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1106, _vtype1107, _size1105 ) = iprot.readMapBegin() - for _i1109 in xrange(_size1105): - _key1110 = iprot.readString() - _val1111 = iprot.readString() - self.partitionSpecs[_key1110] = _val1111 + (_ktype1113, _vtype1114, _size1112 ) = iprot.readMapBegin() + for _i1116 in xrange(_size1112): + _key1117 = iprot.readString() + _val1118 = iprot.readString() + self.partitionSpecs[_key1117] = _val1118 iprot.readMapEnd() else: iprot.skip(ftype) @@ -26869,9 +26869,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 kiter1112,viter1113 in self.partitionSpecs.items(): - oprot.writeString(kiter1112) - oprot.writeString(viter1113) + for kiter1119,viter1120 in self.partitionSpecs.items(): + oprot.writeString(kiter1119) + oprot.writeString(viter1120) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -27076,11 +27076,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1115, _vtype1116, _size1114 ) = iprot.readMapBegin() - for _i1118 in xrange(_size1114): - _key1119 = iprot.readString() - _val1120 = iprot.readString() - self.partitionSpecs[_key1119] = _val1120 + (_ktype1122, _vtype1123, _size1121 ) = iprot.readMapBegin() + for _i1125 in xrange(_size1121): + _key1126 = iprot.readString() + _val1127 = iprot.readString() + self.partitionSpecs[_key1126] = _val1127 iprot.readMapEnd() else: iprot.skip(ftype) @@ -27117,9 +27117,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 kiter1121,viter1122 in self.partitionSpecs.items(): - oprot.writeString(kiter1121) - oprot.writeString(viter1122) + for kiter1128,viter1129 in self.partitionSpecs.items(): + oprot.writeString(kiter1128) + oprot.writeString(viter1129) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -27202,11 +27202,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1126, _size1123) = iprot.readListBegin() - for _i1127 in xrange(_size1123): - _elem1128 = Partition() - _elem1128.read(iprot) - self.success.append(_elem1128) + (_etype1133, _size1130) = iprot.readListBegin() + for _i1134 in xrange(_size1130): + _elem1135 = Partition() + _elem1135.read(iprot) + self.success.append(_elem1135) iprot.readListEnd() else: iprot.skip(ftype) @@ -27247,8 +27247,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 iter1129 in self.success: - iter1129.write(oprot) + for iter1136 in self.success: + iter1136.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27342,10 +27342,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1133, _size1130) = iprot.readListBegin() - for _i1134 in xrange(_size1130): - _elem1135 = iprot.readString() - self.part_vals.append(_elem1135) + (_etype1140, _size1137) = iprot.readListBegin() + for _i1141 in xrange(_size1137): + _elem1142 = iprot.readString() + self.part_vals.append(_elem1142) iprot.readListEnd() else: iprot.skip(ftype) @@ -27357,10 +27357,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1139, _size1136) = iprot.readListBegin() - for _i1140 in xrange(_size1136): - _elem1141 = iprot.readString() - self.group_names.append(_elem1141) + (_etype1146, _size1143) = iprot.readListBegin() + for _i1147 in xrange(_size1143): + _elem1148 = iprot.readString() + self.group_names.append(_elem1148) iprot.readListEnd() else: iprot.skip(ftype) @@ -27385,8 +27385,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 iter1142 in self.part_vals: - oprot.writeString(iter1142) + for iter1149 in self.part_vals: + oprot.writeString(iter1149) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -27396,8 +27396,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 iter1143 in self.group_names: - oprot.writeString(iter1143) + for iter1150 in self.group_names: + oprot.writeString(iter1150) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27826,11 +27826,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1147, _size1144) = iprot.readListBegin() - for _i1148 in xrange(_size1144): - _elem1149 = Partition() - _elem1149.read(iprot) - self.success.append(_elem1149) + (_etype1154, _size1151) = iprot.readListBegin() + for _i1155 in xrange(_size1151): + _elem1156 = Partition() + _elem1156.read(iprot) + self.success.append(_elem1156) iprot.readListEnd() else: iprot.skip(ftype) @@ -27859,8 +27859,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 iter1150 in self.success: - iter1150.write(oprot) + for iter1157 in self.success: + iter1157.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27954,10 +27954,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1154, _size1151) = iprot.readListBegin() - for _i1155 in xrange(_size1151): - _elem1156 = iprot.readString() - self.group_names.append(_elem1156) + (_etype1161, _size1158) = iprot.readListBegin() + for _i1162 in xrange(_size1158): + _elem1163 = iprot.readString() + self.group_names.append(_elem1163) iprot.readListEnd() else: iprot.skip(ftype) @@ -27990,8 +27990,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 iter1157 in self.group_names: - oprot.writeString(iter1157) + for iter1164 in self.group_names: + oprot.writeString(iter1164) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28052,11 +28052,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1161, _size1158) = iprot.readListBegin() - for _i1162 in xrange(_size1158): - _elem1163 = Partition() - _elem1163.read(iprot) - self.success.append(_elem1163) + (_etype1168, _size1165) = iprot.readListBegin() + for _i1169 in xrange(_size1165): + _elem1170 = Partition() + _elem1170.read(iprot) + self.success.append(_elem1170) iprot.readListEnd() else: iprot.skip(ftype) @@ -28085,8 +28085,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 iter1164 in self.success: - iter1164.write(oprot) + for iter1171 in self.success: + iter1171.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28244,11 +28244,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1168, _size1165) = iprot.readListBegin() - for _i1169 in xrange(_size1165): - _elem1170 = PartitionSpec() - _elem1170.read(iprot) - self.success.append(_elem1170) + (_etype1175, _size1172) = iprot.readListBegin() + for _i1176 in xrange(_size1172): + _elem1177 = PartitionSpec() + _elem1177.read(iprot) + self.success.append(_elem1177) iprot.readListEnd() else: iprot.skip(ftype) @@ -28277,8 +28277,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 iter1171 in self.success: - iter1171.write(oprot) + for iter1178 in self.success: + iter1178.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28436,10 +28436,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1175, _size1172) = iprot.readListBegin() - for _i1176 in xrange(_size1172): - _elem1177 = iprot.readString() - self.success.append(_elem1177) + (_etype1182, _size1179) = iprot.readListBegin() + for _i1183 in xrange(_size1179): + _elem1184 = iprot.readString() + self.success.append(_elem1184) iprot.readListEnd() else: iprot.skip(ftype) @@ -28468,8 +28468,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 iter1178 in self.success: - oprot.writeString(iter1178) + for iter1185 in self.success: + oprot.writeString(iter1185) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28709,10 +28709,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1182, _size1179) = iprot.readListBegin() - for _i1183 in xrange(_size1179): - _elem1184 = iprot.readString() - self.part_vals.append(_elem1184) + (_etype1189, _size1186) = iprot.readListBegin() + for _i1190 in xrange(_size1186): + _elem1191 = iprot.readString() + self.part_vals.append(_elem1191) iprot.readListEnd() else: iprot.skip(ftype) @@ -28742,8 +28742,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 iter1185 in self.part_vals: - oprot.writeString(iter1185) + for iter1192 in self.part_vals: + oprot.writeString(iter1192) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28807,11 +28807,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1189, _size1186) = iprot.readListBegin() - for _i1190 in xrange(_size1186): - _elem1191 = Partition() - _elem1191.read(iprot) - self.success.append(_elem1191) + (_etype1196, _size1193) = iprot.readListBegin() + for _i1197 in xrange(_size1193): + _elem1198 = Partition() + _elem1198.read(iprot) + self.success.append(_elem1198) iprot.readListEnd() else: iprot.skip(ftype) @@ -28840,8 +28840,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 iter1192 in self.success: - iter1192.write(oprot) + for iter1199 in self.success: + iter1199.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28928,10 +28928,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1196, _size1193) = iprot.readListBegin() - for _i1197 in xrange(_size1193): - _elem1198 = iprot.readString() - self.part_vals.append(_elem1198) + (_etype1203, _size1200) = iprot.readListBegin() + for _i1204 in xrange(_size1200): + _elem1205 = iprot.readString() + self.part_vals.append(_elem1205) iprot.readListEnd() else: iprot.skip(ftype) @@ -28948,10 +28948,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1202, _size1199) = iprot.readListBegin() - for _i1203 in xrange(_size1199): - _elem1204 = iprot.readString() - self.group_names.append(_elem1204) + (_etype1209, _size1206) = iprot.readListBegin() + for _i1210 in xrange(_size1206): + _elem1211 = iprot.readString() + self.group_names.append(_elem1211) iprot.readListEnd() else: iprot.skip(ftype) @@ -28976,8 +28976,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 iter1205 in self.part_vals: - oprot.writeString(iter1205) + for iter1212 in self.part_vals: + oprot.writeString(iter1212) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28991,8 +28991,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 iter1206 in self.group_names: - oprot.writeString(iter1206) + for iter1213 in self.group_names: + oprot.writeString(iter1213) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29054,11 +29054,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1210, _size1207) = iprot.readListBegin() - for _i1211 in xrange(_size1207): - _elem1212 = Partition() - _elem1212.read(iprot) - self.success.append(_elem1212) + (_etype1217, _size1214) = iprot.readListBegin() + for _i1218 in xrange(_size1214): + _elem1219 = Partition() + _elem1219.read(iprot) + self.success.append(_elem1219) iprot.readListEnd() else: iprot.skip(ftype) @@ -29087,8 +29087,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 iter1213 in self.success: - iter1213.write(oprot) + for iter1220 in self.success: + iter1220.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29169,10 +29169,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1217, _size1214) = iprot.readListBegin() - for _i1218 in xrange(_size1214): - _elem1219 = iprot.readString() - self.part_vals.append(_elem1219) + (_etype1224, _size1221) = iprot.readListBegin() + for _i1225 in xrange(_size1221): + _elem1226 = iprot.readString() + self.part_vals.append(_elem1226) iprot.readListEnd() else: iprot.skip(ftype) @@ -29202,8 +29202,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 iter1220 in self.part_vals: - oprot.writeString(iter1220) + for iter1227 in self.part_vals: + oprot.writeString(iter1227) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -29267,10 +29267,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1224, _size1221) = iprot.readListBegin() - for _i1225 in xrange(_size1221): - _elem1226 = iprot.readString() - self.success.append(_elem1226) + (_etype1231, _size1228) = iprot.readListBegin() + for _i1232 in xrange(_size1228): + _elem1233 = iprot.readString() + self.success.append(_elem1233) iprot.readListEnd() else: iprot.skip(ftype) @@ -29299,8 +29299,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 iter1227 in self.success: - oprot.writeString(iter1227) + for iter1234 in self.success: + oprot.writeString(iter1234) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29471,11 +29471,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1231, _size1228) = iprot.readListBegin() - for _i1232 in xrange(_size1228): - _elem1233 = Partition() - _elem1233.read(iprot) - self.success.append(_elem1233) + (_etype1238, _size1235) = iprot.readListBegin() + for _i1239 in xrange(_size1235): + _elem1240 = Partition() + _elem1240.read(iprot) + self.success.append(_elem1240) iprot.readListEnd() else: iprot.skip(ftype) @@ -29504,8 +29504,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 iter1234 in self.success: - iter1234.write(oprot) + for iter1241 in self.success: + iter1241.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29676,11 +29676,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1238, _size1235) = iprot.readListBegin() - for _i1239 in xrange(_size1235): - _elem1240 = PartitionSpec() - _elem1240.read(iprot) - self.success.append(_elem1240) + (_etype1245, _size1242) = iprot.readListBegin() + for _i1246 in xrange(_size1242): + _elem1247 = PartitionSpec() + _elem1247.read(iprot) + self.success.append(_elem1247) iprot.readListEnd() else: iprot.skip(ftype) @@ -29709,8 +29709,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 iter1241 in self.success: - iter1241.write(oprot) + for iter1248 in self.success: + iter1248.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30130,10 +30130,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1245, _size1242) = iprot.readListBegin() - for _i1246 in xrange(_size1242): - _elem1247 = iprot.readString() - self.names.append(_elem1247) + (_etype1252, _size1249) = iprot.readListBegin() + for _i1253 in xrange(_size1249): + _elem1254 = iprot.readString() + self.names.append(_elem1254) iprot.readListEnd() else: iprot.skip(ftype) @@ -30158,8 +30158,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 iter1248 in self.names: - oprot.writeString(iter1248) + for iter1255 in self.names: + oprot.writeString(iter1255) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30218,11 +30218,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1252, _size1249) = iprot.readListBegin() - for _i1253 in xrange(_size1249): - _elem1254 = Partition() - _elem1254.read(iprot) - self.success.append(_elem1254) + (_etype1259, _size1256) = iprot.readListBegin() + for _i1260 in xrange(_size1256): + _elem1261 = Partition() + _elem1261.read(iprot) + self.success.append(_elem1261) iprot.readListEnd() else: iprot.skip(ftype) @@ -30251,8 +30251,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 iter1255 in self.success: - iter1255.write(oprot) + for iter1262 in self.success: + iter1262.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30502,11 +30502,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1259, _size1256) = iprot.readListBegin() - for _i1260 in xrange(_size1256): - _elem1261 = Partition() - _elem1261.read(iprot) - self.new_parts.append(_elem1261) + (_etype1266, _size1263) = iprot.readListBegin() + for _i1267 in xrange(_size1263): + _elem1268 = Partition() + _elem1268.read(iprot) + self.new_parts.append(_elem1268) iprot.readListEnd() else: iprot.skip(ftype) @@ -30531,8 +30531,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 iter1262 in self.new_parts: - iter1262.write(oprot) + for iter1269 in self.new_parts: + iter1269.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30685,11 +30685,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1266, _size1263) = iprot.readListBegin() - for _i1267 in xrange(_size1263): - _elem1268 = Partition() - _elem1268.read(iprot) - self.new_parts.append(_elem1268) + (_etype1273, _size1270) = iprot.readListBegin() + for _i1274 in xrange(_size1270): + _elem1275 = Partition() + _elem1275.read(iprot) + self.new_parts.append(_elem1275) iprot.readListEnd() else: iprot.skip(ftype) @@ -30720,8 +30720,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 iter1269 in self.new_parts: - iter1269.write(oprot) + for iter1276 in self.new_parts: + iter1276.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -31224,10 +31224,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1273, _size1270) = iprot.readListBegin() - for _i1274 in xrange(_size1270): - _elem1275 = iprot.readString() - self.part_vals.append(_elem1275) + (_etype1280, _size1277) = iprot.readListBegin() + for _i1281 in xrange(_size1277): + _elem1282 = iprot.readString() + self.part_vals.append(_elem1282) iprot.readListEnd() else: iprot.skip(ftype) @@ -31258,8 +31258,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 iter1276 in self.part_vals: - oprot.writeString(iter1276) + for iter1283 in self.part_vals: + oprot.writeString(iter1283) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -31560,10 +31560,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1280, _size1277) = iprot.readListBegin() - for _i1281 in xrange(_size1277): - _elem1282 = iprot.readString() - self.part_vals.append(_elem1282) + (_etype1287, _size1284) = iprot.readListBegin() + for _i1288 in xrange(_size1284): + _elem1289 = iprot.readString() + self.part_vals.append(_elem1289) iprot.readListEnd() else: iprot.skip(ftype) @@ -31585,8 +31585,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 iter1283 in self.part_vals: - oprot.writeString(iter1283) + for iter1290 in self.part_vals: + oprot.writeString(iter1290) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -31944,10 +31944,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1287, _size1284) = iprot.readListBegin() - for _i1288 in xrange(_size1284): - _elem1289 = iprot.readString() - self.success.append(_elem1289) + (_etype1294, _size1291) = iprot.readListBegin() + for _i1295 in xrange(_size1291): + _elem1296 = iprot.readString() + self.success.append(_elem1296) iprot.readListEnd() else: iprot.skip(ftype) @@ -31970,8 +31970,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 iter1290 in self.success: - oprot.writeString(iter1290) + for iter1297 in self.success: + oprot.writeString(iter1297) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32095,11 +32095,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1292, _vtype1293, _size1291 ) = iprot.readMapBegin() - for _i1295 in xrange(_size1291): - _key1296 = iprot.readString() - _val1297 = iprot.readString() - self.success[_key1296] = _val1297 + (_ktype1299, _vtype1300, _size1298 ) = iprot.readMapBegin() + for _i1302 in xrange(_size1298): + _key1303 = iprot.readString() + _val1304 = iprot.readString() + self.success[_key1303] = _val1304 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32122,9 +32122,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 kiter1298,viter1299 in self.success.items(): - oprot.writeString(kiter1298) - oprot.writeString(viter1299) + for kiter1305,viter1306 in self.success.items(): + oprot.writeString(kiter1305) + oprot.writeString(viter1306) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32200,11 +32200,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1301, _vtype1302, _size1300 ) = iprot.readMapBegin() - for _i1304 in xrange(_size1300): - _key1305 = iprot.readString() - _val1306 = iprot.readString() - self.part_vals[_key1305] = _val1306 + (_ktype1308, _vtype1309, _size1307 ) = iprot.readMapBegin() + for _i1311 in xrange(_size1307): + _key1312 = iprot.readString() + _val1313 = iprot.readString() + self.part_vals[_key1312] = _val1313 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32234,9 +32234,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 kiter1307,viter1308 in self.part_vals.items(): - oprot.writeString(kiter1307) - oprot.writeString(viter1308) + for kiter1314,viter1315 in self.part_vals.items(): + oprot.writeString(kiter1314) + oprot.writeString(viter1315) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -32450,11 +32450,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1310, _vtype1311, _size1309 ) = iprot.readMapBegin() - for _i1313 in xrange(_size1309): - _key1314 = iprot.readString() - _val1315 = iprot.readString() - self.part_vals[_key1314] = _val1315 + (_ktype1317, _vtype1318, _size1316 ) = iprot.readMapBegin() + for _i1320 in xrange(_size1316): + _key1321 = iprot.readString() + _val1322 = iprot.readString() + self.part_vals[_key1321] = _val1322 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32484,9 +32484,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 kiter1316,viter1317 in self.part_vals.items(): - oprot.writeString(kiter1316) - oprot.writeString(viter1317) + for kiter1323,viter1324 in self.part_vals.items(): + oprot.writeString(kiter1323) + oprot.writeString(viter1324) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -36512,10 +36512,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1321, _size1318) = iprot.readListBegin() - for _i1322 in xrange(_size1318): - _elem1323 = iprot.readString() - self.success.append(_elem1323) + (_etype1328, _size1325) = iprot.readListBegin() + for _i1329 in xrange(_size1325): + _elem1330 = iprot.readString() + self.success.append(_elem1330) iprot.readListEnd() else: iprot.skip(ftype) @@ -36538,8 +36538,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 iter1324 in self.success: - oprot.writeString(iter1324) + for iter1331 in self.success: + oprot.writeString(iter1331) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37227,10 +37227,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1328, _size1325) = iprot.readListBegin() - for _i1329 in xrange(_size1325): - _elem1330 = iprot.readString() - self.success.append(_elem1330) + (_etype1335, _size1332) = iprot.readListBegin() + for _i1336 in xrange(_size1332): + _elem1337 = iprot.readString() + self.success.append(_elem1337) iprot.readListEnd() else: iprot.skip(ftype) @@ -37253,8 +37253,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 iter1331 in self.success: - oprot.writeString(iter1331) + for iter1338 in self.success: + oprot.writeString(iter1338) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37768,11 +37768,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1335, _size1332) = iprot.readListBegin() - for _i1336 in xrange(_size1332): - _elem1337 = Role() - _elem1337.read(iprot) - self.success.append(_elem1337) + (_etype1342, _size1339) = iprot.readListBegin() + for _i1343 in xrange(_size1339): + _elem1344 = Role() + _elem1344.read(iprot) + self.success.append(_elem1344) iprot.readListEnd() else: iprot.skip(ftype) @@ -37795,8 +37795,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 iter1338 in self.success: - iter1338.write(oprot) + for iter1345 in self.success: + iter1345.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38305,10 +38305,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1342, _size1339) = iprot.readListBegin() - for _i1343 in xrange(_size1339): - _elem1344 = iprot.readString() - self.group_names.append(_elem1344) + (_etype1349, _size1346) = iprot.readListBegin() + for _i1350 in xrange(_size1346): + _elem1351 = iprot.readString() + self.group_names.append(_elem1351) iprot.readListEnd() else: iprot.skip(ftype) @@ -38333,8 +38333,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 iter1345 in self.group_names: - oprot.writeString(iter1345) + for iter1352 in self.group_names: + oprot.writeString(iter1352) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38561,11 +38561,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1349, _size1346) = iprot.readListBegin() - for _i1350 in xrange(_size1346): - _elem1351 = HiveObjectPrivilege() - _elem1351.read(iprot) - self.success.append(_elem1351) + (_etype1356, _size1353) = iprot.readListBegin() + for _i1357 in xrange(_size1353): + _elem1358 = HiveObjectPrivilege() + _elem1358.read(iprot) + self.success.append(_elem1358) iprot.readListEnd() else: iprot.skip(ftype) @@ -38588,8 +38588,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 iter1352 in self.success: - iter1352.write(oprot) + for iter1359 in self.success: + iter1359.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39259,10 +39259,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1356, _size1353) = iprot.readListBegin() - for _i1357 in xrange(_size1353): - _elem1358 = iprot.readString() - self.group_names.append(_elem1358) + (_etype1363, _size1360) = iprot.readListBegin() + for _i1364 in xrange(_size1360): + _elem1365 = iprot.readString() + self.group_names.append(_elem1365) iprot.readListEnd() else: iprot.skip(ftype) @@ -39283,8 +39283,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 iter1359 in self.group_names: - oprot.writeString(iter1359) + for iter1366 in self.group_names: + oprot.writeString(iter1366) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39339,10 +39339,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1363, _size1360) = iprot.readListBegin() - for _i1364 in xrange(_size1360): - _elem1365 = iprot.readString() - self.success.append(_elem1365) + (_etype1370, _size1367) = iprot.readListBegin() + for _i1371 in xrange(_size1367): + _elem1372 = iprot.readString() + self.success.append(_elem1372) iprot.readListEnd() else: iprot.skip(ftype) @@ -39365,8 +39365,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 iter1366 in self.success: - oprot.writeString(iter1366) + for iter1373 in self.success: + oprot.writeString(iter1373) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -40298,10 +40298,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1370, _size1367) = iprot.readListBegin() - for _i1371 in xrange(_size1367): - _elem1372 = iprot.readString() - self.success.append(_elem1372) + (_etype1377, _size1374) = iprot.readListBegin() + for _i1378 in xrange(_size1374): + _elem1379 = iprot.readString() + self.success.append(_elem1379) iprot.readListEnd() else: iprot.skip(ftype) @@ -40318,8 +40318,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 iter1373 in self.success: - oprot.writeString(iter1373) + for iter1380 in self.success: + oprot.writeString(iter1380) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -40846,10 +40846,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1377, _size1374) = iprot.readListBegin() - for _i1378 in xrange(_size1374): - _elem1379 = iprot.readString() - self.success.append(_elem1379) + (_etype1384, _size1381) = iprot.readListBegin() + for _i1385 in xrange(_size1381): + _elem1386 = iprot.readString() + self.success.append(_elem1386) iprot.readListEnd() else: iprot.skip(ftype) @@ -40866,8 +40866,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 iter1380 in self.success: - oprot.writeString(iter1380) + for iter1387 in self.success: + oprot.writeString(iter1387) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -43880,10 +43880,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1384, _size1381) = iprot.readListBegin() - for _i1385 in xrange(_size1381): - _elem1386 = iprot.readString() - self.success.append(_elem1386) + (_etype1391, _size1388) = iprot.readListBegin() + for _i1392 in xrange(_size1388): + _elem1393 = iprot.readString() + self.success.append(_elem1393) iprot.readListEnd() else: iprot.skip(ftype) @@ -43900,8 +43900,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 iter1387 in self.success: - oprot.writeString(iter1387) + for iter1394 in self.success: + oprot.writeString(iter1394) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -50211,11 +50211,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1391, _size1388) = iprot.readListBegin() - for _i1392 in xrange(_size1388): - _elem1393 = SchemaVersion() - _elem1393.read(iprot) - self.success.append(_elem1393) + (_etype1398, _size1395) = iprot.readListBegin() + for _i1399 in xrange(_size1395): + _elem1400 = SchemaVersion() + _elem1400.read(iprot) + self.success.append(_elem1400) iprot.readListEnd() else: iprot.skip(ftype) @@ -50244,8 +50244,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 iter1394 in self.success: - iter1394.write(oprot) + for iter1401 in self.success: + iter1401.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -51720,11 +51720,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1398, _size1395) = iprot.readListBegin() - for _i1399 in xrange(_size1395): - _elem1400 = RuntimeStat() - _elem1400.read(iprot) - self.success.append(_elem1400) + (_etype1405, _size1402) = iprot.readListBegin() + for _i1406 in xrange(_size1402): + _elem1407 = RuntimeStat() + _elem1407.read(iprot) + self.success.append(_elem1407) iprot.readListEnd() else: iprot.skip(ftype) @@ -51747,8 +51747,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 iter1401 in self.success: - iter1401.write(oprot) + for iter1408 in self.success: + iter1408.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py index f8b862862d..21a8700206 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -143,15 +143,18 @@ class LockType: class CompactionType: MINOR = 1 MAJOR = 2 + CLEAN_ABORTED = 3 _VALUES_TO_NAMES = { 1: "MINOR", 2: "MAJOR", + 3: "CLEAN_ABORTED", } _NAMES_TO_VALUES = { "MINOR": 1, "MAJOR": 2, + "CLEAN_ABORTED": 3, } class GrantRevokeType: @@ -13023,6 +13026,7 @@ class AllocateTableWriteIdsRequest: - txnIds - replPolicy - srcTxnToWriteIdList + - dynamicPartitions """ thrift_spec = ( @@ -13032,14 +13036,16 @@ class AllocateTableWriteIdsRequest: (3, TType.LIST, 'txnIds', (TType.I64,None), None, ), # 3 (4, TType.STRING, 'replPolicy', None, None, ), # 4 (5, TType.LIST, 'srcTxnToWriteIdList', (TType.STRUCT,(TxnToWriteId, TxnToWriteId.thrift_spec)), None, ), # 5 + (6, TType.BOOL, 'dynamicPartitions', None, None, ), # 6 ) - def __init__(self, dbName=None, tableName=None, txnIds=None, replPolicy=None, srcTxnToWriteIdList=None,): + def __init__(self, dbName=None, tableName=None, txnIds=None, replPolicy=None, srcTxnToWriteIdList=None, dynamicPartitions=None,): self.dbName = dbName self.tableName = tableName self.txnIds = txnIds self.replPolicy = replPolicy self.srcTxnToWriteIdList = srcTxnToWriteIdList + self.dynamicPartitions = dynamicPartitions 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: @@ -13086,6 +13092,11 @@ def read(self, iprot): iprot.readListEnd() else: iprot.skip(ftype) + elif fid == 6: + if ftype == TType.BOOL: + self.dynamicPartitions = iprot.readBool() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -13122,6 +13133,10 @@ def write(self, oprot): iter585.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() + if self.dynamicPartitions is not None: + oprot.writeFieldBegin('dynamicPartitions', TType.BOOL, 6) + oprot.writeBool(self.dynamicPartitions) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -13140,6 +13155,7 @@ def __hash__(self): value = (value * 31) ^ hash(self.txnIds) value = (value * 31) ^ hash(self.replPolicy) value = (value * 31) ^ hash(self.srcTxnToWriteIdList) + value = (value * 31) ^ hash(self.dynamicPartitions) return value def __repr__(self): @@ -14784,6 +14800,7 @@ class CompactionInfoStruct: - workerId - start - highestWriteId + - writeIds """ thrift_spec = ( @@ -14800,9 +14817,10 @@ class CompactionInfoStruct: (10, TType.STRING, 'workerId', None, None, ), # 10 (11, TType.I64, 'start', None, None, ), # 11 (12, TType.I64, 'highestWriteId', None, None, ), # 12 + (13, TType.LIST, 'writeIds', (TType.I64,None), None, ), # 13 ) - def __init__(self, id=None, dbname=None, tablename=None, partitionname=None, type=None, runas=None, properties=None, toomanyaborts=None, state=None, workerId=None, start=None, highestWriteId=None,): + def __init__(self, id=None, dbname=None, tablename=None, partitionname=None, type=None, runas=None, properties=None, toomanyaborts=None, state=None, workerId=None, start=None, highestWriteId=None, writeIds=None,): self.id = id self.dbname = dbname self.tablename = tablename @@ -14815,6 +14833,7 @@ def __init__(self, id=None, dbname=None, tablename=None, partitionname=None, typ self.workerId = workerId self.start = start self.highestWriteId = highestWriteId + self.writeIds = writeIds 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: @@ -14885,6 +14904,16 @@ def read(self, iprot): self.highestWriteId = iprot.readI64() else: iprot.skip(ftype) + elif fid == 13: + if ftype == TType.LIST: + self.writeIds = [] + (_etype633, _size630) = iprot.readListBegin() + for _i634 in xrange(_size630): + _elem635 = iprot.readI64() + self.writeIds.append(_elem635) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -14943,6 +14972,13 @@ def write(self, oprot): oprot.writeFieldBegin('highestWriteId', TType.I64, 12) oprot.writeI64(self.highestWriteId) oprot.writeFieldEnd() + if self.writeIds is not None: + oprot.writeFieldBegin('writeIds', TType.LIST, 13) + oprot.writeListBegin(TType.I64, len(self.writeIds)) + for iter636 in self.writeIds: + oprot.writeI64(iter636) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -14972,6 +15008,7 @@ def __hash__(self): value = (value * 31) ^ hash(self.workerId) value = (value * 31) ^ hash(self.start) value = (value * 31) ^ hash(self.highestWriteId) + value = (value * 31) ^ hash(self.writeIds) return value def __repr__(self): @@ -15383,11 +15420,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype633, _size630) = iprot.readListBegin() - for _i634 in xrange(_size630): - _elem635 = ShowCompactResponseElement() - _elem635.read(iprot) - self.compacts.append(_elem635) + (_etype640, _size637) = iprot.readListBegin() + for _i641 in xrange(_size637): + _elem642 = ShowCompactResponseElement() + _elem642.read(iprot) + self.compacts.append(_elem642) iprot.readListEnd() else: iprot.skip(ftype) @@ -15404,8 +15441,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter636 in self.compacts: - iter636.write(oprot) + for iter643 in self.compacts: + iter643.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15494,10 +15531,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype640, _size637) = iprot.readListBegin() - for _i641 in xrange(_size637): - _elem642 = iprot.readString() - self.partitionnames.append(_elem642) + (_etype647, _size644) = iprot.readListBegin() + for _i648 in xrange(_size644): + _elem649 = iprot.readString() + self.partitionnames.append(_elem649) iprot.readListEnd() else: iprot.skip(ftype) @@ -15535,8 +15572,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter643 in self.partitionnames: - oprot.writeString(iter643) + for iter650 in self.partitionnames: + oprot.writeString(iter650) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -15769,10 +15806,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.SET: self.tablesUsed = set() - (_etype647, _size644) = iprot.readSetBegin() - for _i648 in xrange(_size644): - _elem649 = iprot.readString() - self.tablesUsed.add(_elem649) + (_etype654, _size651) = iprot.readSetBegin() + for _i655 in xrange(_size651): + _elem656 = iprot.readString() + self.tablesUsed.add(_elem656) iprot.readSetEnd() else: iprot.skip(ftype) @@ -15811,8 +15848,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 4) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter650 in self.tablesUsed: - oprot.writeString(iter650) + for iter657 in self.tablesUsed: + oprot.writeString(iter657) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -15901,10 +15938,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.eventTypeSkipList = [] - (_etype654, _size651) = iprot.readListBegin() - for _i655 in xrange(_size651): - _elem656 = iprot.readString() - self.eventTypeSkipList.append(_elem656) + (_etype661, _size658) = iprot.readListBegin() + for _i662 in xrange(_size658): + _elem663 = iprot.readString() + self.eventTypeSkipList.append(_elem663) iprot.readListEnd() else: iprot.skip(ftype) @@ -15929,8 +15966,8 @@ def write(self, oprot): if self.eventTypeSkipList is not None: oprot.writeFieldBegin('eventTypeSkipList', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.eventTypeSkipList)) - for iter657 in self.eventTypeSkipList: - oprot.writeString(iter657) + for iter664 in self.eventTypeSkipList: + oprot.writeString(iter664) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16150,11 +16187,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype661, _size658) = iprot.readListBegin() - for _i662 in xrange(_size658): - _elem663 = NotificationEvent() - _elem663.read(iprot) - self.events.append(_elem663) + (_etype668, _size665) = iprot.readListBegin() + for _i669 in xrange(_size665): + _elem670 = NotificationEvent() + _elem670.read(iprot) + self.events.append(_elem670) iprot.readListEnd() else: iprot.skip(ftype) @@ -16171,8 +16208,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter664 in self.events: - iter664.write(oprot) + for iter671 in self.events: + iter671.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16495,30 +16532,30 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype668, _size665) = iprot.readListBegin() - for _i669 in xrange(_size665): - _elem670 = iprot.readString() - self.filesAdded.append(_elem670) + (_etype675, _size672) = iprot.readListBegin() + for _i676 in xrange(_size672): + _elem677 = iprot.readString() + self.filesAdded.append(_elem677) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype674, _size671) = iprot.readListBegin() - for _i675 in xrange(_size671): - _elem676 = iprot.readString() - self.filesAddedChecksum.append(_elem676) + (_etype681, _size678) = iprot.readListBegin() + for _i682 in xrange(_size678): + _elem683 = iprot.readString() + self.filesAddedChecksum.append(_elem683) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.subDirectoryList = [] - (_etype680, _size677) = iprot.readListBegin() - for _i681 in xrange(_size677): - _elem682 = iprot.readString() - self.subDirectoryList.append(_elem682) + (_etype687, _size684) = iprot.readListBegin() + for _i688 in xrange(_size684): + _elem689 = iprot.readString() + self.subDirectoryList.append(_elem689) iprot.readListEnd() else: iprot.skip(ftype) @@ -16539,22 +16576,22 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter683 in self.filesAdded: - oprot.writeString(iter683) + for iter690 in self.filesAdded: + oprot.writeString(iter690) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter684 in self.filesAddedChecksum: - oprot.writeString(iter684) + for iter691 in self.filesAddedChecksum: + oprot.writeString(iter691) oprot.writeListEnd() oprot.writeFieldEnd() if self.subDirectoryList is not None: oprot.writeFieldBegin('subDirectoryList', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.subDirectoryList)) - for iter685 in self.subDirectoryList: - oprot.writeString(iter685) + for iter692 in self.subDirectoryList: + oprot.writeString(iter692) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16713,10 +16750,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype689, _size686) = iprot.readListBegin() - for _i690 in xrange(_size686): - _elem691 = iprot.readString() - self.partitionVals.append(_elem691) + (_etype696, _size693) = iprot.readListBegin() + for _i697 in xrange(_size693): + _elem698 = iprot.readString() + self.partitionVals.append(_elem698) iprot.readListEnd() else: iprot.skip(ftype) @@ -16754,8 +16791,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter692 in self.partitionVals: - oprot.writeString(iter692) + for iter699 in self.partitionVals: + oprot.writeString(iter699) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -16907,10 +16944,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionVals = [] - (_etype696, _size693) = iprot.readListBegin() - for _i697 in xrange(_size693): - _elem698 = iprot.readString() - self.partitionVals.append(_elem698) + (_etype703, _size700) = iprot.readListBegin() + for _i704 in xrange(_size700): + _elem705 = iprot.readString() + self.partitionVals.append(_elem705) iprot.readListEnd() else: iprot.skip(ftype) @@ -16947,8 +16984,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter699 in self.partitionVals: - oprot.writeString(iter699) + for iter706 in self.partitionVals: + oprot.writeString(iter706) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17142,12 +17179,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype701, _vtype702, _size700 ) = iprot.readMapBegin() - for _i704 in xrange(_size700): - _key705 = iprot.readI64() - _val706 = MetadataPpdResult() - _val706.read(iprot) - self.metadata[_key705] = _val706 + (_ktype708, _vtype709, _size707 ) = iprot.readMapBegin() + for _i711 in xrange(_size707): + _key712 = iprot.readI64() + _val713 = MetadataPpdResult() + _val713.read(iprot) + self.metadata[_key712] = _val713 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17169,9 +17206,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter707,viter708 in self.metadata.items(): - oprot.writeI64(kiter707) - viter708.write(oprot) + for kiter714,viter715 in self.metadata.items(): + oprot.writeI64(kiter714) + viter715.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -17241,10 +17278,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype712, _size709) = iprot.readListBegin() - for _i713 in xrange(_size709): - _elem714 = iprot.readI64() - self.fileIds.append(_elem714) + (_etype719, _size716) = iprot.readListBegin() + for _i720 in xrange(_size716): + _elem721 = iprot.readI64() + self.fileIds.append(_elem721) iprot.readListEnd() else: iprot.skip(ftype) @@ -17276,8 +17313,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter715 in self.fileIds: - oprot.writeI64(iter715) + for iter722 in self.fileIds: + oprot.writeI64(iter722) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -17351,11 +17388,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype717, _vtype718, _size716 ) = iprot.readMapBegin() - for _i720 in xrange(_size716): - _key721 = iprot.readI64() - _val722 = iprot.readString() - self.metadata[_key721] = _val722 + (_ktype724, _vtype725, _size723 ) = iprot.readMapBegin() + for _i727 in xrange(_size723): + _key728 = iprot.readI64() + _val729 = iprot.readString() + self.metadata[_key728] = _val729 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17377,9 +17414,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter723,viter724 in self.metadata.items(): - oprot.writeI64(kiter723) - oprot.writeString(viter724) + for kiter730,viter731 in self.metadata.items(): + oprot.writeI64(kiter730) + oprot.writeString(viter731) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -17440,10 +17477,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = iprot.readI64() - self.fileIds.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = iprot.readI64() + self.fileIds.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) @@ -17460,8 +17497,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter731 in self.fileIds: - oprot.writeI64(iter731) + for iter738 in self.fileIds: + oprot.writeI64(iter738) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17567,20 +17604,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = iprot.readI64() - self.fileIds.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = iprot.readI64() + self.fileIds.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype741, _size738) = iprot.readListBegin() - for _i742 in xrange(_size738): - _elem743 = iprot.readString() - self.metadata.append(_elem743) + (_etype748, _size745) = iprot.readListBegin() + for _i749 in xrange(_size745): + _elem750 = iprot.readString() + self.metadata.append(_elem750) iprot.readListEnd() else: iprot.skip(ftype) @@ -17602,15 +17639,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter744 in self.fileIds: - oprot.writeI64(iter744) + for iter751 in self.fileIds: + oprot.writeI64(iter751) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter745 in self.metadata: - oprot.writeString(iter745) + for iter752 in self.metadata: + oprot.writeString(iter752) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -17718,10 +17755,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype749, _size746) = iprot.readListBegin() - for _i750 in xrange(_size746): - _elem751 = iprot.readI64() - self.fileIds.append(_elem751) + (_etype756, _size753) = iprot.readListBegin() + for _i757 in xrange(_size753): + _elem758 = iprot.readI64() + self.fileIds.append(_elem758) iprot.readListEnd() else: iprot.skip(ftype) @@ -17738,8 +17775,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter752 in self.fileIds: - oprot.writeI64(iter752) + for iter759 in self.fileIds: + oprot.writeI64(iter759) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17968,11 +18005,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = Function() - _elem758.read(iprot) - self.functions.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = Function() + _elem765.read(iprot) + self.functions.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -17989,8 +18026,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter759 in self.functions: - iter759.write(oprot) + for iter766 in self.functions: + iter766.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18042,10 +18079,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = iprot.readI32() - self.values.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = iprot.readI32() + self.values.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -18062,8 +18099,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter766 in self.values: - oprot.writeI32(iter766) + for iter773 in self.values: + oprot.writeI32(iter773) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18335,10 +18372,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = iprot.readString() - self.tblNames.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = iprot.readString() + self.tblNames.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -18370,8 +18407,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter773 in self.tblNames: - oprot.writeString(iter773) + for iter780 in self.tblNames: + oprot.writeString(iter780) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -18436,11 +18473,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = Table() - _elem779.read(iprot) - self.tables.append(_elem779) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = Table() + _elem786.read(iprot) + self.tables.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) @@ -18457,8 +18494,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter780 in self.tables: - iter780.write(oprot) + for iter787 in self.tables: + iter787.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19757,44 +19794,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = WMPool() - _elem786.read(iprot) - self.pools.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = WMPool() + _elem793.read(iprot) + self.pools.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = WMMapping() - _elem792.read(iprot) - self.mappings.append(_elem792) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in xrange(_size794): + _elem799 = WMMapping() + _elem799.read(iprot) + self.mappings.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype796, _size793) = iprot.readListBegin() - for _i797 in xrange(_size793): - _elem798 = WMTrigger() - _elem798.read(iprot) - self.triggers.append(_elem798) + (_etype803, _size800) = iprot.readListBegin() + for _i804 in xrange(_size800): + _elem805 = WMTrigger() + _elem805.read(iprot) + self.triggers.append(_elem805) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype802, _size799) = iprot.readListBegin() - for _i803 in xrange(_size799): - _elem804 = WMPoolTrigger() - _elem804.read(iprot) - self.poolTriggers.append(_elem804) + (_etype809, _size806) = iprot.readListBegin() + for _i810 in xrange(_size806): + _elem811 = WMPoolTrigger() + _elem811.read(iprot) + self.poolTriggers.append(_elem811) iprot.readListEnd() else: iprot.skip(ftype) @@ -19815,29 +19852,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 iter805 in self.pools: - iter805.write(oprot) + for iter812 in self.pools: + iter812.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 iter806 in self.mappings: - iter806.write(oprot) + for iter813 in self.mappings: + iter813.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 iter807 in self.triggers: - iter807.write(oprot) + for iter814 in self.triggers: + iter814.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 iter808 in self.poolTriggers: - iter808.write(oprot) + for iter815 in self.poolTriggers: + iter815.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20362,11 +20399,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype812, _size809) = iprot.readListBegin() - for _i813 in xrange(_size809): - _elem814 = WMResourcePlan() - _elem814.read(iprot) - self.resourcePlans.append(_elem814) + (_etype819, _size816) = iprot.readListBegin() + for _i820 in xrange(_size816): + _elem821 = WMResourcePlan() + _elem821.read(iprot) + self.resourcePlans.append(_elem821) iprot.readListEnd() else: iprot.skip(ftype) @@ -20383,8 +20420,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 iter815 in self.resourcePlans: - iter815.write(oprot) + for iter822 in self.resourcePlans: + iter822.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20714,20 +20751,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype819, _size816) = iprot.readListBegin() - for _i820 in xrange(_size816): - _elem821 = iprot.readString() - self.errors.append(_elem821) + (_etype826, _size823) = iprot.readListBegin() + for _i827 in xrange(_size823): + _elem828 = iprot.readString() + self.errors.append(_elem828) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = iprot.readString() - self.warnings.append(_elem827) + (_etype832, _size829) = iprot.readListBegin() + for _i833 in xrange(_size829): + _elem834 = iprot.readString() + self.warnings.append(_elem834) iprot.readListEnd() else: iprot.skip(ftype) @@ -20744,15 +20781,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 iter828 in self.errors: - oprot.writeString(iter828) + for iter835 in self.errors: + oprot.writeString(iter835) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter829 in self.warnings: - oprot.writeString(iter829) + for iter836 in self.warnings: + oprot.writeString(iter836) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21368,11 +21405,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype833, _size830) = iprot.readListBegin() - for _i834 in xrange(_size830): - _elem835 = WMTrigger() - _elem835.read(iprot) - self.triggers.append(_elem835) + (_etype840, _size837) = iprot.readListBegin() + for _i841 in xrange(_size837): + _elem842 = WMTrigger() + _elem842.read(iprot) + self.triggers.append(_elem842) iprot.readListEnd() else: iprot.skip(ftype) @@ -21389,8 +21426,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 iter836 in self.triggers: - iter836.write(oprot) + for iter843 in self.triggers: + iter843.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22600,11 +22637,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype840, _size837) = iprot.readListBegin() - for _i841 in xrange(_size837): - _elem842 = FieldSchema() - _elem842.read(iprot) - self.cols.append(_elem842) + (_etype847, _size844) = iprot.readListBegin() + for _i848 in xrange(_size844): + _elem849 = FieldSchema() + _elem849.read(iprot) + self.cols.append(_elem849) iprot.readListEnd() else: iprot.skip(ftype) @@ -22664,8 +22701,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 iter843 in self.cols: - iter843.write(oprot) + for iter850 in self.cols: + iter850.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -22920,11 +22957,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype847, _size844) = iprot.readListBegin() - for _i848 in xrange(_size844): - _elem849 = SchemaVersionDescriptor() - _elem849.read(iprot) - self.schemaVersions.append(_elem849) + (_etype854, _size851) = iprot.readListBegin() + for _i855 in xrange(_size851): + _elem856 = SchemaVersionDescriptor() + _elem856.read(iprot) + self.schemaVersions.append(_elem856) iprot.readListEnd() else: iprot.skip(ftype) @@ -22941,8 +22978,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 iter850 in self.schemaVersions: - iter850.write(oprot) + for iter857 in self.schemaVersions: + iter857.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23427,11 +23464,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitions = [] - (_etype854, _size851) = iprot.readListBegin() - for _i855 in xrange(_size851): - _elem856 = Partition() - _elem856.read(iprot) - self.partitions.append(_elem856) + (_etype861, _size858) = iprot.readListBegin() + for _i862 in xrange(_size858): + _elem863 = Partition() + _elem863.read(iprot) + self.partitions.append(_elem863) iprot.readListEnd() else: iprot.skip(ftype) @@ -23476,8 +23513,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter857 in self.partitions: - iter857.write(oprot) + for iter864 in self.partitions: + iter864.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environmentContext is not None: @@ -23629,10 +23666,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partVals = [] - (_etype861, _size858) = iprot.readListBegin() - for _i862 in xrange(_size858): - _elem863 = iprot.readString() - self.partVals.append(_elem863) + (_etype868, _size865) = iprot.readListBegin() + for _i869 in xrange(_size865): + _elem870 = iprot.readString() + self.partVals.append(_elem870) iprot.readListEnd() else: iprot.skip(ftype) @@ -23672,8 +23709,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter864 in self.partVals: - oprot.writeString(iter864) + for iter871 in self.partVals: + oprot.writeString(iter871) oprot.writeListEnd() oprot.writeFieldEnd() if self.newPart is not None: @@ -23995,10 +24032,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldList = [] - (_etype868, _size865) = iprot.readListBegin() - for _i869 in xrange(_size865): - _elem870 = iprot.readString() - self.fieldList.append(_elem870) + (_etype875, _size872) = iprot.readListBegin() + for _i876 in xrange(_size872): + _elem877 = iprot.readString() + self.fieldList.append(_elem877) iprot.readListEnd() else: iprot.skip(ftype) @@ -24025,8 +24062,8 @@ def write(self, oprot): if self.fieldList is not None: oprot.writeFieldBegin('fieldList', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fieldList)) - for iter871 in self.fieldList: - oprot.writeString(iter871) + for iter878 in self.fieldList: + oprot.writeString(iter878) oprot.writeListEnd() oprot.writeFieldEnd() if self.includeParamKeyPattern is not None: @@ -24102,10 +24139,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.filters = [] - (_etype875, _size872) = iprot.readListBegin() - for _i876 in xrange(_size872): - _elem877 = iprot.readString() - self.filters.append(_elem877) + (_etype882, _size879) = iprot.readListBegin() + for _i883 in xrange(_size879): + _elem884 = iprot.readString() + self.filters.append(_elem884) iprot.readListEnd() else: iprot.skip(ftype) @@ -24126,8 +24163,8 @@ def write(self, oprot): if self.filters is not None: oprot.writeFieldBegin('filters', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.filters)) - for iter878 in self.filters: - oprot.writeString(iter878) + for iter885 in self.filters: + oprot.writeString(iter885) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24180,11 +24217,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionSpec = [] - (_etype882, _size879) = iprot.readListBegin() - for _i883 in xrange(_size879): - _elem884 = PartitionSpec() - _elem884.read(iprot) - self.partitionSpec.append(_elem884) + (_etype889, _size886) = iprot.readListBegin() + for _i890 in xrange(_size886): + _elem891 = PartitionSpec() + _elem891.read(iprot) + self.partitionSpec.append(_elem891) iprot.readListEnd() else: iprot.skip(ftype) @@ -24201,8 +24238,8 @@ def write(self, oprot): if self.partitionSpec is not None: oprot.writeFieldBegin('partitionSpec', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionSpec)) - for iter885 in self.partitionSpec: - iter885.write(oprot) + for iter892 in self.partitionSpec: + iter892.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24300,10 +24337,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.groupNames = [] - (_etype889, _size886) = iprot.readListBegin() - for _i890 in xrange(_size886): - _elem891 = iprot.readString() - self.groupNames.append(_elem891) + (_etype896, _size893) = iprot.readListBegin() + for _i897 in xrange(_size893): + _elem898 = iprot.readString() + self.groupNames.append(_elem898) iprot.readListEnd() else: iprot.skip(ftype) @@ -24352,8 +24389,8 @@ def write(self, oprot): if self.groupNames is not None: oprot.writeFieldBegin('groupNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.groupNames)) - for iter892 in self.groupNames: - oprot.writeString(iter892) + for iter899 in self.groupNames: + oprot.writeString(iter899) oprot.writeListEnd() oprot.writeFieldEnd() if self.projectionSpec is not None: diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb index dfc5d7b294..478134a41b 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -68,8 +68,9 @@ end module CompactionType MINOR = 1 MAJOR = 2 - VALUE_MAP = {1 => "MINOR", 2 => "MAJOR"} - VALID_VALUES = Set.new([MINOR, MAJOR]).freeze + CLEAN_ABORTED = 3 + VALUE_MAP = {1 => "MINOR", 2 => "MAJOR", 3 => "CLEAN_ABORTED"} + VALID_VALUES = Set.new([MINOR, MAJOR, CLEAN_ABORTED]).freeze end module GrantRevokeType @@ -2890,13 +2891,15 @@ class AllocateTableWriteIdsRequest TXNIDS = 3 REPLPOLICY = 4 SRCTXNTOWRITEIDLIST = 5 + DYNAMICPARTITIONS = 6 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}, TXNIDS => {:type => ::Thrift::Types::LIST, :name => 'txnIds', :element => {:type => ::Thrift::Types::I64}, :optional => true}, REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, - SRCTXNTOWRITEIDLIST => {:type => ::Thrift::Types::LIST, :name => 'srcTxnToWriteIdList', :element => {:type => ::Thrift::Types::STRUCT, :class => ::TxnToWriteId}, :optional => true} + SRCTXNTOWRITEIDLIST => {:type => ::Thrift::Types::LIST, :name => 'srcTxnToWriteIdList', :element => {:type => ::Thrift::Types::STRUCT, :class => ::TxnToWriteId}, :optional => true}, + DYNAMICPARTITIONS => {:type => ::Thrift::Types::BOOL, :name => 'dynamicPartitions', :optional => true} } def struct_fields; FIELDS; end @@ -3293,6 +3296,7 @@ class CompactionInfoStruct WORKERID = 10 START = 11 HIGHESTWRITEID = 12 + WRITEIDS = 13 FIELDS = { ID => {:type => ::Thrift::Types::I64, :name => 'id'}, @@ -3306,7 +3310,8 @@ class CompactionInfoStruct STATE => {:type => ::Thrift::Types::STRING, :name => 'state', :optional => true}, WORKERID => {:type => ::Thrift::Types::STRING, :name => 'workerId', :optional => true}, START => {:type => ::Thrift::Types::I64, :name => 'start', :optional => true}, - HIGHESTWRITEID => {:type => ::Thrift::Types::I64, :name => 'highestWriteId', :optional => true} + HIGHESTWRITEID => {:type => ::Thrift::Types::I64, :name => 'highestWriteId', :optional => true}, + WRITEIDS => {:type => ::Thrift::Types::LIST, :name => 'writeIds', :element => {:type => ::Thrift::Types::I64}, :optional => true} } def struct_fields; FIELDS; end diff --git standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 748b56b0a2..1af3d24e27 100644 --- standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2921,6 +2921,16 @@ public long allocateTableWriteId(long txnId, String dbName, String tableName) th return allocateTableWriteIdsBatchIntr(rqst); } + @Override + public List allocateTableWriteIdsBatch(List txnIds, String dbName, + String tableName, boolean dynamicPartitions) + throws TException { + AllocateTableWriteIdsRequest rqst = new AllocateTableWriteIdsRequest(dbName, tableName); + rqst.setTxnIds(txnIds); + rqst.setDynamicPartitions(dynamicPartitions); + return allocateTableWriteIdsBatchIntr(rqst); + } + @Override public List replAllocateTableWriteIdsBatch(String dbName, String tableName, String replPolicy, List srcTxnToWriteIdList) throws TException { diff --git standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index c96bf0d90e..42918d83a5 100644 --- standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -3005,6 +3005,17 @@ void replTableWriteIdState(String validWriteIdList, String dbName, String tableN */ List allocateTableWriteIdsBatch(List txnIds, String dbName, String tableName) throws TException; + /** + * Allocate a per table write ID and associate it with the given transaction. + * @param txnIds ids of transaction batchto which the allocated write ID to be associated. + * @param dbName name of DB in which the table belongs. + * @param tableName table to which the write ID to be allocated + * @param dynamicPartitions indicate whether the table is dynamic partitioned and new partitions + * will be created in the transaction. + * @throws TException + */ + List allocateTableWriteIdsBatch(List txnIds, String dbName, String tableName, boolean dynamicPartitions) throws TException; + /** * Allocate a per table write ID and associate it with the given transaction. Used by replication load task. * @param dbName name of DB in which the table belongs. diff --git standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index be1f8c7849..83c20b9cae 100644 --- standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java +++ standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java @@ -400,6 +400,15 @@ public static ConfVars getMetaConf(String name) { "tables or partitions to be compacted once they are determined to need compaction.\n" + "It will also increase the background load on the Hadoop cluster as more MapReduce jobs\n" + "will be running in the background."), + COMPACTOR_CORE_CLEANER_THREADS("metastore.compactor.cleaner.core.threads", + "hive.metastore.compactor.cleaner.threads", 2, + "Determines together with hive.metastore.compactor.max.threads how many cleaner threads" + + " will do clean related work. A way to know if more threads are need" + + " is to check the rows in table COMPACTION_QUEUE with cq_state='r' (ready for cleaning)." + + " If too many of these rows start to queue up a higher number is needed."), + COMPACTOR_MAX_CLEANER_THREADS("metastore.compactor.cleaner.max.threads", + "hive.metastore.compactor.max.threads", 4, + "Max threads that will be running for cleaning tasks"), COMPACTOR_MINOR_STATS_COMPRESSION( "metastore.compactor.enable.stats.compression", "metastore.compactor.enable.stats.compression", true, diff --git standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 7d09a5c296..ed53aa5e45 100644 --- standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -176,6 +176,7 @@ enum LockType { enum CompactionType { MINOR = 1, MAJOR = 2, + CLEAN_ABORTED = 3, } enum GrantRevokeType { @@ -976,6 +977,7 @@ struct AllocateTableWriteIdsRequest { 4: optional string replPolicy, // The list is assumed to be sorted by both txnids and write ids. The write id list is assumed to be contiguous. 5: optional list srcTxnToWriteIdList, + 6: optional bool dynamicPartitions, } // Map for allocated write id against the txn for which it is allocated @@ -1093,6 +1095,7 @@ struct CompactionInfoStruct { 10: optional string workerId 11: optional i64 start 12: optional i64 highestWriteId + 13: optional list writeIds } struct CompactionResponse { diff --git standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java index ea70503988..904d536e87 100644 --- standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java +++ standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java @@ -20,12 +20,14 @@ import org.apache.hadoop.hive.common.ValidCompactorWriteIdList; import org.apache.hadoop.hive.metastore.api.CompactionInfoStruct; import org.apache.hadoop.hive.metastore.api.CompactionType; +import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.OptionalCompactionInfoStruct; import org.apache.hadoop.hive.metastore.api.TableValidWriteIds; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; +import java.util.List; /** * Information on a possible or running compaction. @@ -63,6 +65,9 @@ private String fullPartitionName = null; private String fullTableName = null; + // This is used for the compactions of type 'p' + public List writeIds; + public CompactionInfo(String dbname, String tableName, String partName, CompactionType type) { this.dbname = dbname; this.tableName = tableName; @@ -99,10 +104,19 @@ public String getFullTableName() { } return fullTableName; } + + public boolean isMinorCompaction() { + return CompactionType.MINOR == type; + } + public boolean isMajorCompaction() { return CompactionType.MAJOR == type; } + public boolean isCleanAbortedCompaction() { + return CompactionType.CLEAN_ABORTED == type; + } + @Override public int compareTo(CompactionInfo o) { return getFullPartitionName().compareTo(o.getFullPartitionName()); @@ -117,7 +131,8 @@ public String toString() { "properties:" + properties + "," + "runAs:" + runAs + "," + "tooManyAborts:" + tooManyAborts + "," + - "highestWriteId:" + highestWriteId; + "highestWriteId:" + highestWriteId + "," + + "writeIds:" + writeIds; } @Override @@ -161,6 +176,7 @@ static CompactionInfo loadFullFromCompactionQueue(ResultSet rs) throws SQLExcept fullCi.hadoopJobId = rs.getString(13); return fullCi; } + static void insertIntoCompletedCompactions(PreparedStatement pStmt, CompactionInfo ci, long endTime) throws SQLException { pStmt.setLong(1, ci.id); pStmt.setString(2, ci.dbname); @@ -201,6 +217,9 @@ public static CompactionInfo compactionStructToInfo(CompactionInfoStruct cr) { if (cr.isSetHighestWriteId()) { ci.highestWriteId = cr.getHighestWriteId(); } + if (cr.isSetWriteIds()) { + ci.writeIds = cr.getWriteIds(); + } return ci; } @@ -217,6 +236,7 @@ public static CompactionInfoStruct compactionInfoToStruct(CompactionInfo ci) { cr.setState(Character.toString(ci.state)); cr.setWorkerId(ci.workerId); cr.setHighestWriteId(ci.highestWriteId); + cr.setWriteIds(ci.writeIds); return cr; } diff --git standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java index 8253ccb9c9..4af4e5036a 100644 --- standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java +++ standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java @@ -84,10 +84,10 @@ public CompactionTxnHandler() { rs.close(); // Check for aborted txns - s = "select tc_database, tc_table, tc_partition " + + s = "select tc_database, tc_table, tc_partition, tc_operation_type " + "from TXNS, TXN_COMPONENTS " + "where txn_id = tc_txnid and txn_state = '" + TXN_ABORTED + "' " + - "group by tc_database, tc_table, tc_partition " + + "group by tc_database, tc_table, tc_partition,tc_operation_type " + "having count(*) > " + maxAborted; LOG.debug("Going to execute query <" + s + ">"); @@ -97,6 +97,10 @@ public CompactionTxnHandler() { info.dbname = rs.getString(1); info.tableName = rs.getString(2); info.partName = rs.getString(3); + CompactionType compactionType = dbCompactionType2ThriftType(rs.getString(4).charAt(0)); + if (compactionType != null) { + info.type = compactionType; + } info.tooManyAborts = true; response.add(info); } @@ -259,14 +263,32 @@ public void markCompacted(CompactionInfo info) throws MetaException { info.tableName = rs.getString(3); info.partName = rs.getString(4); switch (rs.getString(5).charAt(0)) { - case MAJOR_TYPE: info.type = CompactionType.MAJOR; break; - case MINOR_TYPE: info.type = CompactionType.MINOR; break; + case TxnHandler.MAJOR_TYPE: info.type = CompactionType.MAJOR; break; + case TxnHandler.MINOR_TYPE: info.type = CompactionType.MINOR; break; + case TxnHandler.CLEAN_ABORTED: info.type = CompactionType.CLEAN_ABORTED; break; default: throw new MetaException("Unexpected compaction type " + rs.getString(5)); } info.runAs = rs.getString(6); info.highestWriteId = rs.getLong(7); rc.add(info); } + + for (CompactionInfo ci: rc) { + if (ci.type.equals(CompactionType.CLEAN_ABORTED)) { + String s2 = "select tc_writeid from txn_components where tc_database=? AND tc_table=? AND tc_operation_type=?"; + PreparedStatement pStmt = dbConn.prepareStatement(s2); + LOG.debug("Going to execute query <" + s2 + ">"); + pStmt.setString(1, ci.dbname); + pStmt.setString(2, ci.tableName); + pStmt.setString(3, String.valueOf(OperationType.ALL_PARTITIONS.getSqlConst())); + ci.writeIds = new ArrayList<>(); + rs = pStmt.executeQuery(); + while(rs.next()) { + ci.writeIds.add(rs.getLong(1)); + } + } + } + LOG.debug("Going to rollback"); dbConn.rollback(); return rc; @@ -354,8 +376,10 @@ public void markCleaned(CompactionInfo info) throws MetaException { pStmt = dbConn.prepareStatement("select CQ_ID, CQ_DATABASE, CQ_TABLE, CQ_PARTITION, CQ_STATE, CQ_TYPE, CQ_TBLPROPERTIES, CQ_WORKER_ID, CQ_START, CQ_RUN_AS, CQ_HIGHEST_WRITE_ID, CQ_META_INFO, CQ_HADOOP_JOB_ID from COMPACTION_QUEUE WHERE CQ_ID = ?"); pStmt.setLong(1, info.id); rs = pStmt.executeQuery(); + List writeIds = info.writeIds; if(rs.next()) { info = CompactionInfo.loadFullFromCompactionQueue(rs); + info.writeIds = writeIds; } else { throw new IllegalStateException("No record with CQ_ID=" + info.id + " found in COMPACTION_QUEUE"); @@ -399,8 +423,12 @@ public void markCleaned(CompactionInfo info) throws MetaException { } LOG.debug("Going to execute update <" + s + ">"); if ((updCount = pStmt.executeUpdate()) < 1) { - LOG.error("Expected to remove at least one row from completed_txn_components when " + - "marking compaction entry as clean!"); + // In the case of clean abort commit hasn't happened so completed_txn_components hasn't been filled + if (!info.isCleanAbortedCompaction()) { + LOG.error( + "Expected to remove at least one row from completed_txn_components when " + + "marking compaction entry as clean!"); + } } /** * compaction may remove data from aborted txns above tc_writeid bit it only guarantees to @@ -412,6 +440,13 @@ public void markCleaned(CompactionInfo info) throws MetaException { TXN_ABORTED + "' and tc_database = ? and tc_table = ?"; if (info.highestWriteId != 0) s += " and tc_writeid <= ?"; if (info.partName != null) s += " and tc_partition = ?"; + if (info.writeIds != null && info.writeIds.size() > 0) { + String[] wriStr = new String[info.writeIds.size()]; + for (int i = 0; i < info.writeIds.size(); i++) { + wriStr[i] = info.writeIds.get(i).toString(); + } + s += " and tc_writeid in (" + String.join(",",wriStr) + ")"; + } pStmt = dbConn.prepareStatement(s); paramCount = 1; @@ -449,6 +484,13 @@ public void markCleaned(CompactionInfo info) throws MetaException { if (info.partName != null) { suffix.append(" and tc_partition = ?"); } + if (info.writeIds != null && info.writeIds.size() > 0) { + String[] wriStr = new String[info.writeIds.size()]; + for (int i = 0; i < info.writeIds.size(); i++) { + wriStr[i] = info.writeIds.get(i).toString(); + } + suffix.append(" and tc_writeid in (").append(String.join(",",wriStr)).append(")"); + } // Populate the complete query with provided prefix and suffix List counts = TxnUtils diff --git standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index 2a6290315a..d264eb8bc5 100644 --- standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -159,6 +159,7 @@ // Compactor types static final protected char MAJOR_TYPE = 'a'; static final protected char MINOR_TYPE = 'i'; + static final protected char CLEAN_ABORTED = 'p'; // Transaction states static final protected char TXN_ABORTED = 'a'; @@ -201,7 +202,7 @@ public int getValue() { * These are the valid values for TXN_COMPONENTS.TC_OPERATION_TYPE */ enum OperationType { - SELECT('s'), INSERT('i'), UPDATE('u'), DELETE('d'), COMPACT('c'); + SELECT('s'), INSERT('i'), UPDATE('u'), DELETE('d'), COMPACT('c'), ALL_PARTITIONS('p'); private final char sqlConst; OperationType(char sqlConst) { this.sqlConst = sqlConst; @@ -221,6 +222,8 @@ public static OperationType fromString(char sqlConst) { return DELETE; case 'c': return COMPACT; + case 'p': + return ALL_PARTITIONS; default: throw new IllegalArgumentException(quoteChar(sqlConst)); } @@ -1754,6 +1757,16 @@ public AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIds return new AllocateTableWriteIdsResponse(txnToWriteIds); } + // We are going to add an entry to TXN_COMPONENTS so in case the transaction is aborted + // before calling addDynamicPartitions we will delete all the possible dirty files. + // This is only possible if the there's a single transaction since we wouldn't know + // what files to delete if there where more. + if (rqst.isSetDynamicPartitions() && rqst.isDynamicPartitions() && numOfWriteIds > 1) { + throw new MetaException( + "When using dynamic partitions only a single transaction is allowed in the batch," + + " number of transactions = " + numOfWriteIds); + } + long srcWriteId = 0; if (rqst.isSetReplPolicy()) { // In replication flow, we always need to allocate write ID equal to that of source. @@ -1832,6 +1845,22 @@ public AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIds pst.execute(); } + // Add the entry to TXN_COMPONENTS in case the transaction fails + // before calling addDynamicPartitions + if (rqst.isSetDynamicPartitions() && rqst.isDynamicPartitions()) { + long onlyWriteId = writeId - 1; + long txnIdComponents = txnIds.get(0); + s = "insert into TXN_COMPONENTS(TC_TXNID, TC_DATABASE, TC_TABLE, TC_PARTITION," + + " TC_OPERATION_TYPE, TC_WRITEID) values (?, ?, ?, ?, ?, ?)"; + LOG.debug("Going to execute insert < " + s.replaceAll("\\?", "{}")+ ">", + txnIdComponents, quoteString(dbName), quoteString(tblName), quoteString("null"), + quoteChar(OperationType.ALL_PARTITIONS.getSqlConst()), onlyWriteId); + PreparedStatement insertPreparedStmt = sqlGenerator.prepareStmtWithParameters(dbConn, s, + Arrays.asList(Long.toString(txnIdComponents), dbName, tblName, "null", + OperationType.ALL_PARTITIONS.toString(), Long.toString(onlyWriteId))); + insertPreparedStmt.execute(); + } + if (transactionalListeners != null) { MetaStoreListenerNotifier.notifyEventWithDirectSql(transactionalListeners, EventMessage.EventType.ALLOC_WRITE_ID, @@ -2373,7 +2402,9 @@ private ConnectionLockIdPair enqueueLockWithRetry(LockRequest rqst) throws NoSuc /** * we know this is part of DP operation and so we'll get * {@link #addDynamicPartitions(AddDynamicPartitions)} call with the list - * of partitions actually chaged. + * of partitions actually changed. In case the transaction is aborted before + * this, we have already added an entry in TXN_COMPONENTS to account for this + * in {@link #allocateTableWriteIds(AllocateTableWriteIdsRequest)}. */ updateTxnComponents = !lc.isIsDynamicPartitionWrite(); } @@ -3000,6 +3031,8 @@ public CompactionResponse compact(CompactionRequest rqst) throws MetaException { long id = generateCompactionQueueId(stmt); List params = new ArrayList<>(); + // There could a clean abort compaction for the same database, table and with null + // partition but in this case it would be in READY_FOR_CLEANING state. StringBuilder sb = new StringBuilder("select cq_id, cq_state from COMPACTION_QUEUE where"). append(" cq_state IN(").append(quoteChar(INITIATED_STATE)). append(",").append(quoteChar(WORKING_STATE)). @@ -3014,6 +3047,12 @@ public CompactionResponse compact(CompactionRequest rqst) throws MetaException { params.add(rqst.getPartitionname()); } + // This means even if we have several writeIds for the same table + // only one entry will be inserted in COMPACTION_QUEUE + if (rqst.getType().equals(CompactionType.CLEAN_ABORTED)) { + sb.append(" AND cq_type=").append(quoteChar(CLEAN_ABORTED)); + } + pst = sqlGenerator.prepareStmtWithParameters(dbConn, sb.toString(), params); LOG.debug("Going to execute query <" + sb.toString() + ">"); ResultSet rs = pst.executeQuery(); @@ -3050,7 +3089,14 @@ public CompactionResponse compact(CompactionRequest rqst) throws MetaException { } else { buf.append("'"); } - buf.append(INITIATED_STATE); + char state = INITIATED_STATE; + // We send the work directly to the cleaning stage because + // the worker doesn't have to do anything, we only have to delete + // files that may have been written. + if (rqst.getType().equals(CompactionType.CLEAN_ABORTED)) { + state = READY_FOR_CLEANING; + } + buf.append(state); buf.append("', '"); switch (rqst.getType()) { case MAJOR: @@ -3061,6 +3107,10 @@ public CompactionResponse compact(CompactionRequest rqst) throws MetaException { buf.append(MINOR_TYPE); break; + case CLEAN_ABORTED: + buf.append(CLEAN_ABORTED); + break; + default: LOG.debug("Going to rollback"); dbConn.rollback(); @@ -3144,6 +3194,7 @@ public ShowCompactResponse showCompact(ShowCompactRequest rqst) throws MetaExcep switch (rs.getString(5).charAt(0)) { case MAJOR_TYPE: e.setType(CompactionType.MAJOR); break; case MINOR_TYPE: e.setType(CompactionType.MINOR); break; + case CLEAN_ABORTED: e.setType(CompactionType.CLEAN_ABORTED); break; default: //do nothing to handle RU/D if we add another status } @@ -3236,6 +3287,15 @@ public void addDynamicPartitions(AddDynamicPartitions rqst) for(PreparedStatement pst : insertPreparedStmts) { modCount = pst.executeUpdate(); } + + // Delete from TXN_COMPONENTS the row indicating to scan all partition in + // case of failure because at this point partitions are added and we know + // what to scan. + PreparedStatement deletePreparedStmt = sqlGenerator.prepareStmtWithParameters(dbConn, + "delete from TXN_COMPONENTS where TC_TXNID=? and TC_OPERATION_TYPE=?", + Arrays.asList(Long.toString(rqst.getTxnid()), OperationType.ALL_PARTITIONS.toString())); + deletePreparedStmt.execute(); + LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -5236,6 +5296,8 @@ static CompactionType dbCompactionType2ThriftType(char dbValue) { return CompactionType.MAJOR; case MINOR_TYPE: return CompactionType.MINOR; + case CLEAN_ABORTED: + return CompactionType.CLEAN_ABORTED; default: LOG.warn("Unexpected compaction type " + dbValue); return null; @@ -5247,6 +5309,8 @@ static Character thriftCompactionType2DbType(CompactionType ct) { return MAJOR_TYPE; case MINOR: return MINOR_TYPE; + case CLEAN_ABORTED: + return CLEAN_ABORTED; default: LOG.warn("Unexpected compaction type " + ct); return null; diff --git standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index a3f5e2c754..74cb341c9b 100644 --- standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -2357,6 +2357,16 @@ public long allocateTableWriteId(long txnId, String dbName, String tableName) th return allocateTableWriteIdsBatchIntr(rqst); } + @Override + public List allocateTableWriteIdsBatch(List txnIds, String dbName, + String tableName, boolean dynamicPartitions) + throws TException { + AllocateTableWriteIdsRequest rqst = new AllocateTableWriteIdsRequest(dbName, tableName); + rqst.setTxnIds(txnIds); + rqst.setDynamicPartitions(dynamicPartitions); + return allocateTableWriteIdsBatchIntr(rqst); + } + private List allocateTableWriteIdsBatchIntr(AllocateTableWriteIdsRequest rqst) throws TException { return client.allocate_table_write_ids(rqst).getTxnToWriteIds(); } diff --git streaming/src/java/org/apache/hive/streaming/TransactionBatch.java streaming/src/java/org/apache/hive/streaming/TransactionBatch.java index a625759c0b..f0639cb0b7 100644 --- streaming/src/java/org/apache/hive/streaming/TransactionBatch.java +++ streaming/src/java/org/apache/hive/streaming/TransactionBatch.java @@ -207,7 +207,7 @@ private void setupHeartBeatThread() { private List allocateWriteIdsImpl(final List txnIds) throws TException { return conn.getMSC().allocateTableWriteIdsBatch(txnIds, conn.getDatabase(), - conn.getTable().getTableName()); + conn.getTable().getTableName(), conn.isDynamicPartitioning()); } @Override