Skip to content

feat: implement RewriteFiles operation#751

Open
WZhuo wants to merge 2 commits into
apache:mainfrom
WZhuo:rewrite_files
Open

feat: implement RewriteFiles operation#751
WZhuo wants to merge 2 commits into
apache:mainfrom
WZhuo:rewrite_files

Conversation

@WZhuo

@WZhuo WZhuo commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR implements the RewriteFiles operation for the Iceberg C++ library.

Changes

  • Added RewriteFiles update class in src/iceberg/update/rewrite_files.h and .cc
  • Added RewriteFiles to the type forward declarations in src/iceberg/type_fwd.h
  • Registered RewiteFiles as a merging snapshot update in src/iceberg/table.h and .cc
  • Added RewriteFiles support in transaction (src/iceberg/transaction.h and .cc)
  • Added comprehensive tests in src/iceberg/test/rewrite_files_test.cc
  • Added merge test for RewriteFiles in src/iceberg/test/merging_snapshot_update_test.cc

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.

1 participant