Skip to content

[elixir] feat: Add first batch of admin calls#583

Merged
fresh-borzoni merged 1 commit into
apache:mainfrom
nicolazar:feat/elixir-admin-part1
Jun 1, 2026
Merged

[elixir] feat: Add first batch of admin calls#583
fresh-borzoni merged 1 commit into
apache:mainfrom
nicolazar:feat/elixir-admin-part1

Conversation

@nicolazar
Copy link
Copy Markdown
Contributor

@nicolazar nicolazar commented May 30, 2026

Purpose

Linked issue: part of #466
closes #584

This PR adds the first batch of admin methods on Fluss.Admin for:

  • database_exists/2: checking whether a database exists
  • table_exists/3: checking whether a table exists
  • get_server_nodes/1: retrieving the server nodes as a list of structs Fluss.ServerNode (mirroring its rust counterpart). It relies on a wrapper pattern for output marshaling; future PRs follow the same shape.

We also simplify the integration tests setup by creating a new Fluss.Test.IntegrationCase that can be used across all the tests to inject the @moduletag :integration and reuse setup_all, connect_with_retry/2 helpers.

Brief change log

Tests

Each new admin function includes an integration test.

This commit adds three admin methods on `Fluss.Admin` for:
- checking whether a database exists
- checking whether a table exists
- retrieving the server nodes
Copy link
Copy Markdown
Member

@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.

@nicolazar Thank you, LGTM 👍

@fresh-borzoni fresh-borzoni merged commit 7d238ec into apache:main Jun 1, 2026
2 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.

[elixir] database_exists, table_exists, get_server_nodes admin methods

2 participants