databricks / databricks-vscode

VS Code extension for Databricks
Other
118 stars 20 forks source link

Add support for interactive cell executions in ipynb notebooks #472

Open JinwooMcLee opened 1 year ago

JinwooMcLee commented 1 year ago

First of all, thank you for great extension. Our team needed this extension to make our software engineering better with databricks.

But as our data scientists struggle with making codes neat within ipynb without IDEs, it would be really great if we have support for interactive ipynb execution attached to databricks cluster.

Do you have plans for it?

fjakobs commented 1 year ago

Support for cell based execution in ipynb notebooks is something we want to look into once we integrate with DBConnect v2.

Keeping this ticket open to track progress in the future.

Please upvote if you would like to see this feature.

chrysremes commented 1 year ago

Upvote!

jodb commented 1 year ago

Upvote!

jslomkowski commented 1 year ago

I would second that but not only for .ipynb but also for .py files. You could then execute jupyter.execSelectionInteractive command to send the code, selected by the cursor, to the interactive window that would have Databricks kernel running

anandtrivedi commented 1 year ago

Upvote!

anthonynassar commented 1 year ago

Upvote!

MingL0L commented 1 year ago

Upvote!

AndreiCalin24 commented 1 year ago

@fjakobs will this future enhancement allow us to debug .py files line by line as well? Or shall I raise another thread for this option?

Having the option to debug files using the integrated debugger from VSCode would be awesome!

fjakobs commented 1 year ago

@AndreiCalin24 I've created on so you can upvote and track progress https://github.com/databricks/databricks-vscode/issues/589

kartikgupta-db commented 1 year ago

We have this as an experimental feature. Please refer to https://docs.databricks.com/en/dev-tools/vscode-ext-ref.html#additional-notebook-features-with-databricks-connect for guidelines on enabling this.