Databricks adapter alias not working: "no driver registered for provided type alias" #196
Answered
by
MattiasMTS
PyDataBlog
asked this question in
Q&A
-
For some reason, the databricks connection doesn't work and shows this error when I tried to load plugin after adding the url: [core]: failed registering source: persistence.json function DbeeCreateConnection[1]..remote#define#request, line 2: Vim(let):Error invoking '0:function:DbeeCreateConnection' on channel 7:
adapters.NewConnection: Mux.GetAdapters: no driver registered for provided type alias Here's the persistence.json content [
{
"id": "file_source_/home/xxx/.local/state/nvim/dbee/persistence.jsonOAwinqMrnO",
"url": "<redacted>",
"name": "dbricks",
"type": "databricks"
}
] for full disclosure, I tested the DNS with the go package used by the plugin and it connected just fine: _ "github.com/databricks/databricks-sql-go" |
Beta Was this translation helpful? Give feedback.
Answered by
MattiasMTS
Mar 12, 2025
Replies: 1 comment 5 replies
-
Have you rebuilt the binary to get the latest in main? We haven't done a release yet, ergo the "default" binary isn't updated yet. Try pointing to main branch and run the 'require("nvim-dbee").install("go")'. This requires you to have a working go toolchain. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wasn't able to reproduce this error. Can you try and re-install the plugin from fresh? So we can try and rule out any stale refs caused by
lazy
. This is the config I used:If that still doesn't work, I would encourage you to try and fork the repo locally, uncomment the code I have commented now and try to see if that works for you (also try install via go in the cmdline too)