Skip to content

Commit

Permalink
Extend the interval date comparison (#65348) (#65357)
Browse files Browse the repository at this point in the history
(cherry picked from commit acfb463)
  • Loading branch information
astefan authored Nov 23, 2020
1 parent 33ca30a commit 01506d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x-pack/plugin/sql/qa/server/src/main/resources/date.csv-spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ SELECT TRUNCATE(YEAR(TODAY() - INTERVAL 50 YEARS) / 1000) AS result;
;


// AwaitsFix https://github.com/elastic/elasticsearch/issues/65336
currentDateFilter-Ignore
SELECT first_name FROM test_emp WHERE hire_date > CURRENT_DATE() - INTERVAL 35 YEARS ORDER BY first_name ASC LIMIT 10;
currentDateFilter
SELECT first_name FROM test_emp WHERE hire_date > CURRENT_DATE() - INTERVAL 45 YEARS ORDER BY first_name ASC LIMIT 10;

first_name
-----------------
Expand Down

0 comments on commit 01506d2

Please sign in to comment.