Create mart model for customers
You are finally ready to build your first data mart model!
In this exercise, you will be building a customers mart model that contains clean, de-normalized, and easy-to-query data specific to customers. This will help your end users write simple queries for analytical and reporting purposes to gain insights into your e-commerce business.
Generally, the SQL logic that goes into the mart model is workshopped in a UI or console connected to the data warehouse, until all SQL syntax bugs are ironed out and the output table has been refined. Then, the SQL is copied over into the dbt mart model file.
We will try to mimic that in the following exercise. Let's get started.
Cet exercice fait partie du cours
Case Study: Building E-Commerce Data Models with dbt
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice