Configuring sources in YAML
📖 Scenario: You are working on a data project using dbt. You want to tell dbt where your raw data lives by configuring sources in a YAML file. This helps dbt understand your data tables before you transform them.
🎯 Goal: Learn how to write a YAML configuration for a source in dbt. You will create a source with a name, specify the database and schema, and list the tables inside it.
📋 What You'll Learn
Create a YAML file with a source configuration
Define a source named
raw_dataSet the database to
analytics_dbSet the schema to
publicAdd a table named
customers with a descriptionAdd a table named
orders with a description💡 Why This Matters
🌍 Real World
In real data projects, configuring sources in YAML helps document and manage raw data tables before transforming them.
💼 Career
Data engineers and analysts use source configurations in dbt to build reliable and maintainable data pipelines.
Progress0 / 4 steps