Skip to content

feat: expose ReplacePartitions on Table and Transaction - #925

Merged
wgtmac merged 1 commit into
apache:mainfrom
shangxinli:feat/replace-partitions-api
Sep 8, 2026
Merged

feat: expose ReplacePartitions on Table and Transaction#925
wgtmac merged 1 commit into
apache:mainfrom
shangxinli:feat/replace-partitions-api

Conversation

@shangxinli

Copy link
Copy Markdown
Contributor

PR2 of 2 for #775, closes the ReplacePartitions item in #637.

Adds NewReplacePartitions() to Table and Transaction, with the StaticTable
override returning NotSupported. Placement follows SetSnapshot: exposed on
Transaction, and on Table for the standalone-commit path.

Tests now go through Table::NewReplacePartitions() instead of constructing the
operation directly, plus a transaction-scoped test and a multi-file-per-partition test.

Adds NewReplacePartitions() to Table and Transaction, with the
StaticTable override returning NotSupported. Routes the existing
ReplacePartitions tests through Table::NewReplacePartitions() and adds
a transaction-scoped test.

Part of apache#637, PR2 of 2 for apache#775.
@wgtmac

wgtmac commented Sep 8, 2026

Copy link
Copy Markdown
Member

Thanks for completing this!

@wgtmac
wgtmac merged commit 811d500 into apache:main Sep 8, 2026
18 checks passed
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.

2 participants