Could not load database driver: TrinoEngineSpec

See original GitHub issue

I followed the trino tutorial and started superset with the Docker Compose of the latest git repository. And now i get always the error:

ERROR: Could not load database driver: TrinoEngineSpec

Expected results

I have access to trino database

Actual results

Error Message

How to reproduce the bug

  1. Clone git repo
  2. Add sqlalchemy-trino to requirements-local.txt (https://superset.apache.org/docs/databases/dockeradddrivers)
  3. Execute “docker-compose -f docker-compose-non-dev.yml up”
  4. Add trino://{username}:{password}@{hostname}:{port}/{catalog} to database and see error

Environment

(please complete the following information):

  • superset version: docker version: latest
  • python version: python --version Python 3.7.9 Flask 1.1.2 Werkzeug 1.0.1

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Additional context

pip freeze output of worker:
simplejson==3.17.2
six==1.15.0
slackclient==2.5.0
SQLAlchemy==1.3.20
sqlalchemy-trino==0.2.0
SQLAlchemy-Utils==0.36.8
sqlparse==0.3.0
tableschema==1.20.0
tabulator==1.52.5
thrift==0.13.0
thrift-sasl==0.4.2
trino==0.305.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
dungdm93commented, Mar 23, 2021

@manuelreis you shoud add sqlalchemy-trino to additionalRequirements

0reactions
manuelreiscommented, Mar 23, 2021

@dungdm93 I was using the helm chart contained in this repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not load database driver: KylinEngineSpec
While trying to connect Kylin within Superset i get the following error message: ERROR: Could not load database driver: KylinEngineSpec.
Read more >
Installing Database Drivers - Apache Superset
Database PyPI package Connection String Amazon Redshift pip install sqlalchemy‑redshift redshift+psycopg2://:@:5439/ Apache Drill pip install sqlalchemy‑drill drill+sadrill:// For JDBC drill+jdbc:// Apache Druid pip install pydruid druid://:@:/druid/v2/sql...
Read more >
airbnb/superset - Gitter
ERROR : Could not load database driver: mysql+mysqldb. In the console I see superset.views.core:Invalid driver No module named 'MySQLdb'
Read more >
ERROR: Could not load database driver: AzureSynapseSpec
H @handita this error is usually thrown when the database driver isn't installed ... as this is not a bug but a configuration...
Read more >
12: Trino gets super visual with Apache Superset!
Your browser can't play this video. ... It should be coming out shortly! ... Next, you need to set up the database driver...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found