Skip to content

Save a Query as a Computed Table

Turn a query you wrote in Explore into a computed table, so Qualytics profiles it and you can add quality checks to its rows.

Related

Permission Required

Creating a computed table needs the Editor team permission on the datastore, or the Author team permission, which makes you the table's owner. See Computed Table Permissions.

Step 1: Open a workspace that runs Source SQL. Save as computed table is disabled in Spark SQL. On a file datastore it does not show: see Save a Query as a Computed File instead.

Step 2: Select the SQL to save, or click inside the statement to save. The button saves what Run would run: the selection, or else the statement under the cursor.

Step 3: Click Save as computed table under the editor, at its right. The Add Computed Table dialog opens with the Query filled in.

Step 4: Enter a Name and, optionally, a Description.

Step 5: Click Validate to check the query, then click Save.

A success message appears: Computed table created. Qualytics profiles it next. The new table shows in Assets.