greg_vaslo
04/04/2022, 7:13 PMthomas_briggs
04/04/2022, 7:52 PMgreg_vaslo
04/04/2022, 8:17 PMthomas_briggs
04/04/2022, 8:30 PMmeltano elt tap-csv target-jsonl what files get created? I'd be willing to bet the file produced by the JSONL target has the same name as the table being created in Postgres... which would at least confirm the issue is with tap-csv, not target-postgres.atharh
04/04/2022, 10:45 PMmeltano variant of target-postgres should be able to load the data into the truncated tables. As @thomas_briggs mentioned, the destination table name is the name of the stream coming from the tap. For example, with the following configuration for tap-csv, the tables customers_tbl and orders_tbl would be created in Postgres:
config:
files:
- entity: customers_tbl
path: customers.csv
keys:
- id
- entity: orders_tbl
path: orders.csv
keys:
- id
Can you check if the entity names you are using match your preferred destination table names in Postgres?