Getting Started with Explore¶
Explore is where you ask your data a question in SQL. You write a read-only query against one of your datastores, run it, and read the rows it returns, without leaving Qualytics. Each query lives in a workspace that saves itself as you type, so you can come back to it later, run it again, chart its results, or turn it into a computed table or computed file. This page explains how to open Explore, what the page holds, and where to read next.
Permissions
Every user role can open Explore and keep workspaces. Running SQL needs the Author team permission or higher on every datastore the query reads, and Admins can run SQL on every datastore. See Permissions for the full matrix.
Open Explore¶
You can reach Explore from three places:
- The Explore page. Click Explore in the main navigation, or press G then E. The page lists every workspace you have, on any datastore.
- The Explore tab of a datastore. Open a datastore and click its Explore tab. The datastore button is locked, and the list shows only the workspaces on it and on the other datastores that point at the same database through its connection.
- The Explore tab of a table or file. Open a table or file and click its Explore tab to read its rows, choose its fields, filter it, and add custom columns, without writing a full query. See Datastore and Container Tabs.
The Start Screen¶
A workspace needs a datastore before it can run anything. When the open workspace has none, for example a new one, Explore shows the start screen instead of the editor.
The first time you open Explore, the start screen reads Welcome to Explore and sums up the page in three points: you start from a datastore, queries are read only and your access applies, and you can drag tables and fields from Assets into your SQL. Once you pick a datastore, later visits show Start exploring instead.
- Recent shows the datastores of the workspaces you edited most recently, up to three.
- All datastores lists the datastores you can see, with a search box. When you have no recent datastores, the list is titled Choose a datastore instead.
- Preview lists the tables of the datastore you highlight (or its file patterns, on a file datastore), with the number of fields of each one, or Not profiled. The preview is hidden in narrow windows.
Clicking a datastore under Recent opens the editor on it. Under All datastores, a first click highlights the datastore and shows its tables in Preview, and a second click on it (or Enter) opens the editor. Picking a table opens the editor with SELECT * FROM that table already written, ready to run. You can change the datastore later from the editor.
The Page Layout¶
The Explore page has a side panel on the left, the workspace in the middle, and the Explore Assistant on the right.
Side Panel¶
The side panel switches between two lists with the Workspaces and Assets chips at the top.
- Workspaces lists your saved workspaces, newest edits first, with New workspace at the top. Admins also find the History page here. See Workspaces.
- Assets shows your datastores with their tables and fields. You drag an item into the editor, or right-click it, to write its name into your SQL. See Assets.
The search button at the top of the panel searches the list you are looking at. You can collapse the panel to give the editor more room.
Workspace Header¶
The workspace's name sits above the editor. Click it to rename the workspace, or open the workspace actions menu to rename, duplicate, or delete it.
Editor¶
The editor card holds everything you need to write and run a query:
- The datastore the workspace runs on, with an Editor context button that says which database and schema bare table names read from.
- The SQL badge next to Run, which shows where the query runs and in which SQL: on the datastore in its own SQL (for example, Snowflake • SQL) or in Qualytics with Spark SQL (Qualytics • Spark SQL). Click it to switch. See SQL Modes.
- Run , which runs the statement under the cursor, or Run selection when text is selected. Ctrl+Enter (Cmd+Enter on macOS) does the same. While a query runs, the button becomes Stop .
- Format and Save as computed table (or Save as computed file on a file datastore) under the editor, at its right, next to a hint on what SQL the editor expects.
Autocomplete suggests tables, fields, keywords, and functions as you type. See Query Editor.
Results Card¶
The results card sits below the editor and has three tabs:
- Results shows the rows of the last run in a grid that loads more rows as you scroll. The row count above the grid opens the query details. See Results.
- Chart draws a bar, line, or scatter chart of the rows loaded so far. See Charts.
- History lists the past runs of this workspace. See History.
You can minimize the editor or the results card to give the other more room.
Explore Assistant¶
On wider screens, the Explore Assistant sits on the right of the page. It is an AgentQ chat that belongs to the open workspace: it can propose a query for you to apply to the editor, propose a chart of the result, and help fix a query that failed. See Explore Assistant.
Understand Explore¶
Start here to learn what happens when you run a query and how the editor works.
-
How Explore Works
What a run is, how rows load as you scroll, how a run ends, and the limits that apply. Read it first.
-
Workspaces
What a workspace saves, how the list is organized, and what happens when you delete one.
-
SQL Modes
The datastore's own SQL versus Spark SQL in Qualytics mode, and what each mode can read.
-
Query Editor
The datastore picker, the SQL badge, autocomplete, running part of a query, formatting, and saving a computed table or file.
Read the Results¶
Read these to understand what the results card shows and how to share what you found.
-
Results
Row counts, query details, cell values, masked values, active anomalies, and downloads.
-
Charts
Bar, line, and scatter charts of the loaded rows, charts proposed by AgentQ, and their PNG and PDF downloads.
-
History
The runs of a workspace, and the History page where Admins review every run.
Find Data and Get Help¶
Read these when you look for the right table, want help writing a query, or work from a datastore or table page.
-
Assets
The datastores, tables, and fields you can drag into your SQL, and why some stay locked.
-
Explore Assistant
The AgentQ chat that proposes queries and charts, and helps fix failed queries.
-
Datastore and Container Tabs
Explore on a datastore page, and the Explore tab of a table or file.
Plan and Govern¶
Read these when you set up Explore for your team or decide who can run and reveal what.
-
Examples
Questions people answer with Explore, and the queries that answer them.
-
Best Practices
Habits that keep queries fast, results trustworthy, and masked data protected.
-
Permissions
What your role and team permissions decide about running SQL, revealing masked values, and reviewing history.
Do Something With Explore¶
The How-tos walk through each task step by step.
-
Keep your queries in workspaces
-
Run and shape a query
Run a query, run part of it, stop it, switch the SQL mode, read another datastore, format the SQL, or save it as a computed table or a computed file.
-
Work with the results
Download them, reveal masked values, view the query details, or chart them.
-
Get help from the Explore Assistant
Apply a proposed query, apply a proposed chart, or fix a failed query.
-
Look back at past runs
-
Explore a table or file
Add a custom column, filter rows, hide result columns, or save a custom column as a computed field.