samacluka commented on issue #37578:
URL: https://github.com/apache/superset/issues/37578#issuecomment-3938618840
A hacky workaround that worked for me:
Dockerfile:
```Dockerfile
RUN uv pip install pymysql mysqlclient
```
superset_config.py:
```python
from sqlalchemy.ext.compiler import compiles
from sqlalchemy.schema import CreateSequence
@compiles(CreateSequence, "mariadb")
def _compile_create_sequence_mariadb(element, compiler, **kw):
sql = compiler.visit_create_sequence(element, **kw)
return sql.replace(" NO CYCLE", " NOCYCLE")
SQLALCHEMY_DATABASE_URI =
f"mariadb+pymysql://{superset_meta_user}:{superset_meta_password}@{superset_meta_host}:{superset_meta_port}/{superset_meta_db}"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]