Skip to content

Commit 79e776a

Browse files
authored
Add missing capabilities (#124625)
1 parent 0b83425 commit 79e776a

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,8 @@ from hosts
987987
| keep description
988988
| sort description;
989989

990-
warning:Line 2:9: evaluation of [starts_with(description, \"epsilon\")] failed, treating result as null. Only first 20 failures recorded.
991-
warning:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
990+
warningRegex: evaluation of \[starts_with\(description, \\\"epsilon\\\"\)\] failed, treating result as null. Only first 20 failures recorded.
991+
warningRegex: java.lang.IllegalArgumentException: single-value function encountered multi-value
992992

993993
description:text
994994
epsilon gw instance
@@ -1272,8 +1272,8 @@ from hosts
12721272
| keep description
12731273
| sort description;
12741274

1275-
warning:Line 2:9: evaluation of [ends_with(description, \"host\")] failed, treating result as null. Only first 20 failures recorded.
1276-
warning:Line 2:9: java.lang.IllegalArgumentException: single-value function encountered multi-value
1275+
warningRegex: evaluation of \[ends_with\(description, \\\"host\\\"\)\] failed, treating result as null. Only first 20 failures recorded.
1276+
warningRegex: java.lang.IllegalArgumentException: single-value function encountered multi-value
12771277

12781278
description:text
12791279
;
@@ -1294,6 +1294,8 @@ beta | Kubernetes cluster
12941294
;
12951295

12961296
lucenePushdownMultipleIndices
1297+
required_capability: index_metadata_field
1298+
required_capability: casting_operator
12971299

12981300
from airports* metadata _index
12991301
| where starts_with(name::keyword, "Sahn") and ends_with(abbrev, "UH")
@@ -1310,6 +1312,7 @@ LUH | Sahnewal | airports_web
13101312
;
13111313

13121314
lucenePushdownOr
1315+
required_capability: casting_operator
13131316

13141317
from airports
13151318
| where starts_with(name::keyword, "Sahn") or ends_with(abbrev, "UH")
@@ -1323,6 +1326,7 @@ RUH | King Khalid Int'l
13231326
;
13241327

13251328
lucenePushdownMultipleOr
1329+
required_capability: casting_operator
13261330

13271331
from airports
13281332
| where starts_with(name::keyword, "Sahn") or ends_with(abbrev, "UH") or starts_with(abbrev, "OOL")
@@ -1337,6 +1341,8 @@ RUH | King Khalid Int'l
13371341
;
13381342

13391343
lucenePushdownMultipleAnd
1344+
required_capability: index_metadata_field
1345+
required_capability: casting_operator
13401346

13411347
from airports metadata _index
13421348
| where starts_with(name::keyword, "Sahn") and ends_with(abbrev, "UH")
@@ -1349,6 +1355,7 @@ LUH | Sahnewal | airports
13491355
;
13501356

13511357
lucenePushdownMixAndOr
1358+
required_capability: casting_operator
13521359

13531360
from airports
13541361
| where starts_with(name::keyword, "Sahn") and (starts_with(name::keyword, "Abc") or ends_with(abbrev, "UH"))
@@ -1360,6 +1367,8 @@ LUH | Sahnewal | 9
13601367
;
13611368

13621369
lucenePushdownMixOrAnd
1370+
required_capability: index_metadata_field
1371+
required_capability: casting_operator
13631372

13641373
from airports* metadata _index
13651374
| where starts_with(name::keyword, "Sahn") or (starts_with(abbrev, "G") and ends_with(name::keyword, "Falls Int'l"))

0 commit comments

Comments
 (0)