databricks / databricks-vscode

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

[BUG] Unable to run R files as workflows via extension #1275

Open crankswagon opened 2 months ago

crankswagon commented 2 months ago

Describe the bug When attempting to run .R files as workflows, extensions errors with

Only Python files can be run as a workflow

To Reproduce Steps to reproduce the behavior: Install extension Connect to databricks via OAuth Click Run File as Workflow on Databricks as per docs

Screenshots

Screenshot 2024-07-04 at 12 10 03 PM

System information:

1.

Version: 1.89.1 (Universal)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:24.611Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
  1. Databricks Extension Version
    • databricks extension version 1.3.1
    • databricks connect version 14.0.2
    • cluster DBR 14.3 LTS ML (includes Apache Spark 3.5.0, Scala 2.12) Databricks Extension Logs Please attach the [databricks extension logs] -> this link is broken

Additional context Python files work correctly as expected. Tested with prelease version of extension as well, same error

ilia-db commented 2 months ago

Hey, we don't support running R files as a workflow, but we can run R notebooks. Does running the code as an R notebooks works for you?