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>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: f2dq_metrics
|
||||
tests:
|
||||
- f2dq.metric_expression_is_true:
|
||||
table: ref('buy_events')
|
||||
metric: max_length
|
||||
column_name: event_type
|
||||
expression: value = 3
|
||||
|
||||
- f2dq.metric_equal_to:
|
||||
table: ref('buy_events')
|
||||
metric: max_length
|
||||
column_name: event_type
|
||||
value: 3
|
||||
|
||||
- f2dq.metric_in_range:
|
||||
table: ref('buy_events')
|
||||
metric: max_length
|
||||
column_name: event_type
|
||||
min_value: 3
|
||||
max_value: 3
|
||||
|
||||
- f2dq.metric_expression_is_true:
|
||||
table: ref('buy_events')
|
||||
metric: row_count
|
||||
expression: value > 0 and value < 10
|
||||
condition: time_window_start >= '2021-05-02'
|
||||
Reference in New Issue
Block a user