databricks-vscode icon indicating copy to clipboard operation
databricks-vscode copied to clipboard

[BUG] Magic functions no longer being executed in Interactive Window.

Open cyaris opened this issue 10 months ago • 4 comments

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:

  1. Create a Databricks notebook source Python file.
  2. Run a command in the notebook using a MAGIC function.
  3. See that the MAGIC function commands are not run, and instead are rendered as comments.

Screenshots Screenshot 2024-04-16 at 5 02 19 PM Screenshot 2024-04-16 at 5 10 44 PM

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.

cyaris avatar Apr 16 '24 22:04 cyaris