Skip to main content

analysis-paths

dbt_project.yml
analysis-paths: [directorypath]

Definition#

Specify a custom list of directories where analyses are located.

Default#

Without specifying this config, dbt will not compile any .sql files as analyses.

However, the dbt init command populates this value as analysis (source)

Examples#

Use a subdirectory named analysis#

This is the value populated by the dbt init command.

dbt_project.yml
analysis-paths: ["analysis"]

Use a subdirectory named analyses#

A good idea if you want to be consistent in your use of plural directory names.

dbt_project.yml
analysis-paths: ["analyses"]