Dbt, Data Quality, Data Testing, Data Analytics, Data Governance.
acceptance_percentage_threshold: rule: < 0 failing_perc: 0.02 The compiled SQL code will then be: with test_target as ( select count(case when delivery_time < 0 then delivery_time end) / count(*) as percentage from ref_orders ) select * from test_target where percentage > 0.02 An error will be