Missing Iceberg labels don’t mean a Databricks table is unclassified
Databricks’ Tag Exchange beta exposes Unity Catalog tags to external engines, but a row filter or column mask can change what the querying identity sees.
Databricks’ Nov. 24 announcement introduced Tag Exchange in beta: Unity Catalog can return table and column tags as labels in an Iceberg REST LoadTable response. That gives an external SQL agent a way to discover which table is certified or which column holds a particular kind of data. But an agent that treats a missing label as proof that a table has no classification can get the wrong answer. Databricks’ documentation says tags are not returned when row filters or column masks apply to the querying identity, including policies applied through attribute-based access control (ABAC).
Same table, different metadata
Take a hypothetical support_cases table tagged domain=customer_support, with content_type=support_case_summary on its issue_summary column. Suppose a catalog reviewer is exempt from a mask on that column, but the agent’s service principal is subject to it. With Tag Exchange enabled and the required access in place, the reviewer’s Iceberg client can receive the labels. The agent’s response does not return the tags. The labels have not necessarily been removed from Unity Catalog; the two clients asked as different identities. This is the expected behavior from the documented rules, not a live workspace test.
Even when labels arrive, table and column entries mean different things. The Tag Exchange guide says a table can inherit tags from its schema and catalog; on a key collision, the table wins over the schema, which wins over the catalog. Column labels are direct assignments, not inherited from the table. The guide also says to resolve column labels by Iceberg field ID in the returned schema, not by column position.
What to check before trusting the labels
Test metadata discovery with the identity the agent actually uses, not just an administrator’s credentials. Check that the workspace preview and metastore external access are enabled, the client supports the Iceberg labels API, and the identity has the documented privileges. If labels are absent, record classification as unknown rather than unclassified. Keep enforcement separate: Databricks documents cross-engine ABAC for supported external engines. A tag can help an agent choose a table; its absence is not permission to use it.
sources
- Databricks Nov. 24 Tag Exchange beta announcementwww.databricks.com
- Databricks: Access table and column tags from external enginesdocs.databricks.com
- Databricks: Cross-engine attribute-based access controlsdocs.databricks.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026