jwills / target-duckdb

A Singer.io target for DuckDB
Other
17 stars 12 forks source link

Line is missing required key 'type': ... #29

Open ClemiDouce opened 1 year ago

ClemiDouce commented 1 year ago

Hello everyone When trying to make a simple POC with meltano with a CSV tap and json target, i encounter a problem

I have a simple json file, like this image with tap-csv config like this image

When i run it with invoke to see if it work, i have this jsonl file output image

When i try to use the output of output.json and target-duckdb together, i got this error, and i don't understand how to resolve it image

jwills commented 12 months ago

Mmm it looks like a file encoding issue that is preventing tap-csv from correctly parsing the header line of the file, but that is very much a guess; the Meltano Slack is probably the best place to ask this kind of question, sorry!