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

add supported examples for alias #6651

Open
wants to merge 4 commits into
base: current
Choose a base branch
from
Open

Conversation

mirnawong1
Copy link
Contributor

@mirnawong1 mirnawong1 commented 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


🚀 Deployment available! Here are the direct links to the updated files:

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
@mirnawong1 mirnawong1 requested a review from a team as a code owner December 12, 2024 15:09
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Dec 12, 2024 3:59pm

@github-actions github-actions bot added content Improvements or additions to content Docs team Authored by the Docs team @dbt Labs size: medium This change will take up to a week to address labels Dec 12, 2024
```
</File>

In `models/sales_total.sql` file, the following assigns the `alias` directly in the model file:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In `models/sales_total.sql` file, the following assigns the `alias` directly in the model file:
The following assigns the `alias` directly in the In `models/sales_total.sql` file:

@@ -22,16 +24,40 @@ models:
```
</File>

In the `models/properties.yml` file, the following specifies an `alias` as part of the model's metadata, useful for centralized configuration:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In the `models/properties.yml` file, the following specifies an `alias` as part of the model's metadata, useful for centralized configuration:
The following specifies an `alias` as part of the `models/properties.yml` file metadata, useful for centralized configuration:

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 Docs team Authored by the Docs team @dbt Labs size: medium This change will take up to a week to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examples for all 3 config locations for alias
2 participants