-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLAlchemy backlog #74
Comments
Getting support for async SQLAlchemy would be super useful I have a few queries that can take slightly over 1 sec to execute and being able to not block would be HUGE |
Dear Robert, support for asynchronous communication with SQLAlchemy, based on the asyncpg and psycopg3 drivers, is being evaluated at crate/crate-python#532. Please note that this is experimental, and we currently have no schedule about when or how this will be released. With kind regards, |
Coming from crate/crate-python#553 (comment) and crate/crate-python#553 (comment), there are a few additional backlog items for SQLAlchemy/pandas/Dask:
Footnotes
|
Hi there,
while working on crate/crate-python#391, some backlog items have accumulated. I will gather them within this ticket.
Internals
We've identified a few shortcomings in the internal implementation of the CrateDB SQLAlchemy dialect. While it seems to work in general, those spots can well be improved, in order to better align with the internal API hooks of SQLAlchemy, and how the CrateDB dialect interacts with that.
before_execute
event.Mike Bayer advised us to hook into
ExecutionContext.pre_exec()
for rewritingUPDATE
statements instead of using any kinds of engine- or dialect-events, like our current implementation.Discussions:
- Add support for SQLAlchemy 1.4 crate-python#391 (comment)
- Making the CrateDB dialect compatible with SQLAlchemy 1.4 sqlalchemy/sqlalchemy#5915 (reply in thread)
CompileError: Unconsumed column names
Issue: SQLAlchemy: Investigate
CompileError: Unconsumed column names
#78visit_update
#84MutableDict
implementation can be used for implementing CrateDB'sOBJECT
type, see SQLAlchemy: Use JSON type adapter for implementing CrateDB'sOBJECT
crate-python#561 (review).More
visit_update_14
method.Reference: Add support for SQLAlchemy 1.4 crate-python#391 (review)
With kind regards,
Andreas.
The text was updated successfully, but these errors were encountered: