Page MenuHomeDevCentral

Suggest FANTOIR_TABLE value in fetch command
ClosedPublic

Authored by dereckson on Jan 19 2023, 01:24.
Tags
None
Referenced Files
F33054358: D2753.id6991.diff
Sun, Jun 14, 14:41
F33033498: D2753.id6990.diff
Sun, Jun 14, 11:22
Unknown Object (File)
Sun, Jun 14, 04:42
Unknown Object (File)
Sat, Jun 13, 01:09
Unknown Object (File)
Fri, Jun 12, 21:12
Unknown Object (File)
Thu, Jun 11, 22:38
Unknown Object (File)
Thu, Jun 11, 22:38
Unknown Object (File)
Wed, Jun 10, 12:14
Subscribers
None

Details

Summary

Currently, the fetch commands prints:
FANTOIR_FILE=FANTOIR1022

With this change it also prints:
FANTOIR_TABLE=fantoir_202210

Use case

That allows pipeline to do something like:

$ fantoir-datasource fetch > .env
$ source .env
$ fantoir-datasource import $FANTOIR_FILE $FANTOIR_TABLE
[...]
$ fantoir=datasource promote $FANTOIR_TABLE

Ref T1750.

Test Plan

fantoir-datasource fetch

Diff Detail

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

Event Timeline

dereckson created this revision.
dereckson edited the summary of this revision. (Show Details)
dereckson edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jan 19 2023, 01:27