How to configure <target-csv from hotglue> (the de...
# getting-started
f
How to configure target-csv from hotglue (the default target) when using it with Meltano? The target is looking for its own config file and using argparse to locate the file. But from the Meltano CLI, is there a way to configure it in meltano.yml? If not, how do I pass the location of the config file into the target?
The target-csv from MeltanoLabs seems unmaintained, and is incompatable with Python 3.10.
Sample config from hotglue’s GitHub project.
The issue I’m troubleshooting is that it’s inserting an extra column in some rows.
v
I'm pretty sure it's maintained, just someone needs to send a PR in for https://github.com/MeltanoLabs/target-csv/blob/main/pyproject.toml#L9 to be "<3.12" I use it all the time.
Regarding
But from the Meltano CLI, is there a way to configure it in meltano.yml? If not, how do I pass the location of the config file into the target?
You can send the pointer to the file via "meltano cli". It also looks like passing a config file is optional for that target. 🤷 I use the meltanolabs version. If you could share your current
meltano.yml
someone can probably help a lot easier. Also if you could share the error. I personally would go with the
meltanolabs
version especially to start.
But if it still doesn't' work, also an example Record that fails would help the
target
maintainer to be able to help. Can't guarantee I'll be able to help but just wanted to offer some things to try, and send back so others can chime in to help as well!
f
Thanks. I’ll try using the MeltanoLabs version. Just submitted a PR.
My meltano.yml. There is no error message; the target simply adds an extra column in one row. Other columns get shifted.
v
As you can see from the issue list I"ve had a few issues with the hotglue version 😕
Almost all of mine are due to Windows though