Skip to content

[BUG]: EDW Delivery Specialization Assesment Error #2017

@Prashant-151

Description

@Prashant-151

Is there an existing issue for this?

  • I have searched the existing issues

Category of Bug / Issue

Application crashed

Current Behavior

Context :
This is regarding lab assessment of EDW migration accreditation assessment. This still uses remorph instead of lakebridge.

#Using

  1. Databricks cli version 0.266.0
  2. Python : 3.10 venv

When installing databricks labs install [email protected] getting error:
$ databricks labs install [email protected]
The Databricks CLI unexpectedly had a fatal error.
Please report this issue to Databricks in the form of a GitHub issue at:
https://github.com/databricks/cli

CLI Version: 0.266.0

Panic Payload: runtime error: invalid memory address or nil pointer dereference

Stack Trace:
goroutine 1 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:26 +0x5e
github.com/databricks/cli/cmd/root.Execute.func1()
github.com/databricks/cli/cmd/root/root.go:112 +0xb4
panic({0x1d8db40?, 0x2eb40f0?})
runtime/panic.go:792 +0x132
github.com/databricks/cli/cmd/labs/project.(*installer).setupPythonVirtualEnvironment(0xc00045a6f0, {0x231d7b0, 0xc0002b2f90}, 0x0)
github.com/databricks/cli/cmd/labs/project/installer.go:251 +0x522
github.com/databricks/cli/cmd/labs/project.(*installer).Install(0xc00045a6f0, {0x231d7b0, 0xc0002b2f90})
github.com/databricks/cli/cmd/labs/project/installer.go:115 +0x3d8
github.com/databricks/cli/cmd/labs.newInstallCommand.func1(0xc0000ce308, {0xc0002031f0?, 0x4?, 0x2080c84?})
github.com/databricks/cli/cmd/labs/install.go:23 +0x63
github.com/spf13/cobra.(*Command).execute(0xc0000ce308, {0xc000203180, 0x1, 0x1})
github.com/spf13/[email protected]/command.go:1015 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xc00014a008)
github.com/spf13/[email protected]/command.go:1148 +0x46f
github.com/spf13/cobra.(*Command).ExecuteContextC(...)
github.com/spf13/[email protected]/command.go:1080
github.com/databricks/cli/cmd/root.Execute({0x231d778, 0x2f38fa0}, 0xc00014a008)
github.com/databricks/cli/cmd/root/root.go:141 +0x171
main.main()
github.com/databricks/cli/main.go:29 +0x3b

Expected Behavior

Expecting prompt to select number between 0 and 2

Actual Behavior

Error.

Also When executing $ databricks labs install remorph, its getting executed successfully but It is not showing prompt to select number between 0 and 2. it gives below output
12:46:55 INFO [src/databricks/labs/lakebridge/base_install] Successfully Setup Lakebridge Components Locally
12:46:55 INFO [src/databricks/labs/lakebridge/base_install] For more information, please visit https://databrickslabs.github.io/lakebridge/

OS and CLI version

Using Windows, VS Code IDE with git for terminal

Expected Behavior

No response

Steps To Reproduce

No response

Relevant log output or Exception details

Logs Confirmation

  • I ran the command line with --debug
  • I have attached the lsp-server.log under USER_HOME/.databricks/labs/remorph-transpilers/<converter_name>/lib/lsp-server.log

Sample Query

Operating System

macOS

Version

latest via Databricks CLI

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions