Skip to content

Create + data load initial dataset for backfill pipeline testing #30841

Closed

Description

@argush3

We would like to start creating a dataset for testing the backfill pipeline.

This work will involve selecting some corps that cover a range of filing types that can be used to do some initial testing for the backfill pipeline.

Tasks

  • Select businesses to use for testing backfill pipeline
  • Add selected businesses to migration tables(group, batch etc) and label appropriately
  • Load tombstone data for dataset in Test
  • Load backfill data for dataset in Test
  • Notify Vishnu that data has been loaded to Test and that he can start cutting tickets to test backfill dataset

Activity

  1. added
    Entities - Data Migration
    on Sep 24, 2025
  2. argush3 commented on Sep 27, 2025

    @argush3
    ContributorAuthor

    @doug-lovett ready to have you backfill data for the following corps I've loaded into Test. Once you've got things loaded, please let @vishnup0422 know so he can start testing the corps.

    Following corps have been loaded into test environment. This is the initial dataset for backfill testing. We'll work on expanding it as we go to cover other filing types + scenarios.

    • Filing types

      • IA only -> 'BC1539798', 'BC1417733', 'BC1509481'
      • business with a few ARs -> 'BC1375452', 'BC1375242', 'BC1372512'
      • business with COD -> 'BC1299542', 'BC1125983', 'BC1294699'
      • business with COA
        • FILE_NOCAD -> 'BC1264820', 'BC1115992', 'BC1122380'
        • FILE_APTRA -> 'BC0809236', 'BC0796865', 'BC1095266'
        • FILE_NOERA -> 'BC1258986'
        • FILE_AM_DO -> 'BC0878212', 'BC0872833', 'BC1365956'
        • FILE_AM_RR -> 'BC1094261', 'BC1108349', 'BC1244508'
      • business with alteration ->
        • FILE_NOALA -> 'BC1266686', 'BC1210167', 'BC1106083'
        • FILE_NOALB -> 'BC1100400', 'BC1242661', 'BC1157407'
        • FILE_NOALU -> 'BC1102269', 'BC1244790', 'BC1301109'
        • FILE_NOALC -> 'BC1297584', 'BC0962373', 'BC1013399'
        • FILE_AM_BC -> 'BC1294437', 'BC1205921', 'BC1282223'
        • FILE_AM_LI -> 'BC1296689', 'BC1244615', 'BC1260337'
        • FILE_AM_RM -> BC0864114
        • FILE_AM_SS -> 'BC1218215', 'BC1323368', 'BC1147311'
      • business with COA, COD, alteration and ARs -> 'BC1351305', 'BC1346306', 'BC1262824'
    • Volume of filings

      • business with 25 filings -> 'BC1322689', 'BC1054918', 'BC0795271'
      • business with 50 filings -> 'BC0414321', 'BC0897000', 'BC0384910'
      • business with 100 filings --> 'BC0670012', 'BC0436634', 'BC0631610'
      • business with most filings 370+ --> 'BC0390154', 'BC0234916', 'BC0190843'
    • Business summary changes

      • business with multiple name changes
        • 1 name change -> 'BC1346743', 'BC1394063', 'BC1285325'
        • 1 name change -> 'BC1346743', 'BC1009276', 'BC0982449'
        • 2 name changes -> 'BC1335418', 'BC1023163', 'BC1375092'
        • 5 name changes -> 'BC1462101', 'BC1165365', 'BC1323578'
      • business with multiple ACTIVE <-> HISTORICAL changes
        • voluntary dissolution + putback on -> 'BC1150455', 'BC1189203', 'BC1190078'
        • limited restoration -> 'BC0934562', 'BC0977051', 'BC0863077'
        • limited restoration to full -> 'BC0887084', 'BC0887124', 'BC1097045'
        • full restoration -> 'BC1430375', 'BC1319794', 'BC1365670'
        • dissolution failure to file -> 'BC1293276', 'BC1288394', 'BC1264979'

    Test dataset has been added to migration tables in extract. latest tracking tables have been uploaded to GCP storage
    image.png

    Potential future things to test

    • officer data
    • more complex scenarios
    • more filing types
    • business with some other filings we don't see as much
    • other changes that show up on business summary
    • amalgamations
    • continuation in
  3. doug-lovett commented on Sep 30, 2025

    @doug-lovett
    Collaborator

    @vishnup0422 the following 81 corps backfill data has been loaded into the TEST environment. The load is based on the 2025-09-11 PROD extract.
    BC1539798
    BC1417733
    BC1509481
    BC1375452
    BC1125983
    BC1375242
    BC1372512
    BC1294699
    BC1299542
    BC1264820
    BC1115992
    BC1122380
    BC0809236
    BC0796865
    BC1095266
    BC1258986
    BC0878212
    BC0872833
    BC1365956
    BC1094261
    BC1108349
    BC1244508
    BC1266686
    BC1210167
    BC1106083
    BC1100400
    BC1242661
    BC1157407
    BC1102269
    BC1244790
    BC1301109
    BC1297584
    BC0962373
    BC1013399
    BC1294437
    BC1205921
    BC1282223
    BC1296689
    BC1244615
    BC1260337
    BC0864114
    BC1218215
    BC1323368
    BC1147311
    BC1351305
    BC1346306
    BC1262824
    BC1322689
    BC1054918
    BC0795271
    BC0414321
    BC0897000
    BC0384910
    BC0670012
    BC0436634
    BC0631610
    BC0390154
    BC0234916
    BC0190843
    BC1346743
    BC1335418
    BC1023163
    BC1375092
    BC1462101
    BC1165365
    BC1323578
    BC1150455
    BC1189203
    BC1190078
    BC0934562
    BC0977051
    BC0863077
    BC0887084
    BC0887124
    BC1097045
    BC1430375
    BC1319794
    BC1365670
    BC1293276
    BC1288394
    BC1264979

    @argush3 the backfill data was not loaded for the following two corps which have no business.filings records: missed tombstone migration?
    1 name change -> 'BC1394063', 'BC1285325':
    Do you want to load the tombstone data and let me know? Otherwise can this ticket move to RFQA?

  4. argush3 commented on Oct 1, 2025

    @argush3
    ContributorAuthor

    thanks for running the backfill @doug-lovett The two corps you mentioned had issues loading tombstone data so but I had forgotten to note the corps I ended up using in place of them. I think we can move the ticket to RFQA for now though.

    Can you give these two a try? 'BC1009276', 'BC0982449'

    'BC1394063', 'BC1285325' -> 'BC1009276', 'BC0982449'

  5. doug-lovett commented on Oct 1, 2025

    @doug-lovett
    Collaborator

    @argush3, @vishnup0422 thanks, the backfill data for BC1009276 and BC0982449 has also been loaded in the TEST environment.

  6. argush3 commented on Oct 1, 2025

    @argush3
    ContributorAuthor

    Closing as Vishnu will create separate tickets to test loaded corps

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

Metadata

Metadata

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions