This is an automated email from the ASF dual-hosted git repository. hugh pushed a commit to branch fix-dremio-issue in repository https://gitbox.apache.org/repos/asf/superset.git
commit 91cadac7945627a960267abf2a1d93f8e0b51d79 Author: Hugh A. Miles II <[email protected]> AuthorDate: Wed Jun 16 12:49:41 2021 -0400 Update __init__.py --- superset/db_engine_specs/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/superset/db_engine_specs/__init__.py b/superset/db_engine_specs/__init__.py index f4ced6f..1a73a44 100644 --- a/superset/db_engine_specs/__init__.py +++ b/superset/db_engine_specs/__init__.py @@ -121,7 +121,10 @@ def get_available_engine_specs() -> Dict[Type[BaseEngineSpec], Set[str]]: except Exception: # pylint: disable=broad-except logger.warning("Unable to load SQLAlchemy dialect: %s", dialect) else: - drivers[dialect.name].add(dialect.driver) + if hasattr(dialect, "driver"): + drivers[dialect.name].add(dialect.driver) + else: + drivers[dialect.name].add(dialect.name) engine_specs = get_engine_specs() return {
