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 Aug 24, 2023
2 parents 2e01b3e + 530e1d9 commit 1b2249a
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.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## dbt-snowflake-monitoring 4.5.1 - August 24, 2023

### Fixes

- Sort remaining balance daily with null contract numbers last ([#128](https://github.com/get-select/dbt-snowflake-monitoring/pull/128))


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.1 - August 24, 2023

### Fixes

- Sort remaining balance daily with null contract numbers last ([#128](https://github.com/get-select/dbt-snowflake-monitoring/pull/128))



## dbt-snowflake-monitoring 4.5.0 - August 09, 2023

### Features
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.0'
version: '4.5.1'
config-version: 2

profile: dbt_snowflake_monitoring
Expand Down
2 changes: 1 addition & 1 deletion models/remaining_balance_daily_without_contract_view.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ from {{ ref('stg_remaining_balance_daily') }}
Assume the higher contract_number is more recent. Chose not to group by date and aggregate balances in
case the currency changes..
#}
qualify row_number() over (partition by date order by contract_number desc) = 1
qualify row_number() over (partition by date order by contract_number desc nulls last) = 1

0 comments on commit 1b2249a

Please sign in to comment.