-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
Data Quality CheckingMaintenanceTag as maintenance if the issue relates to general cleanup, maintenance, etc. Do not delete label.Tag as maintenance if the issue relates to general cleanup, maintenance, etc. Do not delete label.
Milestone
Description
Expected Behavior
Deleting a column (currently only via API) should delete associated data quality rules
Actual Behavior
It does not. Impact is low because data quality checks appear to still function, the broken rules are ignored
Steps to Reproduce
- Create a data quality rule for an extra-data field
- Send a
DELETErequest to/api/v2/columns/COLUMNID/?organization_id=ORGIDfor that column - Refresh the data quality page
Proposed Fix
Data quality rules are associated with a column using the tableName and columnName (no foreign keys). Create a migration to update all rules to using column ids, and remove rules that refer to columns that don't exist
Screenshot
Metadata
Metadata
Assignees
Labels
Data Quality CheckingMaintenanceTag as maintenance if the issue relates to general cleanup, maintenance, etc. Do not delete label.Tag as maintenance if the issue relates to general cleanup, maintenance, etc. Do not delete label.
Type
Projects
Status
No status
