mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
3.6 KiB
3.6 KiB
In [3]:
%%configure -f
{"conf": {"spark.jars.packages": "com.microsoft.azure:azure-eventhubs-spark_2.11:2.3.1"}}Current session configs: {'conf': {'spark.jars.packages': 'com.microsoft.azure:azure-eventhubs-spark_2.11:2.3.50'}, 'kind': 'spark'}
No active sessions.
In [5]:
import com.microsoft.azure.eventhubs._import com.microsoft.azure.eventhubs._
In [0]:
%%configure -f
{"conf": {"spark.jars": "/jar/mycodeJar.jar"}}In [0]:
import com.my.mycodeJar._