SYSTEM$PIPE_FORCE_RESUME

functionsupportedData loading & unloading

docs.snowflake.com ↗

System functions

Forces a pipe paused using ALTER PIPE to resume. This is necessary in either of the following scenarios: - The pipe owner transfers ownership of the pipe to another role while the pipe is paused. - The paused pipe is allowed to become stale. A pipe is considered stale when it is paused for longer than the limited retention period for event messages received for the pipe (14 days by default). As each notification reaches the end of this period, Snowflake schedules it to be dropped from the internal metadata. If the pipe is later resumed, Snowpipe may process notifications older than 14 days on a best effort basis. Snowflake cannot guarantee that these older notifications are processed. This scenario only pertains to pipe objects that leverage cloud messaging to trigger data loads (i.e. where AUTO_INGEST = TRUE in the pipe definition). Executing this function resumes the specified pipe. To determine how many files are queued, query SYSTEM$PIPE_STATUS. For more information, see Snowpipe.

Syntax

SYSTEM$PIPE_FORCE_RESUME( '<pipe_name>' , '[ STALENESS_CHECK_OVERRIDE ] [ , OWNERSHIP_TRANSFER_CHECK_OVERRIDE ]')

Parameters

NameRequiredDescription
pipe_namerequiredPipe to resume running.
STALENESS_CHECK_OVERRIDErequiredSpecifies to resume a stale pipe. A pipe is considered stale when it is paused for longer than the limited retention period for event messages received for the pipe (14 days by default). Note This argument only pertains to pipe objects that leverage cloud messaging to trigger data loads.
OWNERSHIP_TRANSFER_CHECK_OVERRIDErequiredSpecifies to resume a pipe after ownership of the pipe was transferred to another role. Note To ensure backward compatibility, passing pipe_name as the only input is syntactically equivalent to passing both pipe_name and OWNERSHIP_TRANSFER_CHECK_OVERRIDE.

Usage notes