deniskuzZ commented on code in PR #5691: URL: https://github.com/apache/hive/pull/5691#discussion_r2010060528
########## iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/IcebergAcidUtil.java: ########## @@ -391,4 +393,17 @@ public T build() { } } + static long getTxnId() { Review Comment: that's not even required as it could be done as 1-liner ```` long txnId = Optional.ofNullable(SessionState.get()) .map(ss -> ss.getTxnMgr().getCurrentTxnId()).orElse(0L); ```` -- 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