Skip to content

Adding tables from INC9826849#138

Merged
ealexa05 merged 1 commit intomainfrom
new_tables_INC9826849
Dec 10, 2025
Merged

Adding tables from INC9826849#138
ealexa05 merged 1 commit intomainfrom
new_tables_INC9826849

Conversation

@ealexa05
Copy link
Contributor

Asana task

Adding tables:

EDW.FRM_CRDB_CHGBK_ACTIVITY
EDW.FRM_CRDB_CHGBK_CASE
EDW.FRM_CRDB_CHGBK_MASTER

Tested locally, migrations add tables as expected:

11:48:21.932 [info] == Running 20251210164145 ExCubicIngestion.Repo.Migrations.NewTablesINC9826849.up/0 forward

11:48:21.961 [debug] QUERY OK source="cubic_tables" db=10.4ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_frm_crdb_chgbk_activity", "cubic/ods_qlik/EDW.FRM_CRDB_CHGBK_ACTIVITY/", true, true, ~U[2025-12-10 16:48:21Z], ~U[2025-12-10 16:48:21Z]]

11:48:21.967 [debug] QUERY OK source="cubic_ods_table_snapshots" db=4.6ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [191, "cubic/ods_qlik/EDW.FRM_CRDB_CHGBK_ACTIVITY/LOAD00000001.csv.gz", ~U[2025-12-10 16:48:21Z], ~U[2025-12-10 16:48:21Z]]

11:48:21.968 [debug] QUERY OK source="cubic_tables" db=0.4ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_frm_crdb_chgbk_case", "cubic/ods_qlik/EDW.FRM_CRDB_CHGBK_CASE/", true, true, ~U[2025-12-10 16:48:21Z], ~U[2025-12-10 16:48:21Z]]

11:48:21.969 [debug] QUERY OK source="cubic_ods_table_snapshots" db=0.5ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [192, "cubic/ods_qlik/EDW.FRM_CRDB_CHGBK_CASE/LOAD00000001.csv.gz", ~U[2025-12-10 16:48:21Z], ~U[2025-12-10 16:48:21Z]]

11:48:21.969 [debug] QUERY OK source="cubic_tables" db=0.2ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_frm_crdb_chgbk_master", "cubic/ods_qlik/EDW.FRM_CRDB_CHGBK_MASTER/", true, true, ~U[2025-12-10 16:48:21Z], ~U[2025-12-10 16:48:21Z]]

11:48:21.969 [debug] QUERY OK source="cubic_ods_table_snapshots" db=0.2ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [193, "cubic/ods_qlik/EDW.FRM_CRDB_CHGBK_MASTER/LOAD00000001.csv.gz", ~U[2025-12-10 16:48:21Z], ~U[2025-12-10 16:48:21Z]]

11:48:21.970 [info] == Migrated 20251210164145 in 0.0s

@ealexa05 ealexa05 requested a review from grejdi-mbta December 10, 2025 16:53
@ealexa05
Copy link
Contributor Author

@grejdi-mbta Technically I can merge data_platform PRs without requesting you, so if you want I can start putting through routine table adds that pass validation myself

@grejdi-mbta
Copy link
Collaborator

Please still request review.

@ealexa05 ealexa05 merged commit 151c27e into main Dec 10, 2025
3 checks passed
@ealexa05 ealexa05 deleted the new_tables_INC9826849 branch December 10, 2025 18:50
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