Skip to content

ULC/CCC/BC pipeline - data mapping analysis for alteration #22457

Closed

Description

@argush3

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

Activity

  1. added
    Entities - Data Migration
    ENTITY - DO NOT USE
    on Jul 25, 2024
  2. self-assigned this
    on Oct 17, 2024
  3. added
    Entities - Data Migration
    and removed
    Entities - Data Migration
    ENTITY - DO NOT USE
    on Oct 24, 2024
  4. leodube-aot commented on Oct 24, 2024

    @leodube-aot
    Collaborator

    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
                    ROLES

    NOALA additional tables

    EVENT
            RESOLUTION    
                    CORPORATION
            CORP_RESTRICTION
            PAYMENT_STATE
                    PAYMENT
                    PAYMENT_STATE_TYPE

    NOALU additional tables

    EVENT
            RESOLUTION
                    CORPORATION
            MRAS_MESSAGE_OUTBOUND
            CORP_RESTRICTION
            PAYMENT_STATE
                    PAYMENT
                    PAYMENT_STATE_TYPE

    NOALC and NOALB additional tables

    EVENT
            MRAS_MESSAGE_OUTBOUND
                    CORPORATION

    Analysis

    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.
    • PAYMENT related tables: can be ignored for now.
  5. added
    NON-RELEASE
    on Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities - Data MigrationNON-RELEASEPriority1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions