Skip to content

Commit c311b3b

Browse files
committed
sort last and first test to keep it consistent
1 parent 398867c commit c311b3b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/stats_first.csv-spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,11 @@ first_text_by_system
132132
required_capability: agg_first_last_string
133133
FROM logs
134134
| STATS message = FIRST(message, @timestamp) BY system
135+
| SORT system ASC
135136
;
136137

137138
message:keyword | system:keyword
138-
Pinging 192.168.86.046 | ping
139139
Running cats (cycle 1) | cron
140140
Doing java stuff for 192.168.86.038 | java
141+
Pinging 192.168.86.046 | ping
141142
;

x-pack/plugin/esql/qa/testFixtures/src/main/resources/stats_last.csv-spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,11 @@ last_text_by_system
132132
required_capability: agg_first_last_string
133133
FROM logs
134134
| STATS message = LAST(message, @timestamp) BY system
135+
| SORT system ASC
135136
;
136137

137138
message:keyword | system:keyword
138-
No response | ping
139139
Running cats (cycle 3) | cron
140140
More java stuff | java
141+
No response | ping
141142
;

0 commit comments

Comments
 (0)