How To Mount A Lakehouse and Identify The Mounted Lakehouse in Fabric Notebook
Let's say you receive a notebook from someone that reads parquet file from some location in the OneLake. The code used to read the parquet is :
How do you know where this parquet file folder was in the OneLake? Which workspace and which Lakehouse ? ...
fabric.guru3 min read
Frithjof Vassbø
Thanks for a great blog!
I'm wondering, is it possible to mount a lakehouse as the Notebook's default lakehouse by using this approach (or another code approach)?
If I understand correctly, the mounting operation which is shown in this blog makes it possible to work with the Lakehouse's directories by using relative path, which makes it possible to use the os module (e.g. list directory) and Pandas, however it doesn't enable the use of Spark SQL as that would require to mount the lakehouse as the Notebook's default lakehouse.
All of this is new to me, so trying to wrap my head around this.
Best regards, Frithjof