bob_samuels
10/14/2022, 3:46 PM__alias__
property of the mapper plugin, but it doesn't seem to let me define the alias as an environment variable like other plugin config blocks allow. Ideally I can set an environment variable or use some other setting to allow me to specify an alias attribute in that mapper plugin for each extractor plugin.
Looking at the code, an attribute (parse_env_config
) seems to be what I want to configure but I can't figure out how to override the default. Am I missing a config setting or doing something incorrectly? Would I need a unique mapper for each plugin in this case?edgar_ramirez_mondragon
10/14/2022, 5:02 PMplugins:
extractors:
- name: tap-pocket
variant: edgarrmondragon
pip_url: git+<https://github.com/edgarrmondragon/tap-pocket.git>
settings:
- name: stream_maps.items.__alias__
value: items
2. By default the alias is the same, but you could leave out value
Now you can override the value using the TAP_POCKET_STREAM_MAPS_ITEMS___ALIAS__
environment variable:
TAP_POCKET_STREAM_MAPS_ITEMS___ALIAS__='items_v2' meltano invoke tap-pocket
bob_samuels
10/14/2022, 6:34 PM