Skip to content

Commit bb7c6a4

Browse files
authored
Add missing capabilities (#124625) (#124640)
(cherry picked from commit 79e776a)
1 parent 8c96f61 commit bb7c6a4

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
@@ -986,8 +986,8 @@ from hosts
986986
| keep description
987987
| sort description;
988988

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

992992
description:text
993993
epsilon gw instance
@@ -1252,8 +1252,8 @@ from hosts
12521252
| keep description
12531253
| sort description;
12541254

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

12581258
description:text
12591259
;
@@ -1274,6 +1274,8 @@ beta | Kubernetes cluster
12741274
;
12751275

12761276
lucenePushdownMultipleIndices
1277+
required_capability: index_metadata_field
1278+
required_capability: casting_operator
12771279

12781280
from airports* metadata _index
12791281
| where starts_with(name::keyword, "Sahn") and ends_with(abbrev, "UH")
@@ -1290,6 +1292,7 @@ LUH | Sahnewal | airports_web
12901292
;
12911293

12921294
lucenePushdownOr
1295+
required_capability: casting_operator
12931296

12941297
from airports
12951298
| where starts_with(name::keyword, "Sahn") or ends_with(abbrev, "UH")
@@ -1303,6 +1306,7 @@ RUH | King Khalid Int'l
13031306
;
13041307

13051308
lucenePushdownMultipleOr
1309+
required_capability: casting_operator
13061310

13071311
from airports
13081312
| where starts_with(name::keyword, "Sahn") or ends_with(abbrev, "UH") or starts_with(abbrev, "OOL")
@@ -1317,6 +1321,8 @@ RUH | King Khalid Int'l
13171321
;
13181322

13191323
lucenePushdownMultipleAnd
1324+
required_capability: index_metadata_field
1325+
required_capability: casting_operator
13201326

13211327
from airports metadata _index
13221328
| where starts_with(name::keyword, "Sahn") and ends_with(abbrev, "UH")
@@ -1329,6 +1335,7 @@ LUH | Sahnewal | airports
13291335
;
13301336

13311337
lucenePushdownMixAndOr
1338+
required_capability: casting_operator
13321339

13331340
from airports
13341341
| where starts_with(name::keyword, "Sahn") and (starts_with(name::keyword, "Abc") or ends_with(abbrev, "UH"))
@@ -1340,6 +1347,8 @@ LUH | Sahnewal | 9
13401347
;
13411348

13421349
lucenePushdownMixOrAnd
1350+
required_capability: index_metadata_field
1351+
required_capability: casting_operator
13431352

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

0 commit comments

Comments
 (0)