Skip to content

Commit c128a48

Browse files
[8.x] Backport ignoreOrder marks on LOOKUP JOIN tests (#118136) (#118421)
* ES|QL: make ignoreOrder parsing more strict in CSV tests (#118136) (cherry picked from commit e9d925e) # Conflicts: # muted-tests.yml # x-pack/plugin/esql/qa/testFixtures/src/main/resources/lookup-join.csv-spec * Unmute --------- Co-authored-by: Luigi Dell'Aquila <[email protected]>
1 parent d40813d commit c128a48

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,3 @@ tests:
444444
- class: org.elasticsearch.reservedstate.service.RepositoriesFileSettingsIT
445445
method: testSettingsApplied
446446
issue: https://github.com/elastic/elasticsearch/issues/116694
447-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
448-
method: test {lookup-join.LookupMessageFromIndexKeep ASYNC}
449-
issue: https://github.com/elastic/elasticsearch/issues/118399

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ FROM sample_data
140140
| EVAL client_ip = client_ip::keyword
141141
| LOOKUP JOIN clientips_lookup ON client_ip
142142
;
143+
ignoreOrder:true
143144

144145
@timestamp:date | event_duration:long | message:keyword | client_ip:keyword | env:keyword
145146
2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 172.21.3.15 | Production
@@ -159,6 +160,7 @@ FROM sample_data
159160
| LOOKUP JOIN clientips_lookup ON client_ip
160161
| KEEP @timestamp, client_ip, event_duration, message, env
161162
;
163+
ignoreOrder:true
162164

163165
@timestamp:date | client_ip:keyword | event_duration:long | message:keyword | env:keyword
164166
2023-10-23T13:55:01.543Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | Production
@@ -243,6 +245,7 @@ required_capability: join_lookup_v4
243245
FROM sample_data
244246
| LOOKUP JOIN message_types_lookup ON message
245247
;
248+
ignoreOrder:true
246249

247250
@timestamp:date | client_ip:ip | event_duration:long | message:keyword | type:keyword
248251
2023-10-23T13:55:01.543Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | Success
@@ -261,6 +264,7 @@ FROM sample_data
261264
| LOOKUP JOIN message_types_lookup ON message
262265
| KEEP @timestamp, client_ip, event_duration, message, type
263266
;
267+
ignoreOrder:true
264268

265269
@timestamp:date | client_ip:ip | event_duration:long | message:keyword | type:keyword
266270
2023-10-23T13:55:01.543Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | Success

0 commit comments

Comments
 (0)