tarak271 commented on code in PR #4805: URL: https://github.com/apache/hive/pull/4805#discussion_r1411858427
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java: ########## @@ -5811,11 +5811,11 @@ public void performTimeOuts() { s = sqlGenerator.addLimitClause(10 * TIMED_OUT_TXN_ABORT_BATCH_SIZE, s); LOG.debug("Going to execute query <{}>", s); - List<List<Long>> timedOutTxns = jdbcResource.getJdbcTemplate().query(s, rs -> { - List<List<Long>> txnbatch = new ArrayList<>(); - List<Long> currentBatch = new ArrayList<>(TIMED_OUT_TXN_ABORT_BATCH_SIZE); + List<List<Pair<Long, Integer>>> timedOutTxns = jdbcResource.getJdbcTemplate().query(s, rs -> { + List<List<Pair<Long, Integer>>> txnbatch = new ArrayList<>(); + List<Pair<Long, Integer>> currentBatch = new ArrayList<>(TIMED_OUT_TXN_ABORT_BATCH_SIZE); while (rs.next()) { - currentBatch.add(rs.getLong(1)); + currentBatch.add(Pair.of(rs.getLong(1),rs.getInt(2))); Review Comment: Yes, reverted to Map -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org