update readme for default tag update

This commit is contained in:
tarikceric 2023-01-19 12:21:27 -08:00
parent e89117b34e
commit 0a52ea91df

View File

@ -58,10 +58,10 @@ To add/update a model's snowflake tags, add/modify the `meta` model property und
) }}
```
By default, model tags are not pushed to snowflake on each load. You can push a tag update for a model by specifying the `UPDATE_SNOWFLAKE_TAGS` project variable during a run.
By default, model tags are pushed to Snowflake on each DBT run. You can disable this by setting the `UPDATE_SNOWFLAKE_TAGS` project variable to `False` during a run.
```
dbt run --var '{"UPDATE_SNOWFLAKE_TAGS":True}' -s models/core/core__fact_swaps.sql
dbt run --var '{"UPDATE_SNOWFLAKE_TAGS":False}' -s models/core/core__fact_swaps.sql
```
### Querying for existing tags on a model in snowflake