@@ -19,7 +19,7 @@ Update ID: [UUID]
1919Update for pipeline completed successfully.
2020
2121Pipeline configurations for this update:
22- • All tables are refreshed
22+ • Refreshed [table1, table2]
2323
2424>>> print_requests.py //pipelines
2525{
@@ -46,7 +46,7 @@ Update ID: [UUID]
4646Update for pipeline completed successfully.
4747
4848Pipeline configurations for this update:
49- • All tables are refreshed
49+ • All tables are fully refreshed
5050
5151>>> print_requests.py //pipelines
5252{
@@ -70,7 +70,7 @@ Update ID: [UUID]
7070Update for pipeline completed successfully.
7171
7272Pipeline configurations for this update:
73- • All tables are refreshed
73+ • Full refreshed [table1, table2]
7474
7575>>> print_requests.py //pipelines
7676{
@@ -97,7 +97,8 @@ Update ID: [UUID]
9797Update for pipeline completed successfully.
9898
9999Pipeline configurations for this update:
100- • All tables are refreshed
100+ • Refreshed [table3, table4]
101+ • Full refreshed [table1, table2]
101102
102103>>> print_requests.py //pipelines
103104{
@@ -114,3 +115,96 @@ Pipeline configurations for this update:
114115 ]
115116 }
116117}
118+
119+ === Refreshing tables defined in a source file
120+ >>> [CLI] pipelines run --refresh pipeline_file.py
121+ Recommendation: This command runs the last deployed version of the code
122+
123+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
124+
125+ Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID]
126+
127+ Update ID: [UUID]
128+
129+ Update for pipeline completed successfully.
130+
131+ Pipeline configurations for this update:
132+ • Refreshed tables defined in [/Workspace/Users/[USERNAME]/.bundle/test-pipeline-run-flags/default/files/pipeline_file.py]
133+
134+ >>> print_requests.py //pipelines
135+ {
136+ "method": "POST",
137+ "path": "/api/2.0/pipelines/[UUID]/updates",
138+ "body": {
139+ "refresh_selection_by_path": [
140+ "/Workspace/Users/[USERNAME]/.bundle/test-pipeline-run-flags/default/files/pipeline_file.py"
141+ ]
142+ }
143+ }
144+
145+ === Fully refreshing tables defined in a source file
146+ >>> [CLI] pipelines run --full-refresh pipeline_file.py
147+ Recommendation: This command runs the last deployed version of the code
148+
149+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
150+
151+ Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID]
152+
153+ Update ID: [UUID]
154+
155+ Update for pipeline completed successfully.
156+
157+ Pipeline configurations for this update:
158+ • Full refreshed tables defined in [/Workspace/Users/[USERNAME]/.bundle/test-pipeline-run-flags/default/files/pipeline_file.py]
159+
160+ >>> print_requests.py //pipelines
161+ {
162+ "method": "POST",
163+ "path": "/api/2.0/pipelines/[UUID]/updates",
164+ "body": {
165+ "full_refresh_selection_by_path": [
166+ "/Workspace/Users/[USERNAME]/.bundle/test-pipeline-run-flags/default/files/pipeline_file.py"
167+ ]
168+ }
169+ }
170+
171+ === Rejecting missing sources and incompatible refresh modes
172+ >>> musterr [CLI] pipelines run --refresh ./missing.sql --no-wait
173+ Recommendation: This command runs the last deployed version of the code
174+
175+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
176+
177+ Error: invalid --refresh: source file "./missing.sql" not found; use a table name or an existing source file
178+
179+ >>> musterr [CLI] pipelines run --refresh pipeline_file.py --full-refresh-all --no-wait
180+ Recommendation: This command runs the last deployed version of the code
181+
182+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
183+
184+ Error: cannot use --refresh or --full-refresh together with --full-refresh-all, these flags are mutually exclusive
185+
186+ >>> musterr [CLI] pipelines run --full-refresh ./missing.sql --restart --no-wait
187+ Recommendation: This command runs the last deployed version of the code
188+
189+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
190+
191+ Error: invalid --full-refresh: source file "./missing.sql" not found; use a table name or an existing source file
192+
193+ >>> test ! -e [OUTPUT_DIR]/out.requests.txt
194+
195+ === Rejecting mixed selectors before restarting the pipeline
196+ >>> musterr [CLI] pipelines run --refresh table1,pipeline_file.py --restart --no-wait
197+ Recommendation: This command runs the last deployed version of the code
198+
199+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
200+
201+ Error: cannot mix table names and source files in --refresh; use only table names or only source files
202+
203+ >>> musterr [CLI] pipelines run --full-refresh table2,pipeline_file.py --restart --no-wait
204+ Recommendation: This command runs the last deployed version of the code
205+
206+ If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
207+
208+ Error: cannot mix table names and source files in --full-refresh; use only table names or only source files
209+
210+ >>> test ! -e [OUTPUT_DIR]/out.requests.txt
0 commit comments