COF-C02 · Question #657
What is the default File Format used in the COPY command if one is not specified?
The correct answer is A. CSV. CSV (Comma-Separated Values) is the default file format for Snowflake's COPY INTO command when no FILE_FORMAT option is specified. If you run COPY INTO <table> FROM @<stage> without specifying a format, Snowflake assumes the files are CSV with default delimiters…
Question
What is the default File Format used in the COPY command if one is not specified?
Options
- ACSV
- BJSON
- CParquet
- DXML
How the community answered
(54 responses)- A87% (47)
- B2% (1)
- C4% (2)
- D7% (4)
Explanation
CSV (Comma-Separated Values) is the default file format for Snowflake's COPY INTO command when no FILE_FORMAT option is specified. If you run COPY INTO <table> FROM @<stage> without specifying a format, Snowflake assumes the files are CSV with default delimiters (comma-separated, newline-terminated records). To load JSON, Parquet, XML, or other formats, you must explicitly specify FILE_FORMAT = (TYPE = 'JSON') or reference a named file format object. This default behavior makes CSV the simplest format to load without additional configuration.
Topics
Community Discussion
No community discussion yet for this question.