databricks-vscode
databricks-vscode copied to clipboard
[BUG] Magic functions no longer being executed in Interactive Window.
Describe the bug
Magic functions are no longer being executed in the VS Code Interactive Window.
Running a cell using # MAGIC %md
will be treated as a Python comment. The same is true for # MAGIC %run
.
To Reproduce Steps to reproduce the behavior:
- Create a Databricks notebook source Python file.
- Run a command in the notebook using a
MAGIC
function. - See that the
MAGIC
function commands are not run, and instead are rendered as comments.
Screenshots
System information:
-
macOS Version 14.4.1 (23E224)
-
Databricks CLI v0.216.0
-
Python 3.11.0
-
VS Code 1.88.1
-
Jupyter v2024.3.1
(Jupyter Extension) -
Databricks v1.3.0
(Databricks Extension) - Databricks Cluster
-
Databricks Connect Enabled
-
Databricks Runtime 13.3x
-
Additional context The issue began a month or so ago. I tried changing versions for the Jupyter and Databricks extensions but that didn't help.