Skip to content

Commit 4efe696

Browse files
ES|QL: fix lookup-join csv tests with nondeterministic order (#118008)
1 parent 0901a27 commit 4efe696

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

muted-tests.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,6 @@ tests:
239239
- class: org.elasticsearch.xpack.ml.integration.RegressionIT
240240
method: testTwoJobsWithSameRandomizeSeedUseSameTrainingSet
241241
issue: https://github.com/elastic/elasticsearch/issues/117805
242-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
243-
method: test {lookup-join.LookupIPFromIndexKeep ASYNC}
244-
issue: https://github.com/elastic/elasticsearch/issues/117974
245-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
246-
method: test {lookup-join.LookupMessageFromIndex ASYNC}
247-
issue: https://github.com/elastic/elasticsearch/issues/117975
248-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
249-
method: test {lookup-join.LookupMessageFromIndexKeep ASYNC}
250-
issue: https://github.com/elastic/elasticsearch/issues/117976
251-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
252-
method: test {lookup-join.LookupMessageFromIndex SYNC}
253-
issue: https://github.com/elastic/elasticsearch/issues/117980
254-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
255-
issue: https://github.com/elastic/elasticsearch/issues/117981
256242
- class: org.elasticsearch.packaging.test.ArchiveGenerateInitialCredentialsTests
257243
method: test30NoAutogenerationWhenDaemonized
258244
issue: https://github.com/elastic/elasticsearch/issues/117956

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
@@ -127,6 +127,7 @@ FROM sample_data
127127
| EVAL client_ip = client_ip::keyword
128128
| LOOKUP JOIN clientips_lookup ON client_ip
129129
;
130+
ignoreOrder:true;
130131

131132
@timestamp:date | event_duration:long | message:keyword | client_ip:keyword | env:keyword
132133
2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 172.21.3.15 | Production
@@ -146,6 +147,7 @@ FROM sample_data
146147
| LOOKUP JOIN clientips_lookup ON client_ip
147148
| KEEP @timestamp, client_ip, event_duration, message, env
148149
;
150+
ignoreOrder:true;
149151

150152
@timestamp:date | client_ip:keyword | event_duration:long | message:keyword | env:keyword
151153
2023-10-23T13:55:01.543Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | Production
@@ -230,6 +232,7 @@ required_capability: join_lookup_v4
230232
FROM sample_data
231233
| LOOKUP JOIN message_types_lookup ON message
232234
;
235+
ignoreOrder:true;
233236

234237
@timestamp:date | client_ip:ip | event_duration:long | message:keyword | type:keyword
235238
2023-10-23T13:55:01.543Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | Success
@@ -248,6 +251,7 @@ FROM sample_data
248251
| LOOKUP JOIN message_types_lookup ON message
249252
| KEEP @timestamp, client_ip, event_duration, message, type
250253
;
254+
ignoreOrder:true;
251255

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

0 commit comments

Comments
 (0)