Workspaces¶
A workspace is where a query lives in Explore. It holds the SQL you write, the datastore it runs on, and the last result it returned, and it saves itself as you type. You can keep as many workspaces as you need, one per question, and come back to any of them later. This page explains what a workspace keeps, how the list is organized, and what happens when you change or delete one.
What a Workspace Keeps¶
| Part | What it is |
|---|---|
| Name | The name shown in the list and above the editor. |
| Datastore | The datastore the query runs on. Bare table names in the SQL read from it. |
| SQL | The text in the editor, up to 1,000,000 characters. |
| SQL mode | Whether the query runs on the datastore in its own SQL (the datastore's mode) or in Qualytics with Spark SQL (Qualytics mode). See SQL Modes. |
| Explore Assistant chat | The AgentQ conversation that belongs to this workspace. See Explore Assistant. |
| Last run | A link to the last result, so the workspace can show it again when you come back. |
Workspaces are saved by Qualytics, not by your browser, so they follow you to another browser or computer.
Saving¶
A workspace saves itself shortly after each change. There is no save button. If a save fails, a message says the workspace could not be saved, and your next change tries again. If you leave the page while a change is still being saved, the browser asks you to confirm before it leaves.
Names¶
A new workspace is named Untitled, then Untitled 2, Untitled 3, and so on. When you apply a query that the Explore Assistant proposed to an untitled workspace, the workspace takes the title of that query. A duplicate is named Copy of followed by the original's name, cut to 255 characters when the name is long.
You can rename a workspace from the list or by clicking its name above the editor. Press Enter to keep the new name, or Esc to cancel. See Rename a Workspace.
Private to You¶
Your workspaces are yours alone. Nobody else can see, open, or change them, Admins included, and there is no way to share a workspace with another user or a team. To share a query, copy its SQL or save it as a computed table. See Save a Query as a Computed Table.
The runs of your workspaces are also yours. Admins can review every user's runs on the History page, but not open their workspaces. See History.
The Workspaces List¶
The Workspaces panel lists your workspaces with New workspace at the top.
- Grouping. Workspaces are sorted by their last edit and grouped under Today, Yesterday, Previous 7 days, and Older.
- Search. The search button at the top of the panel finds workspaces by their name or by the name of their datastore.
- Filter. On the Explore page, the filter under New workspace narrows the list to the workspaces of the datastores you pick, and its summary reads Filters applied or No filters.
- Running. A workspace whose query is running shows a spinner in place of its icon, on every Explore page.
- Actions. Hovering a row shows its options button with Rename, Duplicate, and Delete. Right-clicking a row offers the same actions and Open in New Tab, which opens the workspace in its own browser tab, with a link you can bookmark.
- Selection. Hovering a row also shows a checkbox. Selecting one or more workspaces shows a bar with the number selected, a Delete button, and Clear selection.
The Hover Card¶
Hovering a workspace in the list opens a card with its details.
| Detail | What it shows |
|---|---|
| Datastore | The datastore the workspace runs on. |
| Created | When the workspace was created. |
| Edited | When the workspace last changed. |
| Last run | When its last run happened, with an icon for its outcome (Succeeded, Failed, or Stopped). It reads Running while a query runs, and Not run yet before the first run. |
| Result | The rows and duration of the last run, such as 1,834 rows • 0.8 s. Shown when the last run did not fail. |
| SQL | The start of the workspace's SQL, or No SQL yet. |
The Start Screen¶
A workspace without a datastore opens on the start screen instead of the editor. You pick a datastore there, from your recent ones or the full list, or pick one of its tables to start from SELECT * FROM that table. See Getting Started with Explore.
The Workspace's Datastore¶
Every workspace runs on one datastore. Table names on their own read from it, and the Editor context button beside the datastore says which database and schema that is.
You can change the datastore at any time from the datastore button in the editor. The SQL stays as you wrote it, so check that its table names exist on the new datastore before you run it. The datastore list puts your recent datastores first, then the datastores the workspace can also read, then the others.
The datastore decides what else the query can reach:
- In the datastore's mode, the query can also read the other datastores that share the same connection, by putting their schema (or database and schema) in front of a table name. See Read Another Datastore.
- In Qualytics mode, the query reads the workspace's datastore only.
- A file datastore always runs in Qualytics mode.
Reopening the Last Result¶
When you come back to a workspace, it shows its last result again, with the rows you can scroll, as long as Qualytics still holds that result. A result is held until nobody reads it for 30 minutes, or until newer results of yours replace it. Once the result is gone, the workspace opens without rows, and you run the query again to see them. See How Explore Works.
Deleting Workspaces¶
Every delete asks first, in the same dialog. It warns that deleted workspaces cannot be restored, and you confirm with Delete or back out with Cancel:
| Delete | Dialog | Result |
|---|---|---|
| One workspace, from its options, its right-click menu, or the workspace actions menu | Titled Delete 1 workspace, with the workspace's name. | Permanent. |
| Several workspaces, from the selection bar | Titled with the number selected, such as Delete 3 workspaces. It lists each workspace with when it was last edited. | Permanent. |
The past runs of a deleted workspace stay in the History, with the name the workspace had when they ran. Deleting the workspace you have open opens another one, or starts a new one when none are left. A deleted workspace leaves the list at once. If the delete fails, a message reads <name> could not be deleted with It comes back the next time your workspaces load. See Delete Workspaces.
When a User Is Purged¶
When a deactivated user is purged by the Data Retention policy, their workspaces, including those on container Explore tabs, and their open results are deleted. Their runs stay on the History page until they reach 90 days. See Data Retention.
When a Datastore Is Deleted¶
Deleting a datastore does not delete the workspaces that run on it. Each one keeps its name and SQL and loses its datastore, so it opens on the start screen. Pick another datastore to keep using the SQL.
The runs made on that datastore are deleted with it, so they leave the History of each workspace and the History page right away, along with their results. See History.
Workspaces on a Datastore Page¶
The Explore page and the Explore tab of a datastore show the same workspaces, filtered differently:
| Where | Workspaces listed | Datastore of a workspace |
|---|---|---|
| Explore page | Every workspace you have, on any datastore. | You choose it, and can change it. |
| Explore tab of a datastore | The workspaces on this datastore and on the other datastores that point at the same database through its connection. | A new workspace runs on this datastore, and the datastore button cannot be changed. |
The Explore tab of a table or file keeps its own workspaces, separate from these, starting with a Preview workspace that cannot be renamed or deleted. See Datastore and Container Tabs.
See Also¶
-
SQL Modes
Running a query on the datastore in its own SQL, or in Qualytics with Spark SQL, and what each mode can read.
-
Query Editor
The editor's controls: the datastore, the SQL badge, autocomplete, running a statement or a selection, formatting, and saving a computed table or file.
-
Results
The results grid, row counts, query details, cell values, masked values, and downloads.
-
Charts
Bar, line, and scatter charts of the rows loaded so far, charts proposed by AgentQ, and their PNG and PDF downloads.
-
History
The runs of each workspace, and the History page where Admins review every query run.
-
Assets
The datastores, tables, and fields you can drag into your SQL, and why some of them stay locked.
-
Explore Assistant
The AgentQ chat beside each workspace that proposes queries and charts, and helps fix failed queries.
-
Datastore and Container Tabs
The Explore tab of a datastore, and the Explore tab of a table or file with its fields, filter, and custom columns.
-
Examples
Questions people answer with Explore, and the queries and settings that answer them.
-
Best Practices
Habits that keep queries fast, results trustworthy, and masked data protected.
-
Permissions
The user roles and team permissions behind running SQL, revealing masked values, and reviewing history.
-
How Explore Works
What a run is, how rows load as you scroll, how a run ends, and the limits that apply to every result.