nastra commented on code in PR #15511:
URL: https://github.com/apache/iceberg/pull/15511#discussion_r2939009548
##########
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:
this is really just restoring the behavior to how it was prior to
https://github.com/apache/iceberg/commit/39373d09c276586ddcec971fe35951975bdac66f
so I didn't do any other modifications to the code other than adding a test
--
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]