Remove a folder from an Arctic Catalog.Syntax
DROP FOLDER [ IF EXISTS ] <folder_name> [ .<child_folder_name> ]
[ AT BRANCH <branch_name> ]
[ IF EXISTS ]
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> ]
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
AT BRANCH <branch_name>
Specifies the branch where you want the folder to be dropped. When this parameter is omitted, the current branch is used.
ExamplesDrop a child folder from a parent folder
DROP FOLDER myFolder.resources
DROP FOLDER myFolder
AT BRANCH main