Skip to main content
Version: Latest-4.1

DROP RESOURCE

Use DROP RESOURCE to drop an existing resource. Only root or superuser can drop resources.

Syntax:

DROP RESOURCE 'resource_name'

Examples​

  1. Drop Spark resource named spark0.

    DROP RESOURCE 'spark0';
  2. Drop Hive resource named hive0.

    DROP RESOURCE 'hive0';
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.