data_stream_batches#

relationalai.<rai_schema>
#data_stream_batches

Retrieves a VIEW containing batch processing information for Change Data Capture (CDC) data streams within a specified RelationalAI (RAI) schema. Provides details on each batch, including its status and any issues encountered during processing. Requires the cdc_admin or <rai_schema>_cdc application role.

Example#

Use the data_stream_batches view to retrieve batch processing information for CDC data streams within a specified RAI schema:

#SELECT * FROM relationalai.my_schema.data_stream_batches;

See Also#