Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi all,
Just getting started with the Fabric notebooks and trying to load a view from the Lakehouse SQL endpoint as per: https://learn.microsoft.com/en-us/fabric/data-engineering/spark-data-warehouse-connector
However, during the required imports I get the following error:
The first line succeeds, second line throws the error. I'm (as per documentation) using Spark (Scala) in that cell.
Any suggestions how to fix this?
Thanks in advance!
Luuk
Solved! Go to Solution.
Hi @Luuk_J
You are not importing the correct module. The correct one is as below.
Important
Run these import statements at the beginning of your notebook or before you start using the connector:
import com.microsoft.spark.fabric.tds.implicits.read.FabricSparkTDSImplicits._
import org.apache.spark.sql.functions._
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Hi @Luuk_J
You are not importing the correct module. The correct one is as below.
Important
Run these import statements at the beginning of your notebook or before you start using the connector:
import com.microsoft.spark.fabric.tds.implicits.read.FabricSparkTDSImplicits._
import org.apache.spark.sql.functions._
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Ah my bad, must have mixed up several things in the process. Thanks for the quick reply, the import is working correctly now!
User | Count |
---|---|
4 | |
4 | |
2 | |
2 | |
2 |
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
5 |