Page MenuHomeDevCentral

Promote imported FANTOIR version
ClosedPublic

Authored by dereckson on Jan 12 2023, 05:30.
Tags
None
Referenced Files
F3752383: D2733.id6929.diff
Sun, Nov 17, 18:43
F3751697: D2733.id6929.diff
Sun, Nov 17, 11:40
F3751696: D2733.id6928.diff
Sun, Nov 17, 11:40
F3751612: D2733.id.diff
Sun, Nov 17, 11:00
F3751583: D2733.diff
Sun, Nov 17, 10:35
Unknown Object (File)
Thu, Nov 14, 06:16
Unknown Object (File)
Wed, Nov 13, 18:00
Unknown Object (File)
Sun, Nov 10, 03:47
Subscribers
None

Details

Summary

When a new FANTOIR file has been imported to a new table,
declare in the configuration the new table to use.

For convenience, a fantoir view is also provided, as an alias
to the promoted table.

When other tables will need a foreign key to the fantoir table,
this command will also be responsible to update them.

This strategy allows to transparently update the datasource
while allowing consumers still to use it pending update.

Ref T1750.

Test Plan
  • run fantoir-datasource promote fantoir_202210
  • check view fantoir and table fantoir_config are created
  • run it again to check idempotency

Diff Detail

Repository
rDS Nasqueron Datasources
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jan 12 2023, 05:31
This revision was automatically updated to reflect the committed changes.
dereckson retitled this revision from Promote importe FANTOIR version to Promote imported FANTOIR version.Jan 12 2023, 05:33