COPY INTO:
● Copies data from staged files to a table ● All files loaded in a single operation must use the same stage and file format ● Can auto-detect compression mode, date and time formats ● Requires an active virtual warehouse
False: An active warehouse is not always required to run a COPY INTO statement in Snowflake.
Here's why:
The COPY INTO statement is used to load data from external locations (stages) into Snowflake tables.
While virtual warehouses provide the compute resources for processing queries within Snowflake, the COPY INTO operation itself is a data movement process.
COPY INTO table basically rights data into Micro Partition. To access the micro partition it requires a active warehouse to pass thru right. To access the storage it should pass thru the warehouse. it should be active. even if its suspended, upon receiving a Query the warehouse will resume and come into active to execute the query.
Should be false B: False. A COPY INTO statement in Snowflake does not require an active warehouse to run. The statement is used to load data into a Snowflake table from a file stored in a cloud-based object storage such as Amazon S3, Microsoft Azure Blob Storage, or Google Cloud Storage. An active warehouse is only required to perform computationally-intensive tasks such as data processing, querying, and data transformation.
COPY INTO table basically rights data into Micro Partition. To access the micro partition it requires a active warehouse to pass thru right. To access the storage it should pass thru the warehouse. it should be active. even if its suspended, upon receiving a Query the warehouse will resume and come into active to execute the query.
Execute COPY INTO <table> to load your staged data into the target table.
Note that this command requires an active, running warehouse, which you created as a prerequisite for this tutorial. If you don’t have access to a warehouse, you will need to create one now.
Answer is A.
Execute COPY INTO <table> to load your staged data into the target table.
Note that this command requires an active, running warehouse.
https://docs.snowflake.com/en/user-guide/getting-started-tutorial-copy-into.html
Correct answer
Link below states that you need an active, running warehouse to before COPY INTO functions
https://docs.snowflake.com/en/user-guide/getting-started-tutorial-copy-into.html
upvoted 1 times
...
Log in to ExamTopics
Sign in:
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.
hotflake
3 months, 2 weeks agoMallikharjuna452
4 months agoAlex_Ovidiu
7 months, 2 weeks agoRajivnb
1 year, 1 month agoMayuri917233
1 year, 6 months agoRaju039
1 year, 8 months agomarkpumc
1 year, 9 months agoRajivnb
1 year, 1 month agoTapasgup007
1 year, 11 months agokjdfsafc87456
2 years, 2 months agoSly007
2 years, 6 months agolearnazureportal
2 years, 6 months agolearnazureportal
2 years, 6 months agoaddixion
2 years, 7 months agolhstudylh
2 years, 8 months ago