DROP FOLDER
Remove a folder from an Arctic Catalog.
SyntaxDROP FOLDER [ IF EXISTS ] <folder_name> [ .<child_folder_name> ]
[ AT BRANCH <branch_name> ]
Parameters
[ IF EXISTS ] Optional
When included, the command will succeed regardless of whether the folder existed. If this clause is not specified, the command will fail if the folder to be dropped does not exist.
<folder_name> [ .<child_folder_name> ] String
The name of the folder that you are dropping. If you are dropping a child folder from a parent folder, use the parent folder name as the folder_name
and include the .child_folder_name
.
AT BRANCH <branch_name> String Optional
Specifies the branch where you want the folder to be dropped. When this parameter is omitted, the current branch is used.
Examples
Drop a child folder from a parent folderDROP FOLDER myFolder.resources
DROP FOLDER myFolder
AT BRANCH main