josh_lloyd
12/01/2023, 11:54 PMMELTANO_MAP_TRANSFORMER_STREAM_MAPS
environment variable. Meltano Hub mentions it but it’s not immediately apparent to me what it overwrites because there is a separate stream_maps
key for each mapping
in the meltano.yml
file which begs the question: when I use this variable which mapping is it going to control?edgar_ramirez_mondragon
12/02/2023, 12:23 AMjosh_lloyd
12/02/2023, 12:27 AMmappers:
- name: meltano-map-transformer
variant: meltano
pip_url: git+<https://github.com/MeltanoLabs/meltano-map-transform.git>
settings:
- name: stream_maps
kind: object
mappings:
- name: mapping1
config:
stream_maps:
'foo-bar':
spam:
- name: mapping2
config:
stream_maps:
'foo-eggs':
spam: str(spam)
josh_lloyd
12/02/2023, 12:28 AMMELTANO_MAP_TRANSFORMER_STREAM_MAPS
variable to work and actually do it’s thing when I run the mapping. That surprised me a little bit because how does it tell the difference between mapping1
and mapping2
. Maybe it doesn’t care? 🤷josh_lloyd
12/04/2023, 3:27 PMedgar_ramirez_mondragon
12/04/2023, 3:41 PMjosh_lloyd
12/04/2023, 3:55 PM