CREATE FOLDER
Create a new folder in your Arctic catalog.
SyntaxCREATE FOLDER [ IF NOT EXISTS ] <folder_name>
[ AT { REF[ERENCE] | BRANCH } <reference_name> ]
Parameters
[ IF NOT EXISTS ] Optional
When included, the command runs even if the folder exists and the results indicate that the folder already exists. If this clause is not specified, the command fails if the folder already exists.
<folder_name> String
The name of the folder that you are creating. The name cannot include the following special characters: /
, :
, [
, or ]
.
AT { REF[ERENCE] | BRANCH } <reference_name> String Optional
Specifies the reference where you want the new folder to be created. When this parameter is omitted, the current reference is used.
REF
: Identifies a specific reference.BRANCH
: Identifies a specific branch.
Examples
Create a folderCREATE FOLDER myFolder
CREATE FOLDER IF NOT EXISTS myFolder
CREATE FOLDER IF NOT EXISTS myCatalog.myFolder
AT BRANCH etl_branch