jethin_abraham
12/31/2021, 4:51 PMsnowflake
and was following the docs provided. While running the pipeline get the following error. These are the commands I ran and do see the file format created. Just checking if I am missing anything.
If this was discussed earlier, link to the conversation would be helpful
https://github.com/transferwise/pipelinewise-target-snowflake
Commands ran in snowflake
-- {database}.{schema}.{file_format}
CREATE or replace FILE FORMAT DEV.dev_meltano.meltano TYPE = 'CSV' ESCAPE='\\' FIELD_OPTIONALLY_ENCLOSED_BY='"';
GRANT USAGE ON FILE FORMAT DEV.dev_meltano.meltano TO ROLE SYSADMIN
dean_morin
01/03/2022, 6:44 PMjethin_abraham
01/03/2022, 8:49 PMmeltano.yml
file
loaders:
- name: target-snowflake
variant: transferwise
pip_url: pipelinewise-target-snowflake
config:
account: {snow_flake_account}
add_metadata_columns: true
dbname: DEV
default_target_schema: DEV_JETHINABRAHAM
file_format: <http://DEV.dev|DEV.dev>_meltano.meltano (Tried <http://DEV.DEV|DEV.DEV>_JETHINABRAHAM.CSV also)
parallelism: -1
query_tag: meltano
role: LOADER
s3_bucket: dev-jethin
s3_endpoint_url: <s3://location>
s3_key_prefix: meltano
user: {username}
warehouse: {warehouse_name}
stage: <http://DEV.DEV|DEV.DEV>_JETHINABRAHAM.MELTANO_STAGE (configured in snowflake)
joshua_moore
01/03/2022, 11:22 PMjethin_abraham
01/04/2022, 1:30 AMmeltano config target-anowflake list
jethin_abraham
01/04/2022, 1:36 AMjethin_abraham
01/04/2022, 3:48 AMjethin_abraham
01/04/2022, 4:08 AMdean_morin
01/04/2022, 7:27 PMfile_format: dev_meltano.meltano
(without the dbname prefix) and see if it helps. That’s how I have it in my configjethin_abraham
01/05/2022, 8:16 PM