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

This resource_type method works for sources in dbt 1.7.8 (and possibly earlier versions) #5003

Open
1 task done
dbeatty10 opened this issue Feb 28, 2024 · 0 comments
Open
1 task done
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core improvement Use this when an area of the docs needs improvement as it's currently unclear priority: low Improves docs but doesn’t block workflows, like grammar fixes & nice to haves

Comments

@dbeatty10
Copy link
Contributor

dbeatty10 commented Feb 28, 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/node-selection/methods#the-resource_type-method

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

Is this true?

We added the following in #4145 (in response to dbt-labs/dbt-core#8730):

image

It works now?!

All of the following worked for me with dbt-core 1.7.8 and 1.6.5 (but not 1.5.9):

dbt list --select resource_type:source+
dbt run --select resource_type:source+
dbt build --select resource_type:source+

For example:

$ dbt list --select resource_type:source

01:52:08  Running with dbt=1.7.8
01:52:08  Registered adapter: postgres=1.7.8
01:52:08  Found 1 seed, 1 snapshot, 1 analysis, 2 models, 1 test, 1 source, 1 exposure, 1 metric, 401 macros, 1 group, 1 semantic model
source:my_project.my_src.my_seed

Additional information

See dbt-labs/dbt-core#8730 (comment)

@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 Feb 28, 2024
@runleonarun runleonarun added priority: low Improves docs but doesn’t block workflows, like grammar fixes & nice to haves dbt Core The changes proposed in this issue relate to dbt Core labels Mar 13, 2024
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 dbt Core The changes proposed in this issue relate to dbt Core improvement Use this when an area of the docs needs improvement as it's currently unclear priority: low Improves docs but doesn’t block workflows, like grammar fixes & nice to haves
Projects
None yet
Development

No branches or pull requests

2 participants