Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples for all 3 config locations for alias #6512

Closed
1 task done
dbeatty10 opened this issue Nov 19, 2024 · 0 comments · Fixed by #6651
Closed
1 task done

Examples for all 3 config locations for alias #6512

dbeatty10 opened this issue Nov 19, 2024 · 0 comments · Fixed by #6651
Assignees
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear

Comments

@dbeatty10
Copy link
Contributor

dbeatty10 commented Nov 19, 2024

Contributions

  • I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/resource-configs/alias

What part(s) of the page would you like to see updated?

alias can be configured in (3) places:

  1. in dbt_project.yml
  2. under the config key in properties YAML files
  3. in the config macro in SQL files

But only the 1st of those has any code examples.

Instead, it should show all 3 places like access and others do.

Additional information

No response

@dbeatty10 dbeatty10 added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear labels Nov 19, 2024
@mirnawong1 mirnawong1 self-assigned this Dec 12, 2024
mirnawong1 added a commit that referenced this issue Dec 12, 2024
this pr adds additional examples for the `alias` config for the supported resources. missing examples were for dbt_projct.yml, properties.yml, and sql config block (depending on the resource)

Resolves #6512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants