Skip to content

[core] Add rollback schema to Table and Catalog#7498

Open
JingsongLi wants to merge 4 commits intoapache:masterfrom
JingsongLi:rollbackSchema
Open

[core] Add rollback schema to Table and Catalog#7498
JingsongLi wants to merge 4 commits intoapache:masterfrom
JingsongLi:rollbackSchema

Conversation

@JingsongLi
Copy link
Contributor

@JingsongLi JingsongLi commented Mar 21, 2026

Purpose

PR Summary: Adds a rollbackSchema(long schemaId) API to both Table and Catalog interfaces, allowing users to roll back a table's schema to a previous version. All schema versions newer than the target are deleted, with validation to prevent deletion when snapshots/tags/changelogs still reference newer schemas.

Tests

Test files: SimpleTableTestBase.java, RESTCatalogTest.java, RESTCatalogServer.java

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