aaronsteers
10/22/2019, 10:29 PMgtsiolis
10/23/2019, 7:55 AMtarget-csv options? /cc @micael_bergeron
@aaronsteers in the meantime, you can use a Postgres database to load that CSV data, see https://meltano.com/tutorials/csv-with-postgres.html.micael_bergeron
10/23/2019, 12:32 PMmicael_bergeron
10/23/2019, 12:33 PMmicael_bergeron
10/23/2019, 12:35 PMaaronsteers
11/13/2019, 8:42 PMtarget-s3-csv looks fairly promising, although I see there's really just been a few commits on that repo so it might (or may not) require a tiny bit of debugging to get running. I'd also be interested in seeing if a flag could be added to target-csv but probably will first explore the pipelinewise connector, since that is in theory the path of least resistance. ( https://github.com/transferwise/pipelinewise-target-s3-csv)
A third option I've been considering would be to expand support on the dbt-spark DW backend, since spark can in theory leverage an S3-backed data store OR could be programmed to dump/load all it's data to S3 during destruction/creation of the DW.aaronsteers
11/18/2019, 11:15 PMtarget-s3-csv loader up and running. Here is my config if anyone is interested in doing the same.
...
loaders:
- capabilities:
- catalog
- state
executable: target-s3-csv
name: target-s3-csv
namespace: target-s3-csv
pip_url: git+<https://github.com/transferwise/pipelinewise-target-s3-csv.git>
settings:
- name: aws_access_key_id
kind: password
env: TARGET_S3_CSV_AWS_ACCESS_KEY_ID
- name: aws_secret_access_key
kind: password
env: TARGET_S3_CSV_AWS_SECRET_ACCESS_KEY
- name: s3_bucket
env: TARGET_S3_CSV_S3_BUCKET
To use: (1) paste the above into meltano.yml, (2) add env variables in .env, (3) run meltano install, (4) test with something like meltano elt tap-carbon-intensity target-s3-csv