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
SQLAlchemy 2.0 was released, introducing a lot of breaking changes.
We need to adapt metacatalog where SQLAlchemy is used to make metacatalog compatible to SQLAlchemy 2.0.
There is an official migration guide by SQLAlchemy: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
Beside the use of Session.bind in pandas, I think we should be able to substitute all usages of:
withengine.connect() ascon:
con.execute(...)
with:
session.execute(...)
In the older versions there have been differences how the transaction is handled, we need to check the changelog to see if that is still the case in 2.0 and how it affects our code.
SQLAlchemy 2.0 was released, introducing a lot of breaking changes.
We need to adapt metacatalog where SQLAlchemy is used to make metacatalog compatible to SQLAlchemy 2.0.
There is an official migration guide by SQLAlchemy: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
Important:
RemovedIn20Warnings
and fix all of the warnings.Currently (27.01.2023), pandas is also not compatible to SQLAlchemy 2.0, as described in this issue: pandas-dev/pandas#40686.
Session.bind
usagesThe text was updated successfully, but these errors were encountered: