Skip to content

Commit e1f92ed

Browse files
authored
Add missing capabilities (#124625) (#124641)
(cherry picked from commit 79e776a)
1 parent dfa0da9 commit e1f92ed

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
@@ -998,8 +998,8 @@ from hosts
998998
| keep description
999999
| sort description;
10001000

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

10041004
description:text
10051005
epsilon gw instance
@@ -1266,8 +1266,8 @@ from hosts
12661266
| keep description
12671267
| sort description;
12681268

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

12721272
description:text
12731273
;
@@ -1288,6 +1288,8 @@ beta | Kubernetes cluster
12881288
;
12891289

12901290
lucenePushdownMultipleIndices
1291+
required_capability: index_metadata_field
1292+
required_capability: casting_operator
12911293

12921294
from airports* metadata _index
12931295
| where starts_with(name::keyword, "Sahn") and ends_with(abbrev, "UH")
@@ -1304,6 +1306,7 @@ LUH | Sahnewal | airports_web
13041306
;
13051307

13061308
lucenePushdownOr
1309+
required_capability: casting_operator
13071310

13081311
from airports
13091312
| where starts_with(name::keyword, "Sahn") or ends_with(abbrev, "UH")
@@ -1317,6 +1320,7 @@ RUH | King Khalid Int'l
13171320
;
13181321

13191322
lucenePushdownMultipleOr
1323+
required_capability: casting_operator
13201324

13211325
from airports
13221326
| where starts_with(name::keyword, "Sahn") or ends_with(abbrev, "UH") or starts_with(abbrev, "OOL")
@@ -1331,6 +1335,8 @@ RUH | King Khalid Int'l
13311335
;
13321336

13331337
lucenePushdownMultipleAnd
1338+
required_capability: index_metadata_field
1339+
required_capability: casting_operator
13341340

13351341
from airports metadata _index
13361342
| where starts_with(name::keyword, "Sahn") and ends_with(abbrev, "UH")
@@ -1343,6 +1349,7 @@ LUH | Sahnewal | airports
13431349
;
13441350

13451351
lucenePushdownMixAndOr
1352+
required_capability: casting_operator
13461353

13471354
from airports
13481355
| where starts_with(name::keyword, "Sahn") and (starts_with(name::keyword, "Abc") or ends_with(abbrev, "UH"))
@@ -1354,6 +1361,8 @@ LUH | Sahnewal | 9
13541361
;
13551362

13561363
lucenePushdownMixOrAnd
1364+
required_capability: index_metadata_field
1365+
required_capability: casting_operator
13571366

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

0 commit comments

Comments
 (0)