Skip to main content

Trino

Connection Type

ODBC (64-bit)

Driver Details

You can download the driver from Alteryx download page.

Type of Support

Read and Write (Materialized tables only)

Validated On

Client Version: Simba Trino 2.2.1.1002

Authentication method

No authentication

Username / password

Alteryx Tools Used to Connect

Standard Workflow Processing

Input Data Tool

Input Data Tool Icon

Link 

Output Data Tool

Output Data Tool Icon

Link 

Configure a Connection Using a DSN and DCM

  1. Drag an Input Data tool or Output Data tool onto the Designer canvas.

  2. Select the Use Data Connection Manager (DCM) check box.

  3. In the Data Connections window, go to Data Sources and select Trino ODBC. If Alteryx can't detect an ODBC driver, a pop-up indicates that you need to install a driver.

  4. Select +New to add a new data source in the Connection Manager window.

  5. The dropdown pre-selects Trino ODBC by default.

  6. Enter a descriptive Data Source Name for the new data source, for example, "Trino Server DSN".

  7. Select the ODBC DSN field to see a list of available DSNs and select a DSN to use for the data source.

  8. Select Save.

  9. To link a credential, select + Connect Credential.

  10. Select an Authentication Method from the dropdown.

    • Select Username and Password to authenticate with a username and password.

    • From the Credential dropdown, select an existing Credential or select Create New Credential to enter a new username and password.

      • Give the new credential a Credential Name.

      • If applicable, select a Vault.

      • Enter the username and password.

    • To use Kerberos authentication, select No Credentials. For this option, you have to configure your ODBC DSN for Kerberos authentication.

  11. Use Test Connection to make sure it has been configured correctly.

  12. Select Create and Link to link the new Credential to the Data Source.

Configure a DSN-less Connection Using DCM

  1. Drag an Input Data tool or Output Data tool onto the Designer canvas.

  2. Select the Use Data Connection Manager (DCM) check box.

  3. In the Data Connections window, go to Data Sources and select Trino Quick Connect.

  4. Select +New to add a new data source in the Connection Manager window opens. If Alteryx can't detect an ODBC driver, a pop up prompts you to install a driver.

  5. The dropdown pre-selects Trino ODBC DSN-less.

  6. Enter the information for the connection:

    • Enter a descriptive Data Source Name for the connection, for example, "Trino DSN-less".

    • Enter the Host name.

    • Select the Driver field to change the driver selection.

    • Enter the Database name.

    • Enter port number.

  7. Select Save to save the new data source.

  8. To link a credential, select + Connect Credential.

  9. Select an Authentication Method from the dropdown.

    • Select Username and Password to authenticate with a username and password.

    • From the Credential dropdown, select an existing Credential or select Create New Credential to enter a new username and password.

    • Give the new credential a Credential Name.

    • If applicable, select a Vault.

    • Enter the username and password.

  10. Use Test Connection to make sure it has been configured correctly.

  11. Select Create and Link to link the new Credential to the Data Source.

  12. Select Connect to use the Data Source and Credential in an Input Data our Output Data tool.