Skip to content

Connecting to Trino

Prerequisites

  • The Trino instance is accessible over the network from the PuppyGraph instance.

Configuration

Configuration Explanation
Username The username of the Trino instance
Password The password of the Trino instance (if authentication is enabled)
JDBC Connection String A JDBC compatible connection URL of the data source. Read this page for more details on how to construct the JDBC URL.
JDBC Driver Class

The class name of the JDBC Driver.

The default value is io.trino.jdbc.TrinoDriver, and typically you don't need to change it.

JDBC Driver URL

The URL of the Trino JDBC Driver.

By default, PuppyGraph bundles the Trino JDBC driver JAR (for example, trino-jdbc-434.jar). Please choose the driver version that is compatible with your Trino instance, or keep the default if it matches your environment.

Demo

See Querying Trino Data as a Graph for a complete demo for Trino. The demo includes setting up the connection to a Trino instance.