Page MenuHomeDevCentral

Import FANTOIR file into PostgreSQL db
ClosedPublic

Authored by dereckson on Jan 9 2023, 02:12.
Tags
None
Referenced Files
F53095727: D2729.id6917.diff
Wed, Oct 7, 01:24
F53074833: D2729.id.diff
Tue, Oct 6, 22:17
F53074720: D2729.id6918.diff
Tue, Oct 6, 22:15
F53048468: D2729.id6915.diff
Tue, Oct 6, 18:16
F53035837: D2729.id6915.diff
Tue, Oct 6, 16:24
F53026853: D2729.id6918.diff
Tue, Oct 6, 14:27
F53026714: D2729.id6917.diff
Tue, Oct 6, 14:25
F53025814: D2729.id6924.diff
Tue, Oct 6, 14:14
Subscribers
None

Details

Summary

Create a PostgreSQL table in the specified database
and import a FANTOIR database file.

Ref T1750.

Test Plan

Run against FANTOIR1022 file

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4315
Build 4582: arc lint + arc unit

Event Timeline

dereckson created this revision.

Creation date can be unknown, add code_fantoir to help cross data with other db, fix last line record parsing

Switch to subcommands pattern (like git), so we can extend it

Extract run_multiple_queries method to the db module. We can't easily move the create_table function, as it needs schema-dependant replacement.

fantoir2db is now fantoir-datasource

This revision is now accepted and ready to land.Jan 12 2023, 05:00