![]() |
VOOZH | about |
DataGrip is a database IDE that allows SQL developers to query, create, and manage databases. When paired with the CData JDBC Driver for Databricks, DataGrip can work with live Databricks data. This article shows how to establish a connection to Databricks data in DataGrip and use the table editor to load Databricks data.
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 steps below describe how to create a new Data Source in DataGrip for Databricks.
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.
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.
jdbc:databricks:Server=127.0.0.1;Port=443;TransportMode=HTTP;HTTPPath=MyHTTPPath;UseSSL=True;User=MyUser;Password=MyPassword;
At this point, you will see the data source in the Data Explorer.
To browse through the Databricks entities (available as tables) accessible through the JDBC Driver, expand the Data Source.
π Exploring the data (Salesforce is shown.)To execute queries, right click on any table and select "New" -> "Query Console."
π Opening a new Query Console.In the Console, write the SQL query you wish to execute. For example:
SELECT City, CompanyName FROM Customers WHERE Country = 'US'π Querying with SQL (Salesforce is shown.)
Download a free, 30-day trial of the CData JDBC Driver for Databricks and start working with your live Databricks data in DataGrip. Reach out to our Support Team if you have any questions.
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.