Skip to content
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

Add retry columns to query_history_enriched #170

Conversation

jessica-larson-sh
Copy link
Contributor

There are new columns in the Query History system view from Snowflake, and I'd like to have those available in the dbt model query_history_enriched.
This PR adds the following columns:
- name: query_retry_time_ms
description: Total execution time (in milliseconds) for query retries caused by actionable errors.
- name: query_retry_time_s
description: Total execution time (in seconds) for query retries caused by actionable errors.
- name: query_retry_cause
description: Error that caused the query to retry. If there is no query retry, the field is NULL.
- name: fault_handling_time_ms
description: Total execution time (in milliseconds) for query retries caused by errors that are not actionable.
- name: fault_handling_time_s
description: Total execution time (in seconds) for query retries caused by errors that are not actionable.

@jessica-larson-sh jessica-larson-sh requested a deployment to Approve Integration Tests January 28, 2025 20:55 — with GitHub Actions Waiting
@jessica-larson-sh jessica-larson-sh requested a deployment to Approve Integration Tests January 28, 2025 20:55 — with GitHub Actions Waiting
@NiallRees
Copy link
Member

Thank you @jessica-larson-sh !

@NiallRees NiallRees merged commit 5bd8f02 into get-select:main Jan 31, 2025
0 of 2 checks passed
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.

2 participants