https://kedro.org/ logo
#questions
Title
# questions
i

Irtiza Kaleem

03/05/2024, 7:25 PM
kedro.io.core.DatasetError: An exception occurred when parsing config for dataset 'patient_base': Class 'pandas.SQLQueryDataSet' not found, is this a typo?
d

Deepyaman Datta

03/05/2024, 7:26 PM
DataSet -> Dataset
i

Irtiza Kaleem

03/05/2024, 7:27 PM
That was quick 🙂 Thank you for the response. Yes that worked.
🙌 1
Hi @Deepyaman Datta.
I'm trying to run my script, but getting the following error:
'OptionEngine' object has no attribute 'cursor'
Seems some issue with the SQLAlchemy dialect maybe. I've tried the following: redshift+psycopg2 redshift+redshift_connector postgresql
But none of them work.
d

Deepyaman Datta

03/05/2024, 8:42 PM
Which version of pandas do you have?
i

Irtiza Kaleem

03/05/2024, 8:50 PM
2.2.1
Ah. It worked. I downgraded to 2.1.3.
Thanks for the catch.
d

Deepyaman Datta

03/05/2024, 8:51 PM
Yeah, was about to suggest that
But this should be handled by the dataset requirements, or we should update it to be compatible with 2.2+
👀 1