<#8222 bug: Config does not support inheritance fo...
# meltano-repo-activity
g
#8222 bug: Config does not support inheritance for mappers Issue created by peterspiro Meltano Version 3.1.0 Python Version 3.9 Bug scope Configuration (settings parsing, validation, etc.) Operating System OSX Description I’d like to use mapper configs that inherit from
meltano-map-transformer
, so that I can distribute them across multiple yaml files, which I already do for my extractors and loaders. However, the config below produces the error:
Copy code
Error: Ambiguous mapping name rename_column, found multiple matches.
even though the mapping is only declared once, in the inheriting section. I don't get the error if I omit inheritance and instead place the
mappings
sub-section in the
meltano.yml
config section, omitting the second section. Code # in meltano.yml: mappers: - name: meltano-map-transformer pip_url: "git+https://github.com/MeltanoLabs/meltano-map-transform.git" executable: meltano-map-transform # in a different file: mappers: - name: transform-columns inherit_from: meltano-map-transformer mappings: - name: rename_column config: stream_maps: stream_name: new_name: old_name old_name: null meltano/meltano