Using the Fabric API in a Fabric Notebook with the…
Hi,
I have some PySpark code in a Fabric Notebook which uses the Fabric API to manage shortcuts in a Lakehouse.
I would like to be able to debug this code using the Synapse Visual Studio Code Extension.
However, having setup up Visual Studio Code with the necessary prerequisites, I find that the code is erroring at functions which use MSSparkUtils in the NotebookUtils library.
Whilst I understand that this library is not suitable for local installation, I had expected (hoped?) that calls to it would be redirected to a remote Spark Pool.
As a very new comer to things Fabric, Spark and even Python I wonder whether anyone else might have some experience that they would be willing to share as to whether the VS Code extension should, or possibly at some stage will, be able to support this requriement?
Edit: I should mention that the original Notebook code runs fine within Fabric itself, just not via the VS Code extension.
Read more here: Source link
