Skip to content

Make an interface to provide functionality of getSchemaId #1165

Open

Description

@yili-db

Describe the bug

In the code base there is a repeated pattern of this:

          UUID schemaId =
              repositories.getSchemaRepository().getSchemaId(session, catalogName, schemaName);

This can be deduped by having an interface like SchemaUtils that every repo extends to get a simple function getSchemaId(...).

To Reproduce

Expected behavior

System [please complete the following information]:

Additional context

Activity

  1. added
    bug
    on Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions