Skip to main content

function-paths

dbt_project.yml
function-paths: [directorypath]

Definition​

Optionally specify a custom list of directories where user-defined functions (UDFs) are located.

Default​

By default, dbt will search for functions in the functions directory, for example, function-paths: ["functions"]

Examples​

Use a subdirectory named udfs instead of functions:

dbt_project.yml
function-paths: ["udfs"]

Use multiple directories to organize your functions:

dbt_project.yml
function-paths: ["functions", "custom_udfs"]

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0
Loading