Skip to content

[Feature] Topological sort of nodes in dbt list #12130

@adammarples

Description

@adammarples

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • 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

Describe the feature

It would be really cool if the results of dbt list were topologically sorted, rather than alphabetical

def _iterate_selected_nodes(self):
selector = self.get_node_selector()
spec = self.get_selection_spec()
unique_ids = sorted(selector.get_selected(spec))

Describe alternatives you've considered

No response

Who will this benefit?

No response

Are you interested in contributing this feature?

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions