Skip to content

CLI Claims Success Writing Downloaded DLT Pipeline Despite Pipeline Name Being Incompatible With File System #2528

@LeightonRJones

Description

@LeightonRJones

Describe the issue

The CLI will use verbatim the name of the pipeline as a filename when downloading and claim success, even if the pipeline has a character (eg ':' on Windows) that is incompatible with the file-system it's saving to.

Steps to reproduce the behavior

  1. Create a pieline, and in DLT task put a ':' in the name. EG: 'Test DLT: First Test'
  2. Use the CLI on Windows:
    databricks bundle generate pipline --existing-pipline-id [ref]

Expected Behavior

Either;

  1. The downloaded workbook is renamed using a FS compatible replacement character - eg 'Test DLT_ First Test'
  2. or the download fails and moans about an incompatible character (less desirable)

Actual Behavior

The CLI claims success:
File successfully saved to src\Test DLT: First Test.sql

OS and CLI version

Windows 10, CLI v0.241.2

Is this a regression?

Don't know.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingDABsDABs related issuesNo Autoclose

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions