rdblue commented on code in PR #15511:
URL: https://github.com/apache/iceberg/pull/15511#discussion_r2934202460


##########
core/src/main/java/org/apache/iceberg/SnapshotProducer.java:
##########
@@ -471,7 +471,7 @@ public void commit() {
             .run(
                 taskOps -> {
                   Snapshot newSnapshot = apply();
-                  stagedSnapshot.set(newSnapshot);
+                  newSnapshotId.set(newSnapshot.snapshotId());

Review Comment:
   Do we need to set the snapshot ID here? It should be available everywhere 
using `snapshotId()`.



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