Challenge: Targets, Tests, and Documentation
Explore advanced dbt practices by creating tests to ensure unique order IDs, adding meaningful documentation to your models, and configuring separate targets for development and production environments. This lesson helps you validate data integrity, enhance model understanding, and manage dbt workflows securely.
We'll cover the following...
We'll cover the following...
Problem statement
The dbt project from your shop has two models: orders and stocks. Recently, you’ve noticed some issues:
The
ordersmodel sometimes contains ...