dbt model
,
then click the option Single model
.dbt profile target
input field, enter the name of the dbt connection
profile (e.g. dev
) that you want to use when running the selected dbt
models.dbt compile
for that
single model, then executing the compiled SQL query in the data source from your
dbt project’s
connection profile
target.
dbt run
command.
var
syntax.
Syntax | Description | Example |
---|---|---|
{{ var('...') }} | Get a value from the environment variables or runtime variables. | {{ var('ds') }} |
var
syntax. To learn more, read
dbt’s documentation.
For example:
ds
is defined as part of the runtime
variables for the pipeline.
All models (w/option exclusion)
option from the dropdown when clicking on the dbt model
button for adding a block.YAML
type indicated in the top left
corner of the block.--select
or --exclude
syntax, add the --vars
syntax with the
variables you want to include. Note: Putting the --vars
syntax on a separate line may cause
issues.