jackylee-ch opened a new pull request, #942: URL: https://github.com/apache/paimon-rust/pull/942
Java exposes `sys.rename_branch(table, from_branch, to_branch)` to rename a branch. The core `BranchManager::rename_branch` primitive already existed; only the DataFusion `CALL` procedure was missing. This registers `rename_branch`: it declares the `table`/`from_branch`/`to_branch` parameters so a misspelled argument is rejected, and dispatches to `BranchManager`, which already validates that the source branch exists, the target name is free, and neither is `main`. Tested end-to-end: seed a branch, CALL rename_branch, assert the old name is gone from `$branches` and the new one is present; renaming a missing branch errors. -- 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]
