This is an automated email from the ASF dual-hosted git repository.
amitmiran pushed a commit to branch 1.2
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/1.2 by this push:
new f377210 fix(db2): change name and add legacy alias (#14295)
f377210 is described below
commit f3772107fcda9843211de4b9aeecbaf45a4798d5
Author: Ville Brofeldt <[email protected]>
AuthorDate: Thu Apr 22 09:56:22 2021 +0300
fix(db2): change name and add legacy alias (#14295)
(cherry picked from commit fe1d32dc2a189f159e6855d9114757bbd9ee3f56)
---
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