Area: UI
Sub-Area: Description Management
Issue
Users were unable to delete or clear descriptions from datasets and columns once they had been added. The delete or clear action would appear to work in the UI but the description would persist after saving, or the delete button would not function at all.
You Might Be Asking:
- How do I remove a description?
- Why does my deleted description keep coming back?
- Can I clear column descriptions in bulk?
Solution
The description deletion functionality has been fixed to properly remove descriptions at both the dataset and column level. The issue was related to how empty string values were handled in the backend mutation.
To delete descriptions: 1. Navigate to the entity (dataset or column) 2. Click the edit icon next to the description 3. Clear the text completely (delete all content) 4. Click "Save" or "Update" 5. The description should now be removed
For bulk column description removal, use the Python SDK:
from datahub.emitter.mce_builder import make_dataset_urn
from datahub.metadata.schema_classes import EditableSchemaMetadataClass
# Remove descriptions by setting to None or empty string
field_info = EditableSchemaMetadataClass(
editableSchemaFieldInfo=[
{
"fieldPath": "column_name",
"description": None # This will remove the description
}
]
)
Additional Notes
Fixed in version v0.3.11. The fix properly handles the distinction between null, empty string, and existing descriptions in the UI and API.
Related Documentation
Tags:
ui, descriptions, delete, edit, metadata, bug-fix, v0.3.11