druid-io / pydruid

A Python connector for Druid
Other
505 stars 194 forks source link

SQLAlchemy 1.4 compat #275

Closed betodealmeida closed 2 years ago

betodealmeida commented 2 years ago

SQLAlchemy 1.4 now requires executed strings to be wrapped in text().

I tested the branch with SQLAlchemy 1.4.5 and it works as expected. Before, it would raise an error:

sqlalchemy.exc.ObjectNotExecutableError: Not an executable object