JingsongLi commented on code in PR #6783:
URL: https://github.com/apache/paimon/pull/6783#discussion_r2605031602
##########
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalogLock.java:
##########
@@ -63,11 +66,22 @@ public HiveCatalogLock(
@Override
public <T> T runWithLock(String database, String table, Callable<T>
callable) throws Exception {
- long lockId = lock(database, table);
+ Long lockId = null;
try {
+ lockId = lock(database, table);
Review Comment:
Just for `runWithLock` method:
I cannot get it why modify here. What is difference?
--
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]