Hello @Ullas Mulbagal Sripathi Rao ,
Thanks for the question and using MS Q&A platform.
Compared to the built-in JDBC connector, this connector provides the ability to bulk insert data into SQL databases. It can outperform row-by-row insertion with 10x to 20x faster performance. The Spark connector for SQL Server and Azure SQL Database also supports Azure Active Directory (Azure AD) authentication, enabling you to connect securely to your Azure SQL databases from Azure Databricks using your Azure AD account. It provides interfaces that are similar to the built-in JDBC connector. It is easy to migrate your existing Spark jobs to use this connector.
How to find the Azure Spark Connector in Azure Databricks?
Go to libraries => Install New => Select Maven => Maven Search => spark-mssql-connector_2.12
For more details, refer to SQL Databases using the Apache Spark connector.
For instructions on using the Spark connector, see Apache Spark connector: SQL Server & Azure SQL.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators