Is anyone able to use `meltano-map-transformer` wi...
# troubleshooting
p
Is anyone able to use
meltano-map-transformer
with Meltano v3? I get the error:
Copy code
Mapper 'meltano-map-transformer' is not known to Meltano. Try running `meltano lock --update --all` to ensure your plugins are up to date.
when I try to install the mapper, or when I try to run
meltano lock --update --all
. Both of these commands work with v2.20.0 but break with v3.1.0. Similarly, if the transformer is already installed, I can run a job containing a mapper with v2.20.0 but not if I then upgrade to v3.1.0.
e
Hi Peter What does you
meltano.yml
look like?
p
Hi Edgar. In the plugins section I have:
Copy code
mappers:
    - name: meltano-map-transformer
      pip_url: "git+<https://github.com/MeltanoLabs/meltano-map-transform.git>"
      executable: meltano-map-transform
      mappings:
        - name: rename_column
          config:
            stream_maps:
              demographics:
                foo_text: foo
                foo: null
e
I'm able to run
meltano lock --update --all
on that with Meltano 3.1 🤔
p
I see. Can you tell me what platform and version of python you’re using?
e
Sure. macOS 13.6, CPython 3.11.4.
p
Thanks. I’m running on OSX as well. Weirdly,
meltano lock --update --all
now succeeds for me with 3.1, but:
Copy code
meltano install mappers
still produces the error. Does that command work for you? With 3.1 I also still get the error if I try to run a task containing a mapper.
e
I see,
meltano install
and
meltano install mappers
do fail. I wonder if it's related to changes made in https://github.com/meltano/meltano/pull/7992.
p
Yes it does look like that PR touches the relevant section of the config code. It looks like it also introduced the
Ambiguous mapping name
bug that occurs with mapper config inheritance.