Skip to content

Commit

Permalink
feat: add root_query_id, parent_query_id to stg_access_history (#156)
Browse files Browse the repository at this point in the history
* feat: add root_query_id, parent_query_id to stg_query_history

* fix: spelling

* docs: add changie files

* docs: fix semver on dbt_project.yml

* fix: access not staging
  • Loading branch information
tnightengale authored May 28, 2024
1 parent 1c99bd0 commit f31de55
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .changes/5.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## dbt-snowflake-monitoring 5.2.0 - May 28, 2024

### Features

- Add root_query_id, parent_query_id to stg_access_history ([#156](https://github.com/get-select/dbt-snowflake-monitoring/pull/156))

### Contributors
- [@tnightengale](https://github.com/tnightengale) (Features)

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ 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 5.2.0 - May 28, 2024

### Features

- Add root_query_id, parent_query_id to stg_access_history ([#156](https://github.com/get-select/dbt-snowflake-monitoring/pull/156))

### Contributors
- [@tnightengale](https://github.com/tnightengale) (Features)


## dbt-snowflake-monitoring 5.1.2 - May 23, 2024

### 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: '5.1.2'
version: '5.2.0'
config-version: 2

profile: dbt_snowflake_monitoring
Expand Down
2 changes: 2 additions & 0 deletions models/staging/stg_access_history.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

select
query_id,
parent_query_id,
root_query_id,
query_start_time,
user_name,
direct_objects_accessed,
Expand Down

0 comments on commit f31de55

Please sign in to comment.