From f030004862a9f9728f95b1f268b1b7bbe3993859 Mon Sep 17 00:00:00 2001 From: Elementary Data Date: Thu, 8 Feb 2024 09:17:18 +0000 Subject: [PATCH] Edited dbt tests. --- models/schema.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/models/schema.yml b/models/schema.yml index 021cf8642..1ff03beae 100644 --- a/models/schema.yml +++ b/models/schema.yml @@ -34,6 +34,19 @@ models: - name: signup_date description: Date (UTC) of a customer's signup to the online shop. + tests: + - elementary.volume_anomalies: + time_bucket: + period: day + count: 1 + sensitivity: 3 + days_back: 14 + backfill_days: 2 + timestamp_column: signup_date + config: + severity: error + meta: + description: Checking for anomalies in the size and growth of a table by comparing the row count of each 1 days period to the last 14 days - name: orders description: This table has basic information about orders, as well as some derived facts based on payments config: