Trino
Access configuration details to connect Soda to a Trino data source.
Connection configuration reference
Install the following package:
pip install soda-trino
Data source YAML
Core connection
Create the config file:
soda data-source create -f ds_config.yml
Configure connection
To connect to Trino, add a data_source block to your ds_config.yml file.
Authentication method
Soda Cloud support
Soda Core support
JWT (OAuth – client credentials flow)
Core connection parameters
Parameter
Required
Default
Description
Hostname or IP address of the Trino coordinator.
SSL verification. Supported in Soda Core only.
1. Username/password
Supported in Soda Cloud and Soda Core.
Parameter
Required
Default
Description
Trino-internal label for the connection.
Trino-internal tags for this connection.
Authentication type. See modes above.
2. JWT (existing token)
Supported in Soda Core only.
Parameter
Required
Default
Description
Authentication type. See modes above.
3. JWT (OAuth – client credentials)
Supported in Soda Cloud and Soda Core.
Parameter
Required
Default
Description
Authentication type. See modes above.
OAuth configuration block.
4. No authentication
Supported in Soda Core only.
Test the connection
To test your connection configuration:
Limitations & edge cases
Using Trino as a Diagnostics Warehouse destination through between-source copying is available but not fully supported.
There is a known issue when the Trino catalog is Iceberg-based. You are advised to:
Use within-source copying, or
Configure Soda to connect directly to the destination data source instead of routing through the Trino catalog connection.