Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam SnowPro Core topic 1 question 11 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 11
Topic #: 1
[All SnowPro Core Questions]

True or False: The COPY command must specify a File Format in order to execute.

  • A. True
  • B. False
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://interworks.com/blog/hcalder/2018/07/26/the-basics-of-loading-data-into-snowflake/

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
jjordan
Highly Voted 2 years, 3 months ago
The correct answer is FALSE. The file format can be defined at the stage, table, or copy into command. Create Stage: https://docs.snowflake.com/en/sql-reference/sql/create-stage.html Create Table (STAGE_FILE_FORMAT option): https://docs.snowflake.com/en/sql-reference/sql/create-table.html Copy Into: https://docs.snowflake.com/en/sql-reference/sql/copy-into-table.html
upvoted 17 times
...
Stevec80
Most Recent 3 days, 10 hours ago
Selected Answer: B
In the COPY command, the File_Format is not mandatory. With the Internal Named Stage you can specify file_format during creation of the stage
upvoted 1 times
...
AnireddySaikiranReddy
1 month, 3 weeks ago
True-A
upvoted 1 times
...
_yyukta
1 month, 3 weeks ago
Selected Answer: A
A.True
upvoted 1 times
...
KHarish
4 months, 2 weeks ago
B is correct
upvoted 1 times
...
annasri
6 months, 1 week ago
Selected Answer: B
file format is nor mandatory
upvoted 1 times
...
ETC2
7 months, 2 weeks ago
Selected Answer: B
The answer is FALSE. According to snowflake documentation, FILE FORMAT is an optional parameter. https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#required-parameters
upvoted 1 times
...
SanjayR
7 months, 3 weeks ago
Correct Answer is B. Specifying FILE Format is not pre-requisite. see below Copy command e.g -- S3 bucket COPY INTO mytable FROM 's3://mybucket/./../a.csv'; -- Google Cloud Storage bucket COPY INTO mytable FROM 'gcs://mybucket/./../a.csv'; -- Azure container COPY INTO mytable FROM 'azure://myaccount.blob.core.windows.net/mycontainer/./../a.csv';
upvoted 1 times
...
PoornaChandraIn
9 months, 2 weeks ago
Answer is B as it optional to provide in here as we can provide it later part also at stage or table level.
upvoted 1 times
...
VS3497
10 months, 1 week ago
A.The COPY command must specify a File Format in order to execute
upvoted 2 times
...
instride
10 months, 2 weeks ago
Selected Answer: B
The answer is FALSE. According to snowflake documentation, FILE FORMAT is an optional parameter. https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#required-parameters
upvoted 4 times
...
tbridges
11 months ago
False. In Snowflake, the COPY command does not necessarily require specifying a File Format in order to execute. The COPY command can be used to load data into a table from various file formats such as CSV, JSON, Avro, Parquet, etc. When a file format is not explicitly specified in the COPY command, Snowflake attempts to automatically infer the file format based on the file's extension or internal file structure. This automatic file format inference feature is known as "automatic file format detection." However, if the file format cannot be determined automatically or if you want to override the automatic detection, you can explicitly specify a File Format in the COPY command using the FILE_FORMAT parameter. So, while specifying a File Format can provide more control and customization over the data loading process, it is not mandatory for the COPY command to execute successfully.
upvoted 4 times
...
Leinho
11 months, 1 week ago
FILE_FORMAT parameter is defined as an optional parameter in snowflake documentation: https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#optional-parameters
upvoted 2 times
...
Mayuri917233
11 months, 1 week ago
Selected Answer: A
A is correct
upvoted 1 times
...
Fabmel1
11 months, 2 weeks ago
Selected Answer: B
Correct is False, the reference for the "correct" is not an official Snowflake's documentation
upvoted 2 times
...
alfredofmt
1 year ago
Selected Answer: B
If a File Format is not specified, Snowflake will use the default format options. https://docs.snowflake.com/en/sql-reference/sql/copy-into-table
upvoted 1 times
...
Josa2
1 year, 1 month ago
Who is curating these Questions / Answers ? A lot of them are wrong and lots of discussions have 3..6months age and nobody updated it!!!
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...