DataHub · Arazzo Workflow
DataHub Decommission a Dataset
Version 1.0.0
Confirm a dataset, check it has no downstream dependents, then soft delete it from the metadata graph.
View Spec
View on GitHub
Data CatalogData DiscoveryData GovernanceData LineageMetadataArazzoWorkflows
Provider
Workflows
decommission-dataset
Soft delete a dataset only when it has no downstream dependents.
Confirms a dataset exists, checks its DownstreamOf relationships, and soft deletes the entity only when no downstream dependents are present.
1
confirmDataset
getEntityLatestAspects
Retrieve the latest aspects for the dataset URN to confirm the entity exists before attempting to decommission it.
2
checkDependents
getRelationships
Query the relationship graph for outgoing DownstreamOf edges to detect any datasets that depend on this one before deleting it.
3
softDelete
deleteEntities
Soft delete the dataset, marking the entity as removed while preserving its metadata, since no downstream dependents were found.