data_stream_errors
relationalai.api
data_stream_errorsA view that surfaces CDC-related errors and logs for data stream processing.
It can include both application logs and errors recorded during data stream batch processing.
Requires the rai_user application role.
Columns
Section titled “Columns”| Column | Type | Description |
|---|---|---|
SOURCE | STRING | Source system for the row (for example, logs or data_stream_batches). |
ID | STRING | Identifier associated with the error (for example, a logger name or data stream id). |
TIMESTAMP | TIMESTAMP | Time the error/log entry was recorded. |
ERROR | VARIANT | Error payload. For logs, this is a string message. For batch errors, this can be structured data. |
Example
Section titled “Example”Show the most recent CDC-related errors:
SELECT *FROM relationalai.api.data_stream_errorsORDER BY timestamp DESC;