Skip to content

Comments

feat(admin-api): add single-table restore endpoint#1824

Open
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/restore-by-table
Open

feat(admin-api): add single-table restore endpoint#1824
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/restore-by-table

Conversation

@shiyasmohd
Copy link
Contributor

@shiyasmohd shiyasmohd commented Feb 20, 2026

Summary

  • Add POST /datasets/{namespace}/{name}/versions/{revision}/tables/{table_name}/restore endpoint for restoring a single table.
  • Support two restore modes: discover latest revision from object storage (UUID heuristic), or activate a specific revision by location_id
  • Extend ampctl dataset restore CLI with --table and --location-id flags
  • Add integration tests
  • Add docs

CLI usage

# Discover latest revision from storage
ampctl dataset restore my_ns/my_dataset@1.0.0 --table blocks

# Activate a specific revision
ampctl dataset restore my_ns/my_dataset@1.0.0 --table blocks --location-id 42

@shiyasmohd shiyasmohd self-assigned this Feb 20, 2026
@shiyasmohd shiyasmohd requested a review from LNSD February 20, 2026 14:53
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