Skip to content

[RestCatalog] Implement unregister table in catalogs #3304

Description

@mkroll-db

Is your feature request related to a problem or challenge?

Add catalog-level unregisterTable support introduced in #16400 to the REST catalog.

Unregister removes a table from the catalog without deleting its data or metadata files.
It returns a read-only table containing the last registered metadata. This can be used to register the table (with another catalog) again.

Describe the solution you'd like

The spec is clear and there is a reference implementation in java

The rough implementation will consists of:

  • add unregister_table to catalog (defaults to unsupported)
  • implement unregister_table in rest, sql and memory catalog
  • add tests

Willingness to contribute

I can contribute to this feature independently

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions