deniskuzZ commented on code in PR #3937:
URL: https://github.com/apache/hive/pull/3937#discussion_r1068301819


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -533,6 +533,13 @@ public void 
executeOperation(org.apache.hadoop.hive.ql.metadata.Table hmsTable,
             (AlterTableExecuteSpec.ExpireSnapshotsSpec) 
executeSpec.getOperationParams();
         
icebergTable.expireSnapshots().expireOlderThan(expireSnapshotsSpec.getTimestampMillis()).commit();
         break;
+      case SET_CURRENT_SNAPSHOT:
+        AlterTableExecuteSpec.SetCurrentSnapshotSpec setSnapshotVersionSpec =
+            (AlterTableExecuteSpec.SetCurrentSnapshotSpec) 
executeSpec.getOperationParams();
+        LOG.info("Executing set current snapshot operation on iceberg table 
{}.{} to version {}", hmsTable.getDbName(),

Review Comment:
   should it be under debug? All commands would still be logged in Driver



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

Reply via email to