Learn how to navigate and use the develop space to work with your Firebolt database.
The Firebolt Workspace has a Develop Space that you can use to edit and run SQL scripts, as well as view query results.
To get started, sign-in to your Firebolt account or register using the following steps:
You can launch the Develop Space for a database by clicking the Develop icon (</>) from the left navigation pane.
The Develop Space is organized into three panels:
The Explore panel provides quick access to key tasks in Firebolt, including loading data, creating databases, and managing engines.
Load data
Create a database
If you have previously worked with a database, the space for the database that you last worked with will open automatically and the database will be selected from the list. To switch to a different database’s space, choose from the database list on the left navigation panel, below the search bar.
Create a new engine
The document editor uses tabs at the top of the center panel to help you organize your SQL scripts. You can switch tabs by selecting the script you’d like to work with and run them. You can store multiple query statements on the same tab. To terminate a statement, use a semi-colon (;
).
Select your database and engine
At the top of the Document editor, a couple dropdown menus allow you to select your database and associated engine:
Running scripts and generating query plans
Use the red Run button in the top-right corner to run all queries or selected snippets.
You can use the dropdown menu next to Run to:
Using auto-complete
As you enter your code in a script tab, Firebolt suggests keywords and object names from the chosen database. Press the tab
key to add the first suggestion in the list to your script, or use arrow keys to select a different item from the list and then press the tab
key.
The Results panel displays results in the Develop Space below the document editor, after running your SQL scripts or queries. It provides detailed information through the following tabs:
Results tab
The Results
tab displays the data returned from your SQL query. Each executed query populates this tab with a result table showing returned values for each column defined in your query.
Statistics tab
The Statistics
tab provides detailed statistics for each query you run. Information includes:
Statements are listed with the earliest executed queries at the bottom.
Query Profile tab
The Query Profile
tab provides a visual query plan, illustrating how Firebolt executes your query. Each step is shown in a flowchart format, enabling you to inspect query operations and data flow visually.
Engine monitoring tab
The Engine Monitoring
tab provides real-time metrics on the resource utilization of your query execution engine, such as CPU and memory usage.
If the selected engine does not support engine monitoring (for example, the System engine), a message will indicate this, prompting you to select another engine for monitoring.
Query history tab
The Query History
tab displays past queries along with their status and run details. This helps in reviewing historical queries for debugging or optimization purposes.
If the selected engine does not provide query history (such as the System engine), a message will indicate that you should select another engine to view the query history.
Exporting results to a local hard drive
You can export up to 10,000 rows of query results to your local hard drive after you run a query.
Firebolt downloads the selected file type to your browser’s default download location.
Choose the vertical ellipsis (⋮) next to the script name in the left pane to format, rename,
You can format your script by selecting Format script.
To rename your script:
Script templates simplify common tasks such as importing data or creating tables. To insert a template:
If you’d like to delete a script, select Delete script in the dropdown menu or select the X icon next to the script name.
At the top of each script tab, you can choose Run to run your SQL statements. SQL statements can only run on running engines. If an engine isn’t running, you can select it from the list and then choose the Start button for that engine. For more information about engines, see Operate engines.
You can run all statements in a script or select snippets of SQL to run.
Running all SQL statements in a script
Position the cursor anywhere in the script editor and then choose Run. All SQL statements must be terminated by a semi-colon (;
) or an error occurs.
Running a snippet of SQL as a statement
Select the SQL code you want to run as a statement and then choose Run. Behind the scenes, Firebolt automatically appends a semi-colon to the selected SQL code so it can run as a statement.
Switch themes by selecting the toggle () at the bottom-left corner of the workspace.
The Resource Center provides quick access to essential Firebolt resources. Select the Firebolt icon() in the bottom-right corner of the Results panel to open the Resource Center, which includes:
Tip: Use the Keyboard shortcuts panel (Ctrl + Shift + ?
) to quickly view available shortcuts directly within the Develop Space.
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Run the currently selected query. | Ctrl + Enter | ⌘ + Enter |
Run all queries in the current script. | Ctrl + Shift + Enter | ⌘ + Shift + Enter |
Toggle expanding or collapsing query results. | Ctrl + Alt + E | ⌘ + Option + E |
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Create a new script. | Ctrl + Alt + N | ⌘ + Option + N |
Jump to a previous script. | Ctrl + Alt + [ | ⌘ + Option + [ |
Jump to the next script. | Ctrl + Alt + ] | ⌘ + Option + ] |
Close the current script. | Ctrl + Alt + X | ⌘ + Option + X |
Close all scripts. | Ctrl + Alt + G | ⌘ + Option + G |
Close all but the current script. | Ctrl + Alt + O | ⌘ + Option + O |
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Open a search panel. | Ctrl + F | ⌘ + F |
Find the next search result. | F3 | F3 |
Find the previous search result. | Shift + F3 | Shift + F3 |
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Toggle adding or removing a comment marker for the current line. | Ctrl + / | Cmd + / |
Toggle adding or removing a block comment marker around a block of code or text. | Shift + Alt + A | Shift + Option + A |
Automatically organize and indent code for readability. | Ctrl + Alt + F | ⌘ + Option + F |
Copy the selected lines and paste them directly above the original. | Alt + Shift + Up arrow | Shift + Option + Up arrow |
Move the selected lines and paste them directly above the original without creating a duplicate. | Alt + Up arrow | Option + Up arrow |
Copy the selected lines and paste them directly below the original. | Alt + Shift + Down arrow | Shift + Option + Down arrow |
Move the selected lines and paste them directly below the original without creating a duplicate. | Alt + Down arrow | Option + Down arrow |
Select text to the left of the cursor. | Alt + Shift + Left arrow | Ctrl + Shift + Left arrow |
Select text to the right of the cursor. | Alt + Shift + Right arrow | Ctrl + Shift + Right arrow |
Select the entire line. | Alt + L | Ctrl + L |
Decrease the indentation level of the current or selected lines. | Ctrl + [ | Cmd + [ |
Increase the indentation level of the current or selected lines. | Ctrl + ] | Cmd + ] |
Delete the current or selected lines. | Shift + Ctrl + K | Shift + Cmd + K |
Learn how to navigate and use the develop space to work with your Firebolt database.
The Firebolt Workspace has a Develop Space that you can use to edit and run SQL scripts, as well as view query results.
To get started, sign-in to your Firebolt account or register using the following steps:
You can launch the Develop Space for a database by clicking the Develop icon (</>) from the left navigation pane.
The Develop Space is organized into three panels:
The Explore panel provides quick access to key tasks in Firebolt, including loading data, creating databases, and managing engines.
Load data
Create a database
If you have previously worked with a database, the space for the database that you last worked with will open automatically and the database will be selected from the list. To switch to a different database’s space, choose from the database list on the left navigation panel, below the search bar.
Create a new engine
The document editor uses tabs at the top of the center panel to help you organize your SQL scripts. You can switch tabs by selecting the script you’d like to work with and run them. You can store multiple query statements on the same tab. To terminate a statement, use a semi-colon (;
).
Select your database and engine
At the top of the Document editor, a couple dropdown menus allow you to select your database and associated engine:
Running scripts and generating query plans
Use the red Run button in the top-right corner to run all queries or selected snippets.
You can use the dropdown menu next to Run to:
Using auto-complete
As you enter your code in a script tab, Firebolt suggests keywords and object names from the chosen database. Press the tab
key to add the first suggestion in the list to your script, or use arrow keys to select a different item from the list and then press the tab
key.
The Results panel displays results in the Develop Space below the document editor, after running your SQL scripts or queries. It provides detailed information through the following tabs:
Results tab
The Results
tab displays the data returned from your SQL query. Each executed query populates this tab with a result table showing returned values for each column defined in your query.
Statistics tab
The Statistics
tab provides detailed statistics for each query you run. Information includes:
Statements are listed with the earliest executed queries at the bottom.
Query Profile tab
The Query Profile
tab provides a visual query plan, illustrating how Firebolt executes your query. Each step is shown in a flowchart format, enabling you to inspect query operations and data flow visually.
Engine monitoring tab
The Engine Monitoring
tab provides real-time metrics on the resource utilization of your query execution engine, such as CPU and memory usage.
If the selected engine does not support engine monitoring (for example, the System engine), a message will indicate this, prompting you to select another engine for monitoring.
Query history tab
The Query History
tab displays past queries along with their status and run details. This helps in reviewing historical queries for debugging or optimization purposes.
If the selected engine does not provide query history (such as the System engine), a message will indicate that you should select another engine to view the query history.
Exporting results to a local hard drive
You can export up to 10,000 rows of query results to your local hard drive after you run a query.
Firebolt downloads the selected file type to your browser’s default download location.
Choose the vertical ellipsis (⋮) next to the script name in the left pane to format, rename,
You can format your script by selecting Format script.
To rename your script:
Script templates simplify common tasks such as importing data or creating tables. To insert a template:
If you’d like to delete a script, select Delete script in the dropdown menu or select the X icon next to the script name.
At the top of each script tab, you can choose Run to run your SQL statements. SQL statements can only run on running engines. If an engine isn’t running, you can select it from the list and then choose the Start button for that engine. For more information about engines, see Operate engines.
You can run all statements in a script or select snippets of SQL to run.
Running all SQL statements in a script
Position the cursor anywhere in the script editor and then choose Run. All SQL statements must be terminated by a semi-colon (;
) or an error occurs.
Running a snippet of SQL as a statement
Select the SQL code you want to run as a statement and then choose Run. Behind the scenes, Firebolt automatically appends a semi-colon to the selected SQL code so it can run as a statement.
Switch themes by selecting the toggle () at the bottom-left corner of the workspace.
The Resource Center provides quick access to essential Firebolt resources. Select the Firebolt icon() in the bottom-right corner of the Results panel to open the Resource Center, which includes:
Tip: Use the Keyboard shortcuts panel (Ctrl + Shift + ?
) to quickly view available shortcuts directly within the Develop Space.
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Run the currently selected query. | Ctrl + Enter | ⌘ + Enter |
Run all queries in the current script. | Ctrl + Shift + Enter | ⌘ + Shift + Enter |
Toggle expanding or collapsing query results. | Ctrl + Alt + E | ⌘ + Option + E |
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Create a new script. | Ctrl + Alt + N | ⌘ + Option + N |
Jump to a previous script. | Ctrl + Alt + [ | ⌘ + Option + [ |
Jump to the next script. | Ctrl + Alt + ] | ⌘ + Option + ] |
Close the current script. | Ctrl + Alt + X | ⌘ + Option + X |
Close all scripts. | Ctrl + Alt + G | ⌘ + Option + G |
Close all but the current script. | Ctrl + Alt + O | ⌘ + Option + O |
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Open a search panel. | Ctrl + F | ⌘ + F |
Find the next search result. | F3 | F3 |
Find the previous search result. | Shift + F3 | Shift + F3 |
Function | Windows & Linux Shortcut | Mac Shortcut |
---|---|---|
Toggle adding or removing a comment marker for the current line. | Ctrl + / | Cmd + / |
Toggle adding or removing a block comment marker around a block of code or text. | Shift + Alt + A | Shift + Option + A |
Automatically organize and indent code for readability. | Ctrl + Alt + F | ⌘ + Option + F |
Copy the selected lines and paste them directly above the original. | Alt + Shift + Up arrow | Shift + Option + Up arrow |
Move the selected lines and paste them directly above the original without creating a duplicate. | Alt + Up arrow | Option + Up arrow |
Copy the selected lines and paste them directly below the original. | Alt + Shift + Down arrow | Shift + Option + Down arrow |
Move the selected lines and paste them directly below the original without creating a duplicate. | Alt + Down arrow | Option + Down arrow |
Select text to the left of the cursor. | Alt + Shift + Left arrow | Ctrl + Shift + Left arrow |
Select text to the right of the cursor. | Alt + Shift + Right arrow | Ctrl + Shift + Right arrow |
Select the entire line. | Alt + L | Ctrl + L |
Decrease the indentation level of the current or selected lines. | Ctrl + [ | Cmd + [ |
Increase the indentation level of the current or selected lines. | Ctrl + ] | Cmd + ] |
Delete the current or selected lines. | Shift + Ctrl + K | Shift + Cmd + K |