Fusion SQL
On this page
Note
This is a Preview feature.
SingleStore Fusion SQL commands enable you to interface with the Management API from SingleStore Notebooks.
You can also run Fusion commands outside of SingleStore Notebooks using the Management objects in the SingleStore Python SDK.
Fusion SQL commands allow you to perform the following operations:
-
Create or delete workspace groups, request information on available workspace groups, list the workspace groups
-
Create, suspend, resume, or delete workspaces, request information on workspaces, list the workspaces
-
Create, update, or delete a folder in a Stage, request information on a folder
-
Upload, download, modify, or delete a file in a Stage, personal space, or shared space, show information on files
-
List the regions available for a user
-
Show Fusion SQL commands, help, and grammar
Enable Fusion SQL
Fusion SQL commands are enabled by default in Notebooks on the Cloud Portal.
To use the Fusion SQL commands outside of the Notebook environment using the SingleStore Python SDK, enable the SINGLESTOREDB_
environment variable.
SINGLESTOREDB_FUSION_ENABLED=1
Authentication
When used in Notebooks, authentication is handled via signed JWTs.
Supported Fusion SQL Commands
Run SHOW FUSION COMMANDS to list all the available Fusion commands.LIKE
clause to return a list of commands that match the specified pattern, such as:
SHOW FUSION COMMANDS LIKE '%WORKSPACE%';
You can also view the grammar and help for a Fusion SQL command using the SHOW FUSION GRAMMAR FOR
and SHOW FUSION HELP FOR
commands, respectively.
SHOW FUSION GRAMMAR FOR <command>;SHOW FUSION HELP FOR <command>;
In this section
- CREATE STAGE FOLDER
- CREATE WORKSPACE GROUP
- CREATE WORKSPACE
- DOWNLOAD PERSONAL FILE
- DOWNLOAD SHARED FILE
- DOWNLOAD STAGE FILE
- DROP PERSONAL FILE
- DROP SHARED FILE
- DROP STAGE {FILE | FOLDER}
- DROP WORKSPACE GROUP
- DROP WORKSPACE
- RESUME WORKSPACE
- SHOW FUSION COMMANDS
- SHOW FUSION GRAMMAR FOR
- SHOW FUSION HELP FOR
- SHOW REGIONS
- SHOW PERSONAL FILES
- SHOW SHARED FILES
- SHOW STAGE FILES
- SHOW WORKSPACE GROUPS
- SHOW WORKSPACES
- SUSPEND WORKSPACE
- UPLOAD FILE TO STAGE
- UPLOAD PERSONAL FILE TO
- UPLOAD SHARED FILE TO
- USE WORKSPACE
Last modified: February 13, 2025