Skip to content

feat(datafusion): support branch_manager and system table#290

Merged
JingsongLi merged 5 commits intoapache:mainfrom
xuzifu666:branch_manager_support
Apr 28, 2026
Merged

feat(datafusion): support branch_manager and system table#290
JingsongLi merged 5 commits intoapache:mainfrom
xuzifu666:branch_manager_support

Conversation

@xuzifu666
Copy link
Copy Markdown
Member

Purpose

Linked issue: close #xxx

Branch management capabilities are frequently used in feature-driven scenarios, but are not currently supported in the Rust version.
This PR adds support for branch_manager and branch system table capabilities in the datafusion module.

Brief change log

Tests

API and Format

Documentation


/// Check if a branch exists.
pub async fn branch_exists(&self, branch_name: &str) -> crate::Result<bool> {
let names = self.list_all().await?;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not list all for exists, performance bad.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it has been changed to determine based on branch name.

Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit 9294d1f into apache:main Apr 28, 2026
8 checks passed
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.

2 participants