Skip to content

Commit 71e140e

Browse files
authored
Merge pull request #26 from DataRecce/chore/update-default-checks
[Chore] Update Recce preset checks
2 parents 11c0878 + fccb117 commit 71e140e

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

recce.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,16 @@ github:
44

55
# Recce Preset Checks
66
checks:
7-
- name: Model schema of customers
7+
- name: Model schema of customers, orders and modified nodes
88
description: The schema of customers should not be changed
99
type: schema_diff
1010
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
1813
description: The row count of customers and order should not be changed
1914
type: row_count_diff
2015
params:
21-
node_names:
22-
- customers
23-
- orders
16+
select: customers orders state:modified,config.materialized:table
2417
- name: Value diff of customers
2518
description: The customer_lifetime_value in customers should be 100% matched
2619
type: value_diff
@@ -40,7 +33,7 @@ checks:
4033
AVG(customer_lifetime_value) AS avg_lifetime_value
4134
FROM
4235
{{ ref("customers") }}
43-
WHERE first_order is not NULL
36+
WHERE first_order is not NULL
4437
GROUP BY
4538
first_order_week
4639
ORDER BY

0 commit comments

Comments
 (0)