Skip to content

Commit

Permalink
Merge branch 'main' into Feature/add_credit_consumption_to_cost_per_q…
Browse files Browse the repository at this point in the history
…uery_65
  • Loading branch information
NiallRees authored Nov 6, 2023
2 parents 1b2249a + a08c96e commit 3ffb415
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changes/4.5.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## dbt-snowflake-monitoring 4.5.2 - October 30, 2023

### Fixes

- Fix cluster number ([#134](https://github.com/get-select/dbt-snowflake-monitoring/pull/134))


8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).

## dbt-snowflake-monitoring 4.5.2 - October 30, 2023

### Fixes

- Fix cluster number ([#134](https://github.com/get-select/dbt-snowflake-monitoring/pull/134))



## dbt-snowflake-monitoring 4.5.1 - August 24, 2023

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'dbt_snowflake_monitoring'
version: '4.5.1'
version: '4.5.2'
config-version: 2

profile: dbt_snowflake_monitoring
Expand Down
2 changes: 1 addition & 1 deletion models/warehouse_cluster_status.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ warehouse_cluster_status_base as (
select
warehouse_id,
warehouse_name,
cluster_number + 1 as cluster_number,
cluster_number,
timestamp as valid_from,
lead(timestamp) over (partition by warehouse_id, cluster_number order by timestamp asc) as valid_to,
event_name = 'RESUME_CLUSTER' as is_active
Expand Down

0 comments on commit 3ffb415

Please sign in to comment.