Skip to content

Add labels support to LoadTableResponse and Table#3191

Draft
laskoviymishka wants to merge 1 commit intoapache:mainfrom
laskoviymishka:labels-demo
Draft

Add labels support to LoadTableResponse and Table#3191
laskoviymishka wants to merge 1 commit intoapache:mainfrom
laskoviymishka:labels-demo

Conversation

@laskoviymishka
Copy link

@laskoviymishka laskoviymishka commented Mar 24, 2026

Adds optional labels field to IRC LoadTableResponse, parsed by the REST catalog client and exposed on Table objects.

  • TableResponse: new labels dict field (default empty, backward compatible)
  • Table: labels property + table_labels, column_labels, get_column_label()
  • Column labels keyed by field-id for stability across schema evolution

Proof-of-concept for the IRC Labels proposal: apache/iceberg#15521.

Rationale for this change

Are these changes tested?

Are there any user-facing changes?

@laskoviymishka laskoviymishka marked this pull request as draft March 24, 2026 08:50
Adds optional labels field to IRC LoadTableResponse, parsed by the REST
catalog client and exposed on Table objects.

- TableResponse: new labels dict field (default empty, backward compatible)
- Table: labels property + table_labels, column_labels, get_column_label()
- Column labels keyed by field-id for stability across schema evolution

Proof-of-concept for the IRC Labels proposal.
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