This can be used to create materialized views and sinks. See the practice in Sink data with upsert in Snowflake. The AS CHANGELOG clause adds two metadata columns:Documentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
Use this file to discover all available pages before exploring further.
changelog_op: the change type (1= Insert,2= Delete,3= UpdateInsert,4= UpdateDelete)_changelog_row_id: a monotonically increasing identifier that captures the order of the change.
Syntax
source_table change record to a column of table_name.
Example
Create MV
Changelog operation
Query MV