SYSTEM$SNOWPIPE_STREAMING_UPDATE_CHANNEL_OFFSET_TOKEN
functionsupportedData loading & unloadingUpdates the offset token for a particular channel used by Snowpipe Streaming with a new offset token. For more information about channels and offset tokens, see Snowpipe Streaming. See also: SHOW CHANNELS
Syntax
SYSTEM$SNOWPIPE_STREAMING_UPDATE_CHANNEL_OFFSET_TOKEN('<dbName>.<schemaName>.<tableName>', '<channelName>', '<new_offset_token>')
Parameters
| Name | Required | Description |
|---|---|---|
dbName | required | Name of the database in which the channel is stored. |
schemaName | required | Name of the schema in which the channel is stored. |
tableName | required | Name of the table where the channel is mapped to. |
channelName | required | Name of the channel. |
new_offset_token | required | The new offset token. |
Usage notes
- The role that executes this function must have at least the INSERT privilege on the table where the channel is mapped to.