Importing com.microsoft.spark.sqlanalytics
Eric Ste-Marie
6
Reputation points
Hello all,
I'm trying to write to an SQL Pool from a pyspark dataframe in a Synapse notebook.
The documentation found at synapse-spark-sql-pool-import-export suggests that I should "import com.microsoft.spark.sqlanalytics" in my pyspark cell. (python code tab)
and use df.write.synapsesql("SQL_POOL_NAME.SCHEMA_NAME.TABLE_NAME")
I get ModuleNotFoundError at the import:
ModuleNotFoundError: No module named 'com.microsoft.spark.sqlanalytics'
Any idea?
Thanks!
Sign in to answer