Skip to content

Commit

Permalink
Add skip tags to three tests to prevent them from being run on versio…
Browse files Browse the repository at this point in the history
…ns older than 8.13.0 (#104780)
  • Loading branch information
fang-xing-esql authored Jan 26, 2024
1 parent 79b7dbb commit d876ec7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit d876ec7

Please sign in to comment.