[Core] Spaces in dbt model names for v1.8 upgrade guide #5352
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
size: medium
This change will take up to a week to address
Link to the page(s) on docs.getdbt.com requiring updates
Upgrade guide for v1.8:
https://docs.getdbt.com/docs/dbt-versions/core-upgrade/upgrading-to-v1.8
Tell us more about this update
Neither of these bullet points tell the whole story, so I'd suggest amending or removing the following:
Here's some more nuanced explanation:
1. Use a
*
wildcard to select a model name with a space$ dbt list -s "my*model" 20:13:53 Running with dbt=1.7.10 20:13:53 Registered adapter: postgres=1.7.10 20:13:53 Found 1 model, 0 sources, 0 exposures, 0 metrics, 401 macros, 0 groups, 0 semantic models my_project.my model
2. Many data platforms allow table names to contain spaces
The SQL standard describes quoted identifiers, and most popular databases support them (including allowing spaces). In fact, we have identifier
quoting
on by default for most adapters (dbt-snowflake being the notable exception).Reviewers/Stakeholders/SMEs
.
Related GitHub issues
See #5347 and all associated issues.
Additional information
No response
The text was updated successfully, but these errors were encountered: