Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

CREATE STAGE FOLDER

The CREATE STAGE FOLDER command creates a folder at the specified path within a Stage.

Syntax

CREATE STAGE FOLDER '<stage_path>'
    [ { IN GROUP { ID '<deployment_ID>' | '<deployment_name>' } | IN { ID '<deployment_ID>' | '<deployment_name>' } } ]
    [ OVERWRITE ]

Arguments

  • stage_path: The path in the Stage space where the folder is created. It must end with a trailing /.

  • deployment_ID, deployment_name: The ID or name of the deployment (cluster group) in which the Stage is attached.

Remarks

  • If the OVERWRITE clause is specified, any existing folder with the same name at the specified path is overwritten.

  • The IN and IN GROUP clauses specify the ID or the name of the deployment in which the Stage is attached.

Example

The following command creates a folder in the Stage attached to the deployment named s2-group:

CREATE STAGE FOLDER `/data/` IN 's2-group';

Last modified:

Was this article helpful?