ExamGecko
Question list
Search
Search

Question 661 - COF-C02 discussion

Report
Export

How can a 5 GB table be downloaded into a single file MOST efficiently?

A.
Keep the default MAX_FILE_SIZE to 16 MB
Answers
A.
Keep the default MAX_FILE_SIZE to 16 MB
B.
Set the default MAX_FILE_SI2E to 5 GB.
Answers
B.
Set the default MAX_FILE_SI2E to 5 GB.
C.
Set the SINGLE parameter to TRUE.
Answers
C.
Set the SINGLE parameter to TRUE.
D.
Use a regular expression in the stage specifications of the COPY command.
Answers
D.
Use a regular expression in the stage specifications of the COPY command.
Suggested answer: C

Explanation:

To download a 5 GB table into a single file most efficiently in Snowflake, you should set the SINGLE parameter to TRUE. This parameter ensures that the COPY INTO command outputs the result into a single file, regardless of the file size. This approach is more efficient than relying on the default MAX_FILE_SIZE setting, which would split the output into multiple files.

References:

Snowflake Documentation: COPY INTO <location>

asked 23/09/2024
JP Pelovello
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first