How to connect to NetSuit database from Azure synapse spark notebook using pyspark ?
heta desai
252
Reputation points
I want to connect to the NetSuit database from Azure synapse spark notebook using pyspark. While using the below command it throws an error.
jdbcDF = spark.read.format("cdata.jdbc.netsuite.NetSuiteDriver") \
.option("url", url) \
.option("user", user) \
.option("password", password) \
.option("query",query) \
.load()
Error: Py4JJavaError: An error occurred while calling o649.load.
: java.lang.ClassNotFoundException: Failed to find data source: cdata.jdbc.netsuite.NetSuiteDriver. Please find packages at http://spark.apache.org/third-party-projects.html
Sign in to answer