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

[Feature] Add a --inline-direct flag for dbt show #10778

Closed
3 tasks done
dbeatty10 opened this issue Sep 25, 2024 · 1 comment · Fixed by #10770
Closed
3 tasks done

[Feature] Add a --inline-direct flag for dbt show #10778

dbeatty10 opened this issue Sep 25, 2024 · 1 comment · Fixed by #10770
Labels
enhancement New feature or request user docs [docs.getdbt.com] Needs better documentation

Comments

@dbeatty10
Copy link
Contributor

dbeatty10 commented Sep 25, 2024

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

Introduce a new --inline-direct flag for dbt show that:

  • avoids loading the entire manifest, and
  • skips rendering any Jinja templates

i.e. speed up execution time of doing the equivalent of dbt show --inline when there is no Jinja templating that is needed. For example, the following doesn't have any Jinja templating and doesn't need the manifest, so we should be able to skip both of those:

dbt show --inline-direct "select * from my_table"

Usage example

With this feature, you can call dbt show with --inline-direct rather than --inline:

dbt show --inline-direct "select * from my_table"

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

@dbeatty10 dbeatty10 added enhancement New feature or request triage labels Sep 25, 2024
@dbeatty10 dbeatty10 added user docs [docs.getdbt.com] Needs better documentation and removed triage labels Sep 25, 2024
@FishtownBuildBot
Copy link
Collaborator

Opened a new issue in dbt-labs/docs.getdbt.com: dbt-labs/docs.getdbt.com#6149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user docs [docs.getdbt.com] Needs better documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants