STREAM
Config path: /<database>/<schema>/stream/<name>.yaml
Example:
Schema
object_type (str) - object type for stream (e.g.
TABLE
,EXTERNAL_TABLE
)object_name (ident) - object name for stream
append_only (bool) - is stream
APPEND_ONLY
modeinsert_only (bool) - is stream
INSERT_ONLY
mode (forEXTERNAL_TABLE
)show_initial_rows (bool) - return existing rows when stream is consumed for the first time
comment (str)
Usage notes
Stream on top of
TABLE
,EVENT_TABLE
orVIEW
requires change tracking to be enabled explicitly for this object.SnowDDL detects "stale" streams and suggests REPLACE command.
Links
Last updated