Examine dataset queries

View recent queries

The query history modal displays recent queries run from your open document within the existing session.

Your documentโ€™s individual query list will automatically show each queryโ€™s status, action type, start time and run time.

  1. Open your dataset's worksheet tab.
  2. Click the caret icon next to the refresh button all the way to the left in your datasetโ€™s toolbar.
  3. Click Query history....

View an individual query

  1. Open your dataset's Worksheet tab.
  2. Click the caret icon next to the refresh button all the way to the left in your datasetโ€™s toolbar.
  3. Click Query history....
  4. Click the query you plan to examine.
  5. Explore the query detail view:
    • View and copy the Sigma generated SQL.
    • If the query failed, an error will also be displayed below Query Details.

Query status types

These are the possible query status types within Sigma:

completedย ย ย Completed

Your query ran successfully!

runningย ย ย Running

Your query is running currently.

By default, Sigma sets query timeouts to 120 seconds (2 minutes). Organization admins have the option to customize this per connection.

errorย ย ย Errored

Something is wrong.

Open the query detail view to see the error message.

pausedย ย ย Paused

Queries on your document are paused.

To restart queries, click Playย in your document toolbar.

โ€“ย ย ย Canceled

The query is canceled.

This may happen if additional changes are made to your document before the query runs. In this situation, Sigma runs the new query only.

Query runtime breakdown

A detailed query runtime breakdown is available for successfully completed and timed out queries. Query runtimes can vary due to network traffic, queue delay, or data warehouse processing time. Sigmaโ€™s runtime breakdown allows you to see if and when your query encountered delays.

The runtime is broken into three parts:

Queue duration

The amount of time the query sits in Sigmaโ€™s queue before being sent to the warehouse.

Sigma runtime

The amount of time Sigma takes to process the query, excluding queue duration and warehouse time.

Warehouse runtime

The amount of time between when Sigma sends a request to your data warehouse and when it gets a response back. This is roughly the amount of time the warehouse spent running your query.

Incomplete queries do not display a detailed runtime breakdown. This feature is also not available for download/export requests.

Pause and resume queries

You can pause queries to make changes to your document without automatically running queries against your warehouse.

  1. Open your dataset's Worksheet tab.
  2. Click the caret icon next to the refresh/play button all the way to the left in your datasetโ€™s toolbar.
  3. Click Pause queries or Resume queries.

Edit Warehouse Data from Sigma (Deprecated)Next