![]() |
VOOZH | about |
The CData JDBC Driver for Databricks connects Databricks data to Mule applications enabling read , write, update, and delete functionality with familiar SQL queries. The JDBC Driver allows users to easily create Mule applications to backup, transform, report, and analyze Databricks data.
This article demonstrates how to use the CData JDBC Driver for Databricks inside of a Mule project to create a Web interface for Databricks data. The application created allows you to request Databricks data using an HTTP request and have the results returned as JSON. The exact same procedure outlined below can be used with any CData JDBC Driver to create a Web interface for the hundreds of available data sources.
Accessing and integrating live data from Databricks has never been easier with CData. Customers rely on CData connectivity to:
While many customers are using CData's solutions to migrate data from different systems into their Databricks data lakehouse, several customers use our live connectivity solutions to federate connectivity between their databases and Databricks. These customers are using SQL Server Linked Servers or Polybase to get live access to Databricks from within their existing RDBMs.
Read more about common Databricks use-cases and how CData's solutions help solve data problems in our blog: What is Databricks Used For? 6 Use Cases.
To connect to a Databricks cluster, set the properties as described below.
Note: The needed values can be found in your Databricks instance by navigating to Clusters, and selecting the desired cluster, and selecting the JDBC/ODBC tab under Advanced Options.
For assistance in constructing the JDBC URL, use the connection string designer built into the Databricks JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.databricks.jar
Fill in the connection properties and copy the connection string to the clipboard.
SELECT City, CompanyName FROM Customers WHERE Country = 'US'๐ Configure the Select object (Salesforce is Shown)
%dw 2.0 output application/json --- payload๐ Add the Transform Message Component to the Flow
At this point, you have a simple Web interface for working with Databricks data (as JSON data) in custom apps and a wide variety of BI, reporting, and ETL tools. Download a free, 30 day trial of the JDBC Driver for Databricks and see the CData difference in your Mule Applications today.
Download a free trial of the Databricks Driver to get started:
Download NowLearn more:
๐ Databricks IconRapidly create and deploy powerful Java applications that integrate with Databricks.