createFileFormat
Last updated: January 27, 2026
Creates a new file format in Snowflake. File formats define how data files should be parsed when loading or unloading data.
Note: Automatic rollback drops the file format.
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog (database) where the file format will be created | No |
| String | Name of the schema where the file format will be created | No |
| String | Name of the file format to create | Yes |
| String | Type: | No |
| String | Comment describing the file format | No |
| Boolean | Replace the file format if it already exists using | No |
| Boolean | Alter the file format if it already exists using | No |
| Boolean | Only create if the file format doesn't exist using | No |
| Boolean | Create a temporary file format | No |
* replaceIfExists, alterIfExists, and ifNotExists are mutually exclusive
formatTypeOptions attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Format-specific option name (e.g., | Yes |
| String | Option value | Yes |