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

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 602 discussion

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

Which COPY INTO statement accurately describes how to unload data from a Snowflake table?

  • A. The default value for the SINGLE option is set to TRUE.
  • B. By default, COPY INTO statements do not separate table data into a set of output files.
  • C. The OBJECT_CONSTRUCT function can be combined with the COPY command to convert the rows in a relational table to a single VARIANT column.
  • D. If the COMPRESSION option is set to TRUE, a file's name can be specified with the appropriate file extension so that the output file can be compressed.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
OTE
Highly Voted 1 year, 8 months ago
Selected Answer: C
"You can use the OBJECT_CONSTRUCT function combined with the COPY command to convert the rows in a relational table to a single VARIANT column and unload the rows into a file." https://docs.snowflake.com/en/user-guide/data-unload-considerations
upvoted 5 times
...
MultiCloudIronMan
Most Recent 1 year, 7 months ago
Selected Answer: C
Correct
upvoted 1 times
...
ShagunMittal
1 year, 8 months ago
Selected Answer: C
Option D will also be correct if Decompressed is written instead of compressed at the end of statement.
upvoted 2 times
aemilka
1 month, 1 week ago
COMPRESSION option can't be set to TRUE -- If FILE_FORMAT = ( TYPE = CSV ... ) COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE | RAW_DEFLATE | NONE -- If FILE_FORMAT = ( TYPE = JSON ... ) COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE | RAW_DEFLATE | NONE -- If FILE_FORMAT = ( TYPE = PARQUET ... ) COMPRESSION = AUTO | LZO | SNAPPY | NONE https://docs.snowflake.com/en/sql-reference/sql/copy-into-location
upvoted 1 times
...
subhataanu
5 months, 2 weeks ago
had option D said 'can be uncompressed', then it'll be true. i.e specify compression method/extension for 'decompression'
upvoted 1 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 ...