PARAS MADAN
All writing

Latest in AI

Databricks Tag Exchange: Why an Iceberg Client Might See No Labels

Check the client version, Iceberg field IDs, and what the agent's own identity can see before relying on imported tags.

Databricks announced Tag Exchange in beta on November 24. It exposes Unity Catalog table and column tags as labels to compatible Iceberg REST clients. That can give an external data tool or an AI agent enough context to choose a useful table. But the absence of a tag in the response does not show that the table has no classification.

Check the same table through the intended client

Use a synthetic table in a test workspace whose admins have approved the preview and external catalog access. Try a harmless table tag such as domain=demo and a direct tag on a synthetic comment_preview field. Read the Iceberg LoadTableResponse with the same service identity and client your application will use. The Databricks setup guide lists the preview, permissions, and a compatible client example using Apache Iceberg 1.12.0.

Look for object-labels under labels for the table and entries under fields for the columns. Match each column using its Iceberg field ID in the returned schema, not its position. Changing the order of columns should not make your app attach a classification to the neighboring column. If a raw response has labels but the application doesn't, the client or mapping layer is a better place to investigate than the tag itself.

Separate inherited tags from suppressed tags

Unity Catalog can inherit table tags from its schema and catalog. When the same key is defined at several levels, the table value wins over the schema value, which wins over the catalog value. Column tags are direct assignments. A tag on the table does not automatically appear on each column in the returned labels.

The bigger gotcha is identity. Databricks documents that tags are withheld when a row filter or column mask applies to the calling principal. In an authorized test environment, compare a known restricted identity against the expected fixture. The goal is to confirm that your importer handles an absent label without treating it as a sign the data is public. Don't remove a mask or widen permissions just to make a test pass.

Keep the enforcement decision with the reader

The Iceberg REST specification change makes labels optional metadata supplied by the catalog. An older client can ignore them, and a receiving tool still decides how to interpret them. A tag useful for finding the certified sales table is not, by itself, an access rule in another system.

Have your integration distinguish a known label from an unavailable or unknown classification. If a workflow relies on a sensitivity label to decide what may be sent onward, use an approved default that stops or asks for review when it is missing. Test that path intentionally. Tag Exchange saves you from copying some context between systems; it doesn't take responsibility for the receiving system's decision.

I'm Paras. I work at the intersection of AI and engineering.

I help AI teams explain infrastructure and its limits with examples developers can put to work.

Book a 30-minute call.