I'm stuck with my attempts to use mapper in Meltan...
# best-practices
a
I'm stuck with my attempts to use mapper in Meltano. Does anyone have a working example of using
transform-field
to transform records?
I need
transform-field
because it has capability to transform single field inside json column
e
Hi @andrey_tatarinov! What have you tried so far?
a
By some miracle I found this issue: https://gitlab.com/meltano/meltano/-/issues/2299 And this comment from Florian finally shed some light: https://gitlab.com/meltano/meltano/-/issues/2299#note_811296197
I got it working
It was extremely unobvious that mapper is not a plugin that you use by it's name, as every other plugin, but a factory of plugins with multiple names and configs based on
mappings
section
t
Any thoughts to how we could update the documentation to make that clearer? We tried to add that context in https://docs.meltano.com/concepts/plugins#how-to-use-12 but perhaps it's buried?
a
wow, how could I miss it?
I've been on this page, but both intro and table of contents do not have mentions of mappers, so I thought that they are not described here
I think it would help to have more verbose table of contents, maybe
t
I'll add that to a comment in https://github.com/meltano/meltano/issues/3445 cc @amanda.folson Thanks for the feedback Andrey 🙂