Open sastels opened 4 months ago
verified that we can use a SQL query to create QuickSight datasets rather than the gui dataset builder. replicated the current QuickSight notification_history dataset with an SQL query.
Steve opened a PR to try out the SQL version of the data import into QuickSight: https://github.com/cds-snc/notification-terraform/pull/1175/files
new PR that doesn't use cloudformation! https://github.com/cds-snc/notification-terraform/pull/1179
Will QA and show to folks when it's in production
Description
As a member of CDS, I need to be able to use QuickSight to all notifications sent one day or more ago to perform analyses.
WHY are we building?
Need to run analyses on all data from previous day and older
WHAT are we building?
notifications are moved to the
notification_history
table after the retention period (ie when they are removed from thenotification
table. This is generally after 3 or 7 days. This means that the past week of data in thenotification_history
table (and hence also the QuickSight dataset) is spotty. We should investigate how we can improve this.VALUE created by our solution
More accurate reports
Acceptance Criteria
QA Steps
notification_history
dataset to the newnotifications
dataset and verify the results.