From the course: End-to-End Data Engineering Project
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Reviewing and executing dbt
From the course: End-to-End Data Engineering Project
Reviewing and executing dbt
- [Instructor] Let's recap everything we have done with DVT and take a closer look at the SQL queries that form our models. In the previous lesson, we began by creating staging models in the staging directory. The purpose of the staging models is to pull our raw data and put it into a more workable format. The models, staging customers and staging orders are essentially selecting a subset of columns from our source tables, raw data customers, and raw data orders respectively. For example, in our staging customers model, we are not propagating the customer name and last name. This could be useful for privacy reasons. The staging models are also the right place to make small transformations, like casting. For example, we could cast the daytime columns here to timestamped if we would like to. You may have noticed that we are using the source function to refer to the source table. Using this function is better than directly…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Creating and customizing your dbt models1m 54s
-
(Locked)
Reviewing and executing dbt3m 41s
-
(Locked)
Securing your data with dbt tests4m 7s
-
(Locked)
Challenge: Add tests to the Marts model50s
-
(Locked)
Solution: Add tests to the Marts model1m 7s
-
(Locked)
Automating documentation in dbt3m 18s
-
(Locked)
Completing your dbt project: A full development cycle1m 38s
-
(Locked)
-
-