Fix generated pipeline README to use --refresh instead of --select#5626
Merged
Conversation
Collaborator
Integration test reportCommit: bb83f21
32 interesting tests: 15 SKIP, 10 flaky, 7 KNOWN
Top 24 slowest tests (at least 2 minutes):
|
The README scaffolded for pipeline projects documented `databricks bundle run <pipeline> --select <table>` to run a single transformation, but `bundle run` has no `--select` flag and fails with "unknown flag: --select". Use the supported `--refresh <table>` flag instead and regenerate the affected acceptance golden outputs. Fixes #5252
723360d to
bb83f21
Compare
andrewnester
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
The README generated for pipeline projects (
databricks bundle init default-python,databricks pipelines init) documenteddatabricks bundle run <pipeline> --select <table>to run a single transformation.bundle runhas no--selectflag, so the command fails withError: unknown flag: --select. This switches the template to the supported--refresh <table>flag, which maps torefresh_selection(update only the named tables), and regenerates the affected acceptance golden outputs.Fixes #5252
Why
Reported in #5252: the scaffolded README ships a command the CLI rejects.
--refreshis the correct flag for running a single transformation (seebundle/run/pipeline_options.go).Tests
Docs/template-only change. Regenerated golden outputs via the acceptance
-updateruns forpipelines/init,pipelines/e2e, andbundle/templates. Verified no--selectremains in any generated README.