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

dbt list supports semantic models #4134

Closed
FishtownBuildBot opened this issue Sep 26, 2023 · 0 comments · Fixed by #4156
Closed

dbt list supports semantic models #4134

FishtownBuildBot opened this issue Sep 26, 2023 · 0 comments · Fixed by #4156
Assignees
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

Comments

@FishtownBuildBot
Copy link

FishtownBuildBot commented Sep 26, 2023

At a minimum, update body to include a link to the page on docs.getdbt.com requiring updates and what part(s) of the page you would like to see updated.

Page needing update: https://docs.getdbt.com/reference/node-selection/methods

List all the semantic models in a dbt project:

  • dbt ls --resource-type semantic_model

List the semantic model named orders and all its parents:

  • dbt ls -s +semantic_model:orders

See dbt-labs/dbt-core#8589 for details

@runleonarun runleonarun added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear dbt Core The changes proposed in this issue relate to dbt Core labels Sep 26, 2023
@matthewshaver matthewshaver self-assigned this Sep 27, 2023
@matthewshaver matthewshaver linked a pull request Sep 28, 2023 that will close this issue
4 tasks
matthewshaver added a commit that referenced this issue Oct 12, 2023
Previews:
- [The "semantic_model"
method](https://docs-getdbt-com-git-backport-semantic-dbt-labs.vercel.app/reference/node-selection/methods#the-semantic_model-method)
- [About dbt ls (list)
command](https://docs-getdbt-com-git-backport-semantic-dbt-labs.vercel.app/reference/commands/list)
- [Upgrading to
v1.6](https://docs-getdbt-com-git-backport-semantic-dbt-labs.vercel.app/guides/migration/versions/upgrading-to-v1.6)

## What are you changing in this pull request and why?

Adding semantic model support to `list` for dbt v1.6+

Resolves: #4134

## Checklist

- [x] Add versioning components, as described in [Versioning
Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages)
- [x] Add a note to the prerelease version [Migration
Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions)

- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [x] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."
@dbeatty10 dbeatty10 changed the title Docs Changes Needed from dbt-core PR #8589 dbt list supports semantic models Nov 10, 2023
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants