mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
docs: Connecting to Trino Databases (#13171)
* feat: add trino logo Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chores: update image links in README.md Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: add Trino Connecting to Databases doc Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
This commit is contained in:
@@ -43,6 +43,7 @@ A list of some of the recommended packages.
|
||||
|[MySQL](/docs/databases/mysql)|```pip install mysqlclient```|```mysql://<UserName>:<DBPassword>@<Database Host>/<Database Name>```|
|
||||
|[Oracle](/docs/databases/oracle)|```pip install cx_Oracle```|```oracle://```|
|
||||
|[PostgreSQL](/docs/databases/postgresql)|```pip install psycopg2```|```postgresql://<UserName>:<DBPassword>@<Database Host>/<Database Name>```|
|
||||
|[Trino](/docs/databases/trino)|```pip install sqlalchemy-trino```|```trino://{username}:{password}@{hostname}:{port}/{catalog}```|
|
||||
|[Presto](/docs/databases/presto)|```pip install pyhive```|```presto://```|
|
||||
|[SAP Hana](/docs/databases/hana)|```pip install hdbcli sqlalchemy-hana or pip install apache-superset[hana]```|```hana://{username}:{password}@{host}:{port}```|
|
||||
|[Snowflake](/docs/databases/snowflake)|```pip install snowflake-sqlalchemy```|```snowflake://{user}:{password}@{account}.{region}/{database}?role={role}&warehouse={warehouse}```|
|
||||
|
||||
17
docs/src/pages/docs/Connecting to Databases/trino.mdx
Normal file
17
docs/src/pages/docs/Connecting to Databases/trino.mdx
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: Trino
|
||||
menu: Connecting to Databases
|
||||
route: /docs/databases/trino
|
||||
index: 28
|
||||
version: 1
|
||||
---
|
||||
|
||||
## Trino
|
||||
|
||||
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}
|
||||
```
|
||||
Reference in New Issue
Block a user