Forum Discussion
sha9189
1 year agoRegular Visitor
Construct File API Path to use in a Notebook to access data in non-default Lakehouse Folder
I am trying to set up Great Expectations (GX) to use in a Notebook.
Tutorial: https://learn.microsoft.com/en-us/fabric/data-science/tutorial-great-expectations
Code:
context = gx.get_context(project_root_dir="/lakehouse/default/Files/gx")
The above code connects GX to the FileDataContext folder hierarchy. This approach requires the my GX Project Root Dir folder to sit in the DEFAULT Lakehouse.
But I want to point to the same folder but need the DEFAULT lakehouse to be another lakehouse .
When I use ABFS Path like:
where the actual path parts are replaced with xxxxx to maintain privacy.
Issue: GX is not able to access the folder I need it to access. How do I construct a File API Path or what do I use for the project_root_dir so that it can access a folder in the lakehouse that is not the default lakehouse.
1 Reply
- AnonymousNot applicable
Hello sha9189
Please post your question directly to the appropriate Fabric forum.
https://community.fabric.microsoft.com/
Please let me know if you have any questions.
~Eileen