17 questionsQuestion · Short answer
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,…
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…
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…
Performance Optimization, Querying, and Transformation
A Snowflake stream tracks a change offset for its source object and exposes changes using source metadata. It does not hold a standalone copy of a durable change log. A plain SELECT leaves the offset in place. When a qualifying DML…