update tags readme

This commit is contained in:
Desmond Hui 2023-01-13 13:22:33 -08:00
parent 7d7cd4c577
commit 2964286c31

View File

@ -61,7 +61,7 @@ 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 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. **All views MUST be run with this setting otherwise the existing tags will be erased because DBT is re-creating the view each time it runs.**
```
dbt run --var '{"UPDATE_SNOWFLAKE_TAGS":True}' -s models/core/core__fact_swaps.sql