Skip to main content

Trino cluster hosted by Starburst.io

Overview​

Mitzu connects to Trino / Presto clusters by using username/password authentication.

Supported data types​

Mitzu will map the types of the data warehouse based on the following table:

Mitzu typeData warehouse type
StringCHAR, VARCHAR
NumberINTEGER, TINYINT, SMALLINT, BIGINT, REAL, DOUBLE
BooleanBOOLEAN
DatetimeDATE, TIME, TIMESTAMP
MapMAP
StructROW
ArrayARRAY

info
All unrecognized types will be handled as strings.

Configuring a Trino / Presto connection​

  1. Login to Starburst.io
  2. (Recommended) Setup a new user and role having read-only privileges on your data catalog
  3. Navigate to the Clusters tab and click on your data cluster's "Connection info" button. Be careful that a / character separates your username from your role in the User field.
image

Configure the connection details in Mitzu​

Set the connection info to Mitzu and the role as a URL Query Params (e.g., role=<your role>). Besides the role, you can add other connection parameters in the same field. Each parameter should be in a separate row in the <parameter_name>=<parameter_value> format.

image

You can configure the connection query parameters. To do so, click on theAdvanced settings section and enter your parameters into theURL Query Params textbox. You must write each parameter in a new line in the <parameter name>=<parameter value> format.

Click the Test connection button to check if Mitzu can connect to your data warehouse using the entered values.

warning
Mitzu will try to connect to your data warehouse and execute a SELECT 1;command. You may need to grant further permission Mitzu to see and query your data tables.

To save the settings, click the Test connection & Save button.

Next steps​

Once the connection is tested an saved the event end dimension tables can be configured. Please follow the setting up event tables guide.