SpinTheMic
Pro

Explain it in 60 seconds

What is a dbt model

Data Engineering · dbt · Beginner

What is a model in dbt and how does dbt turn it into a database object?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • A model is a .sql file with one SELECT statement, or a Python model on supported platforms.
  • dbt wraps the SELECT in DDL, like CREATE VIEW or CREATE TABLE AS, based on the materialization.
  • The file name becomes the object name by default.
  • Models reference other models with ref(), which builds the DAG.
  • Config can be set in the file, in YAML, or in dbt_project.yml.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics