-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: switch from sqlalchemy-trino
to trino-python-client
#19957
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19957 +/- ##
==========================================
- Coverage 66.27% 66.11% -0.17%
==========================================
Files 1712 1712
Lines 63957 63957
Branches 6720 6720
==========================================
- Hits 42390 42284 -106
- Misses 19859 19965 +106
Partials 1708 1708
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome!
@@ -64,7 +64,7 @@ def get_git_sha() -> str: | |||
zip_safe=False, | |||
entry_points={ | |||
"console_scripts": ["superset=superset.cli.main:superset"], | |||
"sqlalchemy.dialects": ["trinonative = sqlalchemy_trino.dialect:TrinoDialect"], | |||
"sqlalchemy.dialects": ["trinonative = trino.sqlalchemy.dialect:TrinoDialect"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully we'll get a new PyHive release soon and we'll get rid of this.
SUMMARY
Hello there,
I'm the author of
sqlalchemy-trino
, which is Trino (f.k.a PrestoSQL) dialect for SQLAlchemy.Since trinodb/trino-python-client#81, all its code of is merged into upstream project. And
sqlalchemy-trino
is deprecated.So SuperSet should switch from
sqlalchemy-trino
totrino-python-client
This PR also update
trino.mdx
docs from #17593, which may being lost during refactoring.ADDITIONAL INFORMATION