Forum Discussion
Notebook default lakehouse error
- 1 year ago
Hi g3kuser,
Thanks for posting your query in Microsoft fabric community forum.The issue you're facing with the default Lakehouse when using notebook.runMultiple(). The error occurs because Notebook Main does not have a Lakehouse attached, and even though it isn't running Spark queries directly, it still manages the execution environment for child notebooks.
Try the following steps:
- Open Notebook Main. Attach a Lakehouse (either the same one as Notebook A or a temporary one). Save Notebook Main with this attached Lakehouse and Execute Notebook Main again.
- This will ensure that Notebook A inherits the necessary Lakehouse context, preventing the error.
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Hope this works for you!
Thank you.
Yes I got it resolved by adding one more notebook that adds default lakehouse for Notebook Main when Notebook A is execution is coming through the queue with the necessary lakehouse to be attached as parameter. The extra notebook is unnecessary but that is what helps solve the issue.
Hi g3kuser,
We appreciate your efforts and are pleased to hear that your issue was resolved. Please mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.
Thank you.