Skip to content

Commit

Permalink
Added debug-bundle command for folder-to-folder translation (databr…
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx authored Nov 1, 2024
1 parent 402c425 commit d717aab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions labs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ commands:
description: The directory under which the report files will be written
- name: extractor
description: The strategy for extracting queries from the test files. Valid strategies are "full" (when files contain only one input query) and "comment" (when files contain an input query and the corresponding translation, separated by a comment stating the dialect of each query).
- name: debug-bundle
description: "[INTERNAL] Generate bundle for the translated queries"
flags:
- name: dialect
description: sql dialect
- name: src
description: The directory with source SQL files
- name: dst
description: The directory for generated files
1 change: 1 addition & 0 deletions src/databricks/labs/remorph/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def raise_validation_exception(msg: str) -> Exception:
proxy_command(remorph, "debug-script")
proxy_command(remorph, "debug-me")
proxy_command(remorph, "debug-coverage")
proxy_command(remorph, "debug-bundle")


@remorph.command
Expand Down

0 comments on commit d717aab

Please sign in to comment.