Skip to content

Commit 4025cbc

Browse files
authored
Merge pull request JanKaul#160 from splitgraph/bump-replace-snapshot-number
fix: set the correct snapshot number for the replace operation output
2 parents fa8a439 + 111504f commit 4025cbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iceberg-rust/src/table/transaction/operation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ impl Operation {
510510
let mut snapshot_builder = SnapshotBuilder::default();
511511
snapshot_builder
512512
.with_snapshot_id(snapshot_id)
513-
.with_sequence_number(0)
513+
.with_sequence_number(sequence_number)
514514
.with_schema_id(*schema.schema_id())
515515
.with_manifest_list(new_manifest_list_location)
516516
.with_summary(Summary {

0 commit comments

Comments
 (0)