Skip to content

Commit 5ff4fe5

Browse files
committed
Label strings functionality to not fail tests
1 parent 7989895 commit 5ff4fe5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ FIRST(v, @timestamp):integer
9292

9393

9494
first_keywords
95-
required_capability: agg_first_last
95+
required_capability: agg_first_last_string
9696
FROM employees
9797
| STATS
9898
first_employee = FIRST(first_name, hire_date)
@@ -103,7 +103,7 @@ Sumant
103103
;
104104

105105
first_keywords_by_year
106-
required_capability: agg_first_last
106+
required_capability: agg_first_last_string
107107
FROM employees
108108
| EVAL year = date_trunc(1 year, hire_date)
109109
| STATS
@@ -129,7 +129,7 @@ Lillian | 1999-01-01T00:00:00.000Z
129129
;
130130

131131
first_text_by_system
132-
required_capability: agg_first_last
132+
required_capability: agg_first_last_string
133133
FROM logs
134134
| STATS message = FIRST(message, @timestamp) BY system
135135
;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ LAST(v, @timestamp):integer
9292

9393

9494
last_keywords
95-
required_capability: agg_first_last
95+
required_capability: agg_first_last_string
9696
FROM employees
9797
| STATS
9898
last_employee = LAST(first_name, hire_date)
@@ -103,7 +103,7 @@ Lillian
103103
;
104104

105105
last_keywords_by_year
106-
required_capability: agg_first_last
106+
required_capability: agg_first_last_string
107107
FROM employees
108108
| EVAL year = date_trunc(1 year, hire_date)
109109
| STATS
@@ -129,7 +129,7 @@ Lillian | 1999-01-01T00:00:00.000Z
129129
;
130130

131131
last_text_by_system
132-
required_capability: agg_first_last
132+
required_capability: agg_first_last_string
133133
FROM logs
134134
| STATS message = LAST(message, @timestamp) BY system
135135
;

0 commit comments

Comments
 (0)