Skip to content

Commit 8c6065b

Browse files
committed
Update tests for string parameters
1 parent 8a7fc4d commit 8c6065b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ required_capability: match_function
351351
required_capability: match_additional_types
352352

353353
from employees
354-
| where match(still_hired, true) and height > 2.08
354+
| where match(still_hired, "true") and height > 2.08
355355
| keep first_name, still_hired, height;
356356
ignoreOrder:true
357357

@@ -367,7 +367,7 @@ required_capability: match_function
367367
required_capability: match_additional_types
368368

369369
from employees
370-
| where match(emp_no, 10004)
370+
| where match(emp_no, "10004")
371371
| keep emp_no, first_name;
372372

373373
emp_no:integer | first_name:keyword
@@ -379,7 +379,7 @@ required_capability: match_function
379379
required_capability: match_additional_types
380380

381381
from employees
382-
| where match(salary_change, 9.07)
382+
| where match(salary_change, "9.07")
383383
| keep emp_no, salary_change;
384384

385385
emp_no:integer | salary_change:double
@@ -391,7 +391,7 @@ required_capability: match_function
391391
required_capability: match_additional_types
392392

393393
from date_nanos
394-
| where match(num, 1698069301543123456)
394+
| where match(num, "1698069301543123456")
395395
| keep num;
396396

397397
num:long
@@ -403,7 +403,7 @@ required_capability: match_function
403403
required_capability: match_additional_types
404404

405405
from ul_logs
406-
| where match(bytes_out, 12749081495402663265)
406+
| where match(bytes_out, "12749081495402663265")
407407
| keep bytes_out;
408408

409409
bytes_out:unsigned_long

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ required_capability: match_function
371371
required_capability: match_additional_types
372372

373373
from employees
374-
| where still_hired:true and height > 2.08
374+
| where still_hired:"true" and height > 2.08
375375
| keep first_name, still_hired, height;
376376
ignoreOrder:true
377377

@@ -387,7 +387,7 @@ required_capability: match_function
387387
required_capability: match_additional_types
388388

389389
from employees
390-
| where emp_no:10004
390+
| where emp_no:"10004"
391391
| keep emp_no, first_name;
392392

393393
emp_no:integer | first_name:keyword
@@ -399,7 +399,7 @@ required_capability: match_function
399399
required_capability: match_additional_types
400400

401401
from employees
402-
| where salary_change:9.07
402+
| where salary_change:"9.07"
403403
| keep emp_no, salary_change;
404404

405405
emp_no:integer | salary_change:double
@@ -411,7 +411,7 @@ required_capability: match_function
411411
required_capability: match_additional_types
412412

413413
from date_nanos
414-
| where num:1698069301543123456
414+
| where num:"1698069301543123456"
415415
| keep num;
416416

417417
num:long
@@ -423,7 +423,7 @@ required_capability: match_function
423423
required_capability: match_additional_types
424424

425425
from ul_logs
426-
| where bytes_out:12749081495402663265
426+
| where bytes_out:"12749081495402663265"
427427
| keep bytes_out;
428428

429429
bytes_out:unsigned_long

0 commit comments

Comments
 (0)