Skip to content

Commit fd20e28

Browse files
authored
ESQL: Disable one more test failing on pre-8.13 BWC #118760 (#118766)
* Disable one more test failing on pre-8.13 BWC (#118760) Prevent `stats.ByStringAndLongWithAlias` from running on pre-8.13 BWC. Related #118655. (cherry picked from commit 0efdc47) * Re-enable stats.ByDateAndKeywordAndIntWithAlias
1 parent 16d7575 commit fd20e28

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,6 @@ tests:
428428
- class: org.elasticsearch.xpack.searchablesnapshots.RetrySearchIntegTests
429429
method: testRetryPointInTime
430430
issue: https://github.com/elastic/elasticsearch/issues/118514
431-
- class: org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT
432-
method: test {stats.ByDateAndKeywordAndIntWithAlias SYNC}
433-
issue: https://github.com/elastic/elasticsearch/issues/118668
434431
- class: org.elasticsearch.xpack.application.OpenAiServiceUpgradeIT
435432
method: testOpenAiEmbeddings {upgradedNodes=1}
436433
issue: https://github.com/elastic/elasticsearch/issues/118156

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ null | null | null
223223
;
224224

225225

226-
// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
226+
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
227227
overwriteName#[skip:-8.12.99]
228228
from employees | sort emp_no asc | eval full_name = concat(first_name, " ", last_name) | dissect full_name "%{emp_no} %{b}" | keep full_name, emp_no, b | limit 3;
229229

@@ -245,7 +245,7 @@ emp_no:integer | first_name:keyword | rest:keyword
245245
;
246246

247247

248-
// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
248+
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
249249
overwriteNameWhere#[skip:-8.12.99]
250250
from employees | sort emp_no asc | eval full_name = concat(first_name, " ", last_name) | dissect full_name "%{emp_no} %{b}" | where emp_no == "Bezalel" | keep full_name, emp_no, b | limit 3;
251251

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ null | null | null
199199
;
200200

201201

202-
// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
202+
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
203203
overwriteName#[skip:-8.12.99]
204204
from employees | sort emp_no asc | eval full_name = concat(first_name, " ", last_name) | grok full_name "%{WORD:emp_no} %{WORD:b}" | keep full_name, emp_no, b | limit 3;
205205

@@ -210,7 +210,7 @@ Parto Bamford | Parto | Bamford
210210
;
211211

212212

213-
// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
213+
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
214214
overwriteNameWhere#[skip:-8.12.99]
215215
from employees | sort emp_no asc | eval full_name = concat(first_name, " ", last_name) | grok full_name "%{WORD:emp_no} %{WORD:b}" | where emp_no == "Bezalel" | keep full_name, emp_no, b | limit 3;
216216

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ c:long | gender:keyword | trunk_worked_seconds:long
564564
0 | null | 200000000
565565
;
566566

567-
// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
567+
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
568568
byStringAndLongWithAlias#[skip:-8.12.99]
569569
FROM employees
570570
| EVAL trunk_worked_seconds = avg_worked_seconds / 100000000 * 100000000
@@ -720,7 +720,8 @@ c:long | d:date | gender:keyword | languages:integer
720720
2 | 1987-01-01T00:00:00.000Z | M | 1
721721
;
722722

723-
byDateAndKeywordAndIntWithAlias
723+
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
724+
byDateAndKeywordAndIntWithAlias#[skip:-8.12.99]
724725
from employees | eval d = date_trunc(1 year, hire_date) | rename gender as g, languages as l, emp_no as e | keep d, g, l, e | stats c = count(e) by d, g, l | sort c desc, d, l desc, g desc | limit 10;
725726

726727
c:long | d:date | g:keyword | l:integer

0 commit comments

Comments
 (0)