Skip to content

Commit 14c1214

Browse files
committed
fix the tests
1 parent b0a4348 commit 14c1214

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

docs/reference/query-languages/esql/_snippets/functions/examples/clamp_min.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/definition/functions/clamp_min.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/docs/functions/clamp_min.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries-clamp.csv-spec

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ clamp_of_double_no_grouping
22
required_capability: ts_command_v0
33
required_capability: clamp_functions
44
// tag::clamp-min[]
5-
TS k8s
5+
FROM k8s
66
| STATS full_clamped_cost=sum(clamp(network.cost, 1, 2)), clamped_cost=sum(clamp_max(network.cost, 1)), clamped_min_cost=sum(clamp_min(network.cost, 10)) BY time_bucket = bucket(@timestamp,1minute)
77
// end::clamp-min[]
88
| SORT full_clamped_cost DESC, time_bucket DESC | LIMIT 10;
99

1010
// tag::clamp-min-result[]
1111
full_clamped_cost:double | clamped_cost:double | clamped_min_cost:double | time_bucket:datetime
12-
18.0 | 9.0 | 94.875 | 2024-05-10T00:09:00.000Z
13-
15.25 | 8.0 | 84.125 | 2024-05-10T00:08:00.000Z
14-
15.0 | 8.0 | 83.5 | 2024-05-10T00:15:00.000Z
15-
13.75 | 7.0 | 71.625 | 2024-05-10T00:22:00.000Z
16-
13.125 | 7.5 | 90.5 | 2024-05-10T00:18:00.000Z
12+
39.0 | 20.0 | 206.25 | 2024-05-10T00:09:00.000Z
13+
29.125 | 15.5 | 173.0 | 2024-05-10T00:18:00.000Z
14+
28.0 | 14.125 | 155.625 | 2024-05-10T00:17:00.000Z
15+
23.25 | 12.0 | 124.875 | 2024-05-10T00:08:00.000Z
1716
// end::clamp-min-result[]
18-
13.0 | 6.5 | 75.625 | 2024-05-10T00:17:00.000Z
19-
12.0 | 5.875 | 70.0 | 2024-05-10T00:20:00.000Z
20-
12.0 | 6.125 | 70.0 | 2024-05-10T00:14:00.000Z
21-
12.0 | 6.0 | 61.25 | 2024-05-10T00:13:00.000Z
22-
12.0 | 6.0 | 60.0 | 2024-05-10T00:02:00.000Z
17+
20.625 | 11.0 | 113.5 | 2024-05-10T00:15:00.000Z
18+
19.0 | 9.625 | 105.375 | 2024-05-10T00:06:00.000Z
19+
17.75 | 9.0 | 91.625 | 2024-05-10T00:22:00.000Z
20+
17.625 | 9.0 | 91.25 | 2024-05-10T00:13:00.000Z
21+
16.375 | 8.625 | 100.0 | 2024-05-10T00:20:00.000Z
22+
16.0 | 8.125 | 91.25 | 2024-05-10T00:14:00.000Z
2323

2424
;
2525

0 commit comments

Comments
 (0)