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

[BUG] Overriding DAB lookup variables in targets breaks variables view #1410

Open
jamuska opened this issue Oct 25, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jamuska
Copy link

jamuska commented Oct 25, 2024

Describe the bug
When you define a lookup variable in databricks.yml and override it with another value under some target, Bundle variables view does not show variable values.

To Reproduce
Steps to reproduce the behavior:

  1. Init new bundle databricks bundle init default-python
  2. Define variables in databricks.yml
variables: 
  test: test_value
  lookup_test:
    lookup: 
      service_principal: test_service_principal
  1. Override lookup_test under dev target
targets:
  dev:
    variables:
      lookup_test:
        lookup:
          service_principal: override_service_principal
  1. Bundle variables view becomes empty

Screenshots
Without overridden lookup variable
image

After overriding lookup variable
image

System information:

  1. Paste the output ot the Help: About command (CMD-Shift-P).
    Version: 1.94.2 (user setup)
    Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
    Date: 2024-10-09T16:08:44.566Z
    Electron: 30.5.1
    ElectronBuildId: 10262041
    Chromium: 124.0.6367.243
    Node.js: 20.16.0
    V8: 12.4.254.20-electron.0
    OS: Windows_NT x64 10.0.22631
  2. Databricks Extension Version
    2.4.7
    Databricks Extension Logs
    Please attach the databricks extension logs
    I cannot get Open Full logs from command palette to work when running vscode with WSL remote. I will try to add these later.

Additional context
Add any other context about the problem here.

@jamuska jamuska added the bug Something isn't working label Oct 25, 2024
@jamuska
Copy link
Author

jamuska commented Oct 25, 2024

Side note: the link to instructions for attaching extension logs is broken. The instructions are under this page https://docs.databricks.com/en/dev-tools/vscode-ext/troubleshooting.html

@jamuska jamuska changed the title [BUG] Overriding lookup variables in targets breaks variables view [BUG] Overriding DAB lookup variables in targets breaks variables view Oct 25, 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