george-zubrienko opened a new issue, #20043:
URL: https://github.com/apache/superset/issues/20043
A clear and concise description of what the bug is.
#### How to reproduce the bug
0. Create any chart using Trino data source and place it on a dashboard.
0a. Install `trino==0.313.0` instead of `sqlalchemy-trino` (deprecated) in
superset image. Check that trino queries still work as expected.
1. Go to that dashboard
2. Click on three dots on the chart widget to open up chart actions
3. Click `View chart in Explore`
4. See `An error occurred while opening Explore`
### Expected results
Chart opens in Explore.
### Actual results
Chart does not open and superset node prints:
```
Unable to load SQLAlchemy dialect <class
'pydruid.db.sqlalchemy.DruidHTTPSDialect'>: No module named 'sqlalchemy_trino'
2022-05-12 12:19:30,808:WARNING:superset.db_engine_specs:Unable to load
SQLAlchemy dialect <class 'pydruid.db.sqlalchemy.DruidHTTPSDialect'>: No module
named 'sqlalchemy_trino'
```
### Environment
- browser type and version: Chrome Version 101.0.4951.54 (Official Build)
(64-bit)
- superset version: 1.5.0 (dockerhub image) via helm 0.6.1
- python version: `python --version`
```
superset@superset-6c55865fd6-vtv7k:/app$ python --version
Python 3.8.12
```
- node.js version: `node -v`: N/A
- any feature flags active:
```
FEATURE_FLAGS = {
'ENABLE_TEMPLATE_PROCESSING': True
}
```
and
```
SQL_VALIDATORS_BY_ENGINE = {
'presto': 'PrestoDBSQLValidator'
}
```
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version
of superset.
- [x] I have checked the issue tracker for the same issue and I haven't
found one similar.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]