DENG-2837 add data checks to new ga4 tables (#5102)
* DENG-2837 Add 2 new QA checks * DENG-2837 add spaces to end of checks * DENG-2837 add where clause to blogs_goals_v2 check * DENG-2837 - add QA check for www_site_hits_v2 * DENG-2837 adding more checks and adding extra empty line * DENG-2837 add not null check to ga_sessions_v2 * DENG-2837 add pattern check for visit identifier on blogs_goals_v2
This commit is contained in:
Родитель
406098188c
Коммит
74ddf001e9
|
@ -0,0 +1,5 @@
|
|||
#fail
|
||||
{{ is_unique(["date", "visit_identifier"], "date = @submission_date") }}
|
||||
|
||||
#warn
|
||||
{{ matches_pattern(column="visit_identifier", pattern="^[0-9]+\\.{1}[0-9]+\\-{1}[0-9]+$", where="date = @submission_date", threshold_fail_percentage=0, message="Warn - some visit_identifier not matching expected pattern") }}
|
|
@ -0,0 +1,2 @@
|
|||
#warn
|
||||
{{ matches_pattern(column="visit_identifier", pattern="^[0-9]+\\.{1}[0-9]+\\-{1}[0-9]+$", where="date = @submission_date", threshold_fail_percentage=0, message="Warn - some visit_identifier not matching expected pattern") }}
|
|
@ -0,0 +1,2 @@
|
|||
#warn
|
||||
{{ matches_pattern(column="visit_identifier", pattern="^[0-9]+\\.{1}[0-9]+\\-{1}[0-9]+$", where="date = @submission_date", threshold_fail_percentage=0, message="Warn - some visit_identifier not matching expected pattern") }}
|
|
@ -0,0 +1,5 @@
|
|||
#fail
|
||||
{{ is_unique(["ga_client_id", "ga_session_id"]) }}
|
||||
|
||||
#fail
|
||||
{{ not_null(["session_date", "ga_client_id", "ga_session_id"])}}
|
Загрузка…
Ссылка в новой задаче