Skip to content

feat: adding status messages to materialized views - #351

Merged
ealexa05 merged 2 commits into
mainfrom
status-for-mat-views
Nov 20, 2026
Merged

ealexa05 merged 2 commits into
mainfrom
status-for-mat-views

Conversation

@ealexa05

@ealexa05 ealexa05 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds status messages to materialized views, which log last_run, row_count, run_duration_seconds, and max_column_timestamps for each materialized view following materialization. JSONs land in MATERIALIZED_VIEW_STATUS in the springboard bucket.

Tested locally on dev data. Files successfully uploaded, and have all needed data, e.g.:

{
  "view": "edw_farerev_payg_trip_txn",
  "last_run": "2026-11-19T20:21:44.199208+00:00",
  "row_count": 759649,
  "max_column_timestamps": {
    "operating_date": "2026-11-19T00:00:00",
    "transaction_dtm": "2026-11-19T05:18:26",
    "posting_date": "2026-11-19T00:00:00",
    "settlement_date": "2026-11-19T00:00:00"
  },
  "run_duration_seconds": 210.98
}

Also fixes some formatting issues in get_table_status.py, since it looks like the GH actions didn't run when that PR was put up or merged

@ealexa05
ealexa05 requested a review from a team as a code owner November 19, 2026 21:40
@ealexa05
ealexa05 requested review from MaxAlex and removed request for a team November 19, 2026 21:40
@ealexa05
ealexa05 requested a review from MaxAlex November 20, 2026 20:40
@ealexa05
ealexa05 merged commit e5dfd13 into main Nov 20, 2026
5 checks passed
@ealexa05
ealexa05 deleted the status-for-mat-views branch November 24, 2026 21:24
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