We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b8a35 commit 7039c27Copy full SHA for 7039c27
iceberg-rust/src/table/transaction/operation.rs
@@ -208,11 +208,13 @@ impl Operation {
208
(_, _) => Ok(SnapshotOperation::Overwrite),
209
}?;
210
211
+ let snapshot_sequence_number = table_metadata.last_sequence_number
212
+ + if dsn_offset >= 1 { dsn_offset } else { 1 };
213
let mut snapshot_builder = SnapshotBuilder::default();
214
snapshot_builder
215
.with_snapshot_id(snapshot_id)
216
.with_manifest_list(new_manifest_list_location)
- .with_sequence_number(table_metadata.last_sequence_number + 1)
217
+ .with_sequence_number(snapshot_sequence_number)
218
.with_summary(Summary {
219
operation: snapshot_operation,
220
other: additional_summary.unwrap_or_default(),
0 commit comments