Databricks driver - setup steps not reproducible
See original GitHub issueDescription
- I’m not able to provide the JDBC URL - the box is there but when I try to type anything in, nothing happens (workaround: edit the driver and hardcode your JDBC URL as the template URL)
- Guides specify that I should paste my token into the “personal-access-token” field. This field doesn’t exist; I only see “username” and “password” fields (workaround: specify
token
as the username and provide the token in the password field) - When trying to use the official “Azure Databricks” driver, when I try to connect, I get a popup named “Download driver files”, which asks me to download the Simba JDBC driver. However, this fails with the following error:
No target file for 'https://databricks-bi-artifacts.s3.us-east-2.amazonaws.com/simbaspark-drivers/jdbc/2.6.22/SimbaSparkJDBC42-2.6.22.1040.zip'
DBeaver Version
22.2.1
Operating System
Windows 11
Database and driver
Built-in “Azure Databricks” driver and the official Databricks JDBC driver.
Steps to reproduce
Follow the official guide from MS docs/Databricks docs or try to use the official DBeaver “Azure Databricks” driver.
Additional context
The following setup worked for me to connect to Databricks (it’s a modified guide from MS docs/Databricks docs):
- Download Databricks JDBC driver: LINK and extract the archive
- Start DBeaver.
- If you are prompted to create a new database, click No.
- If you are prompted to connect to or select a database, click Cancel.
- Click Database > Driver Manager.
- n the Driver Manager dialog box, click New.
- In the Create new driver dialog box, click the Libraries tab.
- Click Add File.
- Browse to the
DatabricksJDBC42.jar
file that you extracted earlier and click Open. - On the Settings tab, for Driver Name, enter Databricks.
- On the Settings tab, for Class Name, enter
com.databricks.client.jdbc.Driver
. - Click OK.
- In the Driver Manager dialog box, click Close.
- Reopen Driver Manager
- In the Create new driver dialog box, click the Libraries tab.
- Click Find Class.
- In the Driver class list, confirm that
com.databricks.client.jdbc.Driver
is selected. - Click OK
- In the Driver Manager dialog box, click Close.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Ten Simple Databricks Notebook Tips & Tricks for Data ...
1. Magic command %pip: Install Python packages and manage Python Environment. Databricks Runtime (DBR) or Databricks Runtime for Machine ...
Read more >Configure the Databricks ODBC and JDBC drivers
Learn how to get started with the Databricks ODBC and JDBC drivers and connect to Databricks.
Read more >Notebook-scoped R libraries | Databricks on Google Cloud
Install a package Databricks recommends using a CRAN snapshot as the repository to guarantee reproducible results.
Read more >Automate Deployment and Testing with Databricks Notebook ...
Learn how to automate building, testing, and deployment of the Data Science workflow from inside Databricks notebooks that integrates fully ...
Read more >How to Simplify Python Environment Management Using ...
Databricks does not recommend users to use %sh pip / conda install in Databricks Runtime ML. %sh commands might not change the notebook-scoped ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After the change, everything works properly. Thanks for your help
Ok. Driver downloading problems fixed here: https://github.com/dbeaver/dbeaver/issues/17757
Azure URL ticket here: https://github.com/dbeaver/dbeaver/issues/17785
All fixes will be available in the 22.2.2 DBeaver version.