deniskuzZ commented on code in PR #4805: URL: https://github.com/apache/hive/pull/4805#discussion_r1404359480
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java: ########## @@ -5811,14 +5812,14 @@ 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<Map<Long, Integer>> timedOutTxns = jdbcResource.getJdbcTemplate().query(s, rs -> { Review Comment: why do you use HashMap, it looks like you just need List<Pair<Long,TxnType>> -- 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