Before you begin
- Permission to create users and manage access control in Trino.
- A catalog where Datafold can create a schema, typically backed by Amazon S3 or a similar object store.
- Permission to add data connections in Datafold.
Set up Trino
1
Create a user
In your Trino authentication provider (for example a password file or LDAP), create a user and password for Datafold.
2
Grant access to your data
In your Trino access control (for example file-based or SQL-based access control), give the user
SELECT on every catalog, schema or table you want to diff.3
Create a temporary schema
Datafold writes scratch tables to this schema so that data processing stays in your warehouse. In a catalog that supports table creation, create a schema, for example
<CATALOG>.datafold_tmp, and let the user create, write and drop tables in it.Network access
If your Trino cluster only accepts connections from allowlisted IP addresses or is only reachable over a private network, see Securing connections for the options Datafold supports.Add the connection in Datafold
Go to Settings → Integrations → Data Connections, click Add new integration and choose Trino.
Click Save.
