28 lines
599 B
Plaintext
28 lines
599 B
Plaintext
---
|
|
title: Trino
|
|
hide_title: true
|
|
sidebar_position: 34
|
|
version: 1
|
|
---
|
|
|
|
## Trino
|
|
|
|
Supported trino version 352 and higher
|
|
|
|
The [sqlalchemy-trino](https://pypi.org/project/sqlalchemy-trino/) library is the recommended way to connect to Trino through SQLAlchemy.
|
|
|
|
The expected connection string is formatted as follows:
|
|
|
|
```
|
|
trino://{username}:{password}@{hostname}:{port}/{catalog}
|
|
```
|
|
|
|
If you are running trino with docker on local machine please use the following connection URL
|
|
|
|
```
|
|
trino://trino@host.docker.internal:8080
|
|
```
|
|
|
|
Reference:
|
|
[Trino-Superset-Podcast](https://trino.io/episodes/12.html)
|