Skip to content

Commit

Permalink
Disable one more test failing on pre-8.13 BWC (elastic#118760)
Browse files Browse the repository at this point in the history
Prevent `stats.ByStringAndLongWithAlias` from running on pre-8.13 BWC.

Related elastic#118655.

(cherry picked from commit 0efdc47)
  • Loading branch information
bpintea committed Dec 16, 2024
1 parent 7846d8d commit eedb0f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ null | null | null
;


// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
overwriteName#[skip:-8.12.99]
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;

Expand All @@ -245,7 +245,7 @@ emp_no:integer | first_name:keyword | rest:keyword
;


// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
overwriteNameWhere#[skip:-8.12.99]
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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ null | null | null
;


// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
overwriteName#[skip:-8.12.99]
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;

Expand All @@ -210,7 +210,7 @@ Parto Bamford | Parto | Bamford
;


// the query is incorrectly physically plan (fails the verification) in pre-8.13.0 versions
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
overwriteNameWhere#[skip:-8.12.99]
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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ c:long | gender:keyword | trunk_worked_seconds:long
0 | null | 200000000
;

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

byDateAndKeywordAndIntWithAlias
// the query is incorrectly physically planned (fails the verification) in pre-8.13.0 versions
byDateAndKeywordAndIntWithAlias#[skip:-8.12.99]
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;

c:long | d:date | g:keyword | l:integer
Expand Down

0 comments on commit eedb0f9

Please sign in to comment.