Skip to content

Conversation

@Li0k
Copy link

@Li0k Li0k commented May 20, 2025

Which issue does this PR close?

  • Closes #.

What changes are included in this PR?

This PR fixes the Manifest Entry Seq error generated by RewriteFile Action. Provide new_data_sequence_number to set the entry sequence.

related to https://github.com/apache/iceberg/blob/dfa5a979437783877e0f4aedfb62943d4cfcdf8e/core/src/main/java/org/apache/iceberg/actions/RewriteDataFilesCommitManager.java#L74

https://github.com/apache/iceberg/blob/dfa5a979437783877e0f4aedfb62943d4cfcdf8e/core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java#L1051

Are these changes tested?

@Li0k Li0k requested review from chenzl25, xxchan and xxhZs May 20, 2025 09:47
@Li0k Li0k merged commit be339a0 into dev_rebase_main_20250325 May 23, 2025
21 checks passed
@Li0k Li0k deleted the li0k/fix_rewrite_files_seq branch May 23, 2025 07:24
Li0k added a commit that referenced this pull request Nov 13, 2025
* feat(iceberg): rewrite_files support use_starting_sequence_number

* chore(test): add test_sequence_number_in_manifest_entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants