A Data Engineer is optimizing end-user query performance for automobile-shipment data in a portal web application that produces dashboards for different clients.
An internal team queries the data with order_date as a WHERE condition, and ingestion and natural clustering occur on that column. However, the application retrieves data by using client_id, warehouse, product_id, and destination_city. The Engineer must create materialized views with different cluster keys and needs to choose two columns, together with client_id, to optimize the first cluster key.
Which statements provide all the information required to select the MOST effective combination of columns for clustering?
Which file-format option escapes the \ character when unloading table data to a stage if FIELD_DELIMITER = ','?
Community Discussion
A Data Engineer is designing a solution to email a customer report files that are generated and stored in a Snowflake stage. The files must be available for download for only 60 minutes because new files will be produced and the older files will become obsolete.
What is the recommended way to satisfy these requirements?
Community Discussion
A user executed a one-time AI_SUMMARIZE_AGG query on a large log table using a Cortex AI model. Although it ran on a size Small virtual warehouse, the query consumed more than 1,000 credits.
A Data Engineer must implement a Snowflake-native automated alert that fires whenever a single Cortex AI SQL query uses 300 credits, allowing the query text and selected model to be reviewed.
How should these requirements be fulfilled?
Community Discussion
How can a clustering key definition be used to lower the number of distinct values in a high-cardinality column?

Community Discussion