DOCUMENTATION
/
Getting Started
Guides
Developer
Reference
Releases
Tutorials
Snowflake Open Catalog
Status
  1. Overview
    • SQL data types reference
      • SQL command reference
          1. Query syntax
            • Query operators
              • General DDL
                • General DML
                  • All commands (alphabetical)
                    • Accounts
                      • Users, roles, & privileges
                        • Integrations
                          • Replication & failover
                            • Sessions
                              • Transactions
                                • Virtual warehouses & resource monitors
                                  • Databases, schemas, & shares
                                    • Tables, views, & sequences
                                      • Functions, procedures, & scripting
                                        • Streams & tasks
                                          • Classes & instances
                                            • Machine learning
                                              • Cortex Search Service
                                                • Listings
                                                  • Organization profiles
                                                    • Security
                                                      • Data Governance
                                                        • Privacy
                                                          • Data loading & unloading
                                                              1. Stage
                                                              2. CREATE STAGE
                                                                • ALTER STAGE
                                                                  • DROP STAGE
                                                                    • DESCRIBE STAGE
                                                                      • SHOW STAGES
                                                                        • File format
                                                                        • ALTER FILE FORMAT
                                                                          • CREATE FILE FORMAT
                                                                            • DESCRIBE FILE FORMAT
                                                                              • SHOW FILE FORMATS
                                                                                • DROP FILE FORMAT
                                                                                  • External volume
                                                                                  • CREATE EXTERNAL VOLUME
                                                                                    • ALTER EXTERNAL VOLUME
                                                                                      • DROP EXTERNAL VOLUME
                                                                                        • UNDROP EXTERNAL VOLUME
                                                                                          • SHOW EXTERNAL VOLUMES
                                                                                            • DESCRIBE EXTERNAL VOLUME
                                                                                              • Pipe
                                                                                              • ALTER PIPE
                                                                                                • CREATE PIPE
                                                                                                  • DESCRIBE PIPE
                                                                                                    • SHOW PIPE
                                                                                                      • DROP PIPE
                                                                                                        • Snowpipe Streaming
                                                                                                        • SHOW CHANNELS
                                                                                                          • Loading and unloading
                                                                                                          • COPY INTO
                                                                                                            • COPY INTO
                                                                                                              • File staging
                                                                                                                • Alerts
                                                                                                                  • Native Apps Framework
                                                                                                                    • Streamlit
                                                                                                                      • Notebook
                                                                                                                        • Snowpark Container Services
                                                                                                                          • Function and stored procedure reference
                                                                                                                            • Class reference
                                                                                                                              • Scripting reference
                                                                                                                                • General reference
                                                                                                                                  • API reference
                                                                                                                                    • ReferenceSQL command referenceData loading & unloadingDESCRIBE FILE FORMAT

                                                                                                                                      DESCRIBE FILE FORMAT¶

                                                                                                                                      Describes the property type (for example, String or Integer), the defined value of the property, and the default value for each property in a file format object definition. For more information about available properties for each file type, see “Format type options” in CREATE FILE FORMAT.

                                                                                                                                      DESCRIBE can be abbreviated to DESC.

                                                                                                                                      See also:

                                                                                                                                      DROP FILE FORMAT , ALTER FILE FORMAT , CREATE FILE FORMAT , SHOW FILE FORMATS

                                                                                                                                      Syntax¶

                                                                                                                                      DESC[RIBE] FILE FORMAT 
                                                                                                                                      
                                                                                                                                      Copy

                                                                                                                                      Parameters¶

                                                                                                                                      name

                                                                                                                                      Specifies the identifier for the file format to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

                                                                                                                                      Usage notes¶

                                                                                                                                      • To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried. You can also use the pipe operator to query the output of this command.

                                                                                                                                      Examples¶

                                                                                                                                      Describe the file format object named my_csv_format:

                                                                                                                                      DESC FILE FORMAT my_csv_format;
                                                                                                                                      
                                                                                                                                      Copy

                                                                                                                                      Output:

                                                                                                                                      +--------------------------------+---------------+----------------+------------------+
                                                                                                                                      | property                       | property_type | property_value | property_default |
                                                                                                                                      +--------------------------------+---------------+----------------+------------------+
                                                                                                                                      | TYPE                           | String        | csv            | CSV              |
                                                                                                                                      | RECORD_DELIMITER               | String        | \n             | \n               |
                                                                                                                                      | FIELD_DELIMITER                | String        | ,              | ,                |
                                                                                                                                      | FILE_EXTENSION                 | String        |                |                  |
                                                                                                                                      | SKIP_HEADER                    | Integer       | 0              | 0                |
                                                                                                                                      | PARSE_HEADER                   | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | DATE_FORMAT                    | String        | AUTO           | AUTO             |
                                                                                                                                      | TIME_FORMAT                    | String        | AUTO           | AUTO             |
                                                                                                                                      | TIMESTAMP_FORMAT               | String        | AUTO           | AUTO             |
                                                                                                                                      | BINARY_FORMAT                  | String        | HEX            | HEX              |
                                                                                                                                      | ESCAPE                         | String        | NONE           | NONE             |
                                                                                                                                      | ESCAPE_UNENCLOSED_FIELD        | String        | \\             | \\               |
                                                                                                                                      | TRIM_SPACE                     | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | FIELD_OPTIONALLY_ENCLOSED_BY   | String        | NONE           | NONE             |
                                                                                                                                      | NULL_IF                        | List          | [\\N]          | [\\N]            |
                                                                                                                                      | COMPRESSION                    | String        | AUTO           | AUTO             |
                                                                                                                                      | ERROR_ON_COLUMN_COUNT_MISMATCH | Boolean       | TRUE           | TRUE             |
                                                                                                                                      | VALIDATE_UTF8                  | Boolean       | TRUE           | TRUE             |
                                                                                                                                      | SKIP_BLANK_LINES               | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | REPLACE_INVALID_CHARACTERS     | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | EMPTY_FIELD_AS_NULL            | Boolean       | TRUE           | TRUE             |
                                                                                                                                      | SKIP_BYTE_ORDER_MARK           | Boolean       | TRUE           | TRUE             |
                                                                                                                                      | ENCODING                       | String        | UTF8           | UTF8             |
                                                                                                                                      +--------------------------------+---------------+----------------+------------------+
                                                                                                                                      

                                                                                                                                      Describe the file format object named my_json_format:

                                                                                                                                      DESC FILE FORMAT `my_json_format`;
                                                                                                                                      
                                                                                                                                      Copy

                                                                                                                                      Output:

                                                                                                                                      +----------------------------+---------------+----------------+------------------+
                                                                                                                                      | property                   | property_type | property_value | property_default |
                                                                                                                                      +----------------------------+---------------+----------------+------------------+
                                                                                                                                      | TYPE                       | String        | JSON           | CSV              |
                                                                                                                                      | FILE_EXTENSION             | String        |                |                  |
                                                                                                                                      | DATE_FORMAT                | String        | AUTO           | AUTO             |
                                                                                                                                      | TIME_FORMAT                | String        | AUTO           | AUTO             |
                                                                                                                                      | TIMESTAMP_FORMAT           | String        | AUTO           | AUTO             |
                                                                                                                                      | BINARY_FORMAT              | String        | HEX            | HEX              |
                                                                                                                                      | TRIM_SPACE                 | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | NULL_IF                    | List          | []             | [\\N]            |
                                                                                                                                      | COMPRESSION                | String        | AUTO           | AUTO             |
                                                                                                                                      | ENABLE_OCTAL               | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | ALLOW_DUPLICATE            | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | STRIP_OUTER_ARRAY          | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | STRIP_NULL_VALUES          | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | IGNORE_UTF8_ERRORS         | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | REPLACE_INVALID_CHARACTERS | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | SKIP_BYTE_ORDER_MARK       | Boolean       | TRUE           | TRUE             |
                                                                                                                                      +----------------------------+---------------+----------------+------------------+
                                                                                                                                      

                                                                                                                                      Describe the file format object named my_parquet_format:

                                                                                                                                      DESC FILE FORMAT `my_parquet_format`;
                                                                                                                                      
                                                                                                                                      Copy

                                                                                                                                      Output:

                                                                                                                                      +----------------+---------------+----------------+------------------+
                                                                                                                                      | property       | property_type | property_value | property_default |
                                                                                                                                      +----------------+---------------+----------------+------------------+
                                                                                                                                      | TYPE           | String        | PARQUET        | CSV              |
                                                                                                                                      | TRIM_SPACE     | Boolean       | FALSE          | FALSE            |
                                                                                                                                      | NULL_IF        | List          | []             | [\\N]            |
                                                                                                                                      | COMPRESSION    | String        | SNAPPY         | AUTO             |
                                                                                                                                      | BINARY_AS_TEXT | Boolean       | TRUE           | TRUE             |
                                                                                                                                      +----------------+---------------+----------------+------------------+
                                                                                                                                      

                                                                                                                                      Was this page helpful?

                                                                                                                                      Visit Snowflake
                                                                                                                                      Join the conversation
                                                                                                                                      Develop with Snowflake
                                                                                                                                      Share your feedback
                                                                                                                                      Read the latest on our blog
                                                                                                                                      Get your own certification
                                                                                                                                      Privacy NoticeSite Terms© 2025 Snowflake, Inc. All Rights Reserved.
                                                                                                                                      1. Syntax
                                                                                                                                      2. Parameters
                                                                                                                                      3. Usage notes
                                                                                                                                      4. Examples
                                                                                                                                      Language: English
                                                                                                                                      • English
                                                                                                                                      • Français
                                                                                                                                      • Deutsch
                                                                                                                                      • 日本語
                                                                                                                                      • 한국어
                                                                                                                                      • Português