-
Notifications
You must be signed in to change notification settings - Fork 930
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
Fail to read simple .db file with sqlite3 #2312
Comments
So this looks like there is a breaking change in the latest version of SQLAlchemy - you can resolve this by downgrading your latest version: It looks like it's an active issue on the Pandas side too: For now - pin your SQLAlchemy version manually and I suspect Pandas will push a new release shortly that fixes this regression. |
@gmartinonQM Have you been able to resolve the issue with the suggestion above or do you need some more help? |
HI @merelcht, well we circumvented the problem by loading the data outside kedro and saved it to CSV... A hack more than a solution I would say. Still I am interested in a kedro.dataset handling sqlite3 in the future. |
I think the issue is resolved on the Pandas side without us making a change to Kedro: |
That being said we may have to enable support for the forthcoming Pandas 2.x release... |
Hi @gmartinonQM, did the pandas change resolve your issue? |
Hi @AhdraMeraliQB , yes, it works now, without changing anything to the code and config. |
@gmartinonQM Awesome, thanks for getting back to us. |
Description
I have a simple database, a mere
data/01_raw/compas.db
file. I want to read it with the catalog. I cannot read it properly.Context
I am just trying to read some open-source data in the form of an SQLite3 database.
Steps to Reproduce
Here is my
base/catalog.yml
:Here is my
local/credentials.yml
:compas.db
here : https://github.com/propublica/compas-analysisdata/01_raw
in the kedro templatebase/catalog.yml
andlocal/credentials.yml
kedro ipython
catalog.load("compas")
Expected Result
This should read the table and return a pandas dataframe.
Actual Result
Launching
kedro ipython
and thencatalog.load("compas")
, I get the following error :Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
): 0.18/4python -V
): 3.9.12The text was updated successfully, but these errors were encountered: