VSCode - Connecting to lakehouse and coding aid
When running simple code in VSCode using the Synapse-spark-kernel, i run into the following issue when trying to access data from a lakehouse table. The exact same code does work in the fabric environment.
spark_df = spark.sql("select * from LakeHouse.table")
java.lang.ClassNotFoundException: Failed to find data source: LakeHouse. Please find packages at https://spark.apache.org/third-party-projects.html
How do I connect to the lakehouse in local VSCode via the synapse-spark-kernel?
Furthermore, I was wondering if there are any recommended VSCode extensions for code validation and aid (like intellisense), that work with the synapse-spark-kernel?
kind regards,
Kjell
- Anonymous2 years ago
Hi kjellvs ,
Apologies for the delay in response. This error is expected behavior with the existing version of Fabric lakehouse. I filed a bug for reading reference lakehouse in VS Code and the team is working on fixing the issue ASAP.
We are reaching out to the internal team to get more information related to ETA and will get back to you as soon as we have an update.
Stay tuned for more updates.
Thanks. - Anonymous2 years ago
Hi kjellvs ,
I will update you once I receive the information from the internal team. You can go ahead and close the ticket.
Thank you.