This guide will show you how to securely connect Coalesce Quality to your Trino cluster or Starburst Galaxy.
We need this information so we collect metadata about your tables.To be able to finish this guide, you’ll need the following:
→ Access to create a user for Coalesce Quality and to change what it may read in your Trino access control⏱️ Estimated time to finish: 10 minutes.
→ Access to create a user for Coalesce Quality and to change what it may read in your Trino access control⏱️ Estimated time to finish: 10 minutes.
Data we collect
We read metadata from the catalogs you list in the integration, each on its own, using the dedicated user described below:- Catalog: schemas, tables, views, materialized views, columns and data types, from each catalog’s
information_schemaandsystem.metadata. Table comments only with Fetch Trino table comments on. - SQL definitions: the
CREATEstatement of each table and view, fromSHOW CREATE TABLEandSHOW CREATE VIEW, and the query of each materialized view. Used for lineage. - Constraints: the keys and checks a connector reports in
information_schema. - Table metrics: the row count of each table, from
SHOW STATS. For an Iceberg table (theicebergconnector, and Starburst Galaxy object storage), also the time of its last snapshot, from the table’s$snapshotsmetadata table.
Setup Trino access
Create a user
Create a dedicated user for Coalesce Quality in the authentication your cluster uses (password file, LDAP, or a Starburst Galaxy service account) and note its username and password.Grant read access
How you grant access depends on the access control of your cluster. The user needs, in each catalog you list:- To see the schemas, tables and views, so they show in
information_schemaandsystem.metadata. SELECTon the tables.SHOW STATSand the Iceberg$snapshotstable are read through it. Coalesce Quality reads table statistics and snapshot metadata, never the rows themselves, unless you run monitors that query your data.SHOW CREATE TABLEandSHOW CREATE VIEWon the tables and views, unless you turn those off below.
SHOW CREATE is refused is read without it, and everything else works. If your access control allows SHOW CREATE TABLE only to a table’s owner, turn on Do not use SHOW CREATE TABLE to get table DDLs below rather than give the user ownership of your tables.
Network access
For the complete list of IP addresses by region, see Coalesce Quality IP Whitelist.
Input data in the Coalesce Quality UI
Integration name
For exampleTrino.
Host and port
The host of your Trino coordinator, for exampletrino.example.com, and its port. Leave the port empty to use the default of the protocol.
Use non-SSL connection
Connects over plain HTTP instead of HTTPS. Use it only for a connection that never leaves a private network.Username and password
The user you created above.Catalogs
The catalogs to read. Only the catalogs listed here are read, so list every catalog you want to monitor. You can add filters to a catalog to restrict which schemas and tables are collected from it. A catalog that cannot be read, for example because its connector cannot reach the database behind it, is reported on the integration, and the other catalogs are still read.Metrics scope (optional)
Restricts which tables are scanned for metrics. Leave it empty to collect metrics for all ingested tables.Audit table FQN (optional)
Fully qualified name (catalog.schema.table) of the table where Coalesce Quality writes SQL test audit logs. Coalesce Quality creates the table if it does not exist. Leave empty if you don’t run SQL tests.
Data collection options
- Fetch table metrics (required for automatic monitors): on by default. Every 30 minutes, reads the row count of each table, and the last snapshot time of Iceberg tables. Automatic freshness and volume monitors stop working when it is off.
- Do not use SHOW CREATE VIEW to get view DDLs: reads the query of each view from
information_schema.viewsinstead. - Do not use SHOW CREATE TABLE to get table DDLs: tables then have no DDL.
- Do not fetch Trino materialized views: skips
system.metadata.materialized_views, for connectors that fail on it. - Fetch Trino table comments: reads table comments from
system.metadata.table_comments.
On-premise agent
On the on-premise agent, the same settings are keys of atrino connection:
use_plaintext: true is the agent’s Use non-SSL connection.