55 questionsQuestion · Short answer
Account Management and Data Governance
For interactive Snowflake users, choose an approved human sign-in flow such as federated SSO, and apply the relevant MFA policy. For unattended clients, use a dedicated service user with an approved non-interactive mechanism such as…
Data Loading, Unloading, and Connectivity
Start with the exact client error and the earliest step that failed. A connection needs the correct account endpoint, DNS and route, trusted TLS, a permitted network origin, and successful authentication. Once the session exists, its…
Performance Optimization, Querying, and Transformation
Use path notation to read scalar values in Snowflake VARIANT , and LATERAL FLATTEN when you need a row per element of an array or object. Decide first whether the result should be at parent or child grain. Each emitted child row repeats…
Data Loading, Unloading, and Connectivity
Store documents, images, or audio on an internal or external stage. Use a directory table for file metadata and offer a filtered secure view that generates scoped URLs for approved files. The consumer can use the granted view without…
Performance Optimization, Querying, and Transformation
A successful Snowflake task shows that its statement completed. To verify the pipeline, trace the expected source commits through the stream and the task's executed query, then reconcile the target's keys, counts, business totals,…
Data Loading, Unloading, and Connectivity
Give each Snowflake unload attempt its own stage prefix and tie it to a stable source snapshot or cutoff. Record the exact published file set in a delivery manifest. On retry, use a fresh attempt path and publish its manifest only after…
Performance Optimization, Querying, and Transformation
Use SCHEDULE for time-based work and a stream condition in WHEN for event-driven work. Assign a warehouse for user-managed compute or omit WAREHOUSE for serverless compute. Newly created tasks are suspended, so resume the task to enable…
Data Loading, Unloading, and Connectivity
Choose an output format and test it with the actual reader. For CSV, give SQL NULL a representation the receiver can distinguish from an empty string. For Parquet, check the physical column types and explicitly handle Snowflake values…
Account Management and Data Governance
A Snowflake network rule groups network identifiers. A network policy uses allowed or blocked rules to restrict inbound access. For a request covered by multiple policy scopes, the most specific applicable scope generally wins: security…
Performance Optimization, Querying, and Transformation
Monitor STALE_AFTER using SHOW STREAMS or DESCRIBE STREAM and commit a qualifying consumption transaction before that time. A stream becomes stale once the source history required by its offset is unavailable. Recreate a stale stream to…
Performance Optimization, Querying, and Transformation
A Snowflake task graph has a root task and one or more dependent tasks defined with AFTER . The root defines when the graph starts. Ordinary children wait for their predecessor tasks to finish successfully, so a failed prerequisite stops…
Data Loading, Unloading, and Connectivity
In a Snowflake bulk load, the stage locates the files, the file format tells Snowflake how to parse them, and the target table controls how the parsed fields are stored. Use COPY INTO <table> with an active warehouse. A stage listing…