From the course: Data Engineering with dbt
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Connect your profiles and project YAML files - Data Build Tool (dbt) Tutorial
From the course: Data Engineering with dbt
Connect your profiles and project YAML files
- [Instructor] We now have our DBT project yml file and our profiles yml file. But how do they interact with each other? Here's a really useful quote directly from the DBT documentation. When you run DBT from the command line, it reads your DBT project yml file to find the profile name and then looks for a profile with the same name in your profile's yml file. This profile contains all the information DBT needs to connect to your data platform. In our case it's duckdb. And so this is integral how DBT works and you can quickly check it with the command line of DBT debug. So I'm going to make sure that we first in the NYC parking violations directory. And to do that I do LS. List my directories and I can quickly see I'm not in the right directory. And this trips me up all the time in DBT, and so I'm glad we saw this so we can do this right now. So remember to move to a directory, do cd, and now we're going to do NYC…
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.