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

Saved queries can be selected by dbt build by using --include-saved-query #4383

Closed
FishtownBuildBot opened this issue Nov 1, 2023 · 1 comment
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 Nov 1, 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.

Issue / PR

dbt-labs/dbt-core#8893 / dbt-labs/dbt-core#8937

What

There is a new boolean include_saved_query config:

  • CLI flag: --include-saved-query or --no-include-saved-query (default)
  • environment variable: DBT_INCLUDE_SAVED_QUERY

This new flag is actually hidden from the CLI --help command, so maybe we don't need/want public docs for this?

Examples

Example 1

This does not include saved queries by default:

dbt build

Example 2

But using the flag will select saved queries:

dbt build --include-saved-query

Questions

  • Does this flag apply to any other commands besides dbt build?
@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 Nov 1, 2023
@matthewshaver matthewshaver self-assigned this Nov 2, 2023
@dbeatty10 dbeatty10 changed the title Docs Changes Needed from dbt-core PR #8937 Saved queries can be selected by dbt build by using --include-saved-query Nov 9, 2023
@matthewshaver
Copy link
Contributor

Closing issue and will open anew when feature is docs ready
Refer to: https://dbt-labs.slack.com/archives/C05K4R7KZ5Z/p1699564356126769

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

No branches or pull requests

4 participants