This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new fe1d32d  fix(db2): change name and add legacy alias (#14295)
fe1d32d is described below

commit fe1d32dc2a189f159e6855d9114757bbd9ee3f56
Author: Ville Brofeldt <[email protected]>
AuthorDate: Thu Apr 22 09:56:22 2021 +0300

    fix(db2): change name and add legacy alias (#14295)
---
 superset/db_engine_specs/db2.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset/db_engine_specs/db2.py b/superset/db_engine_specs/db2.py
index ba03366..40bcb71 100644
--- a/superset/db_engine_specs/db2.py
+++ b/superset/db_engine_specs/db2.py
@@ -18,7 +18,8 @@ from superset.db_engine_specs.base import BaseEngineSpec, 
LimitMethod
 
 
 class Db2EngineSpec(BaseEngineSpec):
-    engine = "ibm_db_sa"
+    engine = "db2"
+    engine_aliases = ("ibm_db_sa",)
     engine_name = "IBM Db2"
     limit_method = LimitMethod.WRAP_SQL
     force_column_alias_quotes = True

Reply via email to