Repository navigation
feat(storage): list the tables of an Iceberg namespace - #905
Merged
Merged
Conversation
…ics.list_tables # Conflicts: # packages/Storage/Storage/IcebergCatalog.cs # packages/Storage/Storage/Interfaces/IIcebergCatalog.cs
…ics.list_tables # Conflicts: # packages/Storage/Storage/IcebergCatalog.cs # packages/Storage/Storage/Interfaces/IIcebergCatalog.cs
Tr00d
marked this pull request as ready for review
November 26, 2026 10:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A caller can list the tables of an Iceberg namespace, one page at a time.
Capability:
storage.analytics.list_tables- List Iceberg Tables. No capability spec exists; the contract comes from the supabase/storage Iceberg table routes.Public API
Behavior
GET {storageUrl}/iceberg/v1/{bucket}/namespaces/{namespace}/tables[?pageToken&pageSize], service-role key, no body. Each paging parameter is sent only when set.identifierstoIcebergTables, in the order the service listed them, using the namespace the service sent. An identifier without a namespace falls back to the namespace that was listed. A missingidentifiersbecomes an empty page, andnext-page-tokenbecomesNextPageToken.pageSizeas a limit, ignorespageTokenand never sendsnext-page-tokentoday. The interface docs say so.SupabaseStorageException, with the Iceberg error type inCode:NoSuchNamespaceExceptionorNoSuchCatalog(ReasonNotFound)AccessDeniedArgumentNullException, and a./..namespace throwsArgumentException, before any request.Deviations from supabase-js
IcebergTableidentifiers instead of raw{ namespace, name }objects.Tests
ListTablesContractTestsListTablesTestsNo E2E: the local stack does not serve the Iceberg routes. Storage registers them only with
ICEBERG_ENABLED, which the CLI does not set locally, and table operations proxy to an external Iceberg REST catalog.Changed-line coverage: 100% (33 lines). Mutation: 37/37 on the changed files (33 killed, 4 timeouts on the
ConfigureAwait(false)mutants), 0 survivors.Notes
ListNamespacesQueryand the newListTablesQueryshare an internalCommon/QueryStringhelper (Append,Parameter) instead of each keeping its own copy.ListNamespacesAsync's behavior is unchanged and its tests are untouched.