Search⌘ K
AI Features

Solution: Complete the project.yml File

Understand how to configure the project.yml file in dbt by specifying the correct profile for database connection and managing model settings, such as disabling specific models like ingredients, to control processing during runs.

We'll cover the following...

Solution

Let’s review the solution to the problem presented in the previous lesson.

chef_tom:
  outputs:
    dev:
      dataset: {{dataset_name}}
      job_execution_timeout_seconds: 300
      job_retries: 1
      keyfile: credentials.json
      location: {{dataset_location}}
      method: service-account
      priority: interactive
      project: {{project_name}}
      threads: 1
      type: bigquery
  target: dev
# Enter your new profile here
Solution code: Completing the project.yml file

We set the configuration enabled to prevent dbt from running the ingredients model. ...