Skip to content

feat(admin-api): add create table revision from path endpoint#1765

Open
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/create-revision-from-path
Open

feat(admin-api): add create table revision from path endpoint#1765
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/create-revision-from-path

Conversation

@shiyasmohd
Copy link
Contributor

Summary

  • Add POST /revisions/create endpoint that registers a table revision from a custom object storage path.
  • Add namespace prefix to PhyTablePath and PhyTableRevisionPath with backward-compatible legacy fallback for existing data stored without namespace
  • Modify restore handler to check for an active revision in the metadata DB before falling back to object store scanning
  • Add integration tests

Example

URL : POST http://localhost:1610/revisions/create
Body

{
    "dataset": "edgeandnode/mainnet@0.0.1",
    "table_name": "blocks",
    "path": "custom/path/to/files"
}

@shiyasmohd shiyasmohd self-assigned this Feb 14, 2026
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