Create a JSON file format in Snowflake
Learn how to create a JSON file format in Snowflake.
When you load data files into a table, you must describe the file format and specify how Snowflake is to interpret and process the data in that file. Reltio configurations are in JSON file format, so create this file format in Snowflake.
- In the Snowflake application worksheet area, create a new SQL worksheet.
- In the SQL worksheet:
- From the drop-down menu at the top of the page, select the database you previously created in Create a Snowflake database.
- From the drop-down menu at the top of the page, select the schema you previously created.in Create a Snowflake schema.
- Run this command:
CREATE file format <file_format_name> type = 'JSON' COMPRESSION = GZIP STRIP_OUTER_ARRAY = TRUE;
where:-
<file_format_name>: Is the name of the file format, for example, zippedJson.
-
type: Is JSON.
-
COMPRESSION: Is GZIP.
-
STRIP_OUTER-ARRAY: Is TRUE.
-
- In the SQL worksheet, view the Successfully created notification message.