Skip to content

Commit 21eedcc

Browse files
julian-elasticKubik42
authored andcommitted
Fix failing UT and unmute (elastic#136432)
Fix failing UT and unmute. Resolves elastic#136121
1 parent 7d72e84 commit 21eedcc

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,6 @@ tests:
591591
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeForkIT
592592
method: test {csv-spec:union_types.MultiIndexTsLongStatsDrop}
593593
issue: https://github.com/elastic/elasticsearch/issues/136113
594-
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
595-
method: test {csv-spec:lookup-join-expression.LookupMultiColTwoExprAndNoMatch}
596-
issue: https://github.com/elastic/elasticsearch/issues/136121
597594
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeForkIT
598595
method: test {csv-spec:bucket.BucketByWeekInString}
599596
issue: https://github.com/elastic/elasticsearch/issues/136136

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -287,18 +287,13 @@ required_capability: lookup_join_on_boolean_expression
287287
FROM multi_column_joinable_lookup
288288
| RENAME id_int AS left_id, name_str AS left_name
289289
| EVAL left_name = "nomatch"
290+
| WHERE left_id > 1 and left_id < 10
290291
| LOOKUP JOIN multi_column_joinable_lookup ON left_id == id_int AND left_name == name_str
291292
| KEEP left_id, left_name, id_int, name_str
292293
| SORT left_id, left_name, id_int, name_str
293294
;
294295

295-
warning:Line 4:3: evaluation of [LOOKUP JOIN multi_column_joinable_lookup ON left_id == id_int AND left_name == name_str] failed, treating result as null. Only first 20 failures recorded.
296-
warning:Line 4:3: java.lang.IllegalArgumentException: LOOKUP JOIN encountered multi-value
297-
298296
left_id:integer | left_name:keyword | id_int:integer | name_str:keyword
299-
[1, 19, 20] | nomatch | null | null
300-
1 | nomatch | null | null
301-
1 | nomatch | null | null
302297
2 | nomatch | null | null
303298
3 | nomatch | null | null
304299
3 | nomatch | null | null
@@ -308,12 +303,6 @@ left_id:integer | left_name:keyword | id_int:integer | name_str:keyword
308303
6 | nomatch | null | null
309304
7 | nomatch | null | null
310305
8 | nomatch | null | null
311-
12 | nomatch | null | null
312-
13 | nomatch | null | null
313-
14 | nomatch | null | null
314-
16 | nomatch | null | null
315-
[17, 18] | nomatch | null | null
316-
null | nomatch | null | null
317306
;
318307

319308
lookupMultiColMixedEqNeq

0 commit comments

Comments
 (0)