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 plus operator example to tags doc #6737

Merged
merged 9 commits into from
Jan 8, 2025
Merged

Conversation

mirnawong1
Copy link
Contributor

@mirnawong1 mirnawong1 commented Jan 8, 2025

this pr adds an example combining tags and the plus operator in the tags doc and the + operator doc.

Resolves #6735


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

this pr adds an example combining tags and the plus operator in the `tags` doc and the `+ operator` doc. 

Resolves #6735
@mirnawong1 mirnawong1 requested a review from a team as a code owner January 8, 2025 14:28
Copy link

vercel bot commented Jan 8, 2025

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

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Jan 8, 2025 7:49pm

@github-actions github-actions bot added content Improvements or additions to content size: small This change will take 1 to 2 days to address Docs team Authored by the Docs team @dbt Labs labels Jan 8, 2025
Copy link
Contributor

@nataliefiann nataliefiann left a comment

Choose a reason for hiding this comment

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

Hiya @mirnawong1

Thanks for creating this PR. I've approved this for you with a few non-blocking suggestions.

Kind Regards
Natalie

Copy link
Collaborator

@runleonarun runleonarun left a comment

Choose a reason for hiding this comment

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

Looks great!!

@@ -3,15 +3,19 @@ title: "Graph operators"
---

### The "plus" operator
If placed at the front of the model selector, `+` will select all ancestors of the selected model and the model itself. If placed at the end of the string, `+` will select all descendants of the selected model and the model itself.
The `+` operator expands your selection to include ancestors (upstream dependencies) or descendants (downstream dependencies) of a resource. This operator works for individual models, tags, and other resources.
Copy link
Collaborator

Choose a reason for hiding this comment

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

wow I understand now! SO MUCH better.

@runleonarun runleonarun enabled auto-merge (squash) January 8, 2025 19:45
@runleonarun runleonarun merged commit 1c26bb2 into current Jan 8, 2025
8 checks passed
@runleonarun runleonarun deleted the mirnawong1-patch-26 branch January 8, 2025 19:49
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: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examples of adding operators combined with tags in dbt commands
3 participants