tj_murphy
04/08/2022, 2:27 AMmeltano elt
run?aaronsteers
04/08/2022, 6:05 AM--test
(1 row per stream) or --test=schema
(schema only, no records). And per case, you can also use stream maps with a __filter__
of something like 1 == 0
to suppress all rows.
Are there specific taps you'd like to do this for?aaronsteers
04/08/2022, 6:12 AMvisch
04/11/2022, 12:01 PMmeltano invoke tap-name --discover
for schema only stuff
Another way I've done this is added "information schema" like tables to my source and then I select them. For Oracle I selected the sys.*
tables and then you can think about them as elt
🤷
Having sdc_catalog
as its own stream has also seemed interesting to me, but you'd have to either force all taps to do it or do it yourself in the orchestrator layer, this one ties into the metadata
issues Meltano hastj_murphy
04/29/2022, 5:25 PMaaronsteers
04/29/2022, 11:30 PMAdd aWhenoption (or similar) to--schema-only
and/ormeltano run
.meltano elt
--schema-only
is invoked, then several behaviors are triggered:
1. state is ignored
2. start_date for the tap is set to tomorrow
3. meltano drops on the floor any RECORD
messages it sees passing from the tap to the target.
An alternative (perhaps better?) implementation would be:
1. Run discovery if needed.
2. Instead of invoking the tap, meltano iterates through the catalog and sends it's own SCHEMA
records to the target, one corresponding to the schema of each stream in the catalog.aaronsteers
04/29/2022, 11:31 PM