ExamGecko
Question list
Search
Search

Question 421 - COF-C02 discussion

Report
Export

When using SnowSQL, which configuration options are required when unloading data from a SQL query run on a local machine? {Select TWO).

A.
echo
Answers
A.
echo
B.
quiet
Answers
B.
quiet
C.
output_file
Answers
C.
output_file
D.
output_format
Answers
D.
output_format
E.
force_put_overwrite
Answers
E.
force_put_overwrite
Suggested answer: C, D

Explanation:

When unloading data from SnowSQL (Snowflake's command-line client), to a file on a local machine, you need to specify certain configuration options to determine how and where the data should be outputted. The correct configuration options required are:

C . output_file: This configuration option specifies the file path where the output from the query should be stored. It is essential for directing the results of your SQL query into a local file, rather than just displaying it on the screen.

D . output_format: This option determines the format of the output file (e.g., CSV, JSON, etc.). It is crucial for ensuring that the data is unloaded in a structured format that meets the requirements of downstream processes or systems.

These options are specified in the SnowSQL configuration file or directly in the SnowSQL command line. The configuration file allows users to set defaults and customize their usage of SnowSQL, including output preferences for unloading data.

References:

Snowflake Documentation: SnowSQL (CLI Client) at Snowflake Documentation

Snowflake Documentation: Configuring SnowSQL at Snowflake Documentation

asked 23/09/2024
Karol Ligeza
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first