You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using asynch driver, alembic migrations fail on commit:
alembic upgrade head
INFO [sqlalchemy.engine.Engine] select version()
INFO [sqlalchemy.engine.Engine] [generated in 0.00012s] {}
INFO [sqlalchemy.engine.Engine] select currentDatabase()
INFO [sqlalchemy.engine.Engine] [generated in 0.00008s] {}
INFO [alembic.runtime.migration] Context impl ClickHouseDialectImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [sqlalchemy.engine.Engine] BEGIN (implicit)
INFO [sqlalchemy.engine.Engine] EXISTS TABLE "alembic_version"
INFO [sqlalchemy.engine.Engine] [generated in 0.00010s] {}
INFO [sqlalchemy.engine.Engine] SELECT alembic_version.version_num
FROM alembic_version
INFO [sqlalchemy.engine.Engine] [generated in 0.00007s] {}
INFO [sqlalchemy.engine.Engine] EXISTS TABLE "alembic_version"
INFO [sqlalchemy.engine.Engine] [cached since 0.008872s ago] {}
INFO [alembic.runtime.migration] Running upgrade -> 66b14befc5fc, init
INFO [sqlalchemy.engine.Engine]
CREATE TABLE metrics (
...
) ENGINE = ReplacingMergeTree()
PARTITION BY ...
ORDER BY (...)
INFO [sqlalchemy.engine.Engine] [no key 0.00006s] {}
INFO [sqlalchemy.engine.Engine] INSERT INTO alembic_version (version_num) VALUES ('66b14befc5fc')
INFO [sqlalchemy.engine.Engine] [generated in 0.00009s] {}
INFO [sqlalchemy.engine.Engine] COMMIT
...
File "/Users/User/Projects/chx/.venv/lib/python3.12/site-packages/asynch/connection.py", line 181, in commit
raise NotSupportedError
asynch.errors.NotSupportedError: Code: None.
Describe the bug
When using asynch driver, alembic migrations fail on commit:
To Reproduce
env.py
file for async engine:Expected behavior
Alembic may commit, but it is not executed,
asynch.connection.Connection.commit()
is never called.Versions
The text was updated successfully, but these errors were encountered: