Does the Meltano config support inheritance for ma...
# troubleshooting
p
Does the Meltano config support inheritance for mappers? When I include a mapper config section that has:
Copy code
inherit_from: meltano-map-transformer
I get the error:
Copy code
Error: Ambiguous mapping name <mapping name>, found multiple matches.
even though the mapping is only declared once, in the inheriting section. (I’m still on Meltano v2.)
e
Hi @peter_s 👋🏼 Mappers support multiple configurations within a single plugin, so depending on your use case you probably don't need to create multiple instances of the mapper plugin: https://github.com/MeltanoLabs/meltano-map-transform/blob/90e59654701dc51357add239f1c7ad49c14eefc6/meltano.yml#L33-L65 Even then, the error you described does sound like a bug so do log an issue if you can 🙂
p
Thanks @edgar_ramirez_mondragon, I’ll log an issue. I’d like to use inheritance so that I can distribute mapper configurations among multiple yaml files, which I already do for my extractors and loaders.