cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Governed Tag Propagation (Beta) in Unity Catalog - How It Works and What to Consider

data_pulse
Contributor

Databricks' Governed Tag Propagation (Beta) is an interesting addition to Unity Catalog, helping automatically carry governed tags across downstream tables and views using data lineage.

As data moves across medallion layers, this could significantly reduce the effort of manually maintaining consistent classifications across derived datasets.

The below flow illustrates how governed tags propagate through supported operations and some key lifecycle behaviours.

Governed Tag Propagation Flow Diagram.png

What I explored:

Tested the Beta with a few common Databricks operations:

  • CTAS, INSERT, MERGE and Views: Governed tags propagated successfully.
  • Column transformations: Tags followed renamed and transformed columns.
  • Delta CLONE: Table-level tags propagated, but column-level propagation wasn't supported.
  • Conflicting tag values: The configured default propagation value was applied.
  • Tag removal and reclassification: Removing an upstream tag didn't automatically remove the existing downstream tag during testing. However, explicit downstream removal worked, and subsequent reclassification triggered re-propagation.

Where could this help?

  • PII and sensitive-data classification: Maintaining consistent classifications through the lakehouse.
  • Governance automation: Reducing manual tagging across derived tables and views.
  • ABAC integration: Supporting tag-driven access policies, subject to propagation timing.
  • Data discovery and compliance: Improving visibility into classified downstream assets.

A few interesting questions remain:

While the initial results are promising, some areas would benefit from further exploration:

  • Tag removal: Should removing a source classification automatically revoke its downstream propagated tags, or is retaining them the safer behaviour?
  • Propagation latency: Since propagation is asynchronous, how should organisations handle the period before tag-dependent ABAC policies become effective?
  • Governance at scale: How should teams manage conflicting classifications, downstream overrides, and periodic tag reconciliation?

Overall, this looks like a useful step towards lineage-driven, automated data governance in Databricks. However, understanding the complete tag lifecycle is just as important as ensuring tags propagate successfully.

Would be interested to hear how others are approaching these scenarios or whether you've observed similar behaviour during the Beta.

Reference: https://docs.databricks.com/aws/en/admin/governed-tags/tag-propagation

 

2 REPLIES 2

DoTA
Honored Contributor

Thanks for testing this properly, the clone result is a useful one to know. On your latency question, the docs say propagation runs in the background and tags usually show up within minutes, and that an ABAC policy on the tag isn't enforced on the derived object until the tag lands. So the gap is by design. What I'd do is keep new tables unreadable until the tag is there: create them in a schema only the pipeline owner can read, check column_tags in information_schema for the tag, then grant access. Otherwise a fresh table is briefly open with no mask on it.

On removal, the docs page doesn't say what happens downstream when the source tag goes away, and your test matches that, so I'd treat stale downstream tags as something you reconcile yourself. A scheduled job that compares tags on source and derived columns using lineage is cheap enough. I'd lean towards keeping the stale tag, since too restrictive is better than leaking, and have a person confirm before it gets removed.

Also worth knowing it is serverless only for now and doesn't cover streaming tables or materialized views from pipelines, so any medallion layer built that way won't get tags.

data_pulse
Contributor

@DoTA Thanks for highlighting the asynchronous propagation aspect, that's an important consideration, particularly when propagated tags are tied to ABAC policies. It's a useful reminder to account for the propagation delay rather than assuming governance metadata is available immediately.

The CLONE behaviour was an interesting one to uncover as well.

๐Ÿ˜„ Looks like the data can arrive before its governance tags finish their journey! Definitely something to account for when designing tag-driven access controls.