-
Notifications
You must be signed in to change notification settings - Fork 607
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
critical bug - csvsql "ObjectNotExecutableError" due to SQLAlchemy 2.0 deprecations now unsupported #1212
Comments
maaaaz
changed the title
csvsql "ObjectNotExecutableError" critical bug due to SQLAlchemy 2.0
csvsql "ObjectNotExecutableError" critical bug due to SQLAlchemy 2.0 deprecations now unsupported
Oct 2, 2023
By the way, before csvkit fixes this issue, the current ugly workaround is to do a |
maaaaz
changed the title
csvsql "ObjectNotExecutableError" critical bug due to SQLAlchemy 2.0 deprecations now unsupported
critical bug - csvsql "ObjectNotExecutableError" due to SQLAlchemy 2.0 deprecations now unsupported
Oct 2, 2023
Thank you for reporting! |
jpmckinney
added a commit
that referenced
this issue
Oct 4, 2023
Thanks, when did you plan to update the package on pypi ? |
Great, I will try ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello there,
Here is a critical bug due the SQLAlchemy depreciated features:
cd /tmp/ && wget https://github.com/wireservice/csvkit/raw/master/examples/foo1.csv
csvsql with SQLAlchemy < 2.0: some warnings, but execution is OK
The root cause to fix seems to wrap the following SQL string parameter "query", such as documented in the warning, and also here with sqlalchemy text
csvkit/csvkit/utilities/csvsql.py
Line 240 in fa9e0db
pandas-dev/pandas#51061
sqlalchemy/sqlalchemy#9155
The text was updated successfully, but these errors were encountered: