You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this feature
I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion
User story
As a developer on a dbt project, I sometimes want to define a selector in terms of "include everything except for ..." so that it is easy to write and includes precisely the desired nodes.
One use case is defining a series of selectors that partition a dbt project. To make sure that everything is covered, the final selector would be defined as "everything that isn't one of the previously defined selectors".
Proposed solution
The easiest way to fulfill the user story above is to have a selection method that will select "all nodes". The most natural way to do that would be via "fqn:*" (as long as all node / resource types are included).
Describe the feature
When running dbt list -s "fqn:*", include all sources in the output.
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
Is this your first time submitting a feature request?
User story
As a developer on a dbt project, I sometimes want to define a selector in terms of "include everything except for ..." so that it is easy to write and includes precisely the desired nodes.
Known examples
catalog.json
file does not contain sources withdbt-postgres 1.7.8
#9678 (comment)One use case is defining a series of selectors that partition a dbt project. To make sure that everything is covered, the final selector would be defined as "everything that isn't one of the previously defined selectors".
Proposed solution
The easiest way to fulfill the user story above is to have a selection method that will select "all nodes". The most natural way to do that would be via
"fqn:*"
(as long as all node / resource types are included).Describe the feature
When running
dbt list -s "fqn:*"
, include all sources in the output.For example, suppose I have project files like described in dbt-labs/docs.getdbt.com#4492 (comment).
If I have the following source definition within
analyses/my_analysis.sql
, then I'd expect to be able to use thefqn
method to select it.Describe alternatives you've considered
Currently, analyses are not included by the
fqn
method like this:dbt list -s "fqn:*"
Output:
However, they are included in the output of this command:
Output:
Who will this benefit?
Here's an example of using creating a default to selector that is meant to include everything certain models:
#9678 (comment)
The user would like to use
fqn:*
to start with "everything" and then add specific exclusions from there.Are you interested in contributing this feature?
No response
Anything else?
See also: #9692
The text was updated successfully, but these errors were encountered: