DROP MODEL Statement in Confluent Cloud for Apache Flink

Confluent Cloud for Apache Flink®️ enables real-time inference and prediction with AI models. Use the CREATE MODEL statement to register an AI model.

Syntax

-- Delete all versions and the model.
DROP MODEL [IF EXISTS] [[catalogname].[database_name]].model_name[.version_id]

Description

Delete an AI model in Confluent Cloud for Apache Flink.

Use the <model_name>.<model_version> syntax to delete a specific version of a model. For more information, see Model versioning.

If version_id is not specified, DROP deletes all versions of the model.

When the IF EXISTS clause is provided and the model or version doesn’t exist, no action is taken.

Examples

-- Delete a specific version of the model.
DROP MODEL `<model_name>.<version>`;

-- Delete all versions and the model.
DROP MODEL `<model_name>`;