Skip to content

Catalog labels table - #3703

Open
fredpower44 wants to merge 2 commits into
apache:mainfrom
fredpower44:catalog-labels-table
Open

fredpower44 wants to merge 2 commits into
apache:mainfrom
fredpower44:catalog-labels-table

Conversation

@fredpower44

Copy link
Copy Markdown

Which issue does this PR close?

What changes are included in this PR?

Adds Table::labels() and TableBuilder::labels(), and sets labels from the LoadTableResult returned
by REST load_table, create_table and register_table. Because labels live on Table, a reload
served from the ETag cache returns the cached labels. A table returned by a commit has no labels, because
the commit response doesn't include them; Go and C++ behave the same way. Happy to carry them over in
Transaction::commit instead if that's preferred.

Are these changes tested?

Yes. REST catalog tests cover labels from load, create and register, and None when the response has no
labels.

AI Disclosure

Code, tests and this description were drafted with Claude Code (Claude Opus 5.5). I reviewed.

fredpower44 and others added 2 commits November 13, 2026 19:52
Add Table::labels() and TableBuilder::labels(), and set them from the
LoadTableResult returned by the REST catalog's load_table, create_table
and register_table, so callers can read the labels a catalog returns.

Generated-by: Claude Code (Claude Opus 5.5)
Co-authored-by: Isaac <no-reply@databricks.com>

This branch has not been deployed

No deployments
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.

1 participant