Area: Product Issues
Sub-Area: Tag Propagation
Applies to: Cloud
Issue
Tag propagation automation is enabled but tags are not reaching the downstream datasets you expect. This usually happens because a setting such as downstream propagation or the tag prefix filter is not what you intended, or because you expect column-level propagation from the standard Tag Propagation automation.
You Might Be Asking
- Why aren't my tags propagating to downstream datasets even though the automation is turned on?
- Does tag propagation work at the column level?
- How do I propagate tags that already exist?
- What is the difference between tag propagation and other propagation automations?
Cause
The standard Tag Propagation automation has a narrow scope:
- It copies dataset-level tags only. It skips tag changes on columns and on anything that is not a dataset.
- It sends tags to downstream datasets (the entity types must match) and to sibling assets.
- It reacts to tag add and remove events made after the automation is running. It does not process tags that already existed.
- It follows lineage up to 5 hops by default and up to 1000 downstream assets per tag change. If there are more downstreams, it logs a warning and truncates.
- If a tag prefix filter is set, only tags that match a listed prefix propagate. By default all tags propagate.
Solution
-
Check the automation settings.
- Go to Govern > Automations and open your Tag Propagation automation.
- Make sure the option to propagate to downstream assets is on (
include_downstreams, on by default). - Check the option to propagate to siblings (
include_siblings, on by default). At least one propagation direction must be selected. - Check the tag prefix filter (
tag_prefixes). Leave it empty to propagate all tags.
-
Check the scope.
- The standard Tag Propagation automation does not copy column tags, even though its description mentions columns. It copies dataset tags only.
- Glossary Term Propagation copies glossary terms, not tags. Don't use it as a substitute for column-level tag propagation. See Glossary Term Propagation for terms.
- Tag propagation goes to downstream datasets and siblings. It does not copy a tag from a downstream asset to its upstream. Lineage Propagation can propagate upstream.
-
Check lineage.
- Open the asset in DataHub and confirm that lineage exists between the tagged asset and the target dataset.
- The target must be the same entity type as the tagged asset.
- Chains longer than 5 hops are not reached by default.
-
Propagate tags that already exist.
- Propagation is event-driven. It only reacts to tag add and remove events after the automation is running.
- Remove the tag from the source dataset and add it again. The add event propagates the tag.
- The Initialize action does not backfill tags for the standard Tag Propagation automation. It processes no assets for this automation.
-
Read the automation settings with GraphQL. Automations are action pipelines. Query
actionPipelinewith the automation's URN. Therecipefield is a JSON-encoded string that holds the settings.query { actionPipeline(urn: "<your automation urn>") { details { type name config { recipe } } } }In DataHub Cloud, you can run this in GraphiQL. See DataHub Cloud GraphQL getting started.
Other propagation options
Starting with DataHub Cloud v2.2.0, you can't create new Tag Propagation automations in the UI. New propagation automations are created as Lineage Propagation. Your existing Tag Propagation automations don't switch over. You can still run and edit them.
Lineage Propagation propagates tags, glossary terms and documentation. When you set it up, you choose where they go: downstream, upstream, siblings, or any mix. For upstream, you can limit propagation to assets that have only one upstream. When you choose siblings, it also propagates between columns with the same name on the sibling assets. It can also apply metadata that already exists.
The setup screen has no separate option for column-level propagation along column lineage. If you need that, ask DataHub Support to request it as a feature. If you don't see the Lineage Propagation option, contact DataHub Support.
Related Documentation
- Glossary Term Propagation (terms only, not tags)
- DataHub Cloud GraphQL getting started