No spaces in source and semantic model names
| require_source_and_semantic_model_names_without_spaces | dbt Latest | dbt Core |
|---|---|---|
| Introduced | 2026.4 | 1.12.0 |
Matured (default → true) | — | — |
| Removed | — | — |
The require_source_and_semantic_model_names_without_spaces flag is set to false by default.
Source names and semantic model names should contain letters, numbers, and underscores — not spaces. dbt raises the ResourceNamesWithSpacesDeprecation warning if it detects a space in a source name or semantic model name. When the require_source_and_semantic_model_names_without_spaces flag is set to true, dbt raises an error.
This flag extends require_resource_names_without_spaces to cover source and semantic model names specifically.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0