setup_cdc()#

relationalai.app
#setup_cdc(<engine_name>)

Enables Change Data Capture (CDC) for the RelationalAI (RAI) Native App on Snowflake. This procedure configures the engine to process CDC data. Requires the cdc_admin application role.

Parameters#

NameTypeDescription
engine_nameSTRINGThe name of the engine to use for processing CDC data (case-sensitive).

Example#

Use setup_cdc() to enable CDC for the RAI Native App. Ensure you have created a CDC engine using create_engine() before running this procedure. The CDC engine may use an existing engine compute pool, or you can create a new engine if workload isolation is a concern.

For example, the set up CDC using an engine named cdc_engine:

#CALL relationalai.app.setup_cdc('cdc_engine');

See Also#