Skip to content

Enable package to use Snowflake Organisation Account views #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

bisset-a
Copy link
Contributor

This PR adds support of views in the new Snowflake organisation account, while still being compatible with single account Snowflake views.

To use the dbt_snowflake_monitoring package in multi-account mode, Project variable uses_org_view should be set to true in the downstream project.

Notes

When using org account views, query acceleration is not baked into cost per query. This is because the metering_history view is not currently available in the organisation account. Snowflake have confirmed it will be available in Q2 (May - July) so right now we are making a pragmatic decision to exclude QA from the query cost calculation until this view is enabled.
models hourly_spend and daily_spend do not include serverless task spend. This is because severless_task_history does not exist in the organisation account. Snowflake confirmed this will be enabled in Q2 aswell.

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