Describe the issue
The generated README for projects created with databricks bundle init default-python contains an outdated command for running a single task.
The README at src/my_project_etl/README.md suggests:
databricks bundle run my_project_etl --select sample_trips_my_project
With Databricks CLI v0.299.2, this fails with:
Error: unknown flag: --select
It appears the --select flag is no longer supported (or was renamed), but the generated template documentation was not updated accordingly.
Steps to reproduce
-
Generate a new project:
databricks bundle init default-python
-
Open src/my_project_etl/README.md
-
Run the documented command:
databricks bundle run my_project_etl --select sample_trips_my_project
-
Observe the error:
Error: unknown flag: --select
Expected behavior
The generated README should contain a command compatible with current Databricks CLI versions.
Actual behavior
The documented command fails because the CLI does not recognize the --select flag.
Environment
- Databricks CLI version:
v0.299.2
- OS: WSL2 with Ubuntu 24.04.2 LTS
Regression
Unknown. I have only tested this behavior with Databricks CLI v0.299.2.
Additional context
I found that the following command works instead:
databricks bundle run my_project_etl --refresh sample_trips_my_project
Although I am not sure whether this is the intended replacement for --select.
Describe the issue
The generated README for projects created with
databricks bundle init default-pythoncontains an outdated command for running a single task.The README at
src/my_project_etl/README.mdsuggests:With Databricks CLI
v0.299.2, this fails with:It appears the
--selectflag is no longer supported (or was renamed), but the generated template documentation was not updated accordingly.Steps to reproduce
Generate a new project:
Open
src/my_project_etl/README.mdRun the documented command:
Observe the error:
Expected behavior
The generated README should contain a command compatible with current Databricks CLI versions.
Actual behavior
The documented command fails because the CLI does not recognize the
--selectflag.Environment
v0.299.2Regression
Unknown. I have only tested this behavior with Databricks CLI
v0.299.2.Additional context
I found that the following command works instead:
Although I am not sure whether this is the intended replacement for
--select.