Centralized Management
info
This feature is currently in private beta in DataHub Cloud. Reach out to your DataHub Cloud representative to learn more.
How It Works
Centralized Management allows governance of all physical children at the logical parent level. This means that metadata changes made to the logical model will be propagated to all its physical children.
Metadata at Logical Level | Change at Physical Level |
---|---|
Tags | ✅ Tags are replicated on physical children. |
Glossary Terms | ✅ Terms are replicated on physical children. |
Documentation | ✅ The description shown on the logical parent is copied to physical children. If the child has its own description, that will be shown instead. |
Ownership | ✅️ Owners are replicated on physical children. If the same user is an owner for multiple ownership types, only one ownership type replicated. |
Structured Properties | ✅ Structured properties are replicated on physical children. If the child has an existing value for the same property, it will be replaced, even if that property is multi-valued. |
Domains | ❌ Domains are not propagated. |
Data Products | ❌ Data products are not propagated. |
Data Quality Assertions | ❌ Assertions are not propagated. |
You can hover over propagated attributes to see when and from where this information came.
Getting Started
Centralized Management requires two automations. They currently must be created manually. This can be done via the GraphQL mutations below.
note
You can execute these mutations by visiting <your-datahub-url>/api/graphiql
.
mutation UpsertLogicalModelsPropagationAutomation {
upsertActionPipeline(
urn: "urn:li:dataHubAction:logical-models"
input: {
name: "Logical Models"
category: "System"
type: "datahub_integrations.propagation.propagation_v2.propagation_v2_action.PropagationV2Action"
description: "Propagation metadata from logical parents to their children"
config: {
recipe: """
{"name": "logical models", "action": {"type": "datahub_integrations.propagation.propagation_v2.propagation_v2_action.PropagationV2Action", "config": {"enabled": true, "propagation_rule": {"metadata_propagated": {"tags": {}, "terms": {}, "documentation": {}, "ownership": {}, "structured_properties": {}}, "origin_urn_resolution": {"lookup_type": "relationship", "relationship_type": "PhysicalInstanceOf"}, "target_urn_resolution": [{"lookup_type": "relationship", "relationship_type": "PhysicalInstanceOf"}]}}}}
"""
executorId: "default"
}
}
)
}
mutation UpsertSchemaFieldPropagationAutomation {
upsertActionPipeline(
urn: "urn:li:dataHubAction:schema-field"
input: {
name: "Schema Fields"
category: "System"
type: "datahub_integrations.propagation.propagation_v2.propagation_v2_action.PropagationV2Action"
description: "Propagate tags, terms, and documentation on SchemaMetadata / EditableSchemaMetadata to aspects directly on schema fields"
config: {
recipe: """
{"name": "schema fields", "action": {"type": "datahub_integrations.propagation.propagation_v2.propagation_v2_action.PropagationV2Action", "config": {"enabled": true, "propagation_rule": {"metadata_propagated": {"tags": {"omit_attribution_is_propagated": true}, "terms": {"omit_attribution_is_propagated": true}, "documentation": {"omit_attribution_is_propagated": true}}, "origin_urn_resolution": {"lookup_type": "entity", "entity_type": "dataset", "query":"platform:logical"}, "target_urn_resolution": "schema_field"}}}}
"""
executorId: "default"
}
}
)
}
Is this page helpful?