From 6eb7c715bf1998df57d23fbcc84615ed67dca431 Mon Sep 17 00:00:00 2001 From: Bogdan Pintea Date: Mon, 18 Dec 2023 15:42:57 +0100 Subject: [PATCH] Re-enable tests after warnings collection correction Re-enable a couple of warning header checking tests that have been disabled, but mistakenly without linking the issue (#100163), which lead to them being kept disabled also after the fix (#103031). --- .../esql/qa/testFixtures/src/main/resources/ints.csv-spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/ints.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/ints.csv-spec index 887d931f4cd5c..0afbbfcd2090f 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/ints.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/ints.csv-spec @@ -499,7 +499,7 @@ ROW deg = [90, 180, 270] [90, 180, 270] | [1.5707963267948966, 3.141592653589793, 4.71238898038469] ; -warningWithFromSource-Ignore +warningWithFromSource from employees | sort emp_no | limit 1 | eval x = to_long(emp_no) * 10000000 | eval y = to_int(x) > 1 | keep y; warning:Line 1:89: evaluation of [to_int(x)] failed, treating result as null. Only first 20 failures recorded. warning:Line 1:89: org.elasticsearch.xpack.ql.InvalidArgumentException: [100010000000] out of [integer] range @@ -509,7 +509,7 @@ null ; // the test is also notable through having the "failing" operation in the filter, which will be part of the fragment sent to a data node -multipleWarnings-Ignore +multipleWarnings from employees | sort emp_no | eval x = to_long(emp_no) * 10000000 | where to_int(x) > 1 | keep x | limit 1; warning:Line 1:76: evaluation of [to_int(x)] failed, treating result as null. Only first 20 failures recorded. warning:Line 1:76: org.elasticsearch.xpack.ql.InvalidArgumentException: [100010000000] out of [integer] range