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

Example of using the "config" selection method for meta #5856

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

dbeatty10
Copy link
Contributor

@dbeatty10 dbeatty10 commented Jul 29, 2024

Preview

What are you changing in this pull request and why?

The "config" selector method can be used to select models that match a specified node config.

There's a meta config for the following resource types, which can be selected via the "config" selector method:

  • Models
  • Sources
  • Seeds
  • Snapshots
  • Singular Data Tests
  • Semantic Models
  • Metrics
  • Saved queries

The "config" selector method doesn't currently work meta within the following resource types currently though (either because meta isn't supported at all or because it is not underneath config):

  • doesn't support meta at all:
    • Generic Data Tests
    • Unit Tests
    • Analyses
  • meta not underneath config
    • Macros
    • Exposures

Checklist

Copy link

vercel bot commented Jul 29, 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 Jul 30, 2024 8:58am

@github-actions github-actions bot added content Improvements or additions to content size: x-small This change will take under 3 hours to fix. labels Jul 29, 2024
@dbeatty10 dbeatty10 marked this pull request as ready for review July 29, 2024 17:56
@dbeatty10 dbeatty10 requested a review from a team as a code owner July 29, 2024 17:56
Copy link
Contributor

@mirnawong1 mirnawong1 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, thank you @dbeatty10 !

@mirnawong1 mirnawong1 enabled auto-merge (squash) July 30, 2024 08:53
@mirnawong1 mirnawong1 merged commit 0af46d8 into current Jul 30, 2024
10 checks passed
@mirnawong1 mirnawong1 deleted the dbeatty10-patch-1 branch July 30, 2024 08:58
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 size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants