Group evolution checks
Use a SodaCL group evolution data quality check to validate changes to the categorical groups you defined.
checks for dim_customer:
- group evolution:
name: Marital status
query: |
SELECT marital_status FROM dim_employee GROUP BY marital_status
warn:
when required group missing: [M]
when forbidden group present: [T]
fail:
when groups change: anyDefine group evolution checks
checks for dim_product:
- group by:
query: |
SELECT style, AVG(days_to_manufacture) as rare
FROM dim_product
GROUP BY style
fields:
- style
checks:
- rare > 3:
name: Rare
- group evolution:
query: |
SELECT style FROM dim_product GROUP BY style
warn:
when required group missing:
- U
- WDefine group changes
Optional check configurations
Supported
Configuration
Documentation
Example with check name
Example with alert configuration
Example with quotes
Example with wildcards
List of validation keys
Validation key
Values
Expect one check result
Go further
Last updated
Was this helpful?
