jan_soubusta
01/13/2023, 9:28 AMtarget_snowflake.exceptions.FileFormatNotFoundException: Named file format not found: MELTANO_FORMAT
Anyone knows how exactly create FILE FORMAT in Snowflake so Meltano finds it?
I executed USE WAREHOUSE and then tried:
• CREATE FILE FORMAT dbName.schemaName.formatName and in meltano.yml set file_format=schemaName.formatName
• CREATE FILE FORMAT formatName and in meltano.yml set file_format=formatNamejan_soubusta
01/13/2023, 9:40 AMjan_soubusta
01/13/2023, 9:58 AMGRANT
ALL
PRIVILEGES
ON
ALL
SCHEMAS
IN
DATABASE
while creating format in different schema than where loading data.
Now it works!guilherme_petris
04/06/2023, 3:06 PMjan_soubusta
04/11/2023, 2:16 PMCREATE FILE FORMAT internal_bi_dev.PUBLIC.meltano_format TYPE = 'CSV' ESCAPE='\\' FIELD_OPTIONALLY_ENCLOSED_BY='"';
GRANT ALL PRIVILEGES ON FILE FORMAT internal_bi_dev.PUBLIC.meltano_format TO internal_bi_dev_role;
jan_soubusta
04/11/2023, 2:17 PM- name: target-snowflake
variant: transferwise
pip_url: pipelinewise-target-snowflake
config:
.....
file_format: PUBLIC.MELTANO_FORMAT
guilherme_petris
04/12/2023, 8:54 AMSimon Schmitke
02/06/2024, 8:27 PMMy meltano.yml looks like:Copy codetarget_snowflake.exceptions.FileFormatNotFoundException: Named file format not found: MELTANO_FORMAT
...
loaders:
- name: target-snowflake
variant: transferwise
pip_url: pipelinewise-target-snowflake
config:
account: $SNOWFLAKE_ACCOUNT
database: $SNOWFLAKE_DATABASE
user: $SNOWFLAKE_USER
password: $SNOWFLAKE_PASSWORD
warehouse: $SNOWFLAKE_WAREHOUSE
role: $SNOWFLAKE_ROLE
default_target_schema: $SNOWFLAKE_SCHEMA
file_format: nonsense
and I can still run the command
meltano el tap-postgres target-snowflake
Did either of you run into this problem?jan_soubusta
02/12/2024, 1:49 PM