Which COPY INTO statement accurately describes how to unload data from a Snowflake table?
Which COPY INTO statement accurately describes how to unload data from a Snowflake table?
The correct description of how to unload data from a Snowflake table involves the use of the OBJECT_CONSTRUCT function combined with the COPY command to convert rows in a relational table into a single VARIANT column. This allows for the rows to be unloaded into a file while maintaining their structure.
"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
Option D will also be correct if Decompressed is written instead of compressed at the end of statement.
had option D said 'can be uncompressed', then it'll be true. i.e specify compression method/extension for 'decompression'
Correct