snow dbt execute commands¶
The snow dbt execute command executes one of the following dbt commands (https://docs.getdbt.com/reference/dbt-commands) on Snowflake:
- build (https://docs.getdbt.com/reference/commands/build)
- compile (https://docs.getdbt.com/reference/commands/compile)
- list (https://docs.getdbt.com/reference/commands/list)
- parse (https://docs.getdbt.com/reference/commands/parse)
- run (https://docs.getdbt.com/reference/commands/run)
- run-operation (https://docs.getdbt.com/reference/commands/run-operation)
- seed (https://docs.getdbt.com/reference/commands/seed)
- show (https://docs.getdbt.com/reference/commands/show)
- snapshot (https://docs.getdbt.com/reference/commands/snapshot)
- test (https://docs.getdbt.com/reference/commands/test)
For more information about using dbt commands, see the dbt Command reference (https://docs.getdbt.com/reference/dbt-commands).
Note
To use the --dbt-version option in Snowflake CLI version 3.15.0, you must enable the SNOWFLAKE_CLI_FEATURES_ENABLE_DBT_VERSION feature flag, using either of the following methods:
- Set the
SNOWFLAKE_CLI_FEATURES_ENABLE_DBT_VERSIONenvironment variable totruebefore running the command. - Set the
enable_dbt_versionconfiguration option totruein theconfig.tomlfile, as shown in the following example: