This is an automated email from the ASF dual-hosted git repository.
dpgaspar 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 559605e393 fix: add mariadb engine spec same as MySQL (#27919)
559605e393 is described below
commit 559605e393c50ea1d2352908bfb9f48026e886ec
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Fri Apr 5 10:41:37 2024 +0100
fix: add mariadb engine spec same as MySQL (#27919)
---
superset/db_engine_specs/mariadb.py | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/superset/db_engine_specs/mariadb.py
b/superset/db_engine_specs/mariadb.py
new file mode 100644
index 0000000000..176c3d7ec6
--- /dev/null
+++ b/superset/db_engine_specs/mariadb.py
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from superset.db_engine_specs.mysql import MySQLEngineSpec
+
+
+class MariaDBEngineSpec(MySQLEngineSpec):
+ engine = "mariadb"
+ engine_name = "MariaDB"