File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,16 @@ github:
4
4
5
5
# Recce Preset Checks
6
6
checks :
7
- - name : Model schema of customers
7
+ - name : Model schema of customers, orders and modified nodes
8
8
description : The schema of customers should not be changed
9
9
type : schema_diff
10
10
params :
11
- node_id : model.jaffle_shop.customers
12
- - name : Model schema of orders
13
- description : The schema of orders should not be changed
14
- type : schema_diff
15
- params :
16
- node_id : model.jaffle_shop.orders
17
- - name : Row count of customers and orders models
11
+ select : customers orders state:modified
12
+ - name : Row count of customers, orders and modified table model
18
13
description : The row count of customers and order should not be changed
19
14
type : row_count_diff
20
15
params :
21
- node_names :
22
- - customers
23
- - orders
16
+ select : customers orders state:modified,config.materialized:table
24
17
- name : Value diff of customers
25
18
description : The customer_lifetime_value in customers should be 100% matched
26
19
type : value_diff
@@ -40,7 +33,7 @@ checks:
40
33
AVG(customer_lifetime_value) AS avg_lifetime_value
41
34
FROM
42
35
{{ ref("customers") }}
43
- WHERE first_order is not NULL
36
+ WHERE first_order is not NULL
44
37
GROUP BY
45
38
first_order_week
46
39
ORDER BY
You can’t perform that action at this time.
0 commit comments