Skip to main content

DROP REPOSITORY

Note:

These repository and job statements belong to the engine SQL backup/restore interface. They are separate from managed warehouse backups. Confirm the supported migration or recovery procedure with VeloDB Cloud support before using this interface.

Description​

This statement is used to delete a created repository.

Syntax​

DROP REPOSITORY <repo_name>;

Required parameters​

<repo_name>

The unique name of the repository.

Access control requirements​

PrivilegeObjectNotes
ADMIN_PRIVEntire cluster management permissionsOnly the root or superuser can create repositories

Usage notes​

  • Deleting the repository only removes its mapping in the warehouse and does not delete the actual repository data. After deletion, the repository can be mapped again by specifying the same LOCATION.

Examples​

Delete the repository named example_repo:

DROP REPOSITORY `example_repo`;