-
Notifications
You must be signed in to change notification settings - Fork 28
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
problem with Exasol driver's WebSocket connection cleanup process #390
Comments
Hi @wavewater, thanks for reporting this issue. I will pick up on it as my next task. best |
Thanks! - Joachim |
Hi @wavewater (Joachim), I have analyzed the issue, this is a clear bug. I'll provide a fix during this week.
best |
Hi @wavewater (Joachim), I have been digging and it appears that the issue may not be isolated to the SQLAlchemy dialect. What do we know so far?
What are partial mitigation(s) from a SQLA Dialect users perspective?Redirect the error messagepython ./resources/scripts/test_sql_alchemy_websocket.py 2> /dev/null Should yield:
How we intend to follow up on this?
Related Issue |
@Nicoretti besides the fix in pyexasol, we should also assign
|
Agreed, also I think we should add an additional check for |
@wavewater (Joachim) We have conducted further investigations and have come to the conclusion that the problem lies within the libraries on which this project is based. In order to enhance the situation for the users of this library, we have modified the code to handle the problem more gracefully, although it still persists. Additionally, it remains unclear how long it will take to address this issue. That being said, we have also assessed the impact of the issue and have reached the conclusion that its overall impact should be minor (for details, see the 'Context' section here). Shortly after this pull request is merged, we will create a new release of |
-------- Co-authored-by: Christoph Pirkl <[email protected]>
@wavewater we just released a new version of sqlalchemy-exasol |
@Nicoretti Thanks. I upated via pip install --upgrade sqlalchemy-exasol, And now it works without the error. Perfect. |
Summary
When invoking the sql-alchemy engine, it returns the correct result (42) but throws an error during the the WebSocket Connection cleanup process.
Reproducing the Issue
Reproducibility: always
Steps to reproduce the behavior:
step 1: create file test_sql_alchemy_websocket.py
step 2: execute the script:
python ./resources/scripts/test_sql_alchemy_websocket.py
Expected Behaviour
output should be:
[(42,)]
without any further errors
Actual Behaviour
Root Cause (optional)
Note that the 42 was returned but there seems a problem with Exasol driver's WebSocket connection cleanup process. Without more descriptive error messages, it's difficult to diagnose the exact issue. This is why I am reaching out to the community for support. Any ideas?
Context
I am simply following the tutorial on sqlalchemy-exasol and wanted to give the new websocket dialect a try because the odbc dialect is a burden. In particular, many open source tooling require a working sqlalchemy connection.
System
CentOS Linux release 7.9.2009 (Core)
The text was updated successfully, but these errors were encountered: