pvary commented on code in PR #5039:
URL: https://github.com/apache/iceberg/pull/5039#discussion_r897660436
##########
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java:
##########
@@ -512,6 +513,7 @@ long acquireLock() throws UnknownHostException, TException,
InterruptedException
LockResponse lockResponse = metaClients.run(client ->
client.lock(lockRequest));
AtomicReference<LockState> state = new
AtomicReference<>(lockResponse.getState());
long lockId = lockResponse.getLockid();
+ final Pair<Long, String> lockDetails = Pair.of(lockId,
String.format("%s.%s", database, tableName));
Review Comment:
I do not think we need this `Pair` object here. Could we just use
database/tableName down below?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]