Hi , can we set stream_map using meltano command ?
# troubleshooting
a
Hi , can we set stream_map using meltano command ?
s
Hey @avinash_gupta I think you need to specify your question more. the stream map property for a mapper is usually set inside the YAML file. What are you looking to do?
a
Can we set using like meltano config set ?
s
Probably yes, it is a setting like any other, have you tried? I'm wondering why you would want to do that? It's much easier in the YAML.
p
Hey @avinash_gupta ! Yes you should be able to set it using the dot syntax like
meltano config tap-csv set stream_maps.customers.email <mailto:email@domain.com|email@domain.com>
. This adds to your meltano.yml like
Copy code
config:
      stream_maps.customers.email: <mailto:email@domain.com|email@domain.com>
and results in a config from
meltano config tap-csv
like
Copy code
{
  "stream_maps": {
    "customers": {
      "email": "<mailto:email@domain.com|email@domain.com>"
    }
  }
}
a
Thanks. Will try it.