jackylee-ch opened a new pull request, #939: URL: https://github.com/apache/paimon-rust/pull/939
Java exposes `sys.create_branch(table, branch[, tag][, ignore_if_exists])` to fork a branch off the current schema or a tag without touching `main`. The core `BranchManager::create_branch` / `create_branch_from_tag` primitives already existed (#290/#482 wired the branch reader and manager); only the DataFusion `CALL` procedure was missing. This registers `create_branch`: it declares the `table`/`branch`/`tag`/`ignore_if_exists` parameters so a misspelled argument is rejected (matching Java's binding), and dispatches to `BranchManager` — creating from a tag when one is given, and treating an existing branch as a no-op only when `ignore_if_exists` is set. Tested end-to-end: CALL, then assert the branch appears in `$branches`; recreating errors; recreating with `ignore_if_exists` is a no-op. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
