ExamGecko
Question list
Search
Search

Question 470 - COF-C02 discussion

Report
Export

How does a Snowflake user extract the URL of a directory table on an external stage for further transformation?

A.
Use the SHOW STAGES command.
Answers
A.
Use the SHOW STAGES command.
B.
Use the DESCRIBE STAGE command.
Answers
B.
Use the DESCRIBE STAGE command.
C.
Use the GET_ABSOLUTE_PATH function.
Answers
C.
Use the GET_ABSOLUTE_PATH function.
D.
Use the GET_STAGE_LOCATION function.
Answers
D.
Use the GET_STAGE_LOCATION function.
Suggested answer: C

Explanation:

To extract the URL of a directory table on an external stage for further transformation in Snowflake, the GET_ABSOLUTE_PATH function can be used. This function returns the full path of a file or directory within a specified stage, enabling users to dynamically construct URLs for accessing or processing data stored in external stages.

References:

Snowflake Documentation: Working with Stages

asked 23/09/2024
Alfred Macaraeg
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first