Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Request failed while connecting to Azure Databricks using usql

Open
#230 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, go, sql
Domain
cloud, databases

Research direction

Start by reproducing the reported usql command against Azure Databricks and compare its behavior with the working DBeaver connection. Inspect the driver’s connection and URL-redirect handling, using the attached error log as the failure reference. Done means identifying the cause and making the same credentials and endpoint connect successfully, or documenting the confirmed limitation.

Written by the indexing model from the issue text.

Description

I am facing an issue when trying to connect to Databricks using usql. Even when using the correct credentials, typing the command:

usql databricks://token:dapi*****@adb-*************.azuredatabricks.net:443/sql/protocolv1/o/*********/*******

The credentials and URL details have been omitted for security, but I assure you that the data is correct.

Error Logs:

CleanShot 2024-06-05 at 10 28 57@2x

What You Have Tried
  • Verified credentials and URLs.
  • Reinstalled usql.
  • Tried on different terminals and operating systems (MacOS and Linux).
Where it works

Using DBeaver and the same credentials, the connection works like a charm

Any help to resolve this issue would be highly appreciated.

Alternative question:

It seems to me that the driver redirects the Azure URL to the Databricks URL.

Dominant language
Go
Stars
53
Forks
67
Avg merge
21h 29m
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from databricks/databricks-sql-go

All issues in databricks/databricks-sql-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.