You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: databricks-sdk-java/src/main/java/com/databricks/sdk/mixin/JobsExt.java
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,20 @@ public JobsExt(JobsService mock) {
20
20
*
21
21
* <p>Depending on the Jobs API version used under the hood, tasks or iteration runs retrieved by
22
22
* the initial request may be truncated due to high cardinalities. Truncation can happen for job
23
-
* runs with over 100 task runs, as well as ForEach task runs with over 100 iteration runs. To avoid
24
-
* returning an incomplete {@code Run} object to the user, this method performs all the requests
25
-
* required to collect all task/iteration runs into a single {@code Run} object.
23
+
* runs with over 100 task runs, as well as ForEach task runs with over 100 iteration runs. To
24
+
* avoid returning an incomplete {@code Run} object to the user, this method performs all the
25
+
* requests required to collect all task/iteration runs into a single {@code Run} object.
26
26
*/
27
27
@Override
28
28
publicRungetRun(GetRunRequestrequest) {
29
29
Runrun = super.getRun(request);
30
30
31
-
// When querying a Job run, a page token is returned when there are more than 100 tasks. No iterations are defined for a Job run. Therefore, the next page in the response only includes the next page of tasks.
32
-
// When querying a ForEach task run, a page token is returned when there are more than 100 iterations. Only a single task is returned, corresponding to the ForEach task itself. Therefore, the client only reads the iterations from the next page and not the tasks.
31
+
// When querying a Job run, a page token is returned when there are more than 100 tasks. No
32
+
// iterations are defined for a Job run. Therefore, the next page in the response only includes
33
+
// the next page of tasks.
34
+
// When querying a ForEach task run, a page token is returned when there are more than 100
35
+
// iterations. Only a single task is returned, corresponding to the ForEach task itself.
36
+
// Therefore, the client only reads the iterations from the next page and not the tasks.
0 commit comments