Alex Wong
04/01/2025, 3:23 PMdbt_project.yml file?
For example, in my dbt_project.yml file, I have this but it did not work.
sources:
+meta:
owner: "@alex.wong"
I've also tried this
sources:
subfolder:
+meta:
owner: "@alex.wong"Noya Offer
04/02/2025, 9:25 AMAlex Wong
04/02/2025, 8:57 PMsources:
directory:
subfolder:
+meta:
owner: "@alex.wong"
sources:
directory:
subfolder:
+meta:
+owner: "@alex.wong"Noya Offer
04/03/2025, 3:11 PMdbt run?Alex Wong
04/03/2025, 3:20 PMAlex Wong
04/03/2025, 3:26 PMtables: level in the source .yml I am able to tag owners and it is working as expected.
sources:
- name: source_name
database: db
schema: schema
tables:
- name: orders
loaded_at_field: last_modified
freshness:
warn_after: {count: 24, period: hour}
meta:
owner: "@alex.wong"
Knowing that, do you think something like this would work?
sources:
directory:
subfolder:
+tables:
+meta:
owner: "@alex.wong"Alex Wong
04/03/2025, 8:04 PMNoya Offer
04/06/2025, 11:35 AMAlex Wong
04/07/2025, 2:10 PMsource.yml.
sources:
- name: source_name
database: db
schema: schema
tables:
- name: orders
loaded_at_field: last_modified
freshness:
warn_after: {count: 24, period: hour}
meta:
owner: "@alex.wong"
If you want to apply it at the top level, this worked in the dbt_project.yml.
sources:
directory:
subfolder:
+meta:
owner: "@alex.wong"
The reason why it wasn't working initially is because I was only running a dbt source freshness command, but per the documentation, the dbt artifacts are only updated by an on-run-end hook, which is only done after dbt run / test / build š« Noya Offer
04/16/2025, 10:21 AM