Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The JSON schema feature for DABs is unreliable #1334

Open
shreyas-goenka opened this issue Aug 28, 2024 · 0 comments
Open

The JSON schema feature for DABs is unreliable #1334

shreyas-goenka opened this issue Aug 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shreyas-goenka
Copy link
Contributor

Describe the bug
The extension feature of loading DABs JSON schema for bundle configuration files is unreliable.

  1. For databricks.yml files sometimes it works, sometimes it does not.
  2. For other files (i.e. those specified in the include block) glob patterns do not work. That is include: resources.yml will load the JSON schema for the resouces.yml file, but include: *.yml does not do so.

To Reproduce
For issue (1)
Create a databricks.yml file in your current working directory. I'd expect autocomplete and validation via JSON schema to work, but it does not work all the time. Maybe it just takes a while to load sometimes.

For issue (2)
Steps to reproduce the behavior:

  1. Create a databricks.yml file
  2. Add include: *.yml to the file
  3. Create resources.yml in the same directory.

I'd now expect to get DABs autocomplete and validation features resources.yml

System information:

Version: 1.92.2 (Universal)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z (1 wk ago)
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.4.0

Databricks extension version: v2.0.0

@shreyas-goenka shreyas-goenka added the bug Something isn't working label Aug 28, 2024
@shreyas-goenka shreyas-goenka changed the title [BUG] The JSON schema feature for DABs is unreliable Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant