Skip to content

[BUG]: Error when running lakebridge transpiler #2061

@koernigo

Description

@koernigo

Is there an existing issue for this?

  • I have searched the existing issues

Category of Bug / Issue

Converter bug

Current Behavior

databricks labs lakebridge transpile --input-source . --output-folder ../. --source-dialect mssql

fatal: No names found, cannot describe anything.
13:58:53 WARNING [d.l.blueprint.wheels] Cannot determine unreleased version. This can be fixed by adding git fetch --prune --unshallow to your CI configuration.
Traceback (most recent call last):
File "/Users/oliver.koernig/PycharmProjects/lakebridge-workshop1/.venv/lib/python3.11/site-packages/databricks/labs/blueprint/wheels.py", line 115, in unreleased_version
out = subprocess.run(
^^^^^^^^^^^^^^^
File "/Users/oliver.koernig/.pyenv/versions/3.11.13/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'describe', '--tags']' returned non-zero exit status 128.
fatal: No names found, cannot describe anything.
13:58:53 WARNING [d.l.blueprint.wheels] Cannot determine unreleased version. This can be fixed by adding git fetch --prune --unshallow to your CI configuration.
Traceback (most recent call last):
File "/Users/oliver.koernig/PycharmProjects/lakebridge-workshop1/.venv/lib/python3.11/site-packages/databricks/labs/blueprint/wheels.py", line 115, in unreleased_version
out = subprocess.run(
^^^^^^^^^^^^^^^
File "/Users/oliver.koernig/.pyenv/versions/3.11.13/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'describe', '--tags']' returned non-zero exit status 128.

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

bb converterIssues related to BB converter

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions