Skip to content

COLIN Extract - update script to load/reload only specific businesses #32347

Closed

Description

@argush3

We use transfer_cprd_corps.sql currently to pull down the relevant COLIN tables for the corp migration into a postgres database which is used by the tombstone pipeline. In its current state, this script pull downs all the corps and we still need the ability to do that.

With the need to migrate batches more frequently and thus the need to pull down the extract more frequently, we need to be able to generate the COLIN extract for only businesses that have passed pre-screening or to only replace select businesses in an existing COLIN extract. Being able to do this will save us time for the various data migration related activities we need to do.

Tasks

  • Implement updates to existing process for pulling down COLIN extract such that:
    • still able to generate full extract
    • able to generate an extract based on a list of business identifers that could be 10K+ in size
    • able to only replace/reload businesses already in an existing COLIN extract

Activity

  1. added
    Entities - Data Migration
    on Feb 5, 2026
  2. argush3 commented on Feb 5, 2026

    @argush3
    ContributorAuthor
  3. self-assigned this
    on Feb 5, 2026
  4. argush3 commented on Feb 11, 2026

    @argush3
    ContributorAuthor

    For details, refer to PR. There are examples of how to run the script and a test run in the description. The readme file in the PR also includes a lot of details of how to generate scripts to pull down a specific list of businesses in the COLIN extract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions