Skip to main content

DROP RESOURCE

Description​

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

DROP RESOURCE 'resource_name'

Note: ODBC/S3 resources in use cannot be deleted.

Examples​

  1. Delete the Spark resource named spark0:

    DROP RESOURCE 'spark0';

Keywords​

 DROP, RESOURCE

Best Practice​