dbt-labs / dbt-core

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
https://getdbt.com
Apache License 2.0
9.68k stars 1.61k forks source link

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

Closed dbeatty10 closed 4 days ago

dbeatty10 commented 4 days ago

Is this your first time submitting a feature request?

Describe the feature

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

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

FishtownBuildBot commented 4 days ago

Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/6149