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

ADITYA RATNA

08/31/2023, 9:48 PM
Hi all, wondering if anyone has been able to successfully use great expectations with Kedro ver 0.18+?
I’m running into a datasource error when running the checkpoint; DatasourceError: Cannot initialize datasource {dataset_name}, error: The given datasource could not be retrieved from the DataContext; please confirm that your configuration is accurate.
j

Juan Luis

09/01/2023, 7:01 AM
hi @ADITYA RATNA! are you creating a GE integration of your own, or using an existing one like https://github.com/tamsanh/kedro-great ?
m

marrrcin

09/01/2023, 12:55 PM
That one seems abandoned ☝️
1
a

ADITYA RATNA

09/01/2023, 1:14 PM
@Juan Luis, I am trying to create my own integration, for pre-existing pipelines.
j

Juan Luis

09/01/2023, 2:37 PM
@ADITYA RATNA could you share the full traceback? you can wrap it in triple backquotes so it gets formatted nicely, like
Copy code
this
traceback
s

Sivasubramanian.S

11/08/2023, 8:45 AM
@ADITYA RATNA did you manage to solve the hooks.py issue as kedro great expectations hooks documentation V2 API is not working!
j

Juan Luis

11/08/2023, 9:26 AM
hello @Sivasubramanian.S! what Kedro + GE integration are you using?
s

Sivasubramanian.S

11/08/2023, 9:39 AM
Hi @Juan Luis I'm using great expectations with kedro version 18.10. Getting attribute error:' FileDataContext' object has no attribute 'get_batch'. I have created expectation suite for a filesystem for now.
This the error, great expectations version 0.18.1
a

ADITYA RATNA

11/09/2023, 1:51 PM
Hey @Sivasubramanian.S, @Juan Luis I was able to use the V3 API steps and resolve the issue with get_batch.
j

Juan Luis

11/09/2023, 11:10 PM
fantastic, thanks @ADITYA RATNA