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.

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

Enter to send ยท Shift+Enter for a new line