Forum Discussion

mhaupt's avatar
mhaupt
Frequent Visitor
2 years ago
Solved

Issues setting up Synapse VS code on VS desktop

Hi there,

Hoping someone might be able to assist with setting up Synapse VS code on my VS desktop.  The issue I have is that I don't have the "synapse-spark-kernel" created.  Instead I have a couple of other kernels "fabric-synapse-runtime". 

.. and neither seems to execute spark on the Jupyter notebook

Basically I have followed all the processes here, https://learn.microsoft.com/en-us/fabric/data-engineering/setup-vs-code-extension

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi mhaupt 
    Thanks for using Fabric Community.
    Apologies for the issue. The issue is with the Microsoft Document. The document has not been updated yet. You are receiving the correct runtimes. You can select any one of the "fabric-synapse-runtime" based on your notebook. The runtime version should same as your notebook.

    Coming to the code part VScode.dev(web version of VS code) can run %%sql, but desktop does not support this magic command yet. Only %pip is supported for now.

    Hope this helps. Please let me know if you have any further questions.

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi mhaupt 
    Thanks for using Fabric Community.
    Apologies for the issue. The issue is with the Microsoft Document. The document has not been updated yet. You are receiving the correct runtimes. You can select any one of the "fabric-synapse-runtime" based on your notebook. The runtime version should same as your notebook.

    Coming to the code part VScode.dev(web version of VS code) can run %%sql, but desktop does not support this magic command yet. Only %pip is supported for now.

    Hope this helps. Please let me know if you have any further questions.

    • mhaupt's avatar
      mhaupt
      Frequent Visitor

      Mant thanks Anonymous all good now.  But please encourag eyour colleagues to update the documentation soon - I spent half a day trying to get this to work.  Might be worth emphasising the issue with magic decorators too

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi mhaupt 

        Glad that your query got resolved. Apologies for this. We will fix this soon. Please continue using Fabric Community for any help regarding your queries.

  • I have the same issue and I cant use neither the runtime kernel to run spark code. PLease help

    • mhaupt's avatar
      mhaupt
      Frequent Visitor

      Apologies khoirockfeather I ended up not using Pyspark, went with plan vanilla Python/Polars for my project

  • Hey guys, how did you solve this issue? I don't see any fabric-synapse-runtime on my VScode desktop.

    Could you help me?

     

     

    Thank you!!