mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 13:36:32 +00:00
Replace sqlalchemy-trino with trino[sqlalchemy] (#3800)
This commit is contained in:
parent
dcd27b0d91
commit
23d68b24d9
@ -102,7 +102,7 @@ plugins: Dict[str, Set[str]] = {
|
||||
"oracle": {"cx_Oracle"},
|
||||
"powerbi": {"python-power-bi==0.1.2"},
|
||||
"presto": {"pyhive~=0.6.3"},
|
||||
"trino": {"sqlalchemy-trino==0.4.1"},
|
||||
"trino": {"trino[sqlalchemy]"},
|
||||
"postgres": {"pymysql>=1.0.2", "psycopg2-binary", "GeoAlchemy2"},
|
||||
"redash": {"redash-toolbelt==0.1.8"},
|
||||
"redshift": {"sqlalchemy-redshift==0.8.9", "psycopg2-binary", "GeoAlchemy2"},
|
||||
|
||||
@ -60,7 +60,7 @@ class TrinoSource(SQLSource):
|
||||
self.schema_names = None
|
||||
self.inspector = None
|
||||
try:
|
||||
from sqlalchemy_trino import (
|
||||
from trino import (
|
||||
dbapi, # pylint: disable=import-outside-toplevel,unused-import
|
||||
)
|
||||
except ModuleNotFoundError:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user