From d876ec78351d3a1c0f817d3c811ffcdd4fe31e42 Mon Sep 17 00:00:00 2001 From: fang-xing-esql <155562079+fang-xing-esql@users.noreply.github.com> Date: Fri, 26 Jan 2024 03:06:46 -0500 Subject: [PATCH] Add skip tags to three tests to prevent them from being run on versions older than 8.13.0 (#104780) --- .../esql/qa/testFixtures/src/main/resources/date.csv-spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/date.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/date.csv-spec index c32c4e3e2fd2c..cab9892f9afdf 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/date.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/date.csv-spec @@ -315,7 +315,7 @@ from employees | where birth_date > now() | sort emp_no asc | keep emp_no, birth emp_no:integer | birth_date:date ; -autoBucketYearInAgg +autoBucketYearInAgg#[skip:-8.12.99, reason:date type is supported in 8.13] FROM employees | WHERE hire_date >= "1999-01-01T00:00:00Z" | EVAL bucket = AUTO_BUCKET(hire_date, 5, "1999-01-01T00:00:00Z", NOW()) @@ -917,7 +917,7 @@ FROM employees //end::docsAutoBucketWeeklyHistogram-result[] ; -docsAutoBucketLast24hr +docsAutoBucketLast24hr#[skip:-8.12.99, reason:date type is supported in 8.13] //tag::docsAutoBucketLast24hr[] FROM sample_data | WHERE @timestamp >= NOW() - 1 day and @timestamp < NOW() @@ -929,7 +929,7 @@ FROM sample_data COUNT(*):long | bucket:date ; -docsGettingStartedAutoBucket +docsGettingStartedAutoBucket#[skip:-8.12.99, reason:date type is supported in 8.13] // tag::gs-auto_bucket[] FROM sample_data | KEEP @timestamp