DROP CLUSTER

Drop an existing cluster

Syntax

DROP CLUSTER [ IF EXISTS ] <cluster_name>

IF EXISTS

(Optional) To prevent the Upsolver query engine from returning an error if the cluster does not exist, include IF EXISTS in your DROP statement; instead, you will see the message Operation resulted in no change.

Example

The following example runs a DROP statement with IF EXISTS to drop the cluster, my_test_cluster. By including IF EXISTS, an error is not encountered if the cluster does not exist. Otherwise, if the cluster exists, it will be dropped from the organization:

DROP CLUSTER IF EXISTS "my_test_cluster";

Last updated