User-defined checks
Use a SodaCL user-defined check to define elements of a check using SQL expressions or queries.
Define user-defined checks
checks for dim_reseller:
- avg_order_span between 5 and 10:
avg_order_span expression: AVG(last_order_year - first_order_year)checks for dim_product:
- product_stock >= 50:
product_stock query: |
SELECT COUNT(safety_stock_level - days_to_manufacture)
FROM dim_productOptional check configurations
Supported
Configuration
Documentation
Example with check name
Example with alert configuration
Example with quotes
Example with for each
Example with dataset filter
Example with failed row sample query
Example with column parameter
List of comparison symbols and phrases
Go further
Last updated
Was this helpful?
