fix(recovery): restore source removed by production documentation merge
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
-- A singular test that FAILS if the serving mart ever contains a row belonging
|
||||
-- to a tenant other than the one the run was scoped to.
|
||||
--
|
||||
-- The tenant predicate is applied in staging and inherited downstream, so this
|
||||
-- test should be impossible to fail. That is precisely why it exists: an
|
||||
-- isolation guarantee nobody tests is the one that turns out to have four
|
||||
-- holes rather than the one reported.
|
||||
select tenant_id, count(*) as rows_from_another_tenant
|
||||
from {{ ref('mart_sales_daily') }}
|
||||
where tenant_id != '{{ var("siax_tenant_id") }}'
|
||||
group by tenant_id
|
||||
Reference in New Issue
Block a user