alterFileFormat

Last updated: September 2, 2025

The alterFileFormat change type is used to modify an existing FILE FORMAT object in Snowflake. This lets you update format-specific options, change the comment, or modify other file format properties without recreating the object.

Run alterFileFormat

To run this Change type, follow these steps:

  1. Add the Change type to your changeset, as shown in the examples on this page.

  2. Specify any required attributes. Use the table on this page to see which ones your database requires.

  3. Deploy your changeset by running the command:liquibase update

Available attributes

Name

Type

Description

Requirement

fileFormatName

String

Name of the file format to alter

Required

formatTypeOptions

Array

Format-specific options that control how files are parsed

Optional

comment

String

Comment for the file format

Optional

Nested tags

formatTypeOptions

Name

Type

Description

Requirement

entry

String

Format-specific options that control how files are parsed. Each entry contains a key-value pair. See the Snowflake FILE FORMAT documentation for a complete list of available options by format type. This page includes a full list of options available for CSV, JSON, XML, and other formats.

Optional

loading

alterFileFormat - Liquibase