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';