rdsr commented on a change in pull request #968:
URL: https://github.com/apache/incubator-iceberg/pull/968#discussion_r415407709



##########
File path: core/src/main/java/org/apache/iceberg/SnapshotManager.java
##########
@@ -50,25 +51,34 @@ protected ManageSnapshots self() {
 
   @Override
   protected String operation() {
-    // snapshotOperation is used by SnapshotProducer when building and writing 
a new snapshot for cherrypick
-    Preconditions.checkNotNull(snapshotOperation, "[BUG] Detected 
uninitialized operation");
+    //TODO: We are not setting this var during rollbacks. What should its 
value be during rollbacks?

Review comment:
       So in that case, when we call `createSnapshotEvent` [in the updateEvent 
PR] how should we handle the case when we want to call the `operation()` method.




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to