Check a model is still sound
Data changes. This tells you if a column disappeared, if a number is outside the limits you set, or if rows that should be unique repeat.
Sample data
Made-up data. If you have not loaded it yet, ask your assistant:
Load https://gotsimplified.com/samples/shop_orders.csv into my data lake as samples.shop_orders, replacing it if it already exists.
Download: shop_orders.csv
Try this
Check my shop_orders model.
Your assistant may word its answers differently each time; the numbers come from your tables.
What you should see
With the sample data. Use these to check the answer.
- Columns, revenue at least 0 and order_id is unique all show Passed.
- revenue is 110,104 across all the data.
What you need
The shop_orders model.
How to read the answer
A failed unique check often means a join is counting rows twice.
Good to know
Checks run when you ask, not by themselves.