Files
M7XBeastandCursor ff096b51b5 Initial publish of dbt_f2dq (f2dq) package v0.12.1.
Clean package repo for Gitea installs via packages.yml git URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 17:37:40 +03:00

13 lines
273 B
SQL

{{
config(
materialized='view'
)
}}
select
sum(case when status = 'Fail' then 1 else 0 end) as failed,
sum(case when status = 'Pass' then 1 else 0 end) as passed,
run_at
from {{ ref ('f2dq_test_history') }}
group by run_at
order by run_at desc