pvary commented on a change in pull request #1495:
URL: https://github.com/apache/iceberg/pull/1495#discussion_r497047479



##########
File path: 
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java
##########
@@ -179,17 +189,18 @@ protected void doCommit(TableMetadata base, TableMetadata 
metadata) {
 
       setParameters(newMetadataLocation, tbl);
 
-      if (base != null) {
+      Table newTable = tbl;

Review comment:
       Otherwise I can not use it to the lambda expressions. We need "final" 
variables in lambda calls. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to