Issue with Visual Studio Code Databricks extension

Mihai_Cog
Databricks Partner

Hello,

I successfully installed the extension and connected it to my databricks account. But when I try to select the repo (which already exists under repos in my databricks repo account) for syncing , I don't see it.

I use Azure Devops (Git repo) as source control and I successfully connected databricks to the git repo.

 

Thank you.

Hello @Retired_mod and thank you for the answer.

From the 4. step I cannot follow what you said.

When I am doing point 4., I am writing "Databricks: Sync Workspace", but seems hat doesn't exist this.

So, after I am opening Command Palette, I use "Preferences: Open User Settings" and there I find Extensions and inside I see Databricks.

After that I am looking for Destination Type:

Screenshot 2023-09-15 at 18.14.41.pngScreenshot 2023-09-15 at 18.14.56.png

As you can see there, I modified from Workspace to Repo, I see nothing. I am going in the left side after I have added repo in the settings and still not seeing the Repo I already have created on Azure DevOps and cloned in Databricks Repo.

When I have in Settings changed from Workspace to Repo, and I am going in the left side of VSCode and preaa Databricks Icon, choose Sync Destination, I press Config Sync Destination and I see only:

Create new sync destination under /Repos/User/, but not displaying my Repo that is already in Databricks Repo.

And if I try to create the repo with the same name(RepoName my Repo that is already created in Databricks Repo) from "Create new sync destination", is creating a folder in Databricks repo with "RepoName.ide" in the end. 

Ok, I agree that can be a conflict because I have already the same RepoName created, but how I can get the already created RepoName, the one that exists and was cloned from Azure DevOps.

What I need is to have is the repo name from Azure DevOps.

Thank you.

matt7salomon
New Contributor II

Hello, I cant get the vs code connection to run interactive cells with my databricks cluster. Eevrytime I have to push the whole notebook to the cluster as a job. I cant see the databricks kernels in vs code to select from them. Tried updating but didnt help

saadansari-db
Databricks Employee
Databricks Employee

Hi Matt, do you have Databricks Connect enabled? that should let you run cell by cell interactively on VS Code

saadansaridb_0-1726734622713.png

 

yes. I do. I clicked on the red line and now it says enabled. However, sometimes vscode says building after i reinstall databricks connect and doesnt stop building.

saadansari-db
Databricks Employee
Databricks Employee

I think the building spinner can be confusing - we are looking at improving that experience. 

Did the cell-by-cell execution work for you now?

LearningRate
New Contributor II

I have installed the dbx extension but when i i am clicking on the dbx icon its showing initialising from 1hrs but still stuck...

message: "Initializing ...."

 

 

LearningRate
New Contributor II

I installed VS code 2 (strange name and version from MS) then i see all the option .... thanks just if someone also facing this issue