Monitoring & Troubleshooting¶
Part of Streaming Transformations. See all pages in this section.
Check pipe status. Run SELECT SYSTEM$PIPE_STATUS('<pipe_name>'); to get the pipe’s executionState (RUNNING, PAUSED, STALLED_*, STOPPED_MISSING_TABLE, and others) and its error field. This is the fastest way to confirm a transformation pipe’s health. For example, when a dimension table is dropped or access is revoked (see Usage notes), the pipe shows a stalled/stopped state with an error message here.
Check row-level ingestion errors. Set ERROR_LOGGING = TRUE on the target table, then query:
Error tables capture the original, untransformed payload plus the pipe and channel name for each failed row.
This does not apply to a pipe that uses LATERAL FLATTEN: row expansion and ERROR_LOGGING can currently not be combined, so no error table is available for such a pipe. Use SYSTEM$PIPE_STATUS and getChannelStatus() to diagnose it instead.
Check client-side channel health. If you’re using the Snowpipe Streaming SDK, call getChannelStatus() to retrieve rows_inserted, rows_parsed, rows_error_count, and last_error_message per channel — useful for catching schema mismatches or SDK-side validation errors.
Common issues
| Symptom | Likely cause | What to do |
|---|---|---|
| Pipe won’t create | You are using a SQL feature that is not supported in transformation pipes | Revise the PIPE definition to omit the unsupported feature. Use post-ingestion features such as Dynamic Tables, streams and tasks, or CTAS. |
| Pipe stalled/stopped | Dimension table dropped or privilege revoked | Restore the table or grant, then resume the pipe |
Enriched column unexpectedly NULL | No matching dimension row (LEFT OUTER JOIN semantics) | Use COALESCE as shown in JOIN semantics or check dimension snapshot staleness |
| Pipe won’t accept changes via ALTER | ALTER PIPE not supported for transformation pipes | DROP and recreate the pipe |
| Pipe will not create, or fails at ingest after enabling error logging | Target table has ERROR_LOGGING enabled and the transform contains a LATERAL FLATTEN | Disable ERROR_LOGGING on the target table. |
Previous: Scenario F: Privacy-safe ingestion