Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (up to 4.0 supported)·"Since X.Y" tags refer to Apache Doris versionsVersion mapping

DROP RESOURCE

Description​

This statement is used to delete an existing resource. Only the root or admin user can delete resources.

Syntax​

DROP RESOURCE '<resource_name>'

Usage Notes​

ODBC/S3 resources in use cannot be deleted.

Examples​

  1. Delete the Spark resource named spark0:

    DROP RESOURCE 'spark0';