Use the SQL Editor to write and run Trino SQL queries against your data, browse schemas and tables, and save queries for reuse.
The SQL Editor runs queries in Trino under your own identity, so your existing Trino permissions determine which data you can access and which queries you can run. In this release, Trino is the only supported SQL dialect.
Open Cloudera Data Explorer and sign in using your enterprise identity provider.
In the left panel, use the database browser to select a schema, such as tpch.tiny:
Use the Filter box to find a table in the selected schema.
Click a table, such as customer, to view it, or open it in the table browser.
In the editor, enter your query, such as:
SELECT * FROM customer
As you type, press Ctrl+Space to use autocomplete for
schemas, tables, and columns.
Click the help icon in the editor toolbar to open the Trino SQL language reference.
Confirm the active schema in the schema selector in the editor toolbar.
Click Execute to run the query.
To run only part of a script, select the statements that you want to run, and then click Execute.
Review the query results in the results pane.
You can download up to 100,000 rows by default.
(Optional) Click Save to reuse the query later.
Saved queries are displayed on the Saved Queries tab, and previously run queries are displayed on the Query tab.