Skip to content

feat: support database-level ops#279

Merged
luoyuxia merged 3 commits intoapache:mainfrom
luoyuxia:support-database-level-ops
Feb 8, 2026
Merged

feat: support database-level ops#279
luoyuxia merged 3 commits intoapache:mainfrom
luoyuxia:support-database-level-ops

Conversation

@luoyuxia
Copy link
Contributor

@luoyuxia luoyuxia commented Feb 8, 2026

Purpose

Linked issue: close #275

Brief change log

Tests

API and Format

Documentation

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds database-level administrative operations to the Fluss Python bindings to address #275, exposing database metadata types and new FlussAdmin APIs.

Changes:

  • Added DatabaseDescriptor and DatabaseInfo Python-exposed metadata wrappers.
  • Extended FlussAdmin with database ops (create_database, drop_database, list_databases, database_exists, get_database_info) plus list_tables, table_exists, and drop_partition.
  • Updated Python type stubs and registered new classes in the module initializer.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

File Description
bindings/python/src/metadata.rs Introduces Python bindings for database descriptor/info metadata types.
bindings/python/src/lib.rs Registers the new database metadata classes with the Python module.
bindings/python/src/admin.rs Exposes new async admin APIs for database/table/partition operations.
bindings/python/fluss/init.pyi Adds type stubs for the new admin methods and metadata classes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@fresh-borzoni fresh-borzoni left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@luoyuxia luoyuxia merged commit a75540b into apache:main Feb 8, 2026
19 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.

Database level ops for python bindings

2 participants