tags are applied to all models instead of just the selected model
Closed this issue · 4 comments
b-per commented
Hi.
I am not sure if I misunderstand the tags
capabilities of tangata, but when I added a tag, it added it in my dbt_project.yml
, and applied it to all my models. I would have thought that a tag defined on a specific model would only apply to this model.
ciejer commented
You certainly did not misinterpret that - I noticed some weird behaviour in tags the other day and it's likely related.
Seems to have been introduced in the python port - will have a look at this before the new features
ciejer commented
Have changed tag writing behaviour - haven't recreated exact issue, can you please confirm this is fixed on your setup with 0.1.12?
b-per commented
Hi, The issue is still here in 0.1.12
.
The tag gets added here in dbt_project.yml
:
models:
my_project:
marts:
+materialized: table
curated:
+schema: curated
staging:
+schema: staging
tags:
- my_tangata_tag