This is an automated email from the ASF dual-hosted git repository. michaelsmolina pushed a commit to branch 4.0 in repository https://gitbox.apache.org/repos/asf/superset.git
commit cb39fcd67dc44e094acdd13fc4e09b7f4ecd152a Author: Daniel Vaz Gaspar <[email protected]> AuthorDate: Fri Apr 5 10:41:37 2024 +0100 fix: add mariadb engine spec same as MySQL (#27919) (cherry picked from commit 559605e393c50ea1d2352908bfb9f48026e886ec) --- 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"
