![]() |
VOOZH | about |
The CData Excel Add-In for Databricks provides formulas that can edit, save, and delete Databricks data. The following three steps show how you can automate the following task: Search Databricks data for a user-specified value and then organize the results into an Excel spreadsheet.
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.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as DatabricksConnection1, or a connection string. The connection string consists of the required properties for connecting to Databricks data, separated by semicolons.
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.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Customers WHERE Country = '"&B8&"'","Server="&B1&";Port="&B2&";TransportMode="&B3&";HTTPPath="&B4&";UseSSL="&B5&";User="&B6&";Password="&B7&";Provider=Databricks",B9)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Databricks to get started:
Download NowLearn more:
👁 Databricks IconThe Databricks Excel Add-In is a powerful tool that allows you to connect with live Databricks data, directly from Microsoft Excel.
Use Excel to read, write, and update Databricks. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!