Skip to content

yaml selector in manifest json and dbt docs visualization #533

@ghost

Description

Describe the feature

As the number of models grow increasingly we are relying more and more on yaml selectors instead of the command line select . we are able to list is but it is not so easy to visualize these selectors from dbt docs . Adding a visual dag for yaml selector will be very useful for all growing dbt projects in terms of number of models

Describe alternatives you've considered

dbt list

Additional context

the search ended up taking to different links , but as of now this is what we observe currently
#119
dbt-labs/dbt-core#2693
dbt-labs/dbt-core#3873

yaml selector

  - name: foo
    definition:
      method: path
      value: models/staging

list in command line works

12:43:57  Running with dbt=1.8.3
12:43:58  Registered adapter: snowflake=1.8.3
...
dbt_reference_implementation.staging.test_model

but cannot visualize in dag
also selector is empty in manifest json

    "selectors": {},
    "disabled": {`

Who will this benefit?

All dbt projects with growing number of models

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions