laskoviymishka opened a new pull request, #17410:
URL: https://github.com/apache/iceberg/pull/17410

   Exposes the catalog-provided labels obtained from the load response on the 
loaded `Table`, so engines and tooling can read them.
   
   Stacked on #17337 (the labels read-path serde). Review the top commit — the 
serde layer belongs to #17337.
   
   ## What changed
   
   - New `SupportsLabels` mixin interface (mirroring 
`SupportsDistributedScanPlanning`) with a single `labels()` accessor.
   - `BaseTable` implements `SupportsLabels` via a new constructor carrying an 
optional `Labels`; existing constructors default to an empty instance. The 
field is transient and is not copied into `SerializableTable`, so labels are 
ephemeral catalog enrichment and are not preserved across table serialization 
(driver-side only).
   - `RESTSessionCatalog` populates labels from the load response for both the 
plain `BaseTable` and the server-side scan-planning `RESTTable` paths, across 
`loadTable`, `registerTable`, and `createTable`.
   
   Read-only; the write path is out of scope.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to