Skip to content

Add Ste-Fano98/loopcost-dbt - #445

Open
Ste-Fano98 wants to merge 1 commit into
dbt-labs:mainfrom
Ste-Fano98:add-loopcost-dbt
Open

Ste-Fano98 wants to merge 1 commit into
dbt-labs:mainfrom
Ste-Fano98:add-loopcost-dbt

Conversation

@Ste-Fano98

Copy link
Copy Markdown

Adds a new package to the index: loopcost-dbt.

Two macros (loopcost_query_tag, loopcost_query_comment) that stamp a dbt model's unique_id onto queries — Snowflake QUERY_TAG and a portable query-comment fallback — for cost-attribution tooling to map warehouse spend back to the model that caused it. No data access, no external calls; the macros only format an identifier from values dbt already computes locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant