Skip to main content

Trino

Trino is a distributed SQL query engine designed to query large datasets across a variety of data sources. Trino supports a wide range of data formats and storage systems, providing high performance and scalability for analytics and reporting.

Timbr + Trino Logo

Integrating Trino with Timbr allows you to leverage Timbr's semantic graph capabilities while maintaining Trino's powerful query engine. This integration enables advanced features like semantic querying, data virtualization, and integrated data management, providing powerful insights and efficiencies.

Getting Started with Trino

If you haven't yet set up Trino, follow these steps to get started:

To connect Timbr to your Trino datasource, you need to use the Trino JDBC driver. For information on the Trino JDBC driver and how to set it up, refer to the Trino JDBC Driver documentation.

Connecting Timbr to Trino in the Timbr Platform

Once you've set up Trino and have the JDBC driver ready, it's time to connect Timbr to Trino. Follow the steps below for a detailed tutorial on connecting Timbr to Trino:

  1. Navigate to Manage Datasources: From the Timbr interface, click on the Manage tab and select Datasources.

  2. Add New Datasource: On the top right, click the Add New Datasource button. Alternatively, you can click the big add button beneath the knowledge graphs and datasources tabs.

Add new datasource

  1. Fill in Connection Details: A pop-up window will appear where you need to provide the relevant connection details to connect Trino to Timbr.

There are two options in Timbr to enter the connection information: Simple or JDBC Url.

On the top right of the pop-up window , the toggle can be switched from Simple to JDBC Url in order to connect the datasource using the relevant JDBC URL.

tabs

Simple Tab Connection Configuration

  1. Select Simple Tab: Ensure the Simple tab is selected.

  2. Fill in the Following Details:

    • Database Type: Select Trino.
    • Datasource Name: Enter a name for your datasource.
    • Description: Provide a description of the datasource (Optional).
    • Hostname / IP: Enter the hostname or IP address of the Trino database.
    • Port: Default is 8080.
    • Username: Enter your Trino username.
    • Password: Enter your Trino password.
    • Database Name: Specify the name of the database.
    • Additional Parameters: Add any additional connection parameters using ;

JDBC URL Tab Configuration

  1. Select JDBC URL Tab: Ensure the JDBC URL tab is selected.

  2. Fill in the Following Details:

    • Database Type: Select Trino.
    • Datasource Name: Enter a name for your datasource.
    • Description: Provide a description of the datasource (Optional).
    • Username: Enter your Trino username.
    • Password: Enter your Trino password.
    • JDBC URL: Enter the JDBC connection URL (e.g., jdbc:trino://hostname:port).

jdbc tab

Save and Test Connection

  1. After entering the details, click the Save button to save the information, connecting the Trino datasource to the Timbr environment.
  2. Once saved, on the top right, click the Test connection button to verify the datasource’s connectivity, ensuring it is active and responsive.

For a comprehensive guide on connecting Timbr to various datasources, refer to the detailed documentation: