You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ULC/CCC/BC pipeline - data mapping analysis for alteration #22457
This ticket is used to analyze whether we have the required tables and data in the COLIN db extract(postgres) and LEAR db to start updating the corps data pipeline to bring over alteration for corps.
Determine if COLIN db extracts all relevant data for filing that need to make it into LEAR db. Reference data mapping(COLIN  LEAR) doc as starting point. May need to talk with David Roberts if there are questions about data mapping doc or COLIN specific questions.
Determine if LEAR db supports all the data from COLIN db extract
Cut tickets as required based off of analysis done in this ticket.
Potential tickets may include:
Update COLIN db extract script to pull missing data
Update LEAR db and/or code to support data being pulled over from COLIN db extract
The tables related to alteration filings are below. The alteration filing type codes are: NOALA, NOALU, NOALC, NOALB. These are mapped from the EVENT table, each indent indicates a relationship between tables. Duplicate child tables are not shown.
The following tables and columns are missing from the colin db extract.
Maybe's (need clarification) Edit: These tables also come up for other filing types. In the interest of moving this ticket forward, these questions do not need to be answered specifically for alteration filings. We are working with Dylan and the home team to figure out exactly what we want to bring into lear.
MRAS_MESSAGE_OUTBOUND table
FURNISHING related tables
Probably not's:
Columns/tables of potential interest that have values associated with them but do not seem to be necessary.
CORPORATION.(password related columns): We won't be storing passwords and such in lear.
CORPORATION.TRANSITION_DT: Not related to alterations, and we do not have a similar field in lear.businesses. Might need to come back to this one for the transition analysis.
FILING.DD_EVENT_ID column: does not seem related to alterations.
FILING_TYPE table: mainly meta info about filing type codes, not critical to have.
ODS_TYPE table: also mainly a meta info table, not critical to have.
Activity
leodube-aot commentedon Oct 24, 2024
Tables
The tables related to alteration filings are below. The alteration filing type codes are: NOALA, NOALU, NOALC, NOALB. These are mapped from the EVENT table, each indent indicates a relationship between tables. Duplicate child tables are not shown.
Common among all alteration type codes
EVENT SHARE_STRUCT CORPORATION CORP_NAME CORP_NAME_TYPE FILING FILING_TYPE ODS_TYPE FURNISH_REPORT BATCH_REPORT_LOG BATCH_STATUS_TYPE BUNDLE_REPORT BUNDLE_REPORT FURNISH_TYPE FILING_USER ROLESNOALA additional tables
EVENT RESOLUTION CORPORATION CORP_RESTRICTION PAYMENT_STATE PAYMENT PAYMENT_STATE_TYPENOALU additional tables
EVENT RESOLUTION CORPORATION MRAS_MESSAGE_OUTBOUND CORP_RESTRICTION PAYMENT_STATE PAYMENT PAYMENT_STATE_TYPENOALC and NOALB additional tables
EVENT MRAS_MESSAGE_OUTBOUND CORPORATIONAnalysis
The following tables and columns are missing from the colin db extract.
Maybe's (need clarification)
Edit: These tables also come up for other filing types. In the interest of moving this ticket forward, these questions do not need to be answered specifically for alteration filings. We are working with Dylan and the home team to figure out exactly what we want to bring into lear.
MRAS_MESSAGE_OUTBOUNDtableFURNISHINGrelated tablesProbably not's:
Columns/tables of potential interest that have values associated with them but do not seem to be necessary.
CORPORATION.(password related columns): We won't be storing passwords and such in lear.CORPORATION.TRANSITION_DT: Not related to alterations, and we do not have a similar field inlear.businesses. Might need to come back to this one for the transition analysis.FILING.DD_EVENT_IDcolumn: does not seem related to alterations.FILING_TYPEtable: mainly meta info about filing type codes, not critical to have.ODS_TYPEtable: also mainly a meta info table, not critical to have.PAYMENTrelated tables: can be ignored for now.