Edit

DROP RESOURCE

Description

This statement is used 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';