Skip to content

relationalai.api.delete_data_stream()

delete_data_stream(object_fq_name STRING)

Deletes a data stream from the specified RAI Python model. Models retain access to a snapshot of the most recent data processed by the stream. Requires the cdc_admin application role.

NameTypeDescription
object_fq_nameSTRINGThe fully-qualified name of the data stream’s source table or view in Snowflake, e.g. '<db>.<schema>.<table_or_view>'.

STRING

Use api.delete_data_stream() to delete a data stream from a model:

-- Delete a data stream. Replace the placeholders with your database, schema
-- and table or view name.
CALL relationalai.api.delete_data_stream('<db>.<schema>.<table_or_view>');
/*+-----------------------------------+
| Data stream deleted successfully. |
+-----------------------------------+ */

See Data Management for more information data streams.